/* --- style2.css: Modern Boutique Theme --- */

:root {
    /* --- BEAUTY THEME PALETTE (Revised) --- */
    --primary-color: #E72E77;    /* Vibrant Hot Pink (Accents Only) */
    --light-pink: #f0baca;       /* Soft Light Pink (Secondary Elements) */
    --accent-color: #1A1A1A;     /* Deep Black (Headings) */
    
    /* CHANGED: Background is now Soft Rose, not White */
    --bg-color: #FFF5F7;         
    --bg-card: #FFFFFF;          /* Pure White for cards to pop against pink bg */
    
    --text-main: #635258;        /* Warm Muted Cocoa */
    --text-muted: #9C8C92;      
    
    --font-heading: "Trirong", serif;
    --font-body: "Lato", sans-serif;
    
    --border-radius: 50px;
    --shadow-soft: 0 10px 40px rgba(231, 46, 119, 0.1);
}

.theme-section-title {
    font-family: "Allura", cursive !important;
    font-size: 3.5rem;
    color: var(--primary-color) !important; /* Forces Pink */
    font-weight: 400;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    text-transform: none; /* Script fonts look bad in all-caps */
}

/* Mobile Adjustment */
@media (max-width: 767px) {
    .theme-section-title {
        font-size: 2.8rem;
    }
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600; /* Increased weight slightly for the lighter color */
    margin-bottom: 1rem;
    color: var(--accent-color);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* --- Utilities --- */
.section-spacing {
    padding: 2rem 0;
}

.divider-img {
    max-width: 150px;
    margin: 1rem auto;
    display: block;
    opacity: 0.6;
}

.announcement-bar {
    background-color: var(--accent-color); /* Deep Black for premium contrast */
    color: #ffffff;
    padding: 0.6rem 0;
    font-family: var(--font-body); /* Lato */
    font-size: 0.75rem; /* Elegant small text */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px; /* Spaced out for luxury feel */
    position: relative;
    z-index: 1040; /* Ensures it sits above the header */
}

/* Ensure the swiper content centers vertically and horizontally */
.announcement-bar .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 20px;
}

/* Links inside the bar */
.announcement-bar a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.announcement-bar a:hover {
    color: var(--primary-color); /* Turns Hot Pink on hover */
}

/* Optional: If you use icons inside */
.announcement-bar i {
    margin-right: 8px;
    color: var(--primary-color); /* Pink icons */
}

/* --- Buttons --- */
.btn-modern {
    display: inline-block;
    padding: 1rem 3rem; /* Wider padding */
    background-color: var(--primary-color);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius); /* Rounded Pill Shape */
    box-shadow: 0 4px 15px rgba(231, 46, 119, 0.3); /* Soft pink glow */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-modern:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-modern-outline {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-modern-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* --- Hero Section --- */
.hero-wrapper {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    /* Ensure background matches if image doesn't load */
    background-color: var(--bg-color);
}

.heroSwiper {
    width: 100%;
    height: 100%;
}

.heroSwiper .swiper-slide {
    background-size: cover;
    background-position: center;
}

.heroSwiper .swiper-slide.placeholder-glow {
    height: 100%;       /* Ensure it fills the 100vh container */
    width: 100%;
    display: block;     /* Ensure it behaves like a block */
}

/* Glassmorphism Overlay */
.hero-overlay-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    
    /* CHANGED: Lower opacity (0.25) and reduced blur (8px) for visibility */
    background: rgba(255, 255, 255, 0.25); 
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    
    padding: 4rem;
    text-align: center;
    max-width: 650px;
    width: 90%;
    
    /* Thinner, more subtle border */
    border: 1px solid rgba(255, 255, 255, 0.4); 
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); 
    border-radius: 25px; /* Slightly rounded card */
}

.hero-title {
    font-size: 2rem;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    color: #fff;
    margin-bottom: 2rem;
}

/* --- Categories (Arch Design) --- */
.arch-card {
    display: block;
    text-align: center;
}

.arch-img-wrapper {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-top-left-radius: 100px;
    /* Arch shape */
    border-top-right-radius: 100px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    position: relative;
    margin-bottom: 1rem;
}

.arch-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    
}

.arch-card:hover .arch-img-wrapper img {
    transform: scale(1.1);
}

.arch-card h4 {
    font-size: 1.1rem;
    letter-spacing: 1px;
    color: var(--text-main);
    transition: color 0.3s;
}

.arch-card:hover h4 {
    color: var(--accent-color);
}

/* --- Collection Grid (Bento/Mosaic) --- */
.mosaic-section {
    padding: 0;
    /* Full bleed or tight */
}

.mosaic-item {
    position: relative;
    height: 450px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    /* Text at bottom */
    padding: 2rem;
    color: white;
    text-decoration: none;
}

.mosaic-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
    z-index: 1;
}

.mosaic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
    z-index: 2;
}

.mosaic-content {
    position: relative;
    z-index: 3;
    width: 100%;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.mosaic-item:hover .mosaic-bg {
    transform: scale(1.05);
}

.mosaic-item:hover .mosaic-content {
    transform: translateY(0);
}

.mosaic-content h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.mosaic-content p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mosaic-link {
    display: inline-block;
    color: white;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    border-bottom: 1px solid white;
    padding-bottom: 2px;
}

/* --- New Arrivals (Minimal Card) --- */
.product-minimal-card {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03); /* Very subtle shadow */
    transition: transform 0.3s ease;
}

.product-minimal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(231, 46, 119, 0.15);
}

.pm-img-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background-color: #f9f9f9;
    border-radius: 10px; /* Match card radius */
}

.pm-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* or contain, depending on image quality */
    transition: opacity 0.3s ease;
}

.pm-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    display: flex;
    justify-content: center;
}

.product-minimal-card:hover .pm-actions {
    transform: translateY(0);
}

.pm-details {
    padding-top: 1rem;
    text-align: center;
}

.pm-title {
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.pm-title a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-main);
    line-height: 1.4;
    height: 2.8em; 
    -webkit-line-clamp: 2; 
}

/* The Container */
.pm-img-container {
    position: relative; /* Ensure icons position relative to this */
}

/* Common Icon Button Style */
.card-action-icon {
    position: absolute;
    top: 10px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 5;
    padding: 0;
    color: var(--accent-color); /* Default dark color */
}

/* Hover Effect */
.card-action-icon:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: scale(1.1);
}

/* Position: Top Left (Cart) */
.card-action-icon.pos-left {
    left: 10px;
}

/* Position: Top Right (Buy) */
.card-action-icon.pos-right {
    right: 10px;
}

