/* 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;
}

/* Global Reset & Mobile-First Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    /* Base font size */
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography Scaling */
h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

@media (min-width: 768px) {
    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 2.8rem;
    }

    h3 {
        font-size: 1.8rem;
    }

    h4 {
        font-size: 1.4rem;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    /* Increased padding for mobile */
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    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;
    text-align: center;
}

@media (max-width: 480px) {
    .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
}

/* Product Detail Page Styles */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    align-items: start;
}

@media (min-width: 768px) {
    .product-detail-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-xl);
    }
}

.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 (Desktop) */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    /* Consistent horizontal spacing */
    align-items: start;
    /* Align all columns to top baseline */
    text-align: left;
    /* Text alignment: left-aligned only */
}

.footer-col {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* 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 2.5rem 0;
    /* consistent spacing below heading */
    color: #FFFFFF;
    position: relative;
    line-height: 1.2;
    /* Fixed line height for baseline alignment */
    display: block;
    /* Remove flex to ensure text baseline match */
}

/* Elegant underline for headings */
.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #E5989B, transparent);
}

/* Equal vertical spacing between every line of text */
.footer-contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    /* Equal vertical spacing */
}

.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: 5px;
    /* Visual alignment with text cap-height */
}

/* Links with Bullet Points */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    /* Equal vertical spacing matching contact */
}

.footer-links-bullets li {
    position: relative;
    padding-left: 18px;
    line-height: 1.6;
}

.footer-links-bullets li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    /* Align bullet top */
    color: #E5989B;
    font-size: 1.2rem;
    line-height: 1.4;
    /* Tweaked for visual alignment */
}

.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);
}

/* Social Links with Icons */
.footer-social-links li {
    display: flex;
    align-items: center;
}

.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 Layout */
@media (max-width: 600px) {
    .site-footer {
        padding: 3rem 1.5rem 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        /* Stacked layout on mobile */
        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;
    }
}

/* ==========================================================================
   POLICY PAGE STYLING (Pink Flyer Look)
   ========================================================================== */

.policy-page-container {
    background-color: #fcebeb;
    /* Soft Pink Background */
    background-image: url("https://www.transparenttextures.com/patterns/cream-paper.png");
    /* Subtle texture */
    padding: 3rem;
    max-width: 900px;
    margin: 3rem auto;
    border-radius: 1px;
    /* Slightly rounded */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 8px double #e5b6b6;
    /* Double border for frame effect */
    color: #5d4037;
    /* Brownish text color */
}

/* Fancy Header Frame */
.policy-header-frame {
    text-align: center;
    border: 2px solid #d4a5a5;
    padding: 1rem 2rem;
    margin-bottom: 2rem;
    border-radius: 50px;
    /* Pill shape */
    background: #FFF;
    display: inline-block;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.policy-header-frame h1 {
    font-family: 'Playfair Display', serif;
    /* Script/Fancy font */
    font-size: 2.5rem;
    color: #6d4c41;
    /* Dark Brown */
    margin: 0;
    font-style: italic;
}

/* Section Dividers mimic the ornate dividers in image */
.policy-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
    color: #d4a5a5;
    font-size: 1.2rem;
}

.policy-divider::before,
.policy-divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #d4a5a5;
    margin: 0 1rem;
}

/* Numbered List Styling (1, 2, 3 in circles) */
.policy-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background-color: #d88c9a;
    /* Darker Pink */
    color: white;
    border-radius: 50%;
    font-weight: bold;
    margin-right: 10px;
    font-family: 'Playfair Display', serif;
}

.policy-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #6d4c41;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.policy-section-title i {
    margin: 0 10px;
    color: #e5989b;
}


.policy-content p,
.policy-content li {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #6d4c41;
}

/* ==========================================================================
   CONTACT PAGE STYLING ("Let's Talk" Design)
   ========================================================================== */

