/* The Urban Hijabi - Design System (Feminine Refinement) */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Poppins:wght@300;400;500;600&display=swap');

:root {
    /* Brand Colors - Feminine Palette */
    --color-primary: #9E7E7E;
    /* Warm Mauve */
    --color-secondary: #B5838D;
    /* Dusty Rose */
    --color-accent: #E5989B;
    /* Soft Blush/Pink */
    --color-background: #FFF5F5;
    /* Very soft blush cream */
    --color-surface: #FFFFFF;
    --color-text: #4A4A4A;
    /* Soft Charcoal */
    --color-text-light: #7a6b6b;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;

    /* Transitions */
    --transition-smooth: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    border-radius: 50px;
    /* Softer, more feminine buttons */
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
}

/* Product Detail Page Styles */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-image {
    background: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
}

.thumbnail-row {
    display: flex;
    gap: 10px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition-smooth);
}

.thumbnail.active,
.thumbnail:hover {
    opacity: 1;
    border-color: var(--color-primary);
}

.pdp-title {
    font-size: 2.2rem;
    margin-bottom: 5px;
    line-height: 1.2;
}

.pdp-price {
    font-size: 1.5rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 10px;
}

.pdp-rating {
    color: #ffc107;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.pdp-rating span {
    color: #999;
}

.pdp-description {
    color: var(--color-text-light);
    margin-bottom: 30px;
    line-height: 1.7;
}

/* Variations */
.variation-selector {
    margin-bottom: 25px;
}

.variation-selector label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--color-text);
}

.color-options {
    display: flex;
    gap: 10px;
}

.color-swatch {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 0 0 1px #ddd;
    transition: var(--transition-smooth);
}

.color-swatch.active {
    box-shadow: 0 0 0 2px var(--color-primary);
    transform: scale(1.1);
}

.size-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.size-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 0.9rem;
}

.size-btn:hover {
    border-color: var(--color-primary);
}

.size-btn.active {
    background-color: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.size-guide-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--color-text-light);
    text-decoration: underline;
}

/* Actions */
.pdp-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.quantity-selector {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 50px;
    overflow: hidden;
    height: 45px;
}

.quantity-selector button {
    width: 40px;
    border: none;
    background: white;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--color-text);
}

.quantity-selector input {
    width: 40px;
    border: none;
    text-align: center;
    font-family: inherit;
    font-size: 1rem;
    -moz-appearance: textfield;
    appearance: textfield;
}

.btn-lg {
    padding: 0 40px;
    height: 45px;
    line-height: 45px;
    /* vertical align */
    border-radius: 50px;
    flex-grow: 1;
}

.btn-whatsapp-order {
    width: 100%;
    padding: 12px;
    background-color: #25D366;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    margin-top: 10px;
}

.btn-whatsapp-order:hover {
    background-color: #1FAF53;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.trust-badges-pdp {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.section-heading {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

@media (max-width: 768px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
    }
}

.btn-primary:hover {
    background-color: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(181, 131, 141, 0.3);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.8rem;
    margin-top: 10px;
    background-color: var(--color-text);
    color: white;
    width: 100%;
    border-radius: 4px;
}

.btn-sm:hover {
    background-color: var(--color-primary);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: white;
}

/* Header */
header {
    background-color: var(--color-surface);
    padding: var(--spacing-sm) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(158, 126, 126, 0.05);
    /* Softer shadow */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
}

.logo:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.logo img {
    height: 80px;
    /* Increased for better visibility */
    width: auto;
    margin-right: 15px;
    border-radius: 4px;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
}

.nav-links a {
    font-size: 0.95rem;
    color: var(--color-text);
    position: relative;
    font-weight: 500;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--color-secondary);
    transition: var(--transition-smooth);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--color-secondary);
}