/* Disabled State (e.g. Added to cart) */
.card-action-icon:disabled {
    background-color: #f0f0f0;
    color: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Remove the old bottom action bar styles if they exist to clean up */
.pm-actions {
    display: none !important; 
}

/* --- Mobile/Tablet Adjustments --- */
@media (max-width: 991px) {
    /* 1. Truncate Title to 1 Line on Mobile */
    .pm-title a {
        -webkit-line-clamp: 1;
        height: auto; /* Auto height for single line */
    }

    /* 2. Force Action Buttons to be ALWAYS Visible (No Hover needed) */
    .pm-actions {
        transform: translateY(0) !important; /* Slide up permanently */
        background: rgba(255, 255, 255, 0.95); /* Slightly more opaque */
    }
}

.pm-price {
    color: var(--primary-color); /* Hot Pink */
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

.btn-pm-add {
    width: 100%;
    padding: 0.8rem;
    background: var(--primary-color);
    color: white;
    border: none;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-pm-add:hover {
    background: #000;
}

/* --- Insta Feed --- */
.instagram-section {
    padding-bottom: 0;
    background-color: #ffffff;
    overflow: hidden; 
}

/* Header Styling */
.insta-header {
    padding-bottom: 3rem;
    background-color: var(--bg-color); /* Soft Rose bg */
    padding-top: 3rem;
    margin-bottom: 0;
}

.insta-subtitle {
    font-family: var(--font-body);
    color: var(--text-muted);
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.insta-handle {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
}

/* Swiper Slide Adjustment */
.instaSwiper {
    width: 100%;
    padding-bottom: 0 !important;
}

.instaSwiper .swiper-slide {
    height: auto;
    /* Ensure slides stack horizontally */
    display: flex; 
    justify-content: center;
}

/* Individual Item Wrapper */
.insta-item {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; 
    overflow: hidden;
    background-color: #f8f8f8;
    border-right: 1px solid #ffffff;
}

/* Embed Container */
.insta-embed-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center; 
    justify-content: center;
}

/* Force Instagram Iframe Size */
.instagram-media {
    min-width: 100% !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
}

/* Hover Overlay Effect */
.insta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(231, 46, 119, 0.7); /* Pink Overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
    cursor: grab; /* Indicates it can be dragged */
    
    /* FIX: Changed from 'none' to 'auto' to capture swipes */
    pointer-events: auto; 
}

.insta-overlay i {
    color: #fff;
    font-size: 2.5rem;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

/* Hover State (Desktop Only) */
@media (min-width: 992px) {
    .insta-item:hover .insta-overlay {
        opacity: 1;
    }
    
    .insta-item:hover .insta-overlay i {
        transform: scale(1);
    }
}

/* Mobile Adjustments */
@media (max-width: 576px) {
    .insta-header {
        padding: 2rem 1rem;
    }
    
    .insta-item {
        width: 100%;
    }

    /* FIX: Do NOT hide the overlay on mobile. 
       Keep it present (opacity 0) so it acts as a touch surface for swiping. */
    .insta-overlay {
        display: flex !important; 
        opacity: 0; 
        background: transparent; /* No pink tint on mobile, just transparent touch layer */
    }
}

/* --- Newsletter (Dark Section) --- */
.newsletter-modern {
    background: linear-gradient(135deg, #FFF0F5 0%, #FFE4EC 100%);
    color: var(--accent-color); /* Text is now dark, not white */
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(231, 46, 119, 0.1);
}

.newsletter-modern h3 {
    color: var(--primary-color); /* Heading becomes Hot Pink */
    font-size: 2.5rem;
}

.newsletter-modern p {
    color: var(--text-main); /* Text becomes dark grey */
    max-width: 500px;
    margin: 0 auto 2rem;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    /* CHANGED: Darker border for visibility on light bg */
    border-bottom: 2px solid var(--primary-color);
}

.newsletter-input {
    flex-grow: 1;
    background: transparent;
    border: none;
    color: var(--text-main);
    padding: 1rem;
    outline: none;
}

.newsletter-input::placeholder {
    color: var(--text-muted);
}

.newsletter-btn {
    background: transparent;
    border: none;
    color: var(--primary-color); /* Pink Text */
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    cursor: pointer;
    padding: 0 1.5rem;
}

.newsletter-btn:hover {
    color: var(--accent-color);
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .mosaic-content h3{
        font-size:1.3rem
    }

    .hero-overlay-box {
        bottom: 5%;
        width: 95%;
        padding: 2rem;
    }

    .mosaic-item {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .insta-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mosaic-item {
        height: 300px;
    }
}

@media (max-width: 992px) {
    .hero-wrapper {
        height: 50vh;
        /* Reduced from 90vh to match styles.css */
        min-height: 400px;
    }

    .hero-overlay-box {
        padding: 2rem;
        width: 85%;
        max-width: 600px;
    }

    .hero-subtitle {
        margin-bottom: 1rem;
    }
}

/* Mobile (max-width: 767px) */
@media (max-width: 767px) {
    .hero-wrapper {
        height: 35vh;
        /* Reduced height to match styles.css mobile view */
        min-height: 250px;
    }

    /* Adjust the card to fit inside the smaller banner */
    .hero-overlay-box {
        padding: 1rem 1.5rem;
        width: 90%;
        
        /* CHANGED: Match the transparency on mobile */
        background: rgba(255, 255, 255, 0.65);
        backdrop-filter: blur(5px);
        
        border: 1px solid rgba(255, 255, 255, 0.5);
    }

    .hero-title {
        font-size: 1rem;
        line-height: 1.2;
        margin-bottom: 0.5rem;
    }

    .mosaic-content h3{
        font-size:1.2rem;
    }

    .hero-subtitle {
        font-size: 0.7rem;
        letter-spacing: 2px;
        margin-bottom: 0.8rem;
    }

    /* Make buttons smaller to fit the compact area */
    .btn-modern {
        padding: 0.5rem 1.2rem;
        font-size: 0.7rem;
        letter-spacing: 1px;
    }

    /* Ensure mosaic items don't look too tall on mobile either */
    .mosaic-item {
        height: 280px;
    }
}

/* category section styling */
.focused-card-large {
    display: block;
    text-align: center;
    transition: all 0.5s ease;
    opacity: 0;
    animation: fadeInFocus 0.5s forwards;
    
    /* NEW: Constrain width and center it so it's not too wide */
    max-width: 340px; 
    margin: 0 auto; 
}

.focused-card-large .arch-img-wrapper {
    width: 100%;
    /* NEW: Increased height to improve aspect ratio (prevents cutting off) */
    height: 500px; 
    object-fit: cover;
    overflow: hidden;
    
    /* Arch shape */
    border-top-left-radius: 170px; /* Adjusted for new width (half of 340px) */
    border-top-right-radius: 170px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-soft);
}

.focused-card-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.focused-card-large h2 {
    font-size: 2rem;
    color: var(--accent-color);
}

/* 2. Desktop: The Glow for the Active item in the list */
.arch-card.active-state .arch-img-wrapper {
    border: 3px solid var(--primary-color);
    transform: scale(0.95);
    box-shadow: 0 0 15px rgba(231, 46, 119, 0.3);
    transition: all 0.3s ease;
}

/* Animation */
@keyframes fadeInFocus {
    from { opacity: 0.5; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

/* 3. Mobile/Tablet Overrides */
@media (max-width: 991px) {
    .arch-card.active-state .arch-img-wrapper {
        border: none;
        transform: none;
        box-shadow: none;
    }
    
    /* 2. Control Image Size & Shape */
    .arch-img-wrapper {
        aspect-ratio: 3/4; 
        height: auto;
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .arch-img-wrapper img{
        /* Smaller, more standard arch on mobile */
        border-top-left-radius: 200px;
        border-top-right-radius: 200px;
    }

    /* 3. Ensure Text is proportionate */
    .arch-card h4 {
        font-size: 0.9rem;
    }
}

.pm-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    
    /* CHANGED: Stack buttons vertically */
    display: flex;
    flex-direction: column; 
    gap: 0.5rem; 
    justify-content: center;
}

/* Common Button Style */
.btn-pm-action {
    width: 100%; /* Full width for stacking */
    padding: 0.7rem; 
    text-transform: uppercase;
    font-size: 0.7rem; 
    font-weight: 700;
    letter-spacing: 0.5px;
    border: 1px solid var(--primary-color);
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 4px;
}

/* Add to Cart (Outline) */
.btn-pm-cart {
    background: transparent;
    color: var(--primary-color);
}
.btn-pm-cart:hover {
    background: var(--bg-light-pink);
}

/* Buy Now (Solid) */
.btn-pm-buy {
    background: var(--primary-color);
    color: white;
}
.btn-pm-buy:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

/* Mobile/Tablet Overrides */
@media (max-width: 991px) {
    
    /* 1. Container: Compact Single Line */
    .pm-actions {
        transform: translateY(0) !important;
        flex-direction: row !important;      
        gap: 3px;                            
        padding: 5px;                        
        background: rgba(255, 255, 255, 0.9); 
    }

    /* 2. Buttons: Micro Size for 2-Column Mobile View */
    .btn-pm-action {
        flex: 1;
        width: auto;
        padding: 4px 0;         /* Minimal vertical padding, 0 horizontal */
        font-size: 8px;         /* Micro font size to fit text */
        line-height: 1.1;
        height: auto;
        border-radius: 2px;
        white-space: nowrap;    
        min-width: 0;           /* Allows button to shrink below content size if needed */
    }

    /* 3. Title Truncation (1 Line) */
    .pm-title a {
        -webkit-line-clamp: 1;
        height: auto;
        font-size: 0.9rem;      /* Slightly smaller title on mobile */
    }

    /* 4. Adjust Image/Card styling */
    .arch-card.active-state .arch-img-wrapper {
        border: none;
        transform: none;
        box-shadow: none;
    }
    
    .arch-img-wrapper {
        border-top-left-radius: 70px; 
        border-top-right-radius: 70px;
        aspect-ratio: 3/4; 
        height: auto;
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

.hero-mobile-cta {
    position: absolute;
    bottom: 30px; /* Distance from bottom of hero image */
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 10;
    padding: 0 1rem;
}

/* Adjust button shadow for better visibility on raw image */
.hero-mobile-cta .btn-modern {
    box-shadow: 0 4px 20px rgba(0,0,0,0.3); 
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    width: auto;
}

/* Optional: Adjust Overlay Box on mobile to account for missing button space */
@media (max-width: 991px) {
    .hero-overlay-box {
        /* Move box up slightly since button is now at the bottom */
        transform: translate(-50%, -60%); 
        padding-bottom: 2rem;
    }
}


/* header page */
/* =========================================
   BEAUTY THEME HEADER STYLING (Complete Overhaul)
   ========================================= */

/* --- 1. Main Header Container --- */
.header {
    background-color: #ffffff;
    /* Soft Pink Shadow instead of grey */
    box-shadow: 0 4px 20px rgba(231, 46, 119, 0.08); 
    border-bottom: 2px solid rgba(231, 46, 119, 0.1); /* Pink divider */
    position: sticky;
    top: 0;
    z-index: 1030;
    padding: 0.8rem 0; /* Slightly taller for elegance */
    transition: all 0.3s ease;
}

/* --- 2. Logo --- */
.navbar-brand img {
    height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.08);
}

/* --- 3. Desktop Navigation (The Big Change) --- */
.desktop-nav .nav-item {
    position: relative; /* Essential for positioning the dropdown correctly */
    display: flex;
    align-items: center;
}

.desktop-nav .nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    color: var(--accent-color);
    text-transform: capitalize;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px; /* Space between text and arrow */
}

/* Hover Effect */
.desktop-nav .nav-link:hover,
.desktop-nav .nav-link.active,
.desktop-nav .nav-item.show .nav-link { /* Keep pink when dropdown is open */
    color: var(--primary-color);
}

/* --- THE DROPDOWN ARROW (Restored) --- */
.desktop-nav .dropdown-toggle::after {
    display: inline-block !important; /* Force show */
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
    vertical-align: middle;
    margin-left: 0.255em;
    color: var(--primary-color); /* Pink Arrow */
    transition: transform 0.3s ease;
}

/* Rotate arrow when open */
.desktop-nav .nav-item.show .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* --- 4. Desktop Dropdowns (Floating Position Fix) --- */
.desktop-nav .dropdown-menu {
    /* KEY FIX: Absolute positioning to overlay content below */
    position: absolute !important; 
    top: 100% !important; /* Push exactly below the link */
    left: 0 !important;
    z-index: 1050; /* Ensure it sits on top of everything */
    
    border: none;
    border-top: 3px solid var(--primary-color);
    border-radius: 0 0 12px 12px;
    background-color: #ffffff;
    box-shadow: 0 15px 30px rgba(231, 46, 119, 0.15);
    padding: 0.5rem 0;
    min-width: 220px;
    margin-top: 10px !important; /* Small gap */
    
    /* Animation */
    display: block; /* Required for opacity animation */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

/* Show Dropdown on Hover or Click */
.desktop-nav .nav-item.show .dropdown-menu,
.desktop-nav .nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.desktop-nav .dropdown-item {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-main);
    padding: 0.7rem 1.5rem;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

/* Hover AND Active: Pink background + Pink left border */
.desktop-nav .dropdown-item:hover,
.desktop-nav .dropdown-item.active {
    background-color: var(--bg-light-pink); /* Soft Rose (#FFF0F5) */
    color: var(--primary-color);            /* Hot Pink Text */
    border-left-color: var(--primary-color);/* Hot Pink Left Border */
    padding-left: 1.8rem;                   /* Slide Effect */
    font-weight: 600;                       /* Optional: Make active/hover slightly bolder */
}

/* --- 5. Header Icons (User & Cart) --- */
.header-icons .nav-link {
    color: var(--accent-color); /* Deep Black */
    font-size: 1.3rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
}

/* Icon Hover: Pink Circle Background */
.header-icons .nav-link:hover {
    color: var(--primary-color);
    background-color: var(--bg-light-pink); /* Soft Rose Circle */
    transform: translateY(-2px);
}

.header-icons .dropdown-menu {
    border: none;
    /* Theme Signature: Pink Top Border */
    border-top: 3px solid var(--primary-color); 
    border-radius: 0 0 12px 12px;
    background-color: #ffffff;
    /* Soft Pink Shadow */
    box-shadow: 0 15px 30px rgba(231, 46, 119, 0.15); 
    padding: 0.5rem 0;
    margin-top: 15px !important; /* Space from icon */
    min-width: 200px;
    
    /* Animation */
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

/* Show Menu on Click (Bootstrap adds .show class) */
.header-icons .dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 2. Dropdown Items */
.header-icons .dropdown-item {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-main); /* Muted Cocoa */
    padding: 0.7rem 1.2rem;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    display: flex;
    align-items: center;
    gap: 10px; /* Space between icon and text */
}

/* 3. Icons inside the items (User, Key, Box, etc.) */
.header-icons .dropdown-item i {
    color: var(--primary-color); /* Hot Pink Icons */
    font-size: 1rem;
    width: 20px;
    text-align: center;
    transition: color 0.2s;
}

/* 4. Hover State: Pink BG + Slide Effect */
.header-icons .dropdown-item:hover,
.header-icons .dropdown-item:active {
    background-color: var(--bg-light-pink); /* Soft Rose */
    color: var(--primary-color);            /* Hot Pink Text */
    border-left-color: var(--primary-color);/* Pink Left Border */
    padding-left: 1.5rem;                   /* Slide Animation */
}

/* Change icon color on hover */
.header-icons .dropdown-item:hover i {
    color: var(--primary-color);
}

/* 5. Divider Line */
.header-icons .dropdown-divider {
    border-top: 1px solid rgba(231, 46, 119, 0.1); /* Subtle Pink Line */
    margin: 0.5rem 0;
}

/* 6. Remove default arrow from the user icon link */
.header-icons .dropdown-toggle::after {
    display: none !important;
}

.header-welcome-text {
    font-family: var(--font-heading); /* Trirong Font */
    color: var(--primary-color);    
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.header-welcome-text::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 18px;
    width: 1px;
    background-color: rgba(231, 46, 119, 0.3); 
}

/* Cart Badge */
.cart-count-badge {
    position: absolute;
    top: -2px;     
    right: -10px;   
    background-color: var(--primary-color); 
    color: #ffffff;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: bold;
    font-family: var(--font-body);
    line-height: 1;
    min-width: 18px; 
    height: 18px;   
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    border: none;
}

/* --- 6. Mobile Offcanvas (Side Menu) --- */
.offcanvas {
    background-color: var(--bg-color); /* Soft Rose Background for whole menu */
}

.offcanvas-header {
    background: linear-gradient(135deg, var(--primary-color), #c01c5b); /* Gradient Pink Header */
    color: #fff;
    padding: 1.5rem;
}

.offcanvas-title {
    font-family: var(--font-heading);
    color: #fff !important;
    font-weight: 600;
    letter-spacing: 1px;
}

.offcanvas-header .btn-close {
    filter: invert(1) brightness(200%); /* White X button */
    opacity: 1;
}

.offcanvas-body {
    padding: 0; /* Remove padding to flush links */
}

/* Mobile Links */
.offcanvas-body .nav-link {
    font-family: var(--font-heading);
    /* CHANGED: Reduced from 1.1rem to 0.95rem */
    font-size: 0.95rem; 
    color: var(--accent-color);
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(231, 46, 119, 0.1);
    transition: all 0.3s;
}

.offcanvas-body .nav-link:hover,
.offcanvas-body .nav-link.active {
    background-color: #fff;
    color: var(--primary-color);
    padding-left: 2.5rem;
    border-left: 5px solid var(--primary-color);
}

/* Mobile Dropdown (Submenus) */
.offcanvas-body .dropdown-menu {
    background-color: #fff;
    margin: 0;
    border: none;
    padding: 0;
}

.offcanvas-body .dropdown-item {
    font-family: var(--font-body);
    color: var(--text-muted);
    padding: 0.8rem 3rem;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    border-left: 4px solid transparent;
}

.offcanvas-body .dropdown-item:hover {
    color: var(--primary-color);
    background-color: var(--bg-light-pink);
}

.offcanvas-body .dropdown-item:hover,
.offcanvas-body .dropdown-item:active, 
.offcanvas-body .dropdown-item.active {
    background-color: var(--bg-light-pink); /* Soft Rose Background */
    color: var(--primary-color);            /* Hot Pink Text */
    border-left-color: var(--primary-color);/* Pink Left Border */
    padding-left: 3.5rem;                   /* Slide Effect (Deeper indent for mobile) */
    font-weight: 600;                       /* Make bold */
}

.offcanvas-body .dropdown-toggle::after {
    display: none !important; 
    content: none !important;
}

/* 2. Style the Custom FontAwesome Icon (The Chevron) */
.offcanvas-body .toggle-icon {
    font-size: 0.85rem;
    color: var(--accent-color); /* Default: Dark */
    transition: transform 0.3s ease, color 0.3s ease;
    margin-left: auto; /* Push to the far right */
}

/* 3. Hover/Active State for the Link containing the icon */
.offcanvas-body .nav-link:hover .toggle-icon,
.offcanvas-body .nav-link.active .toggle-icon,
.offcanvas-body .dropdown-toggle.show .toggle-icon {
    color: var(--primary-color); /* Turn Pink on active/open */
}

/* 4. Rotate Animation when Menu is Open */
.offcanvas-body .dropdown-toggle.show .toggle-icon {
    transform: rotate(180deg);
}

/* Mobile Login Button */
.btn-login-mobile {
    margin: 1.5rem auto; /* Centered with vertical margin */
    /* CHANGED: Reduced width constraint (was calc(100% - 4rem)) */
    width: 80%; 
    max-width: 250px; /* Cap width for larger mobile screens */
    
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    
    /* CHANGED: Smaller padding and font size */
    padding: 0.7rem; 
    font-size: 0.85rem;
    
    border-radius: 50px;
    text-align: center;
    display: block;
}

.btn-login-mobile:hover {
    background-color: var(--primary-color);
    color: white;
}

/* --- 7. Mobile Layout Fixes --- */
@media (max-width: 991.98px) {
    .header {
        padding: 0.5rem 0;
    }
    
    .navbar .container-fluid {
        display: grid;
        grid-template-columns: auto 1fr auto; /* Toggle - Logo - Icons */
        align-items: center;
        gap: 10px;
    }

    .navbar-toggler {
        grid-column: 1 / 2;
        border: none;
        color: var(--accent-color);
        font-size: 1.4rem;
        padding: 0;
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
        color: var(--primary-color);
    }

    .navbar-brand {
        grid-column: 2 / 3;
        justify-self: center;
        margin-right: 0;
    }

    .header-icons {
        grid-column: 3 / 4;
        justify-self: end;
    }
    
    /* Make icons smaller on mobile */
    .header-icons .nav-link {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
        background: transparent; 
    }
}


/* =========================================
   LOGIN PAGE (Beauty Theme Redesign)
   ========================================= */

.login-fullscreen-wrapper {
    position: relative;
    height: 100vh;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--accent-color); 
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 2. Overlay */
.login-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); 
    z-index: 1;
}

.login-fullscreen-wrapper .container {
    position: relative;
    z-index: 2;
}

/* 3. The Glass Card (UPDATED) */
.login-glass-card {
    /* --- GLASS EFFECT --- */
    /* Increased Opacity: 0.65 (Visible white tint) */
    background: rgba(255, 255, 255, 0.65); 
    
    /* Blur: Keeps the background image soft */
    backdrop-filter: blur(20px);           
    -webkit-backdrop-filter: blur(20px);   
    
    /* Border: Slightly stronger for definition */
    border: 1px solid rgba(255, 255, 255, 0.8); 
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2); 
    
    border-radius: 30px; /* Softer corners */
    width: 100%;
    
    /* --- SHAPE LOGIC --- */
    /* Reduced padding makes it tighter/compact */
    padding: 2.5rem 2rem; 
    
    /* 'aspect-ratio: 1' attempts to force a square, 
       but 'min-height' is safer to prevent cutting content */
    /* min-height: 450px; REMOVED to let content dictate compactness */
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    
    /* Limit width to keep it looking boxy, not stretched */
    max-width: 450px;
    margin: 0 auto;
}

/* 4. Typography */
.login-logo-img {
    height: 45px; /* Slightly smaller logo */
    width: auto;
    margin-bottom: 0.5rem;
}

.login-title {
    font-family: var(--font-heading);
    font-size: 2rem; /* Compact title */
    color: #1a1a1a; 
    font-weight: 600;
    margin-bottom: 0;
}

.login-subtitle {
    font-family: var(--font-body);
    color: #4a4a4a;
    font-size: 0.95rem;
    margin-bottom: 1.5rem; /* Reduced space */
    font-weight: 500;
}

/* 5. Inputs (Clean) */
.login-form-control {
    background-color: rgba(255, 255, 255, 0.8); /* More solid input bg */
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    padding: 0.8rem 1rem; /* Compact padding */
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #000;
    transition: all 0.3s ease;
}

.login-form-control:focus {
    background-color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(231, 46, 119, 0.2);
    outline: none;
}

.login-form-control::placeholder {
    color: #777;
}

.form-label {
    color: #1a1a1a;
    font-weight: 700;
    font-size: 0.85rem;
    margin-left: 5px;
    margin-bottom: 0.3rem;
}

/* 6. Buttons */
.login-btn-submit {
    background-color: var(--accent-color);
    color: #ffffff;
    border: none;
    padding: 0.8rem; /* Compact button */
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.login-btn-submit:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(231, 46, 119, 0.3);
}

/* 7. Links */
.login-forgot-link {
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 700;
    transition: color 0.3s;
}

.login-forgot-link:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.login-switch-link {
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
}

.login-switch-link a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
}

/* 8. Mobile Adjustments */
@media (max-width: 576px) {
    .login-glass-card {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    
    .login-title {
        font-size: 1.8rem;
    }
}

/* =========================================
   FOOTER STYLING (Beauty Theme)
   ========================================= */

.footer {
    background-color: #ffffff; /* Clean White Background */
    color: var(--text-main);   /* Muted Cocoa Text */
    padding-top: 2rem;
    font-size: 0.95rem;
    border-top: 1px solid rgba(231, 46, 119, 0.1); /* Subtle Pink Top Border */
}

/* --- Typography --- */
.footer h5 {
    font-family: var(--font-heading); /* Trirong Serif */
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: var(--accent-color); /* Deep Black */
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

/* --- Links --- */
.footer a {
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.footer a:hover {
    color: var(--primary-color); /* Hot Pink Hover */
    padding-left: 5px; /* Slide Effect */
}

.footer a.active {
    color: var(--primary-color);
    font-weight: 700;
}

/* --- Brand Info Section --- */
.footer-brand-info .footer-logo img {
    max-width: 150px;
    height: auto;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.footer-brand-info .footer-logo:hover img {
    transform: scale(1.05);
}

.footer-brand-info .footer-details p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 0.5rem;
    color: #666; /* Slightly softer text for details */
}

.footer-brand-info .footer-details strong {
    color: var(--accent-color); /* Darker labels */
    font-weight: 600;
}

/* --- Social Icons (Rounded Buttons) --- */
.footer-social-icons {
    gap: 10px;
}

.footer-social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--bg-light-pink); /* Soft Rose Background */
    color: var(--primary-color);            /* Hot Pink Icon */
    border-radius: 50%;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    padding: 0; /* Override any padding-left hover effect */
}

.footer-social-icons a:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-3px);
    padding-left: 0; /* Prevent slide effect on icons */
    box-shadow: 0 5px 15px rgba(231, 46, 119, 0.3);
}

/* --- Accordion Logic (Mobile vs Desktop) --- */
.footer-accordion .accordion-item {
    border: none;
    background-color: transparent;
}

.footer-accordion .accordion-header {
    margin-bottom: 0;
}

/* The Button (Headings) */
.footer-accordion .accordion-button {
    padding: 0 0 1rem 0;
    font-size: 1rem;
    background-color: transparent;
    color: var(--accent-color);
    box-shadow: none;
    border: none;
}

.footer-accordion .accordion-button h5 {
    margin-bottom: 0;
}

/* Chevron Icon Styling */
.footer-accordion .accordion-button::after {
    /* Custom SVG chevron colored dark grey */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%233c3c3c'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform 0.3s ease;
    width: 1rem;
    height: 1rem;
    background-size: 1rem;
}

.footer-accordion .accordion-button:not(.collapsed) {
    color: var(--primary-color); /* Turn pink when open */
}

.footer-accordion .accordion-button:not(.collapsed)::after {
    transform: rotate(-180deg);
    /* Optional: Change icon color to pink when open (requires different SVG encoding or filter) */
    filter: invert(27%) sepia(51%) saturate(2878%) hue-rotate(346deg) brightness(104%) contrast(97%); 
}

.footer-accordion .accordion-body {
    padding: 0;
}

.footer .list-unstyled li {
    margin-bottom: 0.8rem;
}

/* --- Desktop Specifics (Disable Accordion Look) --- */
@media (min-width: 992px) {
    .footer-accordion .accordion-collapse {
        display: block !important;
        visibility: visible !important;
        height: auto !important;
    }

    .footer-accordion .accordion-button {
        pointer-events: none; /* Not clickable on desktop */
        padding-bottom: 1.5rem;
        cursor: default;
    }

    .footer-accordion .accordion-button::after {
        display: none; /* Hide arrow on desktop */
    }
}

/* --- Mobile/Tablet Adjustments --- */
@media (max-width: 991.98px) {
    .footer-accordion .accordion-button {
        justify-content: space-between;
        border-bottom: 1px solid rgba(0,0,0,0.05); /* Separator lines on mobile */
        padding: 1rem 0;
    }
    
    .footer-accordion .accordion-item {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 767px) {
    .footer-brand-info {
        text-align: center;
        margin-bottom: 2rem;
    }

    .footer-social-icons {
        justify-content: center;
        margin-top: 1.5rem;
    }
    
    .footer-logo img {
        margin: 0 auto 1rem auto;
        display: block;
    }
}

/* --- Footer Bottom --- */
.footer-bottom {
    border-top: 1px solid rgba(231, 46, 119, 0.1);
    padding: 1.5rem 0;
    /* margin-top: 3rem; */
    color: var(--text-muted);
    font-size: 0.85rem;
    background-color: var(--bg-light-pink); /* Soft contrast for bottom bar */
}

.footer-bottom p {
    margin: 0;
}


/* =========================================
   REGISTER PAGE (Beauty Theme Redesign)
   ========================================= */

.auth-container {
    /* padding: 3rem 0; */
    background-color: var(--bg-color); /* Soft Rose Background */
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* --- Card Styling --- */
.auth-container .card {
    border: 1px solid rgba(231, 46, 119, 0.15); /* Soft Pink Border */
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(231, 46, 119, 0.08);
    overflow: hidden;
    /* Flex layout for side-by-side image and form */
    display: flex;
    flex-direction: column;
    width: 100%;
    /* No fixed max-height here as register forms are long */
}

@media (min-width: 992px) {
    .auth-container .card {
        flex-direction: row;
    }
}

.auth-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Ensure image column fills height on desktop */
.auth-container .col-lg-6.d-none {
    height: auto;
    min-height: 100%;
}

/* --- Form Wrapper --- */
.auth-form-wrapper {
    padding: 3rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* --- Typography --- */
.auth-title {
    font-family: var(--font-heading); /* Trirong Serif */
    font-size: 2.2rem;
    color: var(--accent-color); /* Deep Black */
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 500;
}

.auth-container .form-label {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

/* --- Inputs (Matching Login Style) --- */
.auth-form-control {
    background-color: var(--bg-light-pink); /* Soft Rose BG */
    border: 1px solid rgba(231, 46, 119, 0.2); /* Subtle Pink Border */
    border-radius: 12px;
    padding: 0.8rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.auth-form-control:focus {
    background-color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(231, 46, 119, 0.1);
    color: var(--accent-color);
}

.auth-container .input-group-text {
    background-color: var(--bg-light-pink);
    border: 1px solid rgba(231, 46, 119, 0.2);
    border-right: none;
    color: var(--text-muted);
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

/* --- Buttons --- */
.btn-auth {
    background-color: var(--primary-color); /* Hot Pink */
    color: #fff;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    border: 1px solid var(--primary-color);
    padding: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 46, 119, 0.3);
    margin-top: 1.5rem;
    width: 100%;
}

.btn-auth:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 46, 119, 0.2);
}

/* OTP Buttons (Outline Styles Override) */
.auth-container .btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    border-radius: 0 12px 12px 0; /* Rounded right side */
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0 1.5rem;
}

.auth-container .btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.auth-container .btn-outline-success {
    border-color: #28a745; /* Keep Green for Verify success indication */
    color: #28a745;
    border-radius: 0 12px 12px 0;
    font-weight: 600;
}

.auth-container .btn-outline-success:hover {
    background-color: #28a745;
    color: #fff;
}

/* --- Links --- */
.auth-switch-link {
    margin-top: 2rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-main);
}

.auth-switch-link a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    margin-left: 5px;
}

.auth-switch-link a:hover {
    text-decoration: underline;
}

/* --- Responsive Adjustments --- */
@media (max-width: 991px) {
    .auth-form-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .auth-title {
        font-size: 1.8rem;
    }
    
    .auth-container .card {
        border-radius: 15px; /* Slightly smaller radius on mobile */
    }
}


/* =========================================
   ABOUT US PAGE (Beauty Theme - Fixed Sizes)
   ========================================= */

/* --- 1. Hero Section --- */
.about-hero {
    position: relative;
    height: 40vh; /* Matched styles.css */
    min-height: 300px; /* Matched styles.css */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Theme: Pink Gradient instead of dark grey */
    background: linear-gradient(135deg, #fff0f5 0%, #ffe4ec 100%);
    overflow: hidden;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 15px;
}

.about-hero-content h1 {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 0px rgba(255, 255, 255, 0.8);
}

.about-hero-content p {
    font-family: var(--font-heading);
    font-size: 1.2rem; /* Matched styles.css */
    color: var(--accent-color);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 500;
}

/* --- 2. Divider Image Fix --- */
.section-title img {
    max-width: 200px; /* Explicitly matched styles.css size */
    margin: 10px auto;
    display: block;
    opacity: 0.8;
}

/* --- 3. Story Section (Image Sizing Fix) --- */
.story-section {
    background-color: #ffffff;
    padding: 5rem 0;
}

/* This container constrains the images exactly like styles.css */
.story-image-container {
    position: relative;
    width: 80%; /* Matched styles.css */
    max-width: 500px; /* Matched styles.css */
    height: 420px; /* Matched styles.css */
    margin: 50px auto 120px; /* Matched styles.css flow */
}

.story-image-container .main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(231, 46, 119, 0.1);
    display: block;
}

.story-image-container .overlay-image {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50%; /* Matched styles.css */
    height: 50%; /* Matched styles.css */
    object-fit: cover;
    border-radius: 12px;
    /* Theme Border */
    border: 5px solid #ffffff; 
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    /* Exact positioning from styles.css */
    transform: translate(20%, 40%); 
    z-index: 2;
}

.story-section h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.story-section p {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-main);
    font-size: 1rem;
}

/* --- 4. Values Section --- */
.values-section {
    background-color: var(--bg-light-pink);
    padding: 5rem 0;
}

.values-section .section-title h3 {
    color: var(--accent-color);
    font-size: 2.5rem;
}

.value-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background-color: #fff;
    border-radius: 15px;
    border: 1px solid rgba(231, 46, 119, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(231, 46, 119, 0.15);
}

.value-card .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.value-card h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--accent-color);
}