.contact-page-wrapper {
    background-color: #fdfaf7;
    /* Off-white background from image */
    padding: 4rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

.contact-card {
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    /* Soft large shadow */
    border-radius: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1000px;
    width: 100%;
    overflow: hidden;
    padding: 4rem;
    gap: 4rem;
}

/* Left Column */
.contact-info-col {
    padding-right: 2rem;
}

.contact-label {
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #8D6E63;
    /* Muted brown */
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.contact-heading {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.contact-desc {
    color: #666;
    line-height: 1.6;
    margin-bottom: 3rem;
    font-size: 1rem;
}

.contact-details-table {
    width: 100%;
    border-collapse: collapse;
}

.contact-details-table tr {
    border-bottom: 1px solid transparent;
    /* No borders in design */
}

.contact-details-table td {
    padding: 12px 0;
    font-size: 1rem;
}

.contact-details-table td:first-child {
    font-weight: 600;
    color: #333;
    width: 30%;
}

.contact-details-table td:last-child {
    text-align: right;
    color: #666;
}

/* Right Column (Form) */
.contact-form-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-input {
    width: 100%;
    border: none;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #333;
    outline: none;
    transition: border-color 0.3s;
}

.form-input::placeholder {
    color: #999;
}

.form-input:focus {
    border-bottom-color: #9E7E7E;
    /* Brand Primary */
}

.btn-contact-submit {
    background-color: #9E7E7E;
    /* Soft Mauve/Brown */
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 1rem;
    align-self: flex-start;
    transition: background-color 0.3s;
}

.btn-contact-submit:hover {
    background-color: #8D6E63;
}

@media (max-width: 768px) {
    .contact-card {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 2rem;
    }

    .contact-info-col {
        padding-right: 0;
    }

    .contact-heading {
        font-size: 2.5rem;
    }
}

/* ==========================================================================
   CART PAGE REDESIGN ("Your Shopping Bag")
   ========================================================================== */

.cart-page-header {
    text-align: center;
    padding: 3rem 0 2rem;
    background-color: var(--color-background);
    /* Pale Pink */
}

.cart-page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #9E7E7E;
    /* Mauve/Brown */
}

.cart-redesign-grid {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    padding-bottom: 4rem;
}

/* Left Section: Items Table */
.cart-items-section {
    flex: 2;
    background: transparent;
}

/* Table Styling */
.shop_table {
    width: 100%;
    border-collapse: collapse;
}

.shop_table th {
    font-size: 0.9rem;
    color: #8D6E63;
    font-weight: 600;
    text-transform: capitalize;
    padding: 1rem 0;
    border-bottom: 1px solid transparent;
    text-align: left;
}

.shop_table td {
    padding: 2rem 0;
    border-bottom: 1px solid #eee;
    /* Very subtle divider */
    vertical-align: top;
}

/* Product Column */
.cart-product-wrapper {
    display: flex;
    gap: 1.5rem;
}

.cart-product-wrapper img {
    width: 80px;
    height: 100px;
    /* Portrait aspect */
    object-fit: cover;
    border-radius: 4px;
}

.cart-product-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cart-product-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #333;
    font-size: 1rem;
    text-decoration: none;
}

dl.variation {
    display: flex;
    /* keep it inline */
    gap: 5px;
    font-size: 0.85rem;
    color: #777;
    margin: 0;
}

dl.variation dt {
    font-weight: 400;
}

dl.variation dd {
    margin: 0;
}

.cart-remove-link {
    color: #ff4d4d;
    font-size: 0.8rem;
    text-decoration: underline;
    margin-top: 5px;
}

/* Right Section: Sidebar */
.cart-sidebar-section {
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    min-width: 350px;
}

/* Visual Shipping Form */
.shipping-details-visual h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #9E7E7E;
    margin-bottom: 1.5rem;
}

.cart-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 4px;
    background: #fdfaf7;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: #555;
}

.form-row-split {
    display: flex;
    gap: 10px;
}

/* Cart Totals */
.cart_totals h2 {
    display: none;
    /* Hide standard H2 "Cart totals" as visual has "Shipping Details" */
}

.cart_totals table.shop_table {
    margin: 1.5rem 0;
}

.cart_totals th {
    font-weight: 400;
    /* Regular weight labels */
    color: #666;
    padding: 10px 0;
    font-size: 1rem;
}

.cart_totals td {
    text-align: right;
    padding: 10px 0;
    border-bottom: none;
    /* Clean look */
    font-weight: 600;
    color: #333;
}