.nav-icons {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

.icon-btn {
    font-size: 1.2rem;
    color: var(--color-primary);
    cursor: pointer;
}

.icon-btn:hover {
    color: var(--color-secondary);
}

.mobile-toggle {
    display: none;
}

/* Hero Section */
.hero {
    height: 85vh;
    background-image: linear-gradient(rgba(158, 126, 126, 0.1), rgba(158, 126, 126, 0.2)), url('hero_bg.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 800px;
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.hero h1 {
    font-size: 3.8rem;
    color: white;
    margin-bottom: var(--spacing-xs);
    font-weight: 400;
    font-style: italic;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    font-weight: 300;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
}

.hero .btn {
    background: white;
    color: var(--color-primary);
    border: none;
}

.hero .btn:hover {
    background: var(--color-secondary);
    color: white;
}

/* Shop by Category */
.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title h2 {
    font-size: 2.8rem;
    margin-bottom: 2px;
    color: var(--color-primary);
}

.section-title p {
    color: var(--color-text-light);
    font-style: italic;
}

.section-title span {
    display: block;
    width: 80px;
    height: 3px;
    background: var(--color-secondary);
    margin: 15px auto 0;
    border-radius: 2px;
}

.categories {
    padding: var(--spacing-xl) 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.category-card {
    position: relative;
    overflow: hidden;
    height: 450px;
    cursor: pointer;
    border-radius: 8px;
    /* Softer corners */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.category-card:hover img {
    transform: scale(1.08);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(158, 126, 126, 0.9), transparent);
    color: white;
    text-align: center;
}

.category-overlay h3 {
    color: white;
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 1px;
    font-family: var(--font-heading);
    font-style: italic;
}

/* Trust Builder Section */
.trust-section {
    background-color: white;
    padding: var(--spacing-lg) 0;
    text-align: center;
    border-top: 1px solid #f0e6e6;
    border-bottom: 1px solid #f0e6e6;
}

/* New High-Res Trust Builder Grid - Horizontal Row */
.trust-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Force 4 columns in one line */
    gap: 20px;
    margin-top: 50px;
}

.trust-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(158, 126, 126, 0.08);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.trust-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(158, 126, 126, 0.15);
}

.trust-card-body {
    display: flex;
    flex-direction: column;
    /* Stack image and text vertically */
    background: #fdfaf7;
    height: auto;
}

.trust-image-side {
    width: 100%;
    aspect-ratio: 1 / 1;
    /* Keep images square */
    overflow: hidden;
}

.trust-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trust-text-side {
    padding: 15px;
    text-align: center;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.trust-text-side h3 {
    font-size: 0.95rem;
    line-height: 1.2;
    margin-bottom: 6px;
    color: #1a1717;
    font-weight: 700;
}

.trust-text-side p {
    font-size: 0.7rem;
    line-height: 1.4;
    color: #4a4a4a;
    font-family: var(--font-body);
}

.trust-footer {
    padding: 15px;
    text-align: center;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    border-top: 1px solid #f0e6e6;
    margin-top: auto;
}

.trust-footer i {
    font-size: 1.3rem;
    color: var(--color-primary);
}

.trust-footer p {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-primary);
}

@media (max-width: 1024px) {
    .trust-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2x2 grid on tablets */
    }
}

@media (max-width: 480px) {
    .trust-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* Featured Collections */
.featured {
    padding: var(--spacing-xl) 0;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-md);
}

.collection-card {
    background: white;
    text-align: center;
    padding-bottom: var(--spacing-md);
    transition: var(--transition-smooth);
    border-radius: 8px;
    overflow: hidden;
}

.collection-card:hover {
    box-shadow: 0 15px 40px rgba(158, 126, 126, 0.1);
    transform: translateY(-5px);
}

.collection-image {
    height: 400px;
    background-color: #fceeee;
    margin-bottom: var(--spacing-sm);
    overflow: hidden;
}

.collection-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* WhatsApp CTA */
.whatsapp-cta {
    background-color: var(--color-background);
    color: var(--color-text);
    padding: var(--spacing-xl) 0;
    text-align: center;
    border-top: 2px solid white;
}

.whatsapp-cta h2 {
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    font-size: 2.5rem;
}

.whatsapp-cta p {
    margin-bottom: var(--spacing-md);
    color: var(--color-text-light);
    font-size: 1.1rem;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
    background-color: #1FAF53;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

/* ==========================================================================
   PREMIUM FOOTER - STUNNING FEMININE DESIGN
   Perfect 4-column grid | Social icons | Bullet points | No payment images
   ========================================================================== */

.site-footer {
    background: linear-gradient(135deg, #1a1717 0%, #000000 100%);
    color: #D4B6AE;
    padding: 3.75rem 0 2.25rem;
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
}

/* Subtle decorative element */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #E5989B, transparent);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Perfect 4-Column Grid */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.6rem;
    align-items: start;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

/* All Headings Perfectly Aligned */
.footer-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin: 0 0 2rem 0;
    color: #FFFFFF;
    height: 1.2rem;
    display: flex;
    align-items: center;
    position: relative;
}

/* Elegant underline for headings */
.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #E5989B, transparent);
}

/* Column 1: Brand Contact Details */
.footer-contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-contact-details p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #D4B6AE;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-contact-details i {
    color: #E5989B;
    width: 18px;
    flex-shrink: 0;
    margin-top: 3px;
}