.value-card p {
    color: var(--text-main);
}

/* --- 5. CTA Section --- */
.cta-section {
    background-color: #ece2d6; /* Fallback */
    /* Theme Gradient */
    background: linear-gradient(to right, #2c332f, #1a1a1a); 
    text-align: center;
    padding: 5rem 0;
}

.cta-section h3 {
    font-weight: 500;
    color: var(--primary-color);
}

.cta-section p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
}

.cta-section .btn-custom {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.cta-section .btn-custom:hover {
    background-color: #fff;
    color: var(--primary-color);
}

/* --- Responsive Adjustments (Matched styles.css) --- */
@media (max-width: 992px) {
    .about-hero {
        height: 35vh;
    }
    .about-hero-content h1 {
        font-size: 4rem;
    }
}

@media (max-width: 767px) {
    .about-hero {
        height: 30vh;
        min-height: 280px;
    }
    
    .about-hero-content h1 {
        font-size: 3.2rem;
    }
    
    .about-hero-content p {
        font-size: 1rem;
    }
    
    /* Hide overlay on mobile to prevent layout breakage, just like styles.css often implies */
    .story-image-container .overlay-image {
        display: none; 
    }
    
    .story-section h3 {
        font-size: 1.5rem;
    }
    
    .story-image-container {
        margin: 2rem auto; /* Reduced margin on mobile */
    }
}


/* =========================================
   CONTACT US PAGE (Beauty Theme - Fixed Font Weight)
   ========================================= */

/* --- 1. Contact Hero --- */
.contact-hero {
    position: relative;
    height: 40vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #fff0f5 0%, #ffe4ec 100%);
    overflow: hidden;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 15px;
}

.contact-hero-content h1 {
    font-family: "Allura", cursive; 
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 0px rgba(255, 255, 255, 0.8);
    
    /* KEY FIX: Ensure weight matches other script headings */
    font-weight: 400 !important; 
}

.contact-hero-content p {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--accent-color);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 500;
}