.order-total th,
.order-total td {
    font-size: 1.2rem;
    border-top: 1px solid #eee;
    /* Divider above Total */
    padding-top: 15px;
    color: #8D6E63;
    /* Brand color total */
}

/* Proceed to Checkout Button */
.checkout-button {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #9E7E7E;
    /* Matches image brown/mauve */
    color: white !important;
    text-align: center;
    border-radius: 50px;
    /* Pill */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.checkout-button:hover {
    background-color: #8D6E63;
    transform: translateY(-2px);
}

.continue-shopping {
    display: block;
    text-align: center;
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 50px;
    color: #666;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.continue-shopping:hover {
    border-color: #9E7E7E;
    color: #9E7E7E;
}

/* Quantity Input Stylizer (Simple) */
.quantity input {
    width: 50px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
}

/* Responsive */
@media (max-width: 900px) {
    .cart-redesign-grid {
        flex-direction: column;
    }

    .cart-sidebar-section {
        width: 100%;
    }
}

/* ==========================================================================
   SEARCH OVERLAY STYLING
   ========================================================================== */

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2rem;
    color: #333;
    cursor: pointer;
    transition: transform 0.2s;
}

.search-close:hover {
    transform: rotate(90deg);
    color: #9E7E7E;
}

.search-container {
    width: 100%;
    max-width: 800px;
    padding: 2rem;
    text-align: center;
}

.search-form {
    position: relative;
    border-bottom: 2px solid #ddd;
}

.search-field {
    width: 100%;
    padding: 1rem 3rem 1rem 0;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #333;
    border: none;
    background: transparent;
    outline: none;
}

.search-field::placeholder {
    color: #e0e0e0;
}

.search-submit {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 2rem;
    color: #9E7E7E;
    cursor: pointer;
}

.search-helper {
    margin-top: 1.5rem;
    font-family: 'Poppins', sans-serif;
    color: #999;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Footer Responsive Styles */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
}

@media (min-width: 600px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
        padding: 0;
    }
}

.footer-heading {
    color: #E5989B;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    font-weight: 600;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #D4B6AE;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-contact-details p {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #D4B6AE;
}

.footer-contact-details i {
    color: #E5989B;
    width: 20px;
    margin-top: 5px;
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(229, 152, 155, 0.2);
    text-align: center;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* WooCommerce Responsive Overrides */
@media (max-width: 768px) {

    /* Cart Page */
    .woocommerce-cart-form__contents {
        display: block;
        width: 100%;
        overflow-x: auto;
        /* Allow horizontal scroll for tables */
    }

    .shop_table {
        min-width: 600px;
        /* Force minimum width to trigger scroll */
    }

    /* Checkout Page */
    .col2-set .col-1,
    .col2-set .col-2 {
        float: none;
        width: 100%;
        margin-bottom: 2rem;
    }

    .woocommerce-checkout .form-row {
        width: 100% !important;
        float: none;
        padding: 0;
    }

    /* Process/My Account */
    .woocommerce-MyAccount-navigation {
        float: none;
        width: 100%;
        margin-bottom: 2rem;
    }

    .woocommerce-MyAccount-content {
        float: none;
        width: 100%;
    }

    .woocommerce-MyAccount-navigation ul {
        display: flex;
        overflow-x: auto;
        padding-bottom: 10px;
        gap: 10px;
    }

    .woocommerce-MyAccount-navigation li {
        flex: 0 0 auto;
        background: #fff;
        padding: 10px 15px;
        border: 1px solid #eee;
        border-radius: 4px;
        margin-bottom: 0;
    }

    /* Product Page Mobile Adjustments */
    .single-product div.product .product_title {
        font-size: 2rem;
    }

    .single-product div.product .price {
        font-size: 1.5rem;
    }

    .quantity {
        margin-right: 10px !important;
    }

    /* Global Input sizing */
    .woocommerce input[type="text"],
    .woocommerce input[type="email"],
    .woocommerce input[type="tel"],
    .woocommerce textarea {
        font-size: 16px;
        /* Prevent zoom on iOS */
        padding: 12px;
    }
}