/* Columns 2 & 3: Links with Bullet Points */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-links-bullets li {
    position: relative;
    padding-left: 18px;
}

.footer-links-bullets li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #E5989B;
    font-size: 1.2rem;
    line-height: 1;
}

.footer-links a {
    color: #D4B6AE;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #FFFFFF;
    transform: translateX(5px);
}

/* Column 4: Social Links with Icons */
.footer-social-links li {
    display: flex;
    align-items: center;
    gap: 0;
}

.footer-social-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #D4B6AE;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-social-links i {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E5989B;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.footer-social-links a:hover {
    color: #FFFFFF;
}

.footer-social-links a:hover i {
    color: #FFFFFF;
    transform: scale(1.2);
}

/* Specific icon colors on hover */
.footer-social-links a[href*="instagram"]:hover i {
    color: #E4405F;
}

.footer-social-links a[href*="facebook"]:hover i {
    color: #1877F2;
}

.footer-social-links a[href*="whatsapp"]:hover i,
.footer-social-links a[href*="wa.me"]:hover i {
    color: #25D366;
}

.footer-social-links a[href*="youtube"]:hover i {
    color: #FF0000;
}

/* Bottom Copyright - Clean & Centered */
.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 182, 174, 0.15);
    text-align: center;
}

.footer-copyright {
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: rgba(212, 182, 174, 0.5);
    text-transform: uppercase;
    font-weight: 300;
}

/* Tablet: 2x2 Grid */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 2.5rem;
    }
}

/* Mobile: Stacked */
@media (max-width: 600px) {
    .site-footer {
        padding: 3rem 1.5rem 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-heading {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .footer-links,
    .footer-contact-details {
        gap: 1rem;
    }

    .footer-bottom {
        margin-top: 3rem;
        padding-top: 1.5rem;
    }
}


/* Mobile Responsiveness for Header and Main Content */
@media (max-width: 991px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
        gap: 1.5rem;
        text-align: center;
        z-index: 1001;
        /* Ensure it stays on top */
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-toggle {
        display: block !important;
        /* Force display when in mobile query */
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-content {
        padding: 2rem;
        width: 90%;
    }

    .logo img {
        height: 60px;
        /* Scale down logo on small screens */
    }
}

@media (max-width: 768px) {

    .category-grid,
    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .hero {
        height: 60vh;
        /* Shorter hero on mobile */
    }
}

@media (max-width: 480px) {

    .category-grid,
    .collection-grid {
        grid-template-columns: 1fr;
    }

    .nav-icons {
        gap: 0.5rem;
    }

    .logo {
        font-size: 1rem;
    }

    .brand-name {
        font-size: 0.85rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }
}