/* --- 2. Main Content Section --- */
.contact-section {
    background-color: var(--bg-card);
    padding: 4rem 0;
}

/* --- Info Card (Left Column) --- */
.contact-info-card {
    background-color: var(--bg-light-pink);
    border-radius: 15px;
    border: 1px solid rgba(231, 46, 119, 0.1);
    padding: 2.5rem;
    height: 100%;
    box-shadow: 0 5px 20px rgba(231, 46, 119, 0.05);
}

.contact-info-card h3 {
    font-family: "Allura", cursive;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    
    /* KEY FIX: Ensure weight matches standard section titles */
    font-weight: 400 !important; 
    text-transform: none; /* Script font should not be capitalized */
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item .icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1.2rem;
    width: 30px;
    text-align: center;
    margin-top: 5px;
}

.info-item h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--accent-color);
}

.info-item p,
.info-item a {
    font-family: var(--font-body);
    color: var(--text-main);
    text-decoration: none;
    line-height: 1.6;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--primary-color);
}

/* --- Form Card (Right Column) --- */
.contact-form-card {
    background-color: #ffffff;
    border-radius: 15px;
    border: 1px solid rgba(231, 46, 119, 0.15);
    padding: 2.5rem;
    height: 100%;
    box-shadow: 0 10px 30px rgba(231, 46, 119, 0.08);
}

.contact-form-card .form-label {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--accent-color);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.contact-form-control {
    background-color: var(--bg-light-pink);
    border: 1px solid rgba(231, 46, 119, 0.15);
    border-radius: 12px;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    color: var(--text-main);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: var(--font-body);
}

.contact-form-control:focus {
    background-color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(231, 46, 119, 0.1);
    outline: none;
}

/* Submit Button */
.btn-submit-custom {
    background-color: var(--primary-color);
    color: #fff;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    padding: 0.9rem 3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    border: 1px solid var(--primary-color);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 46, 119, 0.3);
}

.btn-submit-custom:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 46, 119, 0.2);
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .contact-hero {
        height: 35vh;
    }
    .contact-hero-content h1 {
        font-size: 4rem;
    }
    .contact-form-card {
        margin-top: 1rem;
    }
}

@media (max-width: 767px) {
    .contact-hero {
        height: 30vh;
        min-height: 250px;
    }
    
    .contact-hero-content h1 {
        font-size: 3.2rem;
    }
    
    .contact-hero-content p {
        font-size: 1rem;
    }
    
    .contact-info-card,
    .contact-form-card {
        padding: 1.5rem;
    }
    
    .contact-section {
        overflow-x: hidden;
    }
    
    .g-recaptcha {
        transform: scale(0.85);
        transform-origin: 0 0;
    }
    .g-recaptcha > div {
        margin: 0 auto;
    }
}


/* =========================================
   COLLECTION PAGE (Beauty Theme Redesign)
   ========================================= */

/* --- 1. Collection Hero --- */
.collection-hero {
    background: linear-gradient(135deg, #fff0f5 0%, #ffe4ec 100%); /* Pink Gradient */
    padding: 3rem 0;
    text-align: center;
    border-bottom: 1px solid rgba(231, 46, 119, 0.1);
}

.collection-hero__title {
    font-family: "Allura", cursive;
    font-size: 4rem;
    color: var(--primary-color); 
    margin: 0;
    text-transform: capitalize;
    font-weight: 400;
}

/* --- 2. Filters Section --- */
.filters-section {
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.filters-section .fw-bold {
    font-family: var(--font-heading);
    color: var(--accent-color);
    font-weight: 600 !important;
}

.filters-section .btn-light {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 50px; 
    padding: 0.5rem 1.2rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.filters-section .btn-light:hover,
.filters-section .btn-light:focus,
.filters-section .show > .btn-light { 
    background-color: var(--bg-light-pink);
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: none;
}

/* Filter Dropdown Menu */
.filters-section .dropdown-menu {
    border: none;
    border-top: 3px solid var(--primary-color);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 30px rgba(231, 46, 119, 0.15);
    padding: 0.5rem 0;
    margin-top: 10px !important;
}

.filters-section .dropdown-item {
    font-family: var(--font-body);
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
    color: var(--text-main);
}

.filters-section .dropdown-item:hover {
    background-color: var(--bg-light-pink);
    color: var(--primary-color);
}

/* Price Inputs inside Dropdown */
.filters-section .form-control-sm {
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

.filters-section .form-control-sm:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(231, 46, 119, 0.1);
}

.filters-section .btn-dark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 4px;
    font-weight: 600;
}

.filters-section .btn-dark:hover {
    background-color: var(--accent-color); /* Dark hover */
    border-color: var(--accent-color);
}

/* --- 3. Product Grid Card (Themed) --- */
.product-card {
    background-color: var(--bg-card);
    border: 1px solid #f9f9f9;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(231, 46, 119, 0.1);
    border-color: rgba(231, 46, 119, 0.1);
}

.card-img-container {
    position: relative;
    overflow: hidden;
    background-color: #f9f9f9; 
}

.main-image1,
.hover-image {
    width: 100%;
    height: 350px;
    object-fit: cover; 
    transition: opacity 0.4s ease;
}

.hover-image {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.product-card:hover .hover-image {
    opacity: 1;
}

.card-body {
    padding: 1.2rem;
    background-color: #fff;
}

.card-title {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    height: 2.8em;
    overflow: hidden;
}

.card-title a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.2s;
}

.card-title a:hover {
    color: var(--primary-color);
}

.product-price .sale-price {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Choose Options Button */
.product-choose-button {
    border-radius: 50px;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    background: transparent;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.6rem 1.2rem;
    transition: all 0.3s ease;
    margin-top: auto; /* Push to bottom */
}

.product-choose-button:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.product-minimal-card .pm-title {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    height: 2.8em; /* 1.4em * 2 lines = 2.8em fixed height */
    margin-bottom: 0.5rem;
}

.product-minimal-card .pm-title a {
    color: inherit;
    text-decoration: none;
}

/* --- Responsive Adjustments --- */
@media (max-width: 767px) {
    .collection-hero__title {
        font-size: 2.8rem;
    }
    
    .filters-section .btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* Product Grid Mobile - 2 Column Optimizations */
    .card-img-container .main-image1,
    .card-img-container .hover-image {
        height: 220px; /* Reduced height for mobile */
    }
    
    .card-body {
        padding: 0.8rem;
    }
    
    .card-title {
        font-size: 0.9rem;
        height: auto; /* Allow auto height */
        -webkit-line-clamp: 1; /* 1 line on mobile */
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 0.2rem;
    }
    
    .product-price {
        margin: 0.2rem 0 0.5rem 0 !important;
    }
    
    .product-choose-button {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
        width: 100%;
    }
}

/* =========================================
   CART PAGE (Beauty Theme)
   ========================================= */

.cart-page {
    background-color: var(--bg-color); /* Soft Rose Background */
    padding: 1.2rem 0;
    min-height: 80vh;
}

.cart-title {
    font-family: "Allura", cursive; /* Theme Script Font */
    font-size: 3.5rem;
    color: var(--primary-color); /* Hot Pink */
    margin-bottom: 0.5rem;
    font-weight: 400;
}

/* --- Cart Item Card --- */
.cart-item-card {
    background-color: var(--bg-card); /* White */
    border: 1px solid rgba(231, 46, 119, 0.1); /* Subtle Pink Border */
    border-radius: 15px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

.cart-item-card:hover {
    box-shadow: 0 8px 25px rgba(231, 46, 119, 0.08); /* Pinkish Shadow */
    border-color: rgba(231, 46, 119, 0.2);
}

.cart-item-card .card-body {
    padding: 1.5rem;
}

.cart-item-card img {
    border-radius: 10px;
    object-fit: cover;
    width: 100%;
    height: auto;
}

/* Item Text Details */
.item-details .item-title {
    font-family: var(--font-heading); /* Trirong */
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

@media (max-width: 992px) {
    .item-details .item-title {
        font-size: .9rem;
    }
}

.item-details .item-title a {
    color: var(--accent-color); /* Deep Black */
    text-decoration: none;
    transition: color 0.2s;
}

.item-details .item-title a:hover {
    color: var(--primary-color);
}

.item-details .item-price {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Quantity Selector (Themed) */
.item-quantity .input-group {
    max-width: 130px;
    border: 1px solid rgba(231, 46, 119, 0.2);
    border-radius: 50px;
    overflow: hidden;
    background-color: var(--bg-light-pink);
}

.item-quantity .btn {
    background-color: transparent;
    border: none;
    color: var(--accent-color);
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    transition: color 0.2s;
}

.item-quantity .btn:hover {
    color: var(--primary-color);
}

.item-quantity .form-control {
    background-color: transparent;
    border: none;
    text-align: center;
    color: var(--accent-color);
    font-weight: 600;
    padding: 0.4rem;
}

/* Item Total & Remove */
.item-total .total-price {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color); /* Hot Pink */
    margin-right: 1rem;
    min-width: 80px;
    text-align: right;
}

.btn-remove-from-cart {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 1.8rem;
    line-height: 1;
    padding: 0 0.5rem;
    transition: color 0.3s;
    cursor: pointer;
}

.btn-remove-from-cart:hover {
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

/* --- Order Summary Card --- */
.order-summary-card {
    background-color: var(--bg-light-pink); /* Soft Rose Background */
    border: 1px solid rgba(231, 46, 119, 0.1);
    border-radius: 15px;
    padding: 1rem;
    position: sticky;
    top: 100px; /* Matches styles.css logic */
    box-shadow: 0 5px 20px rgba(231, 46, 119, 0.05);
}

.order-summary-card .card-body {
    padding: 1rem;
}

.order-summary-card .card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-color);
    border-bottom: 1px solid rgba(231, 46, 119, 0.15);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-family: var(--font-body);
    color: var(--text-main);
    font-size: 1rem;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(231, 46, 119, 0.15);
}

/* Checkout Button */
.btn-checkout {
    background-color: var(--primary-color); /* Hot Pink */
    color: #fff;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: .8rem;
    padding: 1rem .5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    border: 1px solid var(--primary-color);
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
}

.btn-checkout:hover {
    background-color: #fff;
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(231, 46, 119, 0.3);
}

/* Clear Cart Button */
#clear-cart-btn {
    border-radius: 50px;
    padding: 0.4rem 1rem;
}

/* --- Responsive Adjustments (Matching styles.css logic) --- */
@media (max-width: 767px) {
    .cart-title {
        font-size: 2.8rem;
    }
    
    .cart-item-card .card-body {
        padding: 1rem;
        text-align: left; /* Center align on mobile */
    }
    
    
    
    .item-total {
        justify-content: center;
        /* margin-top: 1rem; */
        width: 100%;
    }
    
    .total-price {
        margin-right: 1rem;
        font-size: 1.1rem;
    }
}


/* =========================================
   CHECKOUT PAGE (Beauty Theme) - MISSING SECTIONS
   ========================================= */

/* --- Address Selection & Payment Method --- */
.address-option,
.payment-option {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(231, 46, 119, 0.15); /* Soft Pink Border */
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #ffffff;
    position: relative;
    margin-bottom: 0.75rem;
}

.address-option:hover,
.payment-option:hover {
    background-color: var(--bg-light-pink);
    border-color: var(--primary-color);
}

/* Hide Native Radio Buttons to prevent duplicates */
.payment-option input[type="radio"],
.address-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Custom Radio Circle */
.radio-custom {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 2px solid #dcdcdc;
    border-radius: 50%;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: border-color 0.3s ease;
}

/* Inner Dot for Active State */
.radio-custom::after {
    content: '';
    width: 12px;
    height: 12px;
    background-color: var(--primary-color); /* Hot Pink Dot */
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.2s ease;
}

/* Checked State Logic */
.payment-option input[type="radio"]:checked ~ .radio-custom,
.address-option input[type="radio"]:checked ~ .radio-custom {
    border-color: var(--primary-color);
}

.payment-option input[type="radio"]:checked ~ .radio-custom::after,
.address-option input[type="radio"]:checked ~ .radio-custom::after {
    transform: scale(1);
}

/* Active Container State */
.payment-option:has(input:checked),
.address-option:has(input:checked) {
    border-color: var(--primary-color);
    background-color: var(--bg-light-pink);
    box-shadow: 0 0 0 1px rgba(231, 46, 119, 0.2);
}

/* Payment Text Styling */
.payment-options-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.payment-label-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--accent-color);
    display: block;
}

.payment-label-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: var(--font-body);
}

