@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700&family=Playfair+Display:wght@700&display=swap');

:root {
    --val-red: #D32F2F;
    --val-pink: #E91E63;
    --val-soft-pink: #FCE4EC;
    --val-bg: #FFF0F5;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: 1px solid rgba(255, 255, 255, 0.6);
    --card-shadow: 0 8px 20px rgba(233, 30, 99, 0.1);
    --text-main: #4a0e19;
}

body {
    background-color: var(--val-bg) !important;
    font-family: 'Tajawal', sans-serif !important;
    color: var(--text-main) !important;
}

/* ================= HEADER ================= */
.fasty_header {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(233, 30, 99, 0.1) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.05) !important;
}

.fasty_header_top_text {
    background: var(--val-red) !important;
    color: white !important;
    font-weight: bold !important;
}

/* ================= SECTION TITLES ================= */
.home_section_top_title, .category_section_header_title {
    font-family: 'Playfair Display', serif !important;
    color: var(--val-red) !important;
    text-align: center !important;
    font-size: 2rem !important;
    margin-bottom: 30px !important;
    position: relative !important;
    display: inline-block !important;
    width: 100% !important;
}

.home_section_top_title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--val-pink), transparent);
    margin: 10px auto 0 !important;
    border-radius: 2px !important;
}

/* ================= CATEGORIES ================= */
.default_category_card_img {
    border-radius: 50% !important;
    border: 2px solid var(--val-pink) !important;
    padding: 3px !important;
    background: white !important;
    transition: transform 0.3s ease !important;
}

.default_category_card:hover .default_category_card_img {
    transform: scale(1.05) !important;
    box-shadow: 0 0 15px rgba(233, 30, 99, 0.3) !important;
}

.default_category_card_name {
    color: var(--val-red) !important;
    font-weight: 600 !important;
    margin-top: 10px !important;
}

/* ================= PRODUCT CARDS (CORE) ================= */
.fasty_product_card {
    background: white !important;
    border: none !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: var(--card-shadow) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    aspect-ratio: 2 / 3 !important;
    position: relative !important;
    height: auto !important;
}

.fasty_product_card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 30px rgba(233, 30, 99, 0.15) !important;
}

.fasty_product_card_img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.5s ease !important;
}

.fasty_product_card:hover .fasty_product_card_img {
    transform: scale(1.03) !important;
}

.fasty_product_card::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.fasty_product_card_price {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    background: rgba(255, 255, 255, 0.95) !important;
    color: var(--val-red) !important;
    padding: 6px 12px !important;
    border-radius: 20px !important;
    font-weight: 800 !important;
    font-size: 0.95rem !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    z-index: 10;
}

.fasty_product_card_name {
    position: absolute !important;
    bottom: 70px !important;
    left: 10px !important;
    right: 10px !important;
    z-index: 2;
    color: white !important;
    text-align: center !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    line-height: 1.4 !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 !important;
}

.fasty_product_card_btn_container {
    position: absolute !important;
    bottom: 15px !important;
    left: 10px !important;
    right: 10px !important;
    z-index: 5;
    padding: 0 !important;
}

.fasty_product_card_btn, .add_to_cart_btn {
    background: linear-gradient(45deg, var(--val-pink), var(--val-red)) !important;
    color: white !important;
    border: none !important;
    border-radius: 50px !important;
    height: 40px !important;
    width: 100% !important;
    font-weight: bold !important;
    font-size: 0.9rem !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(211, 47, 47, 0.3) !important;
    transition: transform 0.2s ease !important;
}

.fasty_product_card_btn:active {
    transform: scale(0.95) !important;
}

.fasty_product_card_wishlist_btn {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    background: rgba(255,255,255,0.9) !important;
    color: var(--val-red) !important;
    border-radius: 50% !important;
    width: 35px !important;
    height: 35px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.product_price {
    color: var(--val-red) !important;
    font-size: 2rem !important;
    font-weight: bold !important;
}

.product_name {
    font-family: 'Playfair Display', serif !important;
    color: var(--text-main) !important;
}

.fasty_product_img {
    border-radius: 20px !important;
    box-shadow: var(--card-shadow) !important;
}

.global_input, .global_textarea {
    border: 1px solid #ddd !important;
    border-radius: 10px !important;
    padding: 12px !important;
    background: white !important;
}

.global_input:focus, .global_textarea:focus {
    border-color: var(--val-pink) !important;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1) !important;
    outline: none !important;
}

.checkout_btn {
    background: var(--text-main) !important;
    color: white !important;
    border-radius: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 15px !important;
}

.default_footer {
    background: linear-gradient(to top, #4a0e19, #6a1b2b) !important;
    color: white !important;
    margin-top: 50px !important;
    border-radius: 20px 20px 0 0 !important;
}

@media (max-width: 768px) {
    .fasty_product_card_btn_container {
        bottom: 10px !important;
    }
    
    .fasty_product_card_name {
        bottom: 60px !important;
        font-size: 0.9rem !important;
    }
    
    .home_section_top_title {
        font-size: 1.5rem !important;
    }
    
    .fasty_product_card:hover {
        transform: none !important;
    }
}