/* --- Address Text & Buttons --- */
.address-text {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.5;
    flex-grow: 1;
}

/* Themed Edit Button */
.btn-edit-address {
    color: var(--primary-color) !important;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    text-decoration: none;
    background: transparent;
    border: none;
    padding: 0.25rem 0.5rem;
    margin-left: 1rem;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-edit-address:hover {
    color: var(--accent-color) !important;
    background-color: rgba(231, 46, 119, 0.1);
    border-radius: 4px;
}

/* Add Address Button */
#add-address {
    cursor: pointer;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 1rem;
    padding: 0.8rem;
    text-align: center;
    border: 2px dashed rgba(231, 46, 119, 0.3);
    border-radius: 12px;
    transition: all 0.3s ease;
    font-family: var(--font-body);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

#add-address:hover {
    background-color: var(--bg-light-pink);
    border-color: var(--primary-color);
}

/* --- Address Modal (Themed) --- */
.modal-content {
    border-radius: 15px;
    border: none;
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color), #c01c5b);
    color: #fff;
    border-bottom: none;
}

.modal-title {
    font-family: var(--font-heading);
    font-weight: 600;
}

.modal-body {
    background-color: #ffffff;
    padding: 2rem;
}

.modal-body .form-control {
    background-color: var(--bg-light-pink);
    border: 1px solid rgba(231, 46, 119, 0.15);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    color: var(--text-main);
}

.modal-body .form-control:focus {
    background-color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(231, 46, 119, 0.1);
}

.modal-footer {
    border-top: 1px solid rgba(0,0,0,0.05);
    background-color: #f9f9f9;
}

/* Modal Buttons */
#addressModal .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
}

#addressModal .btn-primary:hover {
    background-color: #c01c5b; /* Darker Pink */
    border-color: #c01c5b;
}

#addressModal .btn-secondary {
    background-color: #fff;
    color: var(--text-muted);
    border: 1px solid #ddd;
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
}

.checkout-card .card-title {
        font-family: var(--font-heading) !important; /* Forces Trirong font */
        font-size: 1.5rem !important;
        font-weight: 600;
        color: var(--accent-color);
        
        /* Resetting product card constraints */
        height: auto !important; 
        overflow: visible !important;
        line-height: 1.2;
        
        /* Visual spacing */
        border-bottom: 1px solid rgba(231, 46, 119, 0.15);
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }

    @media (max-width: 767px) {
        .checkout-card .card-title {
            font-size: 1.2rem !important;
        }
    }


    /* =========================================
   ORDER SUCCESS PAGE (Beauty Theme)
   ========================================= */

.order-success-wrapper {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: var(--bg-card); /* White Card */
    border-radius: 20px;
    padding: 3rem 2rem;
    /* Soft Pink Shadow & Border */
    box-shadow: 0 15px 40px rgba(231, 46, 119, 0.08);
    border: 1px solid rgba(231, 46, 119, 0.15);
}

/* --- Icon Circle --- */
.success-icon {
    width: 90px;
    height: 90px;
    background-color: var(--bg-light-pink); /* Soft Rose Circle */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    /* Subtle Outer Glow */
    box-shadow: 0 0 0 8px rgba(231, 46, 119, 0.05); 
}

.success-icon i {
    color: var(--primary-color); /* Hot Pink Checkmark */
    font-size: 36px;
}

/* --- Typography --- */
.order-success-wrapper h2 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 2.2rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.order-success-wrapper .text-muted {
    font-family: var(--font-body);
    color: var(--text-muted) !important;
    font-size: 1rem;
}

/* --- Receipt / Order Details Box --- */
.order-details {
    text-align: left;
    margin-top: 2rem;
    background-color: var(--bg-light-pink); /* Soft Rose Background */
    padding: 1.5rem 2rem;
    border-radius: 15px;
    border: 1px dashed rgba(231, 46, 119, 0.3); /* Dashed "Receipt" Border */
}

.order-details p {
    margin: 12px 0;
    font-family: var(--font-body);
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.5;
}

.order-details strong {
    color: var(--accent-color);
    font-weight: 700;
    margin-right: 5px;
}

/* --- Buttons --- */

/* Primary Button (Track Order) */
.btn-home {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.9rem 2.5rem;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border: 1px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(231, 46, 119, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 180px;
}

.btn-home:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 46, 119, 0.2);
}

/* Secondary Button (Print Invoice) */
#invoice-print {
    display: inline-block;
    margin-top: 2rem;
    margin-left: 0.5rem;
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 180px;
}

#invoice-print:hover {
    background-color: var(--bg-light-pink);
    color: var(--accent-color);
    border-color: var(--accent-color);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 767px) {
    .order-success-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .order-success-wrapper h2 {
        font-size: 1.8rem;
    }

    /* Stack buttons on mobile */
    .btn-home, 
    #invoice-print {
        width: 100%;
        margin-left: 0;
        margin-top: 1rem;
        display: block;
    }
    
    .order-details {
        padding: 1.2rem;
    }
}


/* =========================================
   TRACK ORDER PAGE (Beauty Theme)
   ========================================= */

.track-order-page {
    background-color: var(--bg-color); /* Soft Rose Background */
    padding: 4rem 0;
    min-height: 85vh; /* Full screen feel */
    display: flex;
    align-items: center;
}

/* --- Main Card Styling --- */
.track-order-card {
    background-color: #ffffff;
    border: 1px solid rgba(231, 46, 119, 0.15); /* Soft Pink Border */
    border-radius: 20px; /* Modern Rounded Corners */
    padding: 3rem;
    box-shadow: 0 15px 40px rgba(231, 46, 119, 0.08); /* Pink-tinted shadow */
}

/* --- Typography --- */
.track-order-title {
    font-family: "Allura", cursive; /* Theme Script Font */
    font-size: 3.5rem;
    color: var(--primary-color); /* Hot Pink */
    font-weight: 400;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.track-order-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 400px;
    margin: 0 auto 2rem;
}

.track-order-card .form-label {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--accent-color);
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
}

/* --- Inputs (Matching Auth Style) --- */
.track-order-form-control {
    background-color: var(--bg-light-pink); /* Soft Rose BG */
    border: 1px solid rgba(231, 46, 119, 0.2); /* Subtle Pink Border */
    border-radius: 12px;
    padding: 0.9rem 1.2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.track-order-form-control:focus {
    background-color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(231, 46, 119, 0.1);
    outline: none;
    color: var(--accent-color);
}

/* --- Submit Button --- */
#track-btn {
    background-color: var(--primary-color); /* Hot Pink */
    color: #fff;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px; /* Pill Shape */
    border: 1px solid var(--primary-color);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 46, 119, 0.3);
    margin-top: 1rem;
}

#track-btn:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 46, 119, 0.2);
}

/* --- Responsive Card --- */
@media (max-width: 767px) {
    .track-order-card {
        padding: 2rem 1.5rem;
    }
    
    .track-order-title {
        font-size: 2.8rem;
    }
}

/* =========================================
   STATUS POPUP MODAL (Beauty Theme)
   ========================================= */

.modal-status-popup {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.modal-status-popup .modal-header {
    background: linear-gradient(135deg, var(--primary-color), #c01c5b); /* Gradient Pink Header */
    color: #fff;
    border-bottom: none;
    padding: 1.5rem;
}

.modal-status-popup .modal-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.3rem;
}

.modal-status-popup .btn-close {
    filter: invert(1) brightness(200%); /* White X button */
    opacity: 1;
}

.modal-status-popup .modal-body {
    background-color: #ffffff;
    padding: 2rem;
}

/* --- Timeline Styling --- */
.status-timeline {
    position: relative;
    padding-left: 10px;
    margin-top: 1rem;
}

/* The Vertical Line */
.timeline-step {
    position: relative;
    padding-bottom: 2.5rem;
    padding-left: 2rem;
}

.timeline-step:last-child {
    padding-bottom: 0;
}

.timeline-step::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 9px; /* Aligned with icon center */
    height: 100%;
    width: 2px;
    background-color: #e0e0e0; /* Gray line default */
    z-index: 1;
}

.timeline-step:last-child::before {
    display: none;
}

/* The Icons */
.timeline-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border-radius: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-icon i {
    font-size: 1.1rem;
    color: #e0e0e0; /* Inactive Color */
    transition: color 0.3s ease;
}

/* Completed Step Styling */
.timeline-step.completed .timeline-icon i {
    color: var(--primary-color); /* Pink Checkmark */
}

/* Also color the line connecting completed steps */
.timeline-step.completed::before {
    background-color: var(--primary-color); 
    opacity: 0.3;
}

/* Cancelled Step Styling */
.timeline-step.cancelled .timeline-icon i {
    color: #dc3545; /* Red X */
}

/* Text Styling */
.timeline-text {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.timeline-step.completed .timeline-text {
    color: var(--accent-color); /* Dark active text */
    font-weight: 700;
}

.timeline-step.cancelled .timeline-text {
    color: #dc3545;
}

/* --- Status Message Box --- */
.status-message-box {
    background-color: var(--bg-light-pink);
    border: 1px solid rgba(231, 46, 119, 0.1);
    border-radius: 12px;
    color: var(--accent-color);
}

.status-message-box p {
    font-family: var(--font-body);
}

/* Variant: Success (Delivered) */
.status-message-box.bg-success-light {
    background-color: #d4edda !important;
    color: #155724 !important;
    border-color: #c3e6cb;
}

/* Variant: Cancelled */
.status-message-box.bg-danger-light {
    background-color: #f8d7da !important;
    color: #721c24 !important;
    border-color: #f5c6cb;
}


/* =========================================
   USER PROFILE PAGE (Beauty Theme)
   ========================================= */

.profile-page {
    background-color: var(--bg-color); /* Soft Rose Background */
    padding: 4rem 0;
    min-height: 85vh;
}

/* --- Main Page Title --- */
.profile-title {
    font-family: "Allura", cursive; /* Theme Script Font */
    font-size: 3.5rem;
    color: var(--primary-color); /* Hot Pink */
    font-weight: 400;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

/* --- Cards (Details & Address) --- */
.profile-details-card,
.address-management-card {
    background-color: #ffffff;
    border: 1px solid rgba(231, 46, 119, 0.15); /* Soft Pink Border */
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(231, 46, 119, 0.08); /* Pink-tinted shadow */
    overflow: hidden;
    height: 100%; /* Ensures cards match height in the row */
}

.profile-details-card .card-body,
.address-management-card .card-body {
    padding: 2rem;
}

.profile-details-card .card-title,
.address-management-card .card-title {
    font-family: var(--font-heading); /* Trirong */
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(231, 46, 119, 0.15); /* Pink divider line */
}

/* --- Personal Info Items --- */
.profile-details-card .info-item {
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(231, 46, 119, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; 
}

.profile-details-card .info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary-color);
    width: 30%;
    font-size: 0.95rem;
}

.info-value-wrapper {
    width: 70%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.info-value {
    font-family: var(--font-body);
    color: var(--text-main);
    font-size: 1rem;
}

/* Edit Pencil Button */
.btn-edit-info {
    color: var(--primary-color  );
    background: transparent;
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-edit-info:hover {
    color: var(--primary-color);
    background-color: var(--bg-light-pink);
}

.edit-mode-container {
    width: 70%;
    gap: 10px;
    align-items: center;
    display: none; 
}

.edit-mode-container:not(.hidden) {
    display: flex;
}

.edit-input {
    background-color: var(--bg-light-pink);
    border: 1px solid rgba(231, 46, 119, 0.2);
    border-radius: 8px;
    padding: 0.4rem 0.8rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-main);
    width: 100%;
}

.edit-input:focus {
    outline: none;
    background-color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(231, 46, 119, 0.1);
}

.edit-actions {
    display: flex;
    gap: 5px;
}

.edit-actions .btn {
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-save {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
}
.btn-save:hover {
    background-color: #28a745;
    color: #fff;
}

.btn-cancel {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}
.btn-cancel:hover {
    background-color: #dc3545;
    color: #fff;
}

/* Global utility for hiding elements if not already present */
.hidden {
    display: none !important;
}

/* --- Address Management Section --- */

/* Individual Address Card */
.address-card {
    background-color: #ffffff; /* White card */
    border: 1px solid rgba(231, 46, 119, 0.1);
    border-left: 4px solid var(--primary-color); /* Pink Accent Bar */
    border-radius: 10px;
    padding: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.address-card:hover {
    transform: translateX(5px); /* Slide effect */
    box-shadow: 0 5px 20px rgba(231, 46, 119, 0.1);
}

.address-lines {
    font-family: var(--font-body);
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.edit-address-btn {
    color: var(--primary-color);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.3s;
}

.edit-address-btn:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Add New Address Button (Outline Dashed) */
.add-address-container {
    margin-top: 2rem;
}

#add-address-btn {
    width: 100%;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px dashed rgba(231, 46, 119, 0.4); /* Dashed Pink Border */
    border-radius: 15px;
    padding: 1rem;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

#add-address-btn:hover {
    background-color: var(--bg-light-pink);
    border-color: var(--primary-color);
    color: var(--accent-color);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 767px) {
    .profile-title {
        font-size: 2.8rem;
    }
    
    .profile-details-card .card-body,
    .address-management-card .card-body {
        padding: 1.5rem;
    }

    /* Stack Labels and Values on Mobile */
    .info-label {
        width: 100%;
        margin-bottom: 0.5rem;
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .info-value-wrapper, 
    .edit-mode-container {
        width: 100%;
    }
    
    .address-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .address-actions {
        width: 100%;
        text-align: right;
        border-top: 1px solid #f0f0f0;
        padding-top: 0.5rem;
    }
}


/* =========================================
   CHANGE PASSWORD PAGE (Beauty Theme)
   ========================================= */

.password-change-container {
    padding: 3rem 0;
    background-color: var(--bg-color); /* Soft Rose Background */
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.password-change-card {
    background-color: #ffffff;
    border: 1px solid rgba(231, 46, 119, 0.15); /* Soft Pink Border */
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(231, 46, 119, 0.08); /* Pink-tinted shadow */
    width: 100%;
    max-width: 550px; /* Optimal width for single column form */
    margin: 0 auto;
    overflow: hidden;
}

.password-change-wrapper {
    padding: 3rem 2.5rem;
}

/* --- Typography --- */
.password-change-title {
    font-family: "Allura", cursive; /* Theme Script Font */
    font-size: 3rem;
    color: var(--primary-color); /* Hot Pink */
    text-align: center;
    margin-bottom: 0.5rem;
    font-weight: 400;
    line-height: 1.2;
}

.password-change-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
}

/* --- Password Requirements Box --- */
.password-requirements {
    list-style: none;
    padding: 1.2rem;
    margin-top: 0.8rem;
    margin-bottom: 1.5rem;
    background-color: var(--bg-light-pink); /* Soft Rose BG */
    border-radius: 12px;
    border: 1px dashed rgba(231, 46, 119, 0.3); /* Dashed Pink Border */
}

.password-requirements li {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-muted); /* Default gray text */
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.password-requirements li:last-child {
    margin-bottom: 0;
}

.password-requirements li i {
    font-size: 1rem;
    /* Color is toggled via JS (Green/Red), but we set a default here */
    color: #dc3545; 
}

/* State: Valid (Enhances the JS inline style) */
.password-requirements li.valid {
    color: var(--accent-color); /* Make text darker when valid */
    font-weight: 500;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 767px) {
    .password-change-wrapper {
        padding: 2rem 1.5rem;
    }

    .password-change-title {
        font-size: 2.5rem;
    }
    
    .password-requirements {
        padding: 1rem;
    }
}


/* =========================================
   MY ORDERS PAGE (Beauty Theme)
   ========================================= */

.order-page {
    background-color: var(--bg-color); /* Soft Rose */
    padding: 3rem 0;
    min-height: 85vh;
}

/* --- Page Header --- */
.page-title {
    font-family: "Allura", cursive; /* Script Font */
    font-size: 3.5rem;
    color: var(--primary-color); /* Hot Pink */
    font-weight: 400;
    margin-bottom: 2rem;
    text-align: center;
}

/* --- Tabs Container --- */
.order-tabs-container {
    background-color: #ffffff;
    border: 1px solid rgba(231, 46, 119, 0.15); /* Soft Pink Border */
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(231, 46, 119, 0.05); /* Soft Shadow */
    padding: 1.5rem;
    margin-bottom: 2rem;
}

/* Tabs Navigation */
.order-tabs {
    border-bottom: 1px solid rgba(231, 46, 119, 0.1);
    gap: 1.5rem;
    display: flex;
    margin-bottom: 1.5rem;
}

.tab-btn {
    font-family: var(--font-heading); /* Trirong */
    font-weight: 600;
    color: var(--text-muted);
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    padding-bottom: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-count {
    background-color: var(--bg-light-pink);
    color: var(--primary-color);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    margin-left: 8px;
    font-weight: 700;
}

.tab-btn.active .tab-count {
    background-color: var(--primary-color);
    color: #fff;
}

/* Filter Dropdown */
.order-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-family: var(--font-body);
}

.time-filter {
    background-color: var(--bg-light-pink);
    border: 1px solid rgba(231, 46, 119, 0.2);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    color: var(--text-main);
    font-family: var(--font-body);
    cursor: pointer;
}

.time-filter:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* --- Order Cards --- */
.order-card {
    background-color: #ffffff;
    border: 1px solid rgba(231, 46, 119, 0.15);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.order-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(231, 46, 119, 0.1);
}

.order-content {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

/* Order Image */
.order-image {
    flex: 0 0 120px;
    width: 120px;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    background-color: #ffffff; /* Changed to white so it looks clean behind the image */
    border: 1px solid rgba(231, 46, 119, 0.1); /* Optional: Adds a subtle border definition */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px; /* Adds a little breathing room */
}

.order-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* THIS FIXES THE CROPPING */
    mix-blend-mode: multiply; /* Optional: Helps white backgrounds blend better */
}

.order-details1 {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Order Header (ID & Status) */
.order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.order-number {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-color);
}

/* Status Badges */
.status-badge {
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-processing {
    background-color: #FFF0F5; /* Very light pink */
    color: #E72E77; /* Hot Pink */
    border: 1px solid #FFC0CB;
}

.status-confirmed {
    background-color: #E6E6FA; /* Lavender */
    color: #483D8B;
    border: 1px solid #D8BFD8;
}

.status-delivered {
    background-color: #F0FFF0; /* Honeydew */
    color: #2E8B57;
    border: 1px solid #C1E1C1;
}

.status-cancelled {
    background-color: #FFF5F5;
    color: #DC143C;
    border: 1px solid #FFB6C1;
}

/* Order Meta Data (Date, Price) */
.order-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.meta-item {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
}

.meta-value {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--text-main);
}

.order-amount {
    color: var(--primary-color) !important;
    font-size: 1.1rem;
}

/* --- View Details Button --- */
.btn-view-details {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary-color);
    color: #fff;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    border: 1px solid var(--primary-color);
    transition: all 0.3s ease;
    text-decoration: none;
    align-self: flex-end; /* Pushes button to right */
}

.btn-view-details:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* --- Empty State --- */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: #ffffff;
    border-radius: 20px;
    border: 1px dashed rgba(231, 46, 119, 0.3);
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-title {
    font-family: var(--font-heading);
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

/* --- Responsive --- */
@media (max-width: 767px) {
    .page-title {
        font-size: 2.5rem;
    }

    /* Scrollable tabs on mobile */
    .order-tabs {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 0.5rem;
        gap: 1rem;
    }
    
    .tab-btn {
        font-size: 0.9rem;
        flex-shrink: 0;
    }

    .order-content {
        flex-direction: column;
    }
    
    .order-image {
        width: 100%;
        height: 180px;
        margin-bottom: 1rem;
    }
    
    .order-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .order-meta {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-view-details {
        width: 100%;
        justify-content: center;
    }
    
    .order-summary {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

/* --- Responsive (Mobile) --- */
@media (max-width: 767px) {
    .page-title {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    /* Scrollable tabs */
    .order-tabs {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 0.5rem;
        gap: 1rem;
        justify-content: flex-start;
    }
    
    .tab-btn {
        font-size: 0.9rem;
        flex-shrink: 0;
    }

    /* --- ROW LAYOUT (Image Left, Text Right) --- */
    .order-content {
        flex-direction: row; 
        align-items: flex-start;
        gap: 1rem;
    }
    
    .order-image {
        flex: 0 0 80px; 
        width: 80px;
        height: 80px;
        margin-bottom: 0;
    }
    
    .order-details1 {
        min-width: 0; 
        width: 100%;
    }

    /* --- HEADER FIX: Stack Vertically --- */
    .order-header {
        flex-direction: column; /* Stack Order # and Tag */
        align-items: flex-start; /* Align to left */
        gap: 0.3rem; /* Small space between them */
        margin-bottom: 0.5rem;
    }
    
    .order-number {
        font-size: 0.85rem; /* Keep small font */
        margin-bottom: 0;
    }

    .status-badge {
        font-size: 0.6rem; /* Keep small badge */
        padding: 0.15rem 0.6rem;
        align-self: flex-start; /* Ensure it stays left */
    }
    
    /* Adjust Meta */
    .order-meta {
        flex-direction: column;
        gap: 0.2rem;
        margin-bottom: 0.6rem;
    }

    .meta-item {
        flex-direction: row;
        align-items: baseline;
        gap: 0.5rem;
    }

    .meta-label {
        margin-bottom: 0;
        font-size: 0.75rem;
    }
    
    .meta-value {
        font-size: 0.8rem;
    }

    /* Button adjustments */
    .btn-view-details {
        width: auto;
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
        margin-left: auto; 
    }
    
    .order-summary {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}


/* =========================================
   ORDER DETAILS PAGE (Beauty Theme)
   ========================================= */

/* --- Main Cards (Reusing Theme Card Style) --- */
.details-card {
    background-color: #ffffff;
    border: 1px solid rgba(231, 46, 119, 0.15); /* Soft Pink Border */
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(231, 46, 119, 0.08); /* Pink-tinted shadow */
    margin-bottom: 2rem;
    overflow: hidden;
}

/* --- Typography --- */
.order-main-title {
    font-family: var(--font-heading); /* Trirong */
    font-size: 1.8rem;
    color: var(--primary-color);      /* Hot Pink */
    font-weight: 600;
}

.details-card h5 {
    font-family: var(--font-heading);
    color: var(--accent-color);       /* Deep Black */
    font-weight: 600;
    font-size: 1.2rem;
}

/* --- Invoice Button --- */
.btn-invoice-download {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.5rem 1.2rem;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-invoice-download:hover {
    background-color: var(--bg-light-pink);
    color: var(--accent-color);
    border-color: var(--primary-color);
}

/* --- Status Badges (Themed) --- */
.status-badge-themed {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.status-badge-processing {
    background-color: #FFF0F5;
    color: #E72E77;           
    border: 1px solid #FFC0CB;
}

.status-badge-confirmed {
    background-color: #E6E6FA; 
    color: #483D8B;
    border: 1px solid #D8BFD8;
}

.status-badge-delivered {
    background-color: #F0FFF0; 
    color: #2E8B57;
    border: 1px solid #C1E1C1;
}

.status-badge-cancelled {
    background-color: #FFF5F5;
    color: #DC143C;
    border: 1px solid #FFB6C1;
}

.status-badge-pending {
    background-color: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
}

.info-card .fa-map-marker-alt,
.info-card .fa-credit-card,
.info-card .fa-info-circle {
    color: var(--primary-color);
    font-size: 1.2rem;
    background-color: var(--bg-light-pink);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.info-card .text-muted {
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-card .fw-semibold {
    font-family: var(--font-body);
    color: var(--accent-color);
    font-size: 0.95rem;
}

/* Payment Status Badges */
.payment-badge-paid {
    background-color: #d4edda !important;
    color: #155724 !important;
    border: 1px solid #c3e6cb;
}
.payment-badge-pending {
    background-color: #fff3cd !important;
    color: #856404 !important;
    border: 1px solid #ffeeba;
}
.payment-badge-failed {
    background-color: #f8d7da !important;
    color: #721c24 !important;
    border: 1px solid #f5c6cb;
}

.item-card {
    background-color: #ffffff;
    border: 1px solid rgba(231, 46, 119, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.item-card:hover {
    box-shadow: 0 5px 15px rgba(231, 46, 119, 0.05);
}

.item-image-container {
    background-color: #ffffff;
    border: 1px solid rgba(231, 46, 119, 0.1);
    border-radius: 10px;
    height: 100px;
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.item-image-container img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.item-name {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--accent-color);
    font-size: 1.05rem;
}

.text-danger {
    color: var(--primary-color) !important;
}

.bg-light {
    background-color: var(--bg-light-pink) !important;
    border-color: rgba(231, 46, 119, 0.15) !important;
}

.details-card .fs-5 {
    font-family: var(--font-heading);
    font-weight: 700;
}

@media (max-width: 767px) {
    .order-main-title {
        font-size: 1.5rem;
    }
    
    .btn-invoice-download {
        width: 100%;
        margin-top: 1rem;
    }
    
    .item-image-container {
        width: 100%;          
        height: 300px;        
        max-width: none;     
        padding: 1rem;
    }
    
    .item-card .row.g-3 {
        flex-direction: row; 
    }
    
    .item-attribute-grid .col-6 {
        margin-bottom: 0.5rem;
    }
}

@media (min-width: 992px) {
    .item-image-container {
        width: 100%;        
        height: 300px;        
        max-width: none;      
        padding: 1rem;        
    }
    
    .item-image-container img {
        max-height: 100%;
        width: auto;        
    }
}

@media (max-width: 991px) {
    .header-actions-container {
        display: flex !important;
        flex-direction: row !important; 
        align-items: center !important;
        justify-content: flex-start;
        gap: 15px; 
        margin-top: 1rem;
    }

    .btn-invoice-download {
        width: auto !important;     
        margin-top: 0 !important;  
        margin-right: 0 !important;
        margin-bottom: 0 !important;
        display: inline-flex;
    }
    
    .status-badge-themed {
        white-space: nowrap;
        flex-shrink: 0;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .header-actions-container {
        display: flex !important;
        flex-direction: column !important; 
        align-items: flex-end !important;  
        gap: 10px;                         
        margin-top: 0 !important;          
    }

    .btn-invoice-download {
        width: auto !important;
        margin-right: 0 !important;
        display: inline-block;
    }

    .status-badge-themed {
        width: fit-content;
    }
}


/* =========================================
   PRODUCT VIEW PAGE (Beauty Theme - Refined)
   ========================================= */

.product-view-page {
    background-color: var(--bg-color); 
    min-height: 85vh;
}

/* --- 1. Product Gallery Section --- */
.product-gallery {
    position: sticky;
    top: 100px; 
    margin-bottom: 2rem;
}

.main-image-container {
    background-color: #ffffff;
    border: 1px solid rgba(231, 46, 119, 0.1);
    border-radius: 20px; 
    overflow: hidden;
    position: relative;
    /* REDUCED HEIGHT: Was 600px, now 500px for better fit */
    height: 500px; 
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(231, 46, 119, 0.05); 
    cursor: zoom-in; 
}

.main-image-container img {
    width: 100%;
    height: 100%;
    /* CHANGED: 'cover' makes image fill the box completely (no whitespace) */
    object-fit: cover; 
    object-position: top center; /* Focuses on the top/center of image */
    transition: transform 0.3s ease-out;
}

/* Zoom Effect Hover */
.main-image-container:hover img {
    transform: scale(1.5); 
    cursor: crosshair;
}

/* Thumbnail Strip */
.thumbnail-container {
    margin-top: 1rem;
}

.img-thumbnail {
    width: 80px; /* Slightly smaller thumbnails */
    height: 80px;
    object-fit: cover; /* Uniform square crop */
    border-radius: 12px;
    cursor: pointer;
    background-color: #ffffff;
    padding: 3px;
    border: 2px solid transparent;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    opacity: 0.7;
}

.img-thumbnail:hover {
    opacity: 1;
    border-color: rgba(231, 46, 119, 0.3);
}

.img-thumbnail.active {
    opacity: 1;
    border-color: var(--primary-color); 
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(231, 46, 119, 0.2);
}

/* --- 2. Product Details Section --- */
.product-details {
    padding-left: 1.5rem; 
}

/* Typography (RESIZED) */
.product-title {
    font-family: var(--font-heading); /* Trirong */
    font-weight: 600;
    font-size: 2rem; 
    color: var(--accent-color); 
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.product-vendor {
    font-family: var(--font-body);
    font-size: 0.9rem; /* REDUCED */
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
    font-weight: 600;
}

.product-description {
    font-family: var(--font-body);
    font-size: 0.95rem; /* REDUCED */
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Price Section (RESIZED) */
.product-price-container .product-sale-price {
    font-family: var(--font-heading);
    /* REDUCED: Was 2.2rem */
    font-size: 1.8rem; 
    font-weight: 700;
    color: var(--primary-color); 
}

.product-price-container .product-original-price {
    font-family: var(--font-body);
    font-size: 1.1rem; /* REDUCED */
    color: var(--text-muted);
    text-decoration: line-through;
    opacity: 0.7;
}

.product-price-container .badge {
    background-color: var(--primary-color) !important;
    color: #fff;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.7rem;
    padding: 0.4em 0.8em;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

/* --- 3. Options (Colors & Sizes) --- */
.product-details .form-label {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--accent-color);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: block;
}

/* Color Circles */
.color-option {
    width: 30px; /* Slightly smaller */
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    position: relative;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.05);
}

.color-option.active {
    transform: scale(1.1);
    box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--primary-color); 
    border: none;
}

/* Size Pills */
.btn-size-option {
    background-color: #ffffff;
    border: 1px solid rgba(231, 46, 119, 0.2);
    color: var(--text-main);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem; /* REDUCED */
    padding: 0.6rem 1.5rem; /* REDUCED PADDING */
    border-radius: 50px;
    transition: all 0.3s ease;
    min-width: 50px;
}

.btn-size-option:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: var(--bg-light-pink);
}

.btn-size-option.active {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(231, 46, 119, 0.3);
}

/* --- 4. Action Buttons --- */
.product-actions {
    margin-top: 2rem;
}

.product-actions .btn {
    padding: 0.8rem 2.5rem; /* Slightly reduced padding */
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border-radius: 50px; 
    transition: all 0.3s ease;
}

.btn-add-to-cart {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-add-to-cart:hover {
    background-color: var(--bg-light-pink);
    color: var(--accent-color);
    border-color: var(--primary-color);
}

.btn-buy-now {
    background-color: var(--primary-color);
    color: #fff;
    border: 2px solid var(--primary-color);
    box-shadow: 0 5px 20px rgba(231, 46, 119, 0.25);
}

.btn-buy-now:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* --- 5. Responsive Design --- */
@media (max-width: 992px) {
    .product-details {
        padding-left: 0;
        margin-top: 2rem;
    }
    
    .product-gallery {
        position: static; 
    }
    
    .main-image-container {
        height: 400px; /* Reduced for tablet */
    }
    
    .product-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 767px) {

    /* Mobile Image sizing */
    .main-image-container {
        height: 380px; 
    }
    
    .img-thumbnail {
        width: 60px;
        height: 60px;
    }
    
    /* Mobile Details Sizing */
    .product-title {
        font-size: 1.5rem;
    }
    
    .product-vendor {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }
    
    .product-price-container .product-sale-price {
        font-size: 1.5rem;
    }
    
    /* Stack Buttons on Mobile */
    .product-actions {
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .product-actions .btn {
        width: 100%;
        padding: 0.8rem;
    }
}

/* =========================================
   SKELETON LOADER & VISIBILITY LOGIC
   ========================================= */

/* --- 1. Animation & Base Style --- */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* --- 2. Element Dimensions (Matches Beauty Theme) --- */
.skeleton-image {
    width: 100%;
    height: 500px; /* Matches desktop .main-image-container */
    border-radius: 20px;
}

.skeleton-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    flex-shrink: 0;
}

.skeleton-title {
    width: 70%;
    height: 40px; /* Matches h1 size */
    margin-bottom: 1rem;
    border-radius: 8px;
}

.skeleton-vendor {
    width: 30%;
    height: 20px;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.skeleton-price {
    width: 120px;
    height: 35px;
    border-radius: 4px;
}

.skeleton-button {
    width: 40px;
    height: 40px;
    border-radius: 50%; /* Circular for color options */
}

.skeleton-action-btn {
    width: 160px;
    height: 50px;
    border-radius: 50px; /* Pill shape for buttons */
}

.skeleton-quantity {
    width: 120px;
    height: 40px;
    border-radius: 50px;
}

/* --- 3. Toggle Logic (Hides/Shows Content) --- */

/* Initially: Hide real content, Show skeleton */
.product-content {
    display: none;
}

.skeleton-content {
    display: block;
}

/* When JS adds '.loaded' class: Show real content, Hide skeleton */
.loaded .product-content {
    display: block;
    animation: fadeIn 0.5s ease;
}

.loaded .skeleton-content {
    display: none;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- 4. Responsive Adjustments --- */
@media (max-width: 767px) {
    .skeleton-image {
        height: 380px; /* Matches mobile .main-image-container */
    }
    
    .skeleton-thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .skeleton-title {
        height: 30px;
        width: 90%;
    }
    
    .skeleton-action-btn {
        width: 100%; /* Full width buttons on mobile */
    }
}

/* =========================================
   PRIVACY POLICY PAGE (Beauty Theme)
   ========================================= */

/* --- 1. Hero Section --- */
.privacy-hero {
    position: relative;
    height: 40vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Theme Gradient (Matches About/Contact Hero) */
    background: linear-gradient(135deg, #fff0f5 0%, #ffe4ec 100%);
    overflow: hidden;
}

.privacy-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 15px;
}

.privacy-hero-content h1 {
    font-family: "Allura", cursive; /* Script Font */
    font-size: 5rem;
    color: var(--primary-color);    /* Hot Pink */
    margin-bottom: 0;
    font-weight: 400;
    text-shadow: 2px 2px 0px rgba(255, 255, 255, 0.8);
}

/* --- 2. Main Content Section --- */
.privacy-policy-section {
    padding: 5rem 0;
    background-color: var(--bg-color); /* Soft Rose Background */
}

/* Intro Text */
.policy-intro {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.policy-intro h2 {
    font-family: var(--font-heading); /* Trirong */
    font-size: 2.5rem;
    color: var(--accent-color);       /* Deep Black */
    margin-bottom: 1rem;
    font-weight: 600;
}

.policy-intro p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-main);
    line-height: 1.6;
}

/* --- 3. Policy Cards --- */
.policy-card {
    background-color: #ffffff;
    border-radius: 20px; /* Modern rounded corners */
    border: 1px solid rgba(231, 46, 119, 0.15); /* Soft Pink Border */
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(231, 46, 119, 0.05); /* Pink-tinted shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.policy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(231, 46, 119, 0.15);
}

/* Card Header (Icon + Title) */
.policy-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(231, 46, 119, 0.1); /* Pink divider */
}

.policy-card-icon {
    font-size: 1.8rem;
    color: var(--primary-color); /* Hot Pink Icon */
    margin-right: 1rem;
    width: 40px;
    text-align: center;
}

.policy-card-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--accent-color);
    margin-bottom: 0;
    font-weight: 600;
}

/* Card Content Body */
.policy-card-body {
    font-family: var(--font-body);
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.7;
}

.policy-card-body p {
    margin-bottom: 1rem;
}

.policy-card-body ul {
    padding-left: 1.2rem;
    margin-bottom: 1rem;
}

.policy-card-body li {
    margin-bottom: 0.5rem;
    position: relative;
}

/* Optional: Custom bullet points if needed */
/* .policy-card-body ul li::marker {
    color: var(--primary-color);
} 
*/

/* Links inside policy text */
.policy-card-body a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.policy-card-body a:hover {
    border-bottom-color: var(--primary-color);
}

/* --- 4. Responsive Adjustments --- */
@media (max-width: 992px) {
    .privacy-hero-content h1 {
        font-size: 4rem;
    }

    .policy-card {
        padding: 2rem;
    }
}

@media (max-width: 767px) {
    .privacy-hero {
        height: 30vh;
        min-height: 250px;
    }

    .privacy-hero-content h1 {
        font-size: 3rem;
    }

    .privacy-policy-section {
        padding: 3rem 0;
    }

    .policy-intro h2 {
        font-size: 2rem;
    }

    .policy-card {
        padding: 1.5rem;
    }

    .policy-card-header {
        flex-direction: column; /* Stack icon and title on mobile */
        text-align: center;
        gap: 0.5rem;
    }

    .policy-card-icon {
        margin-right: 0;
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
}


/* =========================================
   TERMS & CONDITIONS PAGE (Beauty Theme)
   ========================================= */

/* --- 1. Hero Section --- */
.terms-hero {
    position: relative;
    height: 40vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Theme Gradient (Consistent with Privacy/Contact) */
    background: linear-gradient(135deg, #fff0f5 0%, #ffe4ec 100%);
    overflow: hidden;
}

.terms-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 15px;
}

.terms-hero-content h1 {
    font-family: "Allura", cursive; /* Script Font */
    font-size: 5rem;
    color: var(--primary-color);    /* Hot Pink */
    margin-bottom: 0;
    font-weight: 400;
    text-shadow: 2px 2px 0px rgba(255, 255, 255, 0.8);
}

/* --- 2. Main Content Section --- */
.terms-section {
    padding: 5rem 0;
    background-color: var(--bg-color); /* Soft Rose Background */
}

/* Intro Text */
.terms-intro {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.terms-intro h2 {
    font-family: var(--font-heading); /* Trirong */
    font-size: 2.5rem;
    color: var(--accent-color);       /* Deep Black */
    margin-bottom: 1rem;
    font-weight: 600;
}

.terms-intro p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-main);
    line-height: 1.6;
}

/* --- 3. Terms Cards --- */
.terms-card {
    background-color: #ffffff;
    border-radius: 20px; /* Modern rounded corners */
    border: 1px solid rgba(231, 46, 119, 0.15); /* Soft Pink Border */
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(231, 46, 119, 0.05); /* Pink-tinted shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.terms-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(231, 46, 119, 0.15);
}

/* Card Header (Icon + Title) */
.terms-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(231, 46, 119, 0.1); /* Pink divider */
}

.terms-card-icon {
    font-size: 1.8rem;
    color: var(--primary-color); /* Hot Pink Icon */
    margin-right: 1rem;
    width: 40px;
    text-align: center;
}

.terms-card-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--accent-color);
    margin-bottom: 0;
    font-weight: 600;
}

/* Card Content Body */
/* Since content is directly inside card, we target generic elements */
.terms-card p,
.terms-card li {
    font-family: var(--font-body);
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.terms-card ul {
    padding-left: 1.2rem;
    margin-bottom: 1rem;
}

.terms-card li {
    margin-bottom: 0.5rem;
    position: relative;
}

/* Optional: Custom bullets */
/* .terms-card ul li::marker {
    color: var(--primary-color);
} */

/* Links inside terms text */
.terms-card a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.terms-card a:hover {
    border-bottom-color: var(--primary-color);
}

/* --- 4. Responsive Adjustments --- */
@media (max-width: 992px) {
    .terms-hero-content h1 {
        font-size: 4rem;
    }

    .terms-card {
        padding: 2rem;
    }
}

@media (max-width: 767px) {
    .terms-hero {
        height: 30vh;
        min-height: 250px;
    }

    .terms-hero-content h1 {
        font-size: 3rem;
    }

    .terms-section {
        padding: 3rem 0;
    }

    .terms-intro h2 {
        font-size: 2rem;
    }

    .terms-card {
        padding: 1.5rem;
    }

    .terms-card-header {
        flex-direction: column; /* Stack icon and title on mobile */
        text-align: center;
        gap: 0.5rem;
    }

    .terms-card-icon {
        margin-right: 0;
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
}


/* =========================================
   REFUND POLICY PAGE (Beauty Theme)
   ========================================= */

/* --- 1. Hero Section --- */
.refund-hero {
    position: relative;
    height: 40vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Theme Gradient (Consistent with other policy pages) */
    background: linear-gradient(135deg, #fff0f5 0%, #ffe4ec 100%);
    overflow: hidden;
}

.refund-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 15px;
}

.refund-hero-content h1 {
    font-family: "Allura", cursive; /* Script Font */
    font-size: 5rem;
    color: var(--primary-color);    /* Hot Pink */
    margin-bottom: 0;
    font-weight: 400;
    text-shadow: 2px 2px 0px rgba(255, 255, 255, 0.8);
}

/* --- 2. Main Content Section --- */
.refund-section {
    padding: 5rem 0;
    background-color: var(--bg-color); /* Soft Rose Background */
}

/* Intro Text */
.refund-intro {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.refund-intro h2 {
    font-family: var(--font-heading); /* Trirong */
    font-size: 2.5rem;
    color: var(--accent-color);       /* Deep Black */
    margin-bottom: 1rem;
    font-weight: 600;
}

.refund-intro p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-main);
    line-height: 1.6;
}

/* --- 3. Refund Cards --- */
.refund-card {
    background-color: #ffffff;
    border-radius: 20px; /* Modern rounded corners */
    border: 1px solid rgba(231, 46, 119, 0.15); /* Soft Pink Border */
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(231, 46, 119, 0.05); /* Pink-tinted shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.refund-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(231, 46, 119, 0.15);
}

/* Card Header (Icon + Title) */
.refund-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(231, 46, 119, 0.1); /* Pink divider */
}

.refund-card-icon {
    font-size: 1.8rem;
    color: var(--primary-color); /* Hot Pink Icon */
    margin-right: 1rem;
    width: 40px;
    text-align: center;
}

.refund-card-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--accent-color);
    margin-bottom: 0;
    font-weight: 600;
}

/* Card Content Body */
.refund-card-body {
    font-family: var(--font-body);
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.7;
}

.refund-card-body p {
    margin-bottom: 1rem;
}

.refund-card-body ul {
    padding-left: 1.2rem;
    margin-bottom: 1rem;
}

.refund-card-body li {
    margin-bottom: 0.5rem;
    position: relative;
}

/* Links inside text */
.refund-card-body a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.refund-card-body a:hover {
    border-bottom-color: var(--primary-color);
}

/* --- 4. Responsive Adjustments --- */
@media (max-width: 992px) {
    .refund-hero-content h1 {
        font-size: 4rem;
    }

    .refund-card {
        padding: 2rem;
    }
}

@media (max-width: 767px) {
    .refund-hero {
        height: 30vh;
        min-height: 250px;
    }

    .refund-hero-content h1 {
        font-size: 3rem;
    }

    .refund-section {
        padding: 3rem 0;
    }

    .refund-intro h2 {
        font-size: 2rem;
    }

    .refund-card {
        padding: 1.5rem;
    }

    .refund-card-header {
        flex-direction: column; /* Stack icon and title on mobile */
        text-align: center;
        gap: 0.5rem;
    }

    .refund-card-icon {
        margin-right: 0;
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
}


/* =========================================
   FORGOT PASSWORD PAGE
   ========================================= */

.forget-page .auth-container {
    padding: 3rem 0;
    background-color: var(--bg-color); /* Soft Rose Background */
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 2. The Main Card (Matches .password-change-card) */
.forget-page .auth-container .card {
    background-color: #ffffff;
    border: 1px solid rgba(231, 46, 119, 0.15); /* Soft Pink Border */
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(231, 46, 119, 0.08); /* Pink-tinted shadow */
    overflow: hidden;
    
    /* Enforce centered, single-column width for Forgot Password */
    /* Note: Login/Register usually use 2 cols, but this constrains single forms nicely */
    margin: 0 auto; 
}

/* Specific fix to make the Forgot Password card width match Change Password (approx 550px) */
/* This targets the column holding the form in forget_password.blade.php */
.forget-page .auth-container .col-lg-7.col-md-9 {
    flex: 0 0 auto;
    width: 100%;
    max-width: 550px;
}

/* 3. Form Wrapper Padding */
.forget-page .auth-form-wrapper {
    padding: 3rem 2.5rem !important; /* Consistent padding */
    background-color: #fff;
}

/* 4. Typography (Matches .password-change-title) */
.forget-page .auth-title {
    font-family: "Allura", cursive !important; /* Theme Script Font */
    font-size: 3.5rem;
    color: var(--primary-color); /* Hot Pink */
    text-align: center;
    margin-bottom: 0.5rem;
    font-weight: 400;
    line-height: 1.2;
}

.forget-page .auth-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-family: var(--font-body);
    font-size: 1rem;
}

/* 5. Inputs (Consistent Theme Style) */
.forget-page .auth-form-control {
    background-color: var(--bg-light-pink); /* Soft Rose Input Bg */
    border: 1px solid rgba(231, 46, 119, 0.2);
    border-radius: 12px;
    padding: 0.8rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.forget-page .auth-form-control:focus {
    background-color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(231, 46, 119, 0.15);
    outline: none;
}

.forget-page .form-label {
    font-family: var(--font-heading);
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

/* 6. Input Groups (Mobile Number / OTP) */
.forget-page .input-group-text {
    background-color: var(--bg-light-pink);
    border: 1px solid rgba(231, 46, 119, 0.2);
    border-right: none;
    color: var(--text-muted);
    font-weight: 600;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

/* OTP "Send" Button Styling */
.forget-page .btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 0 12px 12px 0;
    font-weight: 600;
    font-family: var(--font-body);
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.forget-page .btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* OTP "Verify" Button Styling */
.forget-page .btn-outline-success {
    color: #28a745; 
    border-color: #28a745;
    border-radius: 0 12px 12px 0;
    font-weight: 600;
    font-family: var(--font-body);
    font-size: 0.85rem;
}

.forget-page .btn-outline-success:hover {
    background-color: #28a745;
    color: #fff;
}

/* 7. Main Action Button (Matches Change Password Button) */
.forget-page .btn-auth {
    background-color: var(--primary-color); /* Hot Pink */
    color: #ffffff;
    border: 1px solid var(--primary-color);
    padding: 0.9rem;
    border-radius: 50px; /* Pill Shape */
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 15px rgba(231, 46, 119, 0.3);
    margin-top: 1rem;
}

.forget-page .btn-auth:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 46, 119, 0.2);
}

/* 8. Links */
.forget-page .auth-switch-link {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-main);
    margin-top: 1.5rem;
}

.forget-page .auth-switch-link a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s;
}

.forget-page .auth-switch-link a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* 9. Mobile Responsiveness */
@media (max-width: 576px) {
    .forget-page .auth-container .card {
        border-radius: 15px;
    }
    
    .forget-page .auth-form-wrapper {
        padding: 2rem 1.5rem !important;
    }
    
    .forget-page .auth-title {
        font-size: 2.5rem;
    }
    
    /* Adjust input group buttons on mobile */
    .forget-page .btn-outline-primary, 
    .forget-page .btn-outline-success {
        padding: 0.375rem 0.75rem;
        font-size: 0.8rem;
    }
}