:root {
    /* Luxury Blush Pink & Champagne Gold Palette */
    --clr-pink-50: #fff5f8;
    --clr-pink-100: #fce4ec;
    --clr-pink-200: #f8bbd0;
    --clr-pink-300: #f48fb1;
    --clr-pink-accent: #d81b60;
    --clr-pink-dark: #880e4f;
    
    --clr-gold-light: #fae8c8;
    --clr-gold: #cfa861;
    --clr-gold-dark: #9e7529;
    --clr-gold-gradient: linear-gradient(135deg, #d4af37 0%, #fae8c8 50%, #b8860b 100%);
    --clr-gold-shimmer: linear-gradient(90deg, #cfa861 0%, #fff2cc 50%, #cfa861 100%);
    
    --clr-white: #ffffff;
    --clr-surface: #ffffff;
    --clr-bg: #fffbfd;
    --clr-text: #2c2528;
    --clr-text-muted: #6e6369;
    --clr-border: #f3d7e2;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Shadows & Radii */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --shadow-sm: 0 2px 8px rgba(184, 134, 11, 0.08);
    --shadow-md: 0 8px 24px rgba(216, 27, 96, 0.08);
    --shadow-lg: 0 16px 40px rgba(136, 14, 79, 0.12);
    --shadow-gold: 0 6px 20px rgba(207, 168, 97, 0.35);
    
    --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-bg);
    color: var(--clr-text);
    overflow-x: hidden;
    line-height: 1.6;
    padding-bottom: 75px;
}

@media (min-width: 900px) {
    body {
        padding-bottom: 0;
    }
}

h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--clr-text);
}

/* Announcement Bar */
.announcement-bar {
    background: var(--clr-gold-gradient);
    color: #4a3407;
    text-align: center;
    font-size: 0.84rem;
    font-weight: 600;
    padding: 0.45rem 1rem;
    letter-spacing: 0.5px;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 5%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--clr-border);
    box-shadow: var(--shadow-sm);
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
}

.brand-logo-img {
    height: 48px;
    max-width: 240px;
    object-fit: contain;
    transition: var(--transition);
    filter: drop-shadow(0 1px 2px rgba(158, 117, 41, 0.15));
}

.logo-container:hover .brand-logo-img {
    transform: scale(1.02);
}

.nav-links {
    display: flex;
    gap: 1.8rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--clr-text);
    font-weight: 500;
    font-size: 0.96rem;
    transition: var(--transition);
    position: relative;
    cursor: pointer;
    padding: 0.25rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--clr-gold-dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--clr-gold);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Header & Nav Install Button */
.nav-install-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: linear-gradient(135deg, #d4af37 0%, #fae8c8 50%, #cfa861 100%);
    color: #432e05;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.46rem 1rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: 0 3px 12px rgba(207, 168, 97, 0.35);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
}

.nav-install-btn:hover {
    transform: translateY(-1px) scale(1.03);
    box-shadow: 0 6px 20px rgba(207, 168, 97, 0.55);
    color: #2b1d03;
}

.nav-install-btn:active {
    transform: scale(0.97);
}

.nav-install-btn i {
    font-size: 1.15rem;
    color: #432e05;
}

.nav-icon-btn {
    background: #fff5f8;
    border: 1px solid var(--clr-border);
    font-size: 1.25rem;
    cursor: pointer;
    position: relative;
    color: var(--clr-gold-dark);
    transition: var(--transition);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-icon-btn:hover {
    transform: scale(1.08);
    background: var(--clr-gold-light);
    border-color: var(--clr-gold);
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--clr-pink-accent);
    color: white;
    font-size: 0.72rem;
    border-radius: var(--radius-full);
    min-width: 20px;
    height: 20px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(216, 27, 96, 0.4);
}

/* Mobile Bottom Navigation (5 Consolidated Luxury Tabs) */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--clr-border);
    padding: 0.45rem 0.25rem calc(0.45rem + env(safe-area-inset-bottom, 0px));
    z-index: 999;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -4px 18px rgba(70, 20, 40, 0.07);
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--clr-text-muted);
    font-size: 0.72rem;
    font-weight: 500;
    gap: 0.2rem;
    cursor: pointer;
    transition: var(--transition);
    padding: 0.25rem 0.2rem;
    flex: 1;
    max-width: 20%;
    text-align: center;
    user-select: none;
}

.mobile-nav-item i {
    font-size: 1.3rem;
    transition: transform 0.18s ease;
}

.mobile-nav-item span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.72rem;
    letter-spacing: -0.2px;
}

.mobile-nav-item.active, .mobile-nav-item:hover {
    color: var(--clr-gold-dark);
}

.mobile-nav-item.active i {
    transform: scale(1.1);
    color: #880e4f;
}

.mobile-nav-item.active span {
    font-weight: 700;
    color: #880e4f;
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }
    .mobile-bottom-nav {
        display: flex;
    }
}

/* Luxury Slide-Up "More" Sheet Modal for Mobile */
.mobile-more-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-more-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.mobile-more-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(30, 15, 22, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.mobile-more-sheet {
    position: relative;
    background: #ffffff !important;
    width: 100%;
    max-width: 500px;
    border-top-left-radius: 26px;
    border-top-right-radius: 26px;
    border-top: 1.5px solid var(--clr-gold-light);
    box-shadow: 0 -15px 40px rgba(70, 20, 40, 0.25);
    padding: 0.9rem 1.35rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
    z-index: 2;
    transform: translateY(100%);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 85vh;
    overflow-y: auto;
}

.mobile-more-modal-overlay.active .mobile-more-sheet {
    transform: translateY(0);
}

.mobile-more-drag-handle {
    width: 36px;
    height: 4px;
    background: #e5c3cf;
    border-radius: 4px;
    margin: 0 auto 0.85rem;
}

.mobile-more-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.9rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--clr-border);
}

.mobile-more-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: #6d1b3e;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
}

.mobile-more-subtitle {
    font-size: 0.8rem;
    color: var(--clr-text-muted);
    margin: 0.15rem 0 0;
}

.mobile-more-close-btn {
    background: #fff5f8;
    border: 1px solid var(--clr-border);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--clr-text-muted);
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: var(--transition);
}

.mobile-more-close-btn:hover {
    background: var(--clr-pink-100);
    color: var(--clr-pink-accent);
    transform: scale(1.06);
}

.mobile-more-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.mobile-more-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    background: #ffffff;
    border: 1px solid #f2e1ea;
    border-radius: 14px;
    padding: 0.75rem 0.9rem;
    text-align: left;
    width: 100%;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-body);
}

.mobile-more-item:hover, .mobile-more-item:active {
    background: #fff8fb;
    border-color: var(--clr-gold-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(109, 27, 62, 0.08);
}

.mobile-more-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #fff0f5;
    color: var(--clr-gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.mobile-more-icon-box.highlight {
    background: linear-gradient(135deg, #880e4f 0%, #cfa861 100%);
    color: #ffffff;
}

.mobile-more-item:hover .mobile-more-icon-box {
    background: var(--clr-pink-200);
    color: var(--clr-pink-accent);
}

.mobile-more-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mobile-more-item-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #402230;
}

.mobile-more-item-desc {
    font-size: 0.78rem;
    color: var(--clr-text-muted);
    margin-top: 0.1rem;
}

.mobile-more-arrow {
    color: #b593a2;
    font-size: 1rem;
}

.mobile-more-badge {
    background: linear-gradient(135deg, #fff0f5 0%, #ffe3ed 100%);
    border: 1px solid var(--clr-pink-200);
    color: var(--clr-pink-accent);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-more-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 0.8rem;
    border-top: 1px solid #f2e1ea;
    font-size: 0.78rem;
    color: var(--clr-text-muted);
}

.mobile-more-footer a {
    color: var(--clr-gold-dark);
    text-decoration: none;
    font-weight: 600;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.8rem;
    border: none;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.5px;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary {
    background: var(--clr-gold-gradient);
    color: #3b2a06;
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(207, 168, 97, 0.5);
}

.btn-secondary {
    background: white;
    color: var(--clr-text);
    border: 1px solid var(--clr-border);
}

.btn-secondary:hover {
    background: var(--clr-pink-100);
    color: var(--clr-pink-dark);
}

.btn-pink {
    background: var(--clr-pink-200);
    color: var(--clr-pink-dark);
}

.btn-pink:hover {
    background: var(--clr-pink-300);
    color: white;
}

/* Page Container Animation */
.page {
    display: none;
    animation: fadeIn 0.35s ease;
}

.page.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Page Headers */
.page-header {
    text-align: center;
    padding: 4.5rem 1.5rem 3rem;
    background: linear-gradient(180deg, #fff0f5 0%, var(--clr-bg) 100%);
    border-bottom: 1px solid var(--clr-border);
}

.section-tag {
    color: var(--clr-gold-dark);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.4rem;
}

.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.55rem);
    margin-bottom: 0.8rem;
}

.section-subtitle {
    color: var(--clr-text-muted);
    max-width: 620px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* Page Header Banners with Images */
.page-header-banner {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 3rem;
    align-items: center;
    max-width: 1250px;
    margin: 0 auto;
    padding: 4rem 5% 3rem;
}

@media (max-width: 850px) {
    .page-header-banner {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 3rem 5% 2rem;
    }
}

.page-header-text .section-title {
    font-size: clamp(1.75rem, 3.4vw, 2.45rem);
    margin-bottom: 0.6rem;
}

.page-header-text .section-subtitle {
    color: var(--clr-text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Page Header Image Box - Adaptive Luxury Frame (Option 3 Hybrid) */
.page-header-image-box {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(207, 168, 97, 0.22), 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--clr-gold-light);
    background: #fff5f8;
    width: 100%;
    max-width: min(380px, 92vw);
    height: 250px;
    margin: 0 auto;
    justify-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: max-width 0.4s cubic-bezier(0.25, 1, 0.5, 1), height 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease, transform 0.4s ease, border-color 0.4s ease;
}

/* Option 3: Auto-Detected Orientation Dimensions (Compact & Scaled Down - Never Oversized) */
/* 1. Portrait: Tall multi-tiered cakes & vertical photography (3:4 ratio) */
.page-header-image-box.orientation-portrait {
    max-width: min(290px, 88vw);
    height: 380px;
    aspect-ratio: 3 / 4;
}

/* 2. Square: 1:1 Instagram or square cake portraits */
.page-header-image-box.orientation-square {
    max-width: min(320px, 88vw);
    height: 320px;
    aspect-ratio: 1 / 1;
}

/* 3. Landscape: Wide panoramic boutique & table displays */
.page-header-image-box.orientation-landscape {
    max-width: min(390px, 92vw);
    height: 240px;
    aspect-ratio: 16 / 10;
}

.page-header-image-box img.header-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.page-header-image-box:hover {
    box-shadow: 0 14px 36px rgba(207, 168, 97, 0.32), 0 6px 16px rgba(136, 14, 79, 0.12);
    border-color: var(--clr-gold);
    transform: translateY(-2px);
}

.page-header-image-box:hover img.header-banner-img {
    transform: scale(1.04);
}

.dual-header-img {
    display: flex;
    flex-direction: column;
    height: 240px;
}

.dual-img-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    height: 100%;
}

.header-banner-mini-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-img-caption {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-sm);
    padding: 0.45rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--clr-gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.45rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    z-index: 10;
    pointer-events: auto !important;
    white-space: normal !important;
    line-height: 1.35;
    transition: var(--transition);
}

.header-img-caption i {
    flex-shrink: 0;
    font-size: 1rem;
}

.header-img-caption .caption-text {
    display: inline-block;
    cursor: text;
}

/* Hero Section with Medium Attraction Showcase Image */
.hero {
    min-height: 85vh;
    background-image: url('../images/hero.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4.5rem 5%;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 250, 252, 0.8) 0%, rgba(255, 240, 245, 0.94) 100%);
    backdrop-filter: blur(4px);
}

.hero-wrapper {
    max-width: 1250px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
    position: relative;
    z-index: 10;
    width: 100%;
}

@media (max-width: 950px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
}

.hero-content {
    padding: 2.8rem 2.4rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(252, 228, 236, 0.9);
}

.hero-badge {
    display: inline-block;
    padding: 0.35rem 1.1rem;
    background: #fff1f5;
    border: 1px solid var(--clr-pink-200);
    color: var(--clr-pink-accent);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    margin-bottom: 1.2rem;
}

.hero-content h1 {
    font-size: clamp(1.95rem, 4vw, 3.15rem);
    line-height: 1.16;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #2c2528 0%, #880e4f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--clr-text-muted);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 950px) {
    .hero-buttons {
        justify-content: center;
    }
}

.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1.8rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(243, 215, 226, 0.7);
    flex-wrap: wrap;
}

@media (max-width: 950px) {
    .hero-social-proof {
        justify-content: center;
    }
}

/* Medium Sized Hero Attraction Showcase */
.hero-visual-showcase {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-showcase-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 460px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 16px 44px rgba(207, 168, 97, 0.35), 0 8px 24px rgba(136, 14, 79, 0.15);
    border: 3px solid var(--clr-gold-light);
    background: #23121b;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-showcase-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: var(--clr-gold);
}

/* Main single showcase image - cleanly fills frame and replaces earlier image */
.hero-showcase-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    position: relative;
    z-index: 1;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-showcase-card:hover .hero-showcase-img {
    transform: scale(1.03);
}

/* Hero card display modes & auto orientations (Option 3 Adaptive Frame) */
.hero-showcase-card.mode-cover .hero-showcase-img {
    object-fit: cover;
}
.hero-showcase-card.mode-portrait,
.hero-showcase-card.orientation-portrait {
    max-width: 360px;
    height: 480px;
    aspect-ratio: 3 / 4;
}
.hero-showcase-card.mode-square,
.hero-showcase-card.orientation-square {
    max-width: 420px;
    height: 420px;
    aspect-ratio: 1 / 1;
}
.hero-showcase-card.mode-landscape,
.hero-showcase-card.orientation-landscape {
    max-width: 480px;
    height: 350px;
    aspect-ratio: 16 / 10;
}

/* Showcase Card Bottom Caption Plaque */
.hero-showcase-card .header-img-caption {
    position: absolute;
    bottom: 12px;
    left: 14px;
    right: 14px;
    justify-content: center;
    text-align: center;
    z-index: 5;
}

.avatar-stack {
    display: flex;
    align-items: center;
}

.avatar-stack img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid white;
    object-fit: cover;
    margin-left: -8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.avatar-stack img:first-child {
    margin-left: 0;
}

.social-proof-text {
    font-size: 0.86rem;
    color: var(--clr-text-muted);
    font-weight: 500;
}

.social-proof-text strong {
    color: var(--clr-gold-dark);
}

/* Specialties Section */
.featured-section {
    padding: 5rem 5%;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.2rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.feature-card {
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--clr-border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--clr-gold);
}

.feature-card-img-wrapper {
    height: 230px;
    width: 100%;
    overflow: hidden;
    position: relative;
    background: #fbf5f7;
}

.feature-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.feature-card:hover .feature-card-img {
    transform: scale(1.08);
}

.feature-card-content {
    padding: 2rem 1.8rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fff0f5;
    border: 1px solid var(--clr-pink-200);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -32px auto 1.2rem;
    color: var(--clr-pink-accent);
    font-size: 1.6rem;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 2;
}

.feature-card:hover .feature-icon-wrapper {
    background: var(--clr-gold-gradient);
    color: #3b2a06;
    border-color: var(--clr-gold);
    transform: rotate(5deg) scale(1.06);
}

/* Home Lookbook & Gallery Grid */
.home-gallery-section {
    padding: 5.5rem 5%;
    background: linear-gradient(180deg, #fffbfd 0%, #fff3f7 50%, #fffbfd 100%);
    border-top: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
    max-width: 1250px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--clr-border);
    transition: var(--transition);
    background: #fbf5f7;
}

.gallery-item.col-7 {
    grid-column: span 7;
    height: 360px;
}

.gallery-item.col-5 {
    grid-column: span 5;
    height: 360px;
}

.gallery-item.col-4 {
    grid-column: span 4;
    height: 310px;
}

@media (max-width: 992px) {
    .gallery-item.col-7,
    .gallery-item.col-5,
    .gallery-item.col-4 {
        grid-column: span 6;
        height: 290px;
    }
}

@media (max-width: 600px) {
    .gallery-item.col-7,
    .gallery-item.col-5,
    .gallery-item.col-4 {
        grid-column: span 12;
        height: 260px;
    }
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(44, 37, 40, 0.05) 0%, rgba(44, 37, 40, 0.88) 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 1.6rem;
    color: white;
    opacity: 0.95;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    background: linear-gradient(180deg, rgba(44, 37, 40, 0.15) 0%, rgba(44, 37, 40, 0.94) 100%);
}

.gallery-caption h4 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 0.3rem;
    font-family: var(--font-heading);
    letter-spacing: 0.2px;
}

.gallery-caption span {
    font-size: 0.85rem;
    color: var(--clr-gold-light);
    font-weight: 500;
    display: block;
}

.gallery-badge-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--clr-gold-gradient);
    color: #3b2a06;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: var(--transition);
    flex-shrink: 0;
}

.gallery-item:hover .gallery-badge-btn {
    transform: scale(1.15) rotate(-10deg);
    background: #ffffff;
    color: var(--clr-pink-accent);
}

/* Home Artist Spotlight Preview */
.home-artist-preview {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 3.5rem;
    align-items: center;
}

@media (max-width: 850px) {
    .home-artist-preview {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

.artist-preview-img-box {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--clr-gold-light);
    height: 440px;
}

.artist-preview-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artist-award-ribbon {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 1.2rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--clr-border);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: var(--shadow-md);
}

.artist-award-ribbon i {
    font-size: 1.8rem;
    color: var(--clr-gold-dark);
}

/* GALLERY PAGE STYLES & ADMIN ALBUMS */
.gallery-control-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 2.5rem 5% 2rem;
    max-width: 1250px;
    margin-left: auto;
    margin-right: auto;
}

.album-filter-container {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.album-pill {
    padding: 0.6rem 1.4rem;
    border-radius: var(--radius-full);
    background: white;
    border: 1px solid var(--clr-border);
    color: var(--clr-text-muted);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.album-pill:hover {
    border-color: var(--clr-gold);
    color: var(--clr-gold-dark);
}

.album-pill.active {
    background: var(--clr-gold-gradient);
    color: #3b2a06;
    border-color: var(--clr-gold);
    box-shadow: var(--shadow-gold);
}

.admin-action-box {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.admin-toggle-btn {
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.45rem 1rem;
    border-radius: var(--radius-full);
    border: 1px dashed var(--clr-gold);
    background: #fffbf5;
    color: var(--clr-gold-dark);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.admin-toggle-btn:hover {
    background: var(--clr-gold-light);
}

.create-album-btn {
    display: none;
    font-size: 0.85rem;
    padding: 0.5rem 1.1rem;
    border-radius: var(--radius-full);
    background: var(--clr-pink-accent);
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.create-album-btn.visible {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

/* ==========================================
   ALBUM SHOWCASE & THUMBNAIL DISPLAY CARDS
   ========================================== */
.album-showcase-section {
    max-width: 1250px;
    margin: 0 auto 2.5rem;
    padding: 0 5%;
}

.album-showcase-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.2rem;
}

.album-showcase-title {
    font-size: 1.4rem;
    color: var(--clr-primary-dark);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.album-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.4rem;
}

.album-showcase-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--clr-border);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    position: relative;
}

.album-showcase-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(180, 140, 70, 0.25), 0 6px 14px rgba(136, 14, 79, 0.1);
    border-color: var(--clr-gold);
}

.album-showcase-card.active-album-card {
    border: 2px solid var(--clr-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
}

.album-card-cover-wrap {
    height: 190px;
    position: relative;
    overflow: hidden;
    background: #2a1520;
    display: flex;
    align-items: center;
    justify-content: center;
}

.album-card-ambient-bg {
    position: absolute;
    inset: -15px;
    width: calc(100% + 30px);
    height: calc(100% + 30px);
    object-fit: cover;
    filter: blur(24px) saturate(1.3);
    opacity: 0.6;
    transform: scale(1.15);
    z-index: 1;
}

.album-card-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    transition: transform 0.5s ease;
}

.album-showcase-card:hover .album-card-cover-img {
    transform: scale(1.08);
}

.album-card-count-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    color: var(--clr-primary-dark);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
    z-index: 3;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 4px;
}

.album-card-content {
    padding: 1.1rem 1.2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.album-card-title {
    font-size: 1.15rem;
    color: var(--clr-primary-dark);
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.album-card-desc {
    color: var(--clr-text-muted);
    font-size: 0.84rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
}

.album-card-cta {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--clr-pink-accent);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}

.album-showcase-card:hover .album-card-cta {
    color: var(--clr-gold-dark);
    transform: translateX(4px);
}

/* Active Collection Banner */
.gallery-active-banner {
    max-width: 1250px;
    margin: 0 auto 1.5rem;
    padding: 1rem 1.4rem;
    background: linear-gradient(135deg, #fff7fa 0%, #fffbf2 100%);
    border: 1px solid rgba(207, 168, 97, 0.35);
    border-radius: var(--radius-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.gallery-active-banner-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.gallery-active-banner-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: #6d1b3e;
}

.gallery-back-all-btn {
    background: white;
    border: 1px solid var(--clr-border);
    color: var(--clr-primary-dark);
    font-weight: 600;
    font-size: 0.84rem;
    padding: 0.45rem 1rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
}

.gallery-back-all-btn:hover {
    border-color: var(--clr-gold);
    color: var(--clr-gold-dark);
    background: #fffdf9;
}

.full-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    padding: 0 5% 5rem;
    max-width: 1250px;
    margin: 0 auto;
}

.gallery-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--clr-border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--clr-gold);
}

.gallery-card-img-wrap {
    height: 280px;
    overflow: hidden;
    position: relative;
    background: #faf2f5;
}

.gallery-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-card:hover .gallery-card-img-wrap img {
    transform: scale(1.06);
}

.gallery-card-album-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    color: var(--clr-pink-accent);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--clr-border);
}

.gallery-card-body {
    padding: 1.5rem;
}

.gallery-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.4rem;
}

.gallery-card-desc {
    color: var(--clr-text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ARTIST PAGE STYLES */
.artist-hero-section {
    padding: 4rem 5% 5rem;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 860px) {
    .artist-hero-section {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.artist-portrait-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid white;
    background: #fbf3f6;
}

.artist-portrait-frame img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.artist-experience-badge {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background: var(--clr-gold-gradient);
    color: #3b2a06;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-gold);
    text-align: center;
    font-weight: 700;
}

.artist-experience-badge .years {
    font-size: 1.8rem;
    line-height: 1;
    font-family: var(--font-heading);
}

.artist-bio-text p {
    font-size: 1.06rem;
    line-height: 1.8;
    color: #443a40;
    margin-bottom: 1.4rem;
}

.accolades-section {
    padding: 5rem 5%;
    background: #fff8fa;
    border-top: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
}

.accolades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.accolade-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 2.2rem 1.8rem;
    border: 1px solid var(--clr-border);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.accolade-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--clr-gold);
}

.accolade-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fff2f6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.8rem;
    color: var(--clr-gold-dark);
    border: 1px solid var(--clr-border);
}

.accolade-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
}

.accolade-card p {
    font-size: 0.92rem;
    color: var(--clr-text-muted);
}

/* INQUIRE PAGE STYLES */
.inquiry-tabs-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2.5rem 5% 3rem;
}

.inquiry-tab-btn {
    padding: 0.9rem 2.2rem;
    border-radius: var(--radius-full);
    background: white;
    border: 1px solid var(--clr-border);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--clr-text-muted);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.inquiry-tab-btn:hover {
    border-color: var(--clr-gold);
    color: var(--clr-gold-dark);
}

.inquiry-tab-btn.active {
    background: var(--clr-gold-gradient);
    color: #3b2a06;
    border-color: var(--clr-gold);
    box-shadow: var(--shadow-gold);
}

.inquiry-card {
    max-width: 860px;
    margin: 0 auto 5rem;
    background: white;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-md);
}

@media (max-width: 600px) {
    .inquiry-card {
        padding: 2rem 1.4rem;
    }
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 650px) {
    .form-row-2 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.flavor-checklist {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.8rem;
    margin-top: 0.6rem;
    margin-bottom: 1.5rem;
}

.flavor-check-item {
    background: #fff8fa;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-sm);
    padding: 0.65rem 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.flavor-check-item:hover, .flavor-check-item.checked {
    background: #fff0f5;
    border-color: var(--clr-pink-accent);
}

/* ACADEMY PAGE STYLES */
.academy-hero-section {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.academy-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.2rem;
    max-width: 1200px;
    margin: 3.5rem auto;
}

.academy-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    border: 1px solid var(--clr-border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: left;
}

.academy-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--clr-gold);
}

.academy-card-icon {
    font-size: 2.2rem;
    color: var(--clr-gold-dark);
    margin-bottom: 1rem;
}

.academy-cta-banner {
    background: linear-gradient(135deg, #fff0f5 0%, #fae8c8 100%);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 3.5rem 2.5rem;
    max-width: 1000px;
    margin: 2rem auto 5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.academy-cta-banner h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.academy-cta-banner p {
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto 2rem;
    color: #4a3e44;
}

/* ORDER HISTORY DATABASE MODAL */
.order-history-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.order-history-card {
    background: #fffbfd;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 1.4rem;
    transition: var(--transition);
}

.order-history-card:hover {
    border-color: var(--clr-gold);
    box-shadow: var(--shadow-sm);
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--clr-border);
    padding-bottom: 0.6rem;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.order-id {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--clr-gold-dark);
}

.order-date {
    font-size: 0.82rem;
    color: var(--clr-text-muted);
}

.order-status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-status-inquiry {
    background: #e3f2fd;
    color: #1976d2;
}

.order-status-confirmed {
    background: #e8f5e9;
    color: #2e7d32;
}

.order-status-completed {
    background: #fce4ec;
    color: #c2185b;
}

/* PWA INSTALL PROMPT BANNER */
.pwa-install-banner {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    border: 1.5px solid var(--clr-gold);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.16);
    border-radius: var(--radius-full);
    padding: 0.8rem 1.6rem 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    z-index: 950;
    transition: transform 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 90vw;
}

.pwa-install-banner.active {
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 900px) {
    .pwa-install-banner {
        bottom: 74px;
        width: calc(100% - 24px);
        max-width: 440px;
        border-radius: 16px;
        padding: 0.65rem 0.9rem;
        gap: 0.75rem;
    }
}

.pwa-icon-thumb {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(207, 168, 97, 0.3);
    flex-shrink: 0;
}

.pwa-text-content {
    display: flex;
    flex-direction: column;
}

.pwa-title {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--clr-text);
}

.pwa-subtitle {
    font-size: 0.8rem;
    color: var(--clr-text-muted);
}

.pwa-action-btns {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.pwa-install-btn {
    background: var(--clr-gold-gradient);
    color: #3b2a06;
    border: none;
    padding: 0.5rem 1.1rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
    box-shadow: var(--shadow-gold);
    transition: var(--transition);
}

.pwa-install-btn:hover {
    transform: scale(1.05);
}

.pwa-dismiss-btn {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
    padding: 0.2rem;
}

.pwa-dismiss-btn:hover {
    color: var(--clr-pink-accent);
}

/* ==========================================
   PWA SMART INSTALL GUIDE MODAL (IOS & DESKTOP)
   ========================================== */
.pwa-install-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
}

.pwa-install-modal-overlay.active {
    display: flex;
}

.pwa-install-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(30, 15, 22, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.pwa-install-sheet {
    position: relative;
    background-color: #ffffff !important;
    background: #ffffff !important;
    border: 1.5px solid var(--clr-gold-light);
    box-shadow: 0 20px 50px rgba(70, 20, 40, 0.25), 0 0 0 1px rgba(207, 168, 97, 0.2);
    border-radius: 28px;
    width: 100%;
    max-width: 480px;
    padding: 2rem 1.8rem 1.6rem;
    z-index: 2;
    max-height: 90vh;
    overflow-y: auto;
}

.pwa-modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    background: #fff5f8;
    border: 1px solid var(--clr-border);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--clr-text-muted);
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: var(--transition);
    z-index: 10;
}

.pwa-modal-close-btn:hover {
    background: var(--clr-pink-100);
    color: var(--clr-pink-accent);
    transform: scale(1.08);
}

/* Platform Tabs */
.pwa-platform-tabs {
    display: flex;
    gap: 0.4rem;
    background: #fff5f8;
    padding: 0.3rem;
    border-radius: var(--radius-full);
    margin: 0 auto 1.4rem auto;
    border: 1px solid var(--clr-border);
    max-width: 320px;
}

.pwa-tab-btn {
    flex: 1;
    padding: 0.55rem 0.8rem;
    border-radius: var(--radius-full);
    border: none;
    background: transparent;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--clr-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: var(--transition);
}

.pwa-tab-btn.active {
    background: #ffffff;
    color: var(--clr-gold-dark);
    box-shadow: 0 2px 8px rgba(184, 134, 11, 0.15);
    font-weight: 700;
}

/* Modal Header */
.pwa-modal-header {
    text-align: center;
    margin-bottom: 1.4rem;
}

.pwa-app-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 0.8rem;
}

.pwa-modal-app-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(207, 168, 97, 0.35);
    border: 2px solid #ffffff;
    object-fit: cover;
    display: block;
}

.pwa-app-sparkle {
    position: absolute;
    bottom: -4px;
    right: -4px;
    background: var(--clr-gold-gradient);
    color: #4a3407;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.pwa-modal-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: #5c1432;
    margin-bottom: 0.35rem;
}

.pwa-modal-subtitle {
    font-size: 0.86rem;
    color: var(--clr-text-muted);
    line-height: 1.45;
    max-width: 380px;
    margin: 0 auto;
}

/* Step Cards */
.pwa-install-steps {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.pwa-step-card {
    background: #fffcfd;
    border: 1.5px solid #fae1eb;
    border-radius: 16px;
    padding: 0.95rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    transition: var(--transition);
}

.pwa-step-card:hover {
    border-color: var(--clr-gold);
    box-shadow: 0 4px 14px rgba(207, 168, 97, 0.15);
    background: #ffffff;
}

.pwa-step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--clr-gold-gradient);
    color: #4a3407;
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(207, 168, 97, 0.3);
}

.pwa-step-content {
    flex: 1;
}

.pwa-step-instruction {
    font-size: 0.92rem;
    font-weight: 600;
    color: #3b2832;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.pwa-glyph-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff2f6;
    border: 1px solid #f8bbd0;
    color: #007aff;
    padding: 3px 8px;
    border-radius: 8px;
    vertical-align: middle;
}

.pwa-step-detail {
    font-size: 0.78rem;
    color: var(--clr-text-muted);
    margin-top: 0.2rem;
}

/* Pointer Guide for Safari */
.pwa-pointer-guide {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--clr-gold-dark);
    margin: 0.8rem 0 1rem;
}

.pwa-pointer-arrow {
    display: inline-flex;
    animation: pwaBounce 1.5s ease-in-out infinite;
    font-size: 1.15rem;
    color: var(--clr-gold-dark);
}

@keyframes pwaBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(5px);
    }
}

/* Footer & Confirm */
.pwa-modal-footer {
    display: flex;
    justify-content: center;
}

.pwa-confirm-btn {
    width: 100%;
    padding: 0.75rem 1.5rem;
    font-size: 0.92rem;
}

/* Standalone & Mobile Responsive Rules */
@media (display-mode: standalone) {
    .nav-install-btn,
    .mobile-install-item,
    #pwaInstallBanner {
        display: none !important;
    }
}

@media (max-width: 600px) {
    .pwa-install-sheet {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        border-radius: 24px 24px 0 0;
        max-width: 100%;
        width: 100%;
        padding: 1.6rem 1.2rem 2.2rem;
        background-color: #ffffff !important;
        background: #ffffff !important;
    }

    .pwa-install-modal-overlay {
        padding: 0;
        align-items: flex-end;
    }

    .nav-install-btn {
        padding: 0.42rem 0.75rem;
        font-size: 0.8rem;
        gap: 0.35rem;
    }
}

@media (max-width: 440px) {
    .nav-install-btn .install-btn-text {
        display: none;
    }
    .nav-install-btn {
        width: 38px;
        height: 38px;
        padding: 0;
        justify-content: center;
    }
}

/* ==========================================
   SHOPPING BAG / CART SLIDE-OUT DRAWER (OFF-CANVAS)
   ========================================== */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 420px;
    height: 100vh;
    background: #ffffff;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.22);
    z-index: 2500;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-sidebar.open,
.cart-sidebar.active {
    transform: translateX(0);
}

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(44, 37, 40, 0.5);
    backdrop-filter: blur(4px);
    z-index: 2400;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-header {
    padding: 1.4rem 1.6rem;
    border-bottom: 1px solid var(--clr-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff8fa;
}

.sidebar-header h3 {
    font-size: 1.25rem;
    color: var(--clr-gold-dark);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    margin: 0;
}

.sidebar-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.empty-cart-message {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--clr-text-muted);
}

.empty-cart-message i {
    font-size: 3rem;
    color: var(--clr-pink-200);
    margin-bottom: 1rem;
    display: block;
}

.sidebar-footer {
    padding: 1.4rem 1.6rem;
    border-top: 1px solid var(--clr-border);
    background: #fff8fa;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--clr-gold-dark);
    margin-bottom: 1.2rem;
}

.checkout-btn {
    width: 100%;
    padding: 0.9rem;
    font-size: 1rem;
    justify-content: center;
}

/* STANDARD MODAL, FORM & TOAST STYLES */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(44, 37, 40, 0.55);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

#adminMediaUploadModalOverlay,
#adminPhotoModalOverlay,
#editPhotoModalOverlay,
#editAlbumModalOverlay,
#bulkEditPhotosModalOverlay,
#adminReviewModalOverlay,
#adminOrderModalOverlay {
    z-index: 2500;
}

.modal-content-box {
    background: white;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--clr-border);
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from { transform: scale(0.94); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-header {
    padding: 1.4rem 1.8rem;
    border-bottom: 1px solid var(--clr-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff8fa;
}

.modal-body {
    padding: 1.8rem;
}

.form-group {
    margin-bottom: 1.3rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 0.4rem;
    color: var(--clr-text);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    background: #fffdfd;
}

.form-control:focus {
    outline: none;
    border-color: var(--clr-gold);
    box-shadow: 0 0 0 3px rgba(207, 168, 97, 0.2);
}

/* Toast Container */
.toast-container {
    position: fixed;
    bottom: 85px;
    right: 20px;
    z-index: 5000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toast {
    background: #2c2528;
    color: white;
    padding: 0.85rem 1.4rem;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    animation: toastSlide 0.3s ease;
    border-left: 4px solid var(--clr-gold);
}

@keyframes toastSlide {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Sophisticated Deeper Pastel Luxury Footer */
footer {
    background: linear-gradient(180deg, #f5d4e1 0%, #eec4d5 50%, #e4b3c7 100%);
    color: #402230;
    padding: 5rem 5% 2.5rem;
    border-top: 3px solid #d495b0;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #cfa861, transparent);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.6rem;
    color: #53112b;
    margin-bottom: 0.75rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.65rem;
}

.footer-links a {
    color: #5a233c;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.94rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-links a:hover {
    color: #9c1752;
    padding-left: 4px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(109, 27, 62, 0.18);
    padding-top: 2rem;
    font-size: 0.88rem;
    color: #5a2a40;
    font-weight: 500;
}

/* ADMIN TOP BAR */
.admin-top-bar {
    background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 100%);
    color: white;
    padding: 0.6rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    position: sticky;
    top: 0;
    z-index: 500;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border-bottom: 2px solid #81c784;
}

.admin-bar-left {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 500;
}

.admin-bar-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.admin-bar-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.admin-bar-btn:hover {
    background: rgba(255, 255, 255, 0.35);
}

.admin-bar-btn.save-btn {
    background: #ffd54f;
    color: #3e2723;
    border-color: #ffca28;
    font-weight: 700;
}

.admin-bar-btn.save-btn:hover {
    background: #ffecb3;
}

.admin-bar-btn.logout-btn {
    background: #c62828;
    border-color: #e53935;
}

/* FRONTEND CMS EDITABLE STYLING */
.cms-editable {
    outline: 2px dashed var(--clr-gold) !important;
    background: rgba(255, 248, 225, 0.55) !important;
    cursor: text !important;
    border-radius: 4px;
    padding: 2px 5px;
    transition: all 0.2s ease;
    position: relative;
    user-select: text !important;
    -webkit-user-select: text !important;
    display: inline-block;
}

.cms-editable:focus {
    outline: 2px solid var(--clr-pink-accent) !important;
    background: rgba(255, 240, 245, 0.95) !important;
    box-shadow: 0 0 12px rgba(216, 27, 96, 0.35);
}

.cms-editable::after {
    content: '✎ Edit';
    position: absolute;
    top: -12px;
    right: -2px;
    background: var(--clr-gold);
    color: #3b2a06;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 4px;
    pointer-events: none;
    z-index: 25;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Ensure hero title text is 100% visible in CMS edit mode */
body.cms-mode-active .hero-content h1 {
    -webkit-text-fill-color: initial !important;
    -webkit-background-clip: initial !important;
    color: #2c2528 !important;
}

/* Button & Link specific edit rules */
body.cms-mode-active button:has([data-cms-key]),
body.cms-mode-active a:has([data-cms-key]),
body.cms-mode-active .btn:has([data-cms-key]),
body.cms-mode-active .cta-btn:has([data-cms-key]),
body.cms-mode-active .gallery-tool-btn:has([data-cms-key]),
body.cms-mode-active .inquiry-tab-btn:has([data-cms-key]),
body.cms-mode-active .cms-btn-editing {
    cursor: text !important;
    pointer-events: auto !important;
    outline: 2px dashed var(--clr-gold) !important;
}

body.cms-mode-active .header-img-caption {
    pointer-events: auto !important;
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 4px 18px rgba(216, 27, 96, 0.28) !important;
    border: 1.5px dashed var(--clr-gold) !important;
}

/* Spotlight & Portrait Top Captions to prevent collision with award ribbons & experience badges */
.header-img-caption.spotlight-top-caption,
.header-img-caption.portrait-top-caption {
    top: 14px !important;
    bottom: auto !important;
    left: 14px !important;
    right: 14px !important;
    z-index: 15 !important;
}

/* Feature card image caption visibility */
.feature-card-img-wrapper .header-img-caption {
    z-index: 20 !important;
    background: rgba(255, 255, 255, 0.96) !important;
    bottom: 10px !important;
    left: 10px !important;
    right: 10px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18) !important;
}

body.cms-mode-active .gallery-overlay {
    opacity: 1 !important;
    visibility: visible !important;
    background: linear-gradient(180deg, rgba(44, 37, 40, 0.35) 0%, rgba(44, 37, 40, 0.94) 100%) !important;
    pointer-events: auto !important;
}

body.cms-mode-active .gallery-item {
    cursor: default !important;
}

body.cms-mode-active [data-cms-key] {
    cursor: text !important;
    user-select: text !important;
    -webkit-user-select: text !important;
}

/* Public Gallery Cards in CMS Mode */
body.cms-mode-active .gallery-card-title,
body.cms-mode-active .gallery-card-desc {
    outline: 1.5px dashed var(--clr-gold) !important;
    background: rgba(255, 248, 225, 0.55) !important;
    cursor: text !important;
    border-radius: 4px;
    padding: 2px 4px;
}

body.cms-mode-active .gallery-card-title:focus,
body.cms-mode-active .gallery-card-desc:focus {
    outline: 2px solid var(--clr-pink-accent) !important;
    background: rgba(255, 240, 245, 0.95) !important;
}

.gallery-card-action-btn.edit-photo-btn {
    background: #1976d2 !important;
    color: white !important;
}
.gallery-card-action-btn.edit-photo-btn:hover {
    background: #1565c0 !important;
}

/* NAVBAR ACCOUNT BUTTON */
.account-nav-btn {
    width: auto !important;
    padding: 0 0.9rem !important;
    border-radius: var(--radius-full) !important;
    gap: 0.4rem;
}

.account-btn-label {
    font-size: 0.85rem;
    font-weight: 600;
}

@media (max-width: 600px) {
    .account-btn-label {
        display: none;
    }
    .account-nav-btn {
        width: 42px !important;
        padding: 0 !important;
    }
}

/* ACADEMY POPULAR COURSES SHOWCASE */
.academy-courses-section {
    margin: 4.5rem 0 3.5rem;
    text-align: left;
}

.courses-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.academy-courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.course-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--clr-border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--clr-gold);
}

.course-card-img-wrap {
    height: 200px;
    position: relative;
    overflow: hidden;
    background: #faf2f5;
}

.course-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.course-card:hover .course-card-img-wrap img {
    transform: scale(1.06);
}

.course-badge-level {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid var(--clr-border);
    color: var(--clr-pink-accent);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
}

.course-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.course-category-tag {
    font-size: 0.78rem;
    color: var(--clr-gold-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.3rem;
}

.course-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.course-card-desc {
    color: var(--clr-text-muted);
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 1.2rem;
    flex-grow: 1;
}

.course-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--clr-border);
    padding-top: 1rem;
    font-size: 0.85rem;
}

.course-lessons-count {
    color: var(--clr-text-muted);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* ACCOUNT MODAL AVATAR */
.account-avatar-circle {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: #fff0f5;
    border: 2px solid var(--clr-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 2.4rem;
    color: var(--clr-gold-dark);
    box-shadow: 0 4px 14px rgba(207, 168, 97, 0.25);
}

/* ==========================================
   ADMIN CONTROL CENTER, DASHBOARD & ORDERS
   ========================================== */
.admin-bar-btn.dashboard-btn {
    background: linear-gradient(135deg, #cfa861 0%, #9e7529 100%);
    border-color: #fce4ec;
    color: #2b1d06;
    font-weight: 700;
}
.admin-bar-btn.dashboard-btn:hover {
    background: linear-gradient(135deg, #ffd54f 0%, #cfa861 100%);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.admin-bar-btn.media-btn {
    background: rgba(255, 255, 255, 0.25);
}

/* Gallery Control Bar Actions */
.gallery-action-box {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.gallery-tool-btn {
    padding: 0.5rem 1.1rem;
    border-radius: var(--radius-full);
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--clr-border);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: white;
    color: var(--clr-text);
}

.gallery-tool-btn:hover {
    border-color: var(--clr-gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.gallery-tool-btn.slideshow-trigger-btn {
    background: linear-gradient(135deg, #fff0f5 0%, #fae8c8 100%);
    color: #5c1833;
    border-color: #f8bbd0;
}
.gallery-tool-btn.slideshow-trigger-btn:hover {
    background: linear-gradient(135deg, #fce4ec 0%, #f7dca3 100%);
}

.gallery-tool-btn.create-album-btn {
    background: var(--clr-gold);
    color: #2d2105;
    border-color: var(--clr-gold-dark);
}

.gallery-tool-btn.add-photo-btn {
    background: #6d1b3e;
    color: white;
    border-color: #53122d;
}
.gallery-tool-btn.add-photo-btn:hover {
    background: #880e4f;
    color: white;
}

/* Clickable Gallery Cards */
.gallery-card {
    cursor: pointer;
    position: relative;
}
.gallery-card:hover .gallery-card-img-wrap img {
    transform: scale(1.08);
}
.gallery-card-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    display: flex;
    gap: 6px;
}
.gallery-card-action-btn {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--clr-border);
    color: #6d1b3e;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.gallery-card-action-btn:hover {
    background: #ffebee;
    color: #c62828;
    transform: scale(1.1);
}

/* ==========================================
   GALLERY LIGHTBOX & SLIDESHOW
   ========================================== */
.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(14, 8, 12, 0.96);
    backdrop-filter: blur(14px);
    display: none;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    color: #ffffff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    gap: 1rem;
}

.lightbox-album-badge {
    background: rgba(207, 168, 97, 0.2);
    border: 1px solid var(--clr-gold);
    color: var(--clr-gold-light);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lightbox-controls {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.lightbox-btn {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    padding: 0.45rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.lightbox-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: white;
}

.lightbox-btn.play-btn.playing {
    background: #cfa861;
    color: #2b1d06;
    border-color: #fae8c8;
    box-shadow: 0 0 12px rgba(207, 168, 97, 0.45);
}

.lightbox-speed-control {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-full);
    padding: 0.2rem 0.6rem 0.2rem 0.8rem;
    font-size: 0.82rem;
    color: #fdfaf7;
}

.lightbox-speed-select {
    background: transparent;
    border: none;
    color: #ffd54f;
    font-weight: 700;
    font-size: 0.82rem;
    outline: none;
    cursor: pointer;
}

.lightbox-speed-select option {
    background: #23121b;
    color: #ffffff;
}

/* ==========================================
   WATERMARK & MULTI-UPLOAD PREVIEW STYLES
   ========================================== */
.watermark-box {
    background: #fff8fa;
    border: 1px solid rgba(207, 168, 97, 0.35);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
    margin-top: 0.8rem;
}

.watermark-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.watermark-options {
    margin-top: 0.7rem;
    padding-top: 0.7rem;
    border-top: 1px dashed rgba(207, 168, 97, 0.3);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    font-size: 0.82rem;
}

.multi-photo-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 0.8rem;
    margin-top: 0.8rem;
    max-height: 200px;
    overflow-y: auto;
    padding: 0.4rem;
    background: #faf6f8;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-sm);
}

.multi-preview-card {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    height: 100px;
    background: #fff;
    border: 1px solid var(--clr-border);
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.multi-preview-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.multi-preview-meta {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(20, 10, 16, 0.82);
    color: white;
    font-size: 0.65rem;
    padding: 2px 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.multi-preview-remove-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(229, 57, 53, 0.9);
    color: white;
    border: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.7rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.multi-preview-remove-btn:hover {
    background: #b71c1c;
    transform: scale(1.15);
}

.lightbox-close-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 0;
    justify-content: center;
    font-size: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.lightbox-close-btn:hover {
    background: #e53935;
    border-color: #e53935;
}

/* Slideshow Progress Bar */
.slideshow-progress-track {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    margin-top: 0.5rem;
}

.slideshow-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--clr-gold), var(--clr-pink-accent));
    transition: width 0.1s linear;
}

/* Lightbox Stage */
.lightbox-stage {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    margin: 1.5rem 0;
    overflow: hidden;
}

.lightbox-nav-arrow {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    backdrop-filter: blur(8px);
}

.lightbox-nav-arrow:hover {
    background: rgba(216, 27, 96, 0.7);
    border-color: var(--clr-pink-accent);
    transform: scale(1.1);
}

.lightbox-image-container {
    max-width: 85%;
    max-height: 68vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.lightbox-image-container img {
    max-width: 100%;
    max-height: 68vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Lightbox Footer & Caption */
.lightbox-caption-box {
    text-align: center;
    max-width: 750px;
    margin: 0 auto;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-caption-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--clr-gold-light);
    margin-bottom: 0.3rem;
}

.lightbox-caption-desc {
    font-size: 0.92rem;
    color: #d1c4cb;
    line-height: 1.5;
}

.lightbox-counter-label {
    font-size: 0.78rem;
    color: #9e8e96;
    margin-top: 0.3rem;
}

/* ==========================================
   IMAGE CMS BADGES & ON-PAGE EDITING
   ========================================== */
.cms-img-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.cms-img-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 100%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    z-index: 40;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    display: none !important;
    align-items: center;
    gap: 0.35rem;
    transition: var(--transition);
}

.cms-img-badge:hover {
    background: #388e3c;
    transform: scale(1.06);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}

/* Strictly Master Admin Only - CMS Badges visible ONLY when admin-mode-active */
body.admin-mode-active .cms-img-badge {
    display: inline-flex !important;
}

/* ==========================================
   MEDIA & IMAGE PICKER MODAL
   ========================================== */
.media-picker-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
    border-bottom: 1px solid var(--clr-border);
    padding-bottom: 0.5rem;
}

.media-picker-tab-btn {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    background: transparent;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--clr-text-muted);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.media-picker-tab-btn.active {
    background: #fff0f5;
    color: var(--clr-pink-accent);
}

.media-dropzone {
    border: 2px dashed var(--clr-gold);
    border-radius: var(--radius-md);
    background: #fffdfa;
    padding: 2.2rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 1rem;
}

.media-dropzone:hover, .media-dropzone.drag-over {
    background: #fff8eb;
    border-color: var(--clr-pink-accent);
}

.media-dropzone i {
    font-size: 2.8rem;
    color: var(--clr-gold);
    margin-bottom: 0.6rem;
    display: block;
}

.media-library-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 1rem;
    max-height: 45vh;
    overflow-y: auto;
    padding: 0.5rem 2px;
}

.media-thumbnail-card {
    border: 2px solid var(--clr-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    background: #fafafa;
    aspect-ratio: 1;
}

.media-thumbnail-card:hover {
    border-color: var(--clr-gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.media-thumbnail-card.selected {
    border-color: var(--clr-pink-accent);
    box-shadow: 0 0 0 2px rgba(216, 27, 96, 0.4);
}

.media-thumbnail-card.selected::after {
    content: '✓';
    position: absolute;
    top: 6px;
    right: 6px;
    background: var(--clr-pink-accent);
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.media-thumbnail-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-thumbnail-card .media-card-hover-bar {
    position: absolute;
    inset: 0;
    background: rgba(43, 15, 29, 0.72);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.6rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.media-thumbnail-card:hover .media-card-hover-bar {
    opacity: 1;
    pointer-events: auto;
}

.media-thumbnail-card .media-card-name {
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.media-thumbnail-card .media-card-btns {
    display: flex;
    gap: 0.35rem;
    justify-content: flex-end;
    margin-top: auto;
}

.media-card-mini-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 4px;
    padding: 0.25rem 0.45rem;
    font-size: 0.75rem;
    color: #4a152d;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-weight: 600;
    transition: all 0.15s ease;
}

.media-card-mini-btn:hover {
    background: var(--clr-gold);
    color: white;
}

.media-card-mini-btn.btn-delete:hover {
    background: #e53935;
    color: white;
}

.photo-dropzone {
    border: 2px dashed #d1a868;
    background: #fffcf8;
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 0.8rem;
}

.photo-dropzone:hover, .photo-dropzone.dragover {
    background: #fff4e5;
    border-color: #b3863c;
    box-shadow: 0 4px 14px rgba(207, 168, 97, 0.25);
    transform: translateY(-1px);
}

/* ==========================================
   MASTER ADMIN CONTROL CENTER MODAL
   ========================================== */
.admin-dashboard-modal {
    max-width: 1280px !important;
    width: 95vw !important;
    height: 90vh !important;
    max-height: 90vh !important;
    display: flex;
    flex-direction: column;
    padding: 0 !important;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Maximized / Fullscreen Mode for Desktop */
.admin-dashboard-modal.is-maximized {
    max-width: 100vw !important;
    width: 100vw !important;
    height: 100vh !important;
    max-height: 100vh !important;
    border-radius: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}

.admin-header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-header-btn {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.15rem;
    transition: all 0.2s ease;
}

.admin-header-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #ffd54f;
    transform: scale(1.05);
}

.admin-dashboard-header {
    background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 100%);
    color: white;
    padding: 1.2rem 1.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #81c784;
}

.admin-dashboard-header h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: white;
}

.admin-dashboard-tabs-bar {
    background: #241c20;
    border-bottom: 3px solid var(--clr-gold);
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding: 1rem 1.4rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.admin-nav-tab-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    padding: 0.75rem 1.25rem;
    font-size: 1.02rem;
    font-weight: 700;
    color: #fbf5f8;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    white-space: nowrap;
}

.admin-nav-tab-btn i {
    font-size: 1.25rem;
    color: var(--clr-gold);
    transition: all 0.2s ease;
}

.admin-nav-tab-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    border-color: var(--clr-gold);
    transform: translateY(-1px);
}

.admin-nav-tab-btn.active {
    color: #241c20 !important;
    background: linear-gradient(135deg, #ffd54f 0%, #ffca28 100%) !important;
    border-color: #ffd54f !important;
    box-shadow: 0 4px 14px rgba(255, 193, 7, 0.4);
}

.admin-nav-tab-btn.active i {
    color: #241c20 !important;
}

.admin-tab-count-badge {
    background: #d81b60;
    color: white;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0.15rem 0.55rem;
    border-radius: var(--radius-full);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
}

.admin-nav-tab-btn.active .admin-tab-count-badge {
    background: #241c20;
    color: #ffd54f;
}

.admin-dashboard-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1.8rem;
    background: #fffbfd;
}

/* ==========================================
   ORDER MANAGEMENT SUITE STYLING
   ========================================== */
.admin-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.admin-kpi-card {
    background: white;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 1.2rem 1.4rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}

.admin-kpi-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--clr-gold);
}

.admin-kpi-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.admin-kpi-icon.kpi-total { background: #fff0f5; color: var(--clr-pink-accent); }
.admin-kpi-icon.kpi-inquiry { background: #fff8e1; color: #f57f17; }
.admin-kpi-icon.kpi-baking { background: #e3f2fd; color: #1976d2; }
.admin-kpi-icon.kpi-confirmed { background: #e8f5e9; color: #2e7d32; }
.admin-kpi-icon.kpi-revenue { background: #f3e5f5; color: #7b1fa2; }

.admin-kpi-number {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--clr-text);
}

.admin-kpi-label {
    font-size: 0.82rem;
    color: var(--clr-text-muted);
    font-weight: 500;
}

/* Orders Toolbar */
.admin-orders-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.2rem;
    background: white;
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--clr-border);
}

.admin-search-box {
    position: relative;
    flex-grow: 1;
    max-width: 380px;
}

.admin-search-box input {
    width: 100%;
    padding: 0.55rem 1rem 0.55rem 2.4rem;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    outline: none;
    transition: var(--transition);
}

.admin-search-box input:focus {
    border-color: var(--clr-pink-accent);
    box-shadow: 0 0 0 3px rgba(216, 27, 96, 0.15);
}

.admin-search-box i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--clr-text-muted);
    font-size: 1rem;
}

.status-filter-pills {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.status-pill-btn {
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--clr-border);
    background: white;
    font-size: 0.8rem;
    font-weight: 600;
    color: #5c434f;
    cursor: pointer;
    transition: var(--transition);
}

.status-pill-btn:hover {
    background: #fff5f8;
    border-color: var(--clr-pink-accent);
}

.status-pill-btn.active {
    background: #6d1b3e;
    color: white;
    border-color: #6d1b3e;
}

.orders-action-group {
    display: flex;
    gap: 0.5rem;
}

/* Orders Table */
.admin-table-wrapper {
    background: white;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    overflow-x: auto;
    box-shadow: var(--shadow-sm);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.88rem;
}

.admin-table th {
    background: #fff5f8;
    color: #5c434f;
    font-weight: 600;
    padding: 0.75rem 0.65rem;
    border-bottom: 2px solid var(--clr-border);
    white-space: nowrap;
}

.sortable-th {
    cursor: pointer;
    user-select: none;
    transition: var(--transition);
}

.sortable-th:hover {
    background: #fdeaf2 !important;
    color: var(--clr-pink-accent) !important;
}

.sortable-th.active-sort {
    background: #fce4ec !important;
    color: #6d1b3e !important;
    border-bottom: 2px solid #d81b60;
}

.sort-icon {
    font-size: 0.85rem;
    margin-left: 4px;
    opacity: 0.5;
    display: inline-block;
    transition: var(--transition);
}

.sortable-th:hover .sort-icon,
.sortable-th.active-sort .sort-icon {
    opacity: 1;
    color: #d81b60;
    font-weight: 700;
}

.admin-table td {
    padding: 0.75rem 0.65rem;
    border-bottom: 1px solid var(--clr-border);
    vertical-align: middle;
}

.admin-table tr:hover {
    background: #fffcfd;
}

.table-client-name {
    font-weight: 600;
    color: var(--clr-text);
}

.table-client-contact {
    font-size: 0.78rem;
    color: var(--clr-text-muted);
    margin-top: 2px;
}

.table-actions {
    display: flex;
    gap: 0.35rem;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.btn-table-action {
    padding: 0.3rem 0.55rem;
    border-radius: var(--radius-sm);
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--clr-border);
    background: white;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
}

.btn-table-action:hover {
    border-color: var(--clr-gold);
    background: #faf8f5;
}

.btn-table-action.inspect-btn {
    background: #6d1b3e;
    color: white;
    border-color: #53122d;
}
.btn-table-action.inspect-btn:hover {
    background: #880e4f;
}

.btn-table-action.whatsapp-quick-btn {
    background: #25d366;
    color: white;
    border-color: #1ebc59;
}
.btn-table-action.whatsapp-quick-btn:hover {
    background: #1ebc59;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: capitalize;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.status-badge.status-inquiry { background: #fff8e1; color: #b78103; border: 1px solid #ffe082; }
.status-badge.status-quoted { background: #f3e5f5; color: #6a1b9a; border: 1px solid #ce93d8; }
.status-badge.status-confirmed { background: #e8f5e9; color: #1b5e20; border: 1px solid #a5d6a7; }
.status-badge.status-baking { background: #e1f5fe; color: #0277bd; border: 1px solid #81d4fa; }
.status-badge.status-completed { background: #ede7f6; color: #4527a0; border: 1px solid #b39ddb; }
.status-badge.status-cancelled { background: #ffebee; color: #c62828; border: 1px solid #ffcdd2; }

/* ==========================================
   ORDER INSPECTION & EDIT MODAL
   ========================================== */
.order-detail-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.8rem;
}

@media (max-width: 850px) {
    .order-detail-grid {
        grid-template-columns: 1fr;
    }
}

.order-detail-pane {
    background: white;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 1.4rem;
}

.order-detail-pane h4 {
    color: #6d1b3e;
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.15rem;
}

.detail-info-row {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.6;
}
.detail-info-row strong {
    color: #4a343e;
}

.quote-financial-box {
    background: #fff8fa;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin-bottom: 1.2rem;
}

.financial-calc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
}

.btn-whatsapp-large {
    background: #25d366;
    color: white;
    padding: 0.65rem 1.2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
    width: 100%;
    margin-bottom: 0.8rem;
    border: none;
    cursor: pointer;
}
.btn-whatsapp-large:hover {
    background: #1ebc59;
    color: white;
}

/* Kitchen Printable Order Sheet */
@media print {
    body * {
        visibility: hidden;
    }
    #kitchenPrintContent, #kitchenPrintContent * {
        visibility: visible;
    }
    #kitchenPrintContent {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        background: white;
        color: black;
        padding: 20px;
    }
}

/* ==========================================================================
   AUTOMATED TESTIMONIALS SLIDER & REVIEWS STYLES
   ========================================================================== */
.reviews-section {
    margin-top: 3.5rem;
    padding: 3rem 0;
    position: relative;
}

.reviews-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.testimonials-slider-container {
    position: relative;
    overflow: hidden;
    padding: 1.5rem 0.5rem;
    max-width: 840px;
    margin: 0 auto;
}

.testimonials-slider-track {
    display: flex;
    gap: 0;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.testimonial-slide-card {
    flex: 0 0 100%;
    width: 100%;
    box-sizing: border-box;
    min-height: 260px;
    background: white;
    border: 1px solid #f1d4e0;
    border-radius: var(--radius-md);
    padding: 2.8rem 2.8rem 2.2rem;
    box-shadow: 0 12px 35px rgba(216, 27, 96, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-slide-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(216, 27, 96, 0.1);
    border-color: #e2b2c6;
}

.testimonial-card-quote-icon {
    position: absolute;
    top: 1.2rem;
    left: 2rem;
    font-size: 3.2rem;
    color: #fce4ec;
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}

.star-rating {
    color: #f59e0b;
    font-size: 1.25rem;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    display: inline-block;
}

.review-text {
    font-style: italic;
    color: #4a343e;
    line-height: 1.8;
    font-size: 1.08rem;
    max-width: 680px;
    margin: 0 auto 1.5rem;
    flex-grow: 1;
}

.review-author-box {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-top: 1px solid #fce7ef;
    padding-top: 1.2rem;
    gap: 0.4rem;
}

@media (max-width: 768px) {
    .testimonials-slider-container {
        padding: 1rem 0;
    }
    .testimonial-slide-card {
        padding: 2.2rem 1.4rem 1.8rem;
    }
    .testimonial-slide-card .review-text {
        font-size: 0.98rem;
    }
}

.review-author-name {
    font-weight: 700;
    color: #6d1b3e;
    font-size: 0.96rem;
}

.review-occasion-tag {
    font-size: 0.78rem;
    color: #880e4f;
    background: #fff0f5;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 600;
}

.review-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.76rem;
    color: #2e7d32;
    font-weight: 600;
    background: #e8f5e9;
    padding: 2px 8px;
    border-radius: 10px;
    margin-top: 4px;
}

.testimonials-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    border: 1px solid #ecc4d4;
    color: #6d1b3e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.25s ease;
    z-index: 5;
}

.testimonials-nav-btn:hover {
    background: #880e4f;
    color: white;
    border-color: #880e4f;
}

.testimonials-nav-btn.prev {
    left: -10px;
}

.testimonials-nav-btn.next {
    right: -10px;
}

.testimonials-slider-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.testimonials-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ecc4d4;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    padding: 0;
}

.testimonial-dot.active {
    width: 28px;
    border-radius: 12px;
    background: #880e4f;
}

.testimonials-autoplay-status {
    font-size: 0.82rem;
    color: #795d6a;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2e7d32;
    display: inline-block;
    animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
    0% { transform: scale(0.9); opacity: 0.7; }
    50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 6px #2e7d32; }
    100% { transform: scale(0.9); opacity: 0.7; }
}

/* Star Rating Picker */
.star-rating-picker {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0.4rem 0;
}

.star-pick {
    background: none;
    border: none;
    font-size: 2rem;
    color: #d1d5db;
    cursor: pointer;
    transition: color 0.15s, transform 0.15s;
    padding: 0;
    line-height: 1;
}

.star-pick:hover,
.star-pick.active {
    color: #f59e0b;
    transform: scale(1.1);
}

.star-pick-label {
    font-size: 0.9rem;
    color: #4a343e;
    margin-left: 0.8rem;
    font-weight: 600;
}

/* Admin Review Management Cards */
.admin-review-card {
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 1.4rem;
    margin-bottom: 1.2rem;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    transition: var(--transition);
}

.admin-review-card.pending {
    border-left: 5px solid #f59e0b;
    background: #fffcf8;
}

.admin-review-card.approved {
    border-left: 5px solid #2e7d32;
}

.admin-review-content {
    flex-grow: 1;
}

.admin-review-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-shrink: 0;
    min-width: 140px;
}

.btn-approve {
    background: #2e7d32;
    color: white;
    border: none;
    padding: 0.55rem 0.9rem;
    border-radius: var(--radius-sm);
    font-size: 0.84rem;
    cursor: pointer;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: var(--transition);
}
.btn-approve:hover {
    background: #1b5e20;
}

.btn-reject {
    background: #fff;
    color: #c62828;
    border: 1px solid #ef9a9a;
    padding: 0.55rem 0.9rem;
    border-radius: var(--radius-sm);
    font-size: 0.84rem;
    cursor: pointer;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: var(--transition);
}
.btn-reject:hover {
    background: #ffebee;
}

/* ==========================================================================
   UNIFIED AUTHENTICATION SUITE STYLES
   ========================================================================== */
.social-login-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.4rem;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
    padding: 0.75rem 1.2rem;
    border-radius: var(--radius-sm);
    font-size: 0.94rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid #d1d5db;
    background: white;
    color: #374151;
}

.btn-social:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.btn-apple {
    background: #000;
    color: white;
    border-color: #000;
}

.btn-apple:hover {
    background: #1f2937;
    color: white;
    border-color: #1f2937;
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 1.4rem 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #e5e7eb;
}

.auth-divider span {
    position: relative;
    background: white;
    padding: 0 1rem;
    color: #9ca3af;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 600;
}

.smart-input-box {
    position: relative;
    display: flex;
    align-items: center;
}

.smart-input-box i {
    position: absolute;
    left: 1rem;
    color: var(--clr-text-muted);
    font-size: 1.15rem;
    pointer-events: none;
}

.smart-input {
    padding-left: 2.8rem !important;
}

.otp-channel-selection {
    margin-top: 1rem;
}

.otp-channel-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: #4a343e;
    margin-bottom: 0.5rem;
    display: block;
}

.otp-channel-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.otp-channel-card {
    display: flex;
    align-items: center;
    border: 1.5px solid #e5e7eb;
    border-radius: var(--radius-sm);
    padding: 0.7rem 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
}

.otp-channel-card.active {
    border-color: #880e4f;
    background: #fff5f8;
    box-shadow: 0 0 0 1px #880e4f;
}

.otp-channel-card input[type="radio"] {
    display: none;
}

.channel-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: #4a343e;
    display: flex;
    align-items: center;
    gap: 6px;
}

.channel-desc {
    font-size: 0.72rem;
    color: #6b7280;
    margin-top: 2px;
}

/* 6-Digit OTP Box Grid */
.otp-inputs-wrapper {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin: 1.6rem 0;
}

.otp-digit-box {
    width: 46px;
    height: 56px;
    text-align: center;
    font-size: 1.7rem;
    font-weight: 700;
    border: 2px solid #d1d5db;
    border-radius: var(--radius-sm);
    background: white;
    transition: all 0.2s ease;
    color: #6d1b3e;
    font-family: monospace;
}

.otp-digit-box:focus {
    border-color: #880e4f;
    outline: none;
    box-shadow: 0 0 0 3px rgba(216, 27, 96, 0.15);
    background: #fff5f8;
}

.otp-channel-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fce4ec;
    color: #880e4f;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.86rem;
    font-weight: 600;
}

.otp-resend-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.4rem;
    font-size: 0.84rem;
}

.text-link-btn {
    background: none;
    border: none;
    color: #880e4f;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    font-size: 0.84rem;
    padding: 0;
    transition: color 0.2s;
}

.text-link-btn:disabled {
    color: #9ca3af;
    cursor: not-allowed;
    text-decoration: none;
}

.text-link-btn:hover:not(:disabled) {
    color: #53112b;
}

/* ==========================================
   INTERACTIVE GOOGLE & SOCIAL AUTH MODAL
   ========================================== */
.google-auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(32, 33, 36, 0.6);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1rem;
}
.google-auth-overlay.active {
    display: flex;
}
.google-auth-card {
    background: #ffffff;
    border-radius: 12px;
    max-width: 440px;
    width: 100%;
    padding: 2.2rem 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    border: 1px solid #dadce0;
    position: relative;
    text-align: left;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    animation: fadeInScale 0.25s ease;
}
.google-auth-header {
    text-align: center;
    margin-bottom: 1.6rem;
}
.google-auth-header svg {
    margin-bottom: 0.6rem;
}
.google-auth-title {
    font-size: 1.35rem;
    font-weight: 500;
    color: #202124;
    margin-bottom: 0.2rem;
}
.google-auth-sub {
    font-size: 0.92rem;
    color: #5f6368;
}
.google-input-group {
    margin-bottom: 1.2rem;
}
.google-input-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    color: #5f6368;
    margin-bottom: 0.4rem;
}
.google-input-field {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    border: 1px solid #dadce0;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.google-input-field:focus {
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
}
.google-auth-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.8rem;
}
.btn-google-action {
    background: #1a73e8;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 0.7rem 1.6rem;
    font-size: 0.92rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s, box-shadow 0.2s;
}
.btn-google-action:hover {
    background: #1765cc;
    box-shadow: 0 1px 3px rgba(60, 64, 67, 0.3);
}
.btn-google-cancel {
    background: transparent;
    color: #1a73e8;
    border: none;
    font-weight: 500;
    font-size: 0.92rem;
    cursor: pointer;
    padding: 0.6rem 0.8rem;
}
.btn-google-cancel:hover {
    background: #f8f9fa;
    border-radius: 4px;
}
.google-saved-accounts-list {
    margin-bottom: 1.2rem;
    border: 1px solid #e8eaed;
    border-radius: 8px;
    overflow: hidden;
}
.google-account-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid #f1f3f4;
    transition: background 0.15s;
}
.google-account-item:last-child {
    border-bottom: none;
}
.google-account-item:hover {
    background: #f8f9fa;
}
.google-account-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e8f0fe;
    color: #1a73e8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.95rem;
}
.google-account-info .name {
    font-weight: 500;
    font-size: 0.92rem;
    color: #202124;
}
.google-account-info .email {
    font-size: 0.8rem;
    color: #5f6368;
}

/* ==========================================
   CUSTOMER HUB & REGISTRATION MODULE
   ========================================== */
.auth-mode-switch-tabs {
    display: flex;
    border-bottom: 2px solid #fce7ef;
    margin-bottom: 1.5rem;
}
.auth-mode-tab {
    flex: 1;
    text-align: center;
    padding: 0.8rem 1rem;
    background: transparent;
    border: none;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--clr-text-muted);
    cursor: pointer;
    position: relative;
    transition: all 0.25s ease;
}
.auth-mode-tab.active {
    color: #880e4f;
}
.auth-mode-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: #880e4f;
    border-radius: 3px 3px 0 0;
}

.customer-hub-tabs-bar {
    display: flex;
    background: #fdf5f8;
    border-radius: var(--radius-sm);
    padding: 5px;
    margin: 1.2rem 0 1.5rem;
    gap: 6px;
    border: 1px solid #f1d4e0;
}
.cust-tab-btn {
    flex: 1;
    padding: 0.65rem 0.5rem;
    border: none;
    background: transparent;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    color: #6d1b3e;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
}
.cust-tab-btn.active {
    background: white;
    color: #880e4f;
    box-shadow: 0 2px 8px rgba(136, 14, 79, 0.12);
}
.cust-tab-pane {
    display: none;
}
.cust-tab-pane.active {
    display: block;
    animation: fadeIn 0.25s ease;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}
.form-row-3 {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 0.8rem;
}
@media (max-width: 600px) {
    .form-row-2, .form-row-3 {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

.form-section-title {
    font-size: 0.86rem;
    font-weight: 700;
    color: #6d1b3e;
    margin: 1.2rem 0 0.6rem;
    display: flex;
    align-items: center;
    gap: 6px;
    padding-bottom: 4px;
    border-bottom: 1px dashed #f1d4e0;
}

.customer-orders-empty-state {
    text-align: center;
    padding: 2.5rem 1rem;
    background: #fffbfe;
    border: 1px dashed #f1d4e0;
    border-radius: var(--radius-md);
}
.customer-orders-empty-state i {
    font-size: 2.8rem;
    color: #e2b2c6;
    margin-bottom: 0.8rem;
}
.customer-orders-empty-state p {
    color: var(--clr-text-muted);
    font-size: 0.92rem;
    margin-bottom: 1.2rem;
}

/* ==========================================================================
   DEDICATED TESTIMONIALS & CLIENT LOVE NOTES PAGE
   ========================================================================== */
.testimonials-page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5% 5rem;
}

.testimonials-platform-summary-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.8rem;
}

.platform-summary-card {
    background: #ffffff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 1.6rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.platform-summary-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(216, 27, 96, 0.08);
}

.platform-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}
.platform-card-icon.google-icon {
    background: #e8f0fe;
    color: #1a73e8;
}
.platform-card-icon.yelp-icon {
    background: #ffebee;
    color: #d32323;
}
.platform-card-icon.academy-icon {
    background: #fdf2e9;
    color: #b78103;
}

.platform-card-rating {
    font-size: 1.35rem;
    font-weight: 700;
    color: #6d1b3e;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.platform-stars {
    color: #f59e0b;
    font-size: 1rem;
    letter-spacing: 2px;
}
.platform-card-name {
    font-weight: 600;
    color: var(--clr-text-main);
    font-size: 0.96rem;
    margin: 2px 0;
}
.platform-card-count {
    font-size: 0.78rem;
    color: var(--clr-text-muted);
}

.platform-cta-card {
    background: linear-gradient(135deg, #fff5f8 0%, #fffbf8 100%);
    border: 1.5px dashed #f1d4e0;
    border-radius: var(--radius-md);
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.platform-cta-card h4 {
    color: #6d1b3e;
    font-size: 1.08rem;
    font-family: var(--font-heading);
    margin-bottom: 0.3rem;
}
.platform-cta-card p {
    font-size: 0.84rem;
    color: var(--clr-text-muted);
    margin-bottom: 1rem;
}

/* Filter Bar */
.testimonials-filter-bar {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.testimonial-filter-pill {
    background: #ffffff;
    border: 1px solid var(--clr-border);
    color: #6d1b3e;
    padding: 0.6rem 1.3rem;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.testimonial-filter-pill:hover {
    border-color: #880e4f;
    background: #fff8fa;
}
.testimonial-filter-pill.active {
    background: #880e4f;
    color: #ffffff;
    border-color: #880e4f;
    box-shadow: 0 4px 14px rgba(136, 14, 79, 0.22);
}

/* Reviews Wall Grid */
.testimonials-grid-wall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.8rem;
}
@media (max-width: 600px) {
    .testimonials-grid-wall {
        grid-template-columns: 1fr;
    }
}

.wall-review-card {
    background: #ffffff;
    border: 1px solid #f1d4e0;
    border-radius: var(--radius-md);
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 8px 24px rgba(216, 27, 96, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}
.wall-review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(216, 27, 96, 0.1);
    border-color: #e2b2c6;
}

.wall-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.wall-card-quote {
    font-style: italic;
    color: #4a343e;
    line-height: 1.7;
    font-size: 0.98rem;
    margin-bottom: 1.4rem;
    flex-grow: 1;
}

.wall-card-footer {
    border-top: 1px solid #fce7ef;
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wall-author-name {
    font-weight: 700;
    color: #6d1b3e;
    font-size: 0.94rem;
}
.wall-author-meta {
    font-size: 0.78rem;
    color: var(--clr-text-muted);
    margin-top: 2px;
}

/* Platform Source Badges */
.review-source-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    letter-spacing: 0.2px;
}
.review-source-badge.google-badge {
    background: #e8f0fe;
    color: #1a73e8;
    border: 1px solid #c2d7fa;
}
.review-source-badge.yelp-badge {
    background: #ffebee;
    color: #d32323;
    border: 1px solid #ffcdd2;
}
.review-source-badge.direct-badge {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

/* ==========================================================================
   NAVIGATION MENU MANAGER (Master Admin Suite)
   ========================================================================== */
.menu-order-controls {
    display: inline-flex;
    gap: 4px;
}
.menu-order-btn {
    width: 28px;
    height: 28px;
    border: 1px solid var(--clr-border);
    background: white;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #6d1b3e;
    transition: all 0.2s ease;
}
.menu-order-btn:hover:not(:disabled) {
    background: #880e4f;
    color: white;
    border-color: #880e4f;
}
.menu-order-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.menu-status-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
}
.menu-status-tag.active {
    background: #e8f5e9;
    color: #2e7d32;
}
.menu-status-tag.hidden {
    background: #f5f5f5;
    color: #757575;
}

/* ==========================================================================
   ADMIN ALBUM & PHOTO MANAGER STYLING
   ========================================================================== */
.admin-album-card {
    background: white;
    border: 1.5px solid var(--clr-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.admin-album-card:hover {
    border-color: var(--clr-gold);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.admin-album-cover-wrap {
    height: 140px;
    width: 100%;
    position: relative;
    background: #f8f4f6;
    overflow: hidden;
}

.admin-album-cover-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.admin-album-card:hover .admin-album-cover-wrap img {
    transform: scale(1.03);
}

.admin-album-cover-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(36, 28, 32, 0.88);
    backdrop-filter: blur(4px);
    color: #ffd54f;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid rgba(255, 213, 79, 0.4);
}

.admin-album-order-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: white;
    color: #4a343e;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.15rem 0.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.admin-photo-card {
    background: white;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.admin-photo-card:hover {
    border-color: var(--clr-gold);
    box-shadow: var(--shadow-md);
}

.admin-photo-img-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    position: relative;
    overflow: hidden;
    background: #f5f0f3;
}

.admin-photo-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge-featured-cover {
    position: absolute;
    top: 8px;
    left: 8px;
    background: linear-gradient(135deg, #ffd54f 0%, #ffca28 100%);
    color: #3e2723;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
}

.admin-photo-order-controls {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    gap: 4px;
    z-index: 2;
}

.photo-reorder-btn {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    color: #4a343e;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 700;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.photo-reorder-btn:hover:not(:disabled) {
    background: #880e4f;
    color: white;
    border-color: #880e4f;
}

.photo-reorder-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.admin-photo-body {
    padding: 0.8rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.admin-photo-actions {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.6rem;
    flex-wrap: wrap;
}

/* ==========================================
   VIP PASSCODE GATE & PRIVATE STAGING LOCK
   ========================================== */
.vip-gate-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    background: radial-gradient(circle at 50% 35%, rgba(64, 18, 42, 0.96) 0%, rgba(18, 7, 13, 0.99) 100%);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    overflow-y: auto;
    animation: vipFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes vipFadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

.vip-gate-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(212, 175, 55, 0.15);
    padding: 2.5rem 2.2rem;
    max-width: 480px;
    width: 100%;
    text-align: center;
    color: #fdfbf7;
    position: relative;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.vip-gate-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(212, 175, 55, 0.18);
    color: #e6ca65;
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.4rem;
}

.vip-gate-logo-wrap {
    margin-bottom: 1.2rem;
}

.vip-gate-logo {
    height: 48px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.vip-gate-title {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 1.85rem;
    font-weight: 600;
    color: #fef8eb;
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
}

.vip-gate-subtitle {
    font-size: 0.92rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 1.8rem;
}

.vip-gate-subtitle strong {
    color: #e6ca65;
}

.vip-input-group {
    text-align: left;
    margin-bottom: 1rem;
}

.vip-input-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #dfd5c9;
    margin-bottom: 0.4rem;
    letter-spacing: 0.02em;
}

.vip-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.vip-input-icon {
    position: absolute;
    left: 1rem;
    color: #d4af37;
    font-size: 1.15rem;
    pointer-events: none;
}

.vip-passcode-field {
    width: 100%;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 12px;
    padding: 0.85rem 2.8rem 0.85rem 2.8rem;
    font-size: 1.05rem;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.08em;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.vip-passcode-field:focus {
    border-color: #f2d36b;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
}

.vip-toggle-pwd {
    position: absolute;
    right: 0.8rem;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.15rem;
    cursor: pointer;
    padding: 0.3rem;
    transition: color 0.2s;
}

.vip-toggle-pwd:hover {
    color: #f2d36b;
}

.vip-options-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.2rem;
    text-align: left;
}

.vip-remember-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    user-select: none;
}

.vip-remember-label input[type="checkbox"] {
    accent-color: #d4af37;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.vip-error-alert {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #fca5a5;
    border-radius: 10px;
    padding: 0.7rem 0.9rem;
    font-size: 0.84rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
    text-align: left;
}

.vip-error-shake {
    animation: vipShake 0.4s ease-in-out;
}

@keyframes vipShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-8px); }
    40%, 80% { transform: translateX(8px); }
}

.vip-unlock-btn {
    width: 100%;
    padding: 0.95rem 1.5rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #e5be58 0%, #aa7c11 100%);
    color: #2b1d06;
    border: none;
    font-weight: 700;
    font-size: 1.02rem;
    letter-spacing: 0.02em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    box-shadow: 0 4px 18px rgba(170, 124, 17, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.vip-unlock-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(170, 124, 17, 0.55);
}

.vip-unlock-btn:active {
    transform: translateY(0);
}

.vip-gate-footer {
    margin-top: 1.8rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

.vip-support-note {
    margin-top: 0.4rem;
    color: rgba(255, 255, 255, 0.7);
}

.vip-support-note a {
    color: #e6ca65;
    text-decoration: underline;
    font-weight: 600;
}

/* ==========================================
   PHOTO & MEDIA BULK MANAGEMENT & REORDERING
   ========================================== */
.admin-bulk-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    background: #fffdf5;
    border: 1.5px solid var(--clr-gold);
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 8px rgba(183, 129, 3, 0.08);
    flex-wrap: wrap;
}

.admin-bulk-toolbar-left {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.admin-bulk-toolbar-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.bulk-badge-count {
    font-weight: 700;
    font-size: 0.82rem;
    color: #6d1b3e;
    background: #fff0f5;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
}

.photo-select-checkbox-wrap {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 5;
    width: 26px;
    height: 26px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease;
}

.photo-select-checkbox-wrap:hover {
    transform: scale(1.1);
    background: white;
}

.photo-select-checkbox-wrap input[type="checkbox"] {
    width: 17px;
    height: 17px;
    cursor: pointer;
    accent-color: var(--clr-gold-dark);
}

.admin-photo-card.selected {
    border: 2px solid var(--clr-gold-dark) !important;
    background: #fffdf8 !important;
    box-shadow: 0 4px 14px rgba(183, 129, 3, 0.25) !important;
}

.admin-photo-card.selected .photo-select-checkbox-wrap {
    background: var(--clr-gold-dark);
}

.admin-photo-card.selected .photo-select-checkbox-wrap input[type="checkbox"] {
    accent-color: #3e2723;
}

/* Drag and Drop Reordering */
.photo-drag-handle {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    color: #4a343e;
    cursor: grab;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.15s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.photo-drag-handle:hover {
    background: #6d1b3e;
    color: white;
    border-color: #6d1b3e;
}

.photo-drag-handle:active {
    cursor: grabbing;
}

.admin-photo-card[draggable="true"] {
    cursor: grab;
}

.admin-photo-card.dragging {
    opacity: 0.45 !important;
    border: 2px dashed #b78103 !important;
    transform: scale(0.97);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2) !important;
    cursor: grabbing !important;
}

.admin-photo-card.drag-over-target {
    border: 2.5px solid #880e4f !important;
    background: #fff0f5 !important;
    box-shadow: 0 0 16px rgba(136, 14, 79, 0.4) !important;
    transform: scale(1.02);
}

/* Media Library Bulk Checkbox */
.media-select-checkbox-wrap {
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 10;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.25);
    cursor: pointer;
}

.media-thumbnail-card.selected {
    border: 2.5px solid var(--clr-gold-dark) !important;
    box-shadow: 0 0 10px rgba(183, 129, 3, 0.35) !important;
}

/* CMS Floating Exit Button */
.cms-floating-exit-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    background: #880e4f;
    color: #ffffff;
    border: 2px solid #ffd54f;
    border-radius: 50px;
    padding: 0.75rem 1.4rem;
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    display: none;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.cms-floating-exit-btn:hover {
    background: #ad1457;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

body.cms-mode-active .cms-floating-exit-btn {
    display: inline-flex !important;
}

/* ==========================================================================
   BULK EDIT PHOTOS MODAL & GALLERY ALBUM SHOWCASE STYLES
   ========================================================================== */
.bulk-edit-modal-box {
    max-width: 820px;
    width: 95%;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
}

.bulk-edit-batch-controls {
    background: #fff8fa;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 1.1rem 1.3rem;
    margin-bottom: 1.2rem;
}

.bulk-edit-rows-container {
    max-height: 48vh;
    overflow-y: auto;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-sm);
    padding: 0.7rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    background: #fdfafd;
}

.bulk-edit-row-card {
    background: white;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-sm);
    padding: 0.85rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s ease;
}

.bulk-edit-row-card:hover {
    border-color: var(--clr-gold);
    box-shadow: var(--shadow-sm);
}

.bulk-edit-row-thumb {
    width: 65px;
    height: 65px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--clr-border);
    background: #f8f4f6;
}

.bulk-edit-row-fields {
    flex-grow: 1;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 0.8rem;
}

.bulk-batch-inputs-grid {
    display: grid;
    grid-template-columns: 1.2fr auto 1.5fr auto;
    gap: 0.6rem;
    align-items: flex-end;
}

@media (max-width: 650px) {
    .bulk-edit-row-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .bulk-edit-row-fields {
        width: 100%;
        grid-template-columns: 1fr;
    }
}

/* Public Gallery Album Cards (As requested by user, matching dashboard design without admin buttons) */
.gallery-album-card {
    background: white;
    border: 1.5px solid var(--clr-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.28s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.gallery-album-card:hover {
    border-color: var(--clr-gold);
    box-shadow: 0 12px 28px rgba(207, 168, 97, 0.25), 0 4px 12px rgba(136, 14, 79, 0.08);
    transform: translateY(-4px);
}

.gallery-album-cover-wrap {
    height: 175px;
    width: 100%;
    position: relative;
    background: #f8f4f6;
    overflow: hidden;
}

.gallery-album-cover-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-album-card:hover .gallery-album-cover-wrap img {
    transform: scale(1.05);
}

.gallery-album-badge-count {
    background: #fff0f5;
    color: #d81b60;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.22rem 0.65rem;
    border-radius: var(--radius-full);
    border: 1px solid #f8bbd0;
}

.gallery-album-card-body {
    padding: 1rem 1.15rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.gallery-album-card-title {
    color: #6d1b3e;
    font-size: 1.1rem;
    font-family: var(--font-heading);
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.gallery-album-card-slug {
    font-size: 0.75rem;
    color: var(--clr-text-muted);
    font-family: monospace;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.gallery-album-card-desc {
    font-size: 0.84rem;
    color: var(--clr-text-muted);
    line-height: 1.45;
    margin-bottom: 0.8rem;
    flex-grow: 1;
}

.gallery-album-card-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    border-top: 1px solid var(--clr-border);
    padding-top: 0.75rem;
    margin-top: auto;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--clr-pink-accent);
    gap: 4px;
    transition: var(--transition);
}

.gallery-album-card:hover .gallery-album-card-footer {
    color: var(--clr-gold-dark);
    transform: translateX(3px);
}

/* ==========================================================================
   MOBILE-FRIENDLY ADMIN DASHBOARD OPTIMIZATIONS (Smart Phone & Tablet)
   ========================================================================== */
@media (max-width: 768px) {
    /* Full-screen native-like mobile app experience */
    #adminDashboardModalOverlay {
        padding: 0 !important;
        align-items: stretch !important;
        justify-content: stretch !important;
    }

    .admin-dashboard-modal {
        width: 100vw !important;
        max-width: 100vw !important;
        height: 100% !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        border-radius: 0 !important;
        margin: 0 !important;
        border: none !important;
    }

    /* Hide desktop maximize button on phones */
    #adminDashboardMaximizeBtn {
        display: none !important;
    }

    /* Compact Mobile Header */
    .admin-dashboard-header {
        padding: 0.75rem 1rem !important;
    }

    .admin-dashboard-header h3 {
        font-size: 1.05rem !important;
        gap: 0.35rem !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .admin-dashboard-user-badge {
        font-size: 0.7rem !important;
        max-width: 210px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Horizontal swipeable tab strip with smooth touch scrolling */
    .admin-dashboard-tabs-bar {
        padding: 0.45rem 0.65rem !important;
        gap: 0.35rem !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }

    .admin-dashboard-tabs-bar::-webkit-scrollbar {
        display: none !important;
    }

    .admin-nav-tab-btn {
        padding: 0.48rem 0.8rem !important;
        font-size: 0.8rem !important;
        border-radius: 20px !important;
        flex-shrink: 0 !important;
        gap: 0.35rem !important;
    }

    .admin-nav-tab-btn i {
        font-size: 0.95rem !important;
    }

    .admin-tab-count-badge {
        font-size: 0.68rem !important;
        padding: 0.1rem 0.4rem !important;
    }

    /* Scrollable body */
    .admin-dashboard-body {
        padding: 0.85rem 0.75rem !important;
    }

    /* KPI Metrics 2-column grid */
    .admin-kpi-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.55rem !important;
        margin-bottom: 1.2rem !important;
    }

    .admin-kpi-card {
        padding: 0.75rem 0.65rem !important;
        gap: 0.5rem !important;
    }

    .admin-kpi-icon {
        width: 36px !important;
        height: 36px !important;
        font-size: 1rem !important;
    }

    .admin-kpi-number {
        font-size: 1.15rem !important;
    }

    .admin-kpi-label {
        font-size: 0.68rem !important;
    }

    /* Order toolbar on mobile */
    .admin-orders-toolbar {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 0.75rem !important;
        gap: 0.6rem !important;
    }

    .status-filter-pills {
        overflow-x: auto !important;
        flex-wrap: nowrap !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        padding-bottom: 3px !important;
    }

    .status-filter-pills::-webkit-scrollbar {
        display: none !important;
    }

    .status-pill-btn {
        flex-shrink: 0 !important;
        padding: 0.32rem 0.7rem !important;
        font-size: 0.76rem !important;
    }

    .orders-action-group {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 0.5rem !important;
        width: 100% !important;
    }

    .orders-action-group .btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 0.45rem 0.5rem !important;
    }

    /* Gallery top action buttons on mobile */
    .admin-gallery-top-actions {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 0.5rem !important;
    }

    .admin-gallery-top-actions .btn {
        width: 100% !important;
        justify-content: center !important;
        font-size: 0.78rem !important;
        padding: 0.45rem 0.4rem !important;
    }

    /* Album summary cards on mobile */
    #adminAlbumsSummaryList {
        grid-template-columns: 1fr !important;
        gap: 0.8rem !important;
    }

    /* Gallery bulk toolbar on mobile */
    .admin-bulk-toolbar {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.6rem !important;
        padding: 0.65rem 0.75rem !important;
    }

    .admin-bulk-toolbar-left {
        justify-content: space-between !important;
        width: 100% !important;
    }

    .admin-bulk-toolbar-right {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 0.4rem !important;
        width: 100% !important;
    }

    .admin-bulk-toolbar-right select {
        grid-column: span 2 !important;
        width: 100% !important;
    }

    .admin-bulk-toolbar-right .btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 0.45rem 0.35rem !important;
        font-size: 0.75rem !important;
    }

    /* Photos grid on mobile */
    #adminGalleryPhotosList {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.6rem !important;
    }

    .admin-photo-card .admin-photo-body {
        padding: 0.65rem 0.55rem !important;
    }

    .admin-photo-actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.35rem !important;
    }

    .admin-photo-actions .btn {
        width: 100% !important;
        padding: 0.42rem 0.3rem !important;
        font-size: 0.74rem !important;
        justify-content: center !important;
    }

    /* Bulk Edit Modal on mobile */
    .bulk-edit-modal-box {
        width: 96vw !important;
        max-width: 96vw !important;
        padding: 1rem !important;
        max-height: 94dvh !important;
    }

    .bulk-batch-inputs-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0.6rem !important;
    }

    .bulk-batch-inputs-grid .btn {
        width: 100% !important;
    }

    /* Sub-modals for editing on mobile */
    #editPhotoModalOverlay .modal-content-box,
    #editAlbumModalOverlay .modal-content-box,
    #adminPhotoModalOverlay .modal-content-box,
    #adminAlbumModalOverlay .modal-content-box {
        width: 96vw !important;
        max-width: 96vw !important;
        max-height: 94dvh !important;
        padding: 1.1rem !important;
    }
}

@media (max-width: 400px) {
    #adminGalleryPhotosList {
        grid-template-columns: 1fr !important;
    }
    .admin-kpi-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ================================================================ */
/* LUXURY INVOICING SUITE & MENU SETTINGS STYLES                    */
/* ================================================================ */

#invoiceBuilderModalOverlay.active,
#menuPricingModalOverlay.active {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 2600 !important;
}

#shareExportModalOverlay.active {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 2900 !important;
}

.invoice-builder-modal {
    width: 95vw !important;
    max-width: 1140px !important;
    height: 92vh !important;
    max-height: 940px !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    padding: 0 !important;
    background: #ffffff !important;
    border-radius: 14px !important;
}

.invoice-modal-subnav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 1.4rem;
    background: #faf8f5;
    border-bottom: 1.5px solid #ebd9dc;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.invoice-tab-group {
    display: flex;
    gap: 0.5rem;
}

.invoice-subnav-btn {
    padding: 0.45rem 1.1rem;
    border-radius: 8px;
    border: 1.5px solid #e0d0d3;
    background: #ffffff;
    color: #5c434f;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: all 0.2s ease;
}

.invoice-subnav-btn:hover {
    background: #fff0f3;
    border-color: #8c3d47;
    color: #8c3d47;
}

.invoice-subnav-btn.active {
    background: #8c3d47;
    border-color: #8c3d47;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(140, 61, 71, 0.25);
}

.inv-view-toggle-btn {
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    border: 1px solid #d5c2c5;
    background: #ffffff;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    color: #4a343e;
}

.inv-view-toggle-btn.active {
    background: #4a1525;
    color: #ffffff;
    border-color: #4a1525;
}

.invoice-modal-body {
    flex: 1;
    overflow-y: auto;
    background: #fbf9f6;
    padding: 1.4rem;
}

.invoice-pane {
    display: none;
}

.invoice-pane.active {
    display: block;
}

.invoice-form-grid {
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
    max-width: 940px;
    margin: 0 auto;
}

.invoice-editor-card {
    background: #ffffff;
    border: 1px solid #ebd9dc;
    border-radius: 12px;
    padding: 1.3rem 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.invoice-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #6d1b3e;
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    border-bottom: 1px solid #f6eaed;
    padding-bottom: 0.5rem;
}

.invoice-items-table-wrap {
    overflow-x: auto;
    border: 1px solid #edd0d2;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.invoice-items-edit-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
}

.invoice-items-edit-table th {
    background: #fcf2f4;
    color: #6d1b3e;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.65rem 0.8rem;
    text-align: left;
    border-bottom: 1px solid #edd0d2;
}

.invoice-items-edit-table td {
    padding: 0.5rem 0.6rem;
    border-bottom: 1px solid #f6eaed;
    vertical-align: middle;
}

.item-qty-input {
    text-align: center;
    font-weight: 700;
}

.item-linetotal-cell {
    font-weight: 700;
    color: #6d1b3e;
    text-align: right;
    white-space: nowrap;
}

.invoice-item-qty-pill {
    font-size: 0.74rem;
    font-weight: 700;
    color: #8c3d47;
    background: #faedef;
    border: 1px solid #eebfc4;
    padding: 2px 7px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

/* Date Picker Wrapper & Calendar Action Button */
.date-picker-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.date-picker-wrapper input.form-control {
    padding-right: 2.6rem;
}

.calendar-action-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: #8c3d47;
    cursor: pointer;
    background: transparent;
    transition: background 0.15s ease;
    overflow: hidden;
}

.calendar-action-btn:hover {
    background: #faedef;
}

.native-date-hidden-trigger {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 10;
}

.date-quick-btn {
    background: #faedef;
    border: none;
    color: #8c3d47;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s;
}

.date-quick-btn:hover {
    background: #f6d7d9;
}

/* 12-Hour PST Time Picker Wrapper & Popover */
.time-picker-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.time-picker-wrapper input.form-control {
    padding-right: 2.6rem;
}

.time-picker-trigger-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: none;
    background: transparent;
    color: #8c3d47;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.15s ease;
}

.time-picker-trigger-btn:hover {
    background: #faedef;
}

.time-picker-popover {
    position: absolute;
    left: 0;
    top: calc(100% + 6px);
    z-index: 1050;
    width: 295px;
    background: #ffffff;
    border: 1px solid #edd0d2;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(109, 27, 62, 0.16);
    padding: 0.95rem;
    animation: tpFadeIn 0.15s ease-out;
}

@keyframes tpFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.time-picker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f6eaed;
    margin-bottom: 0.65rem;
}

.time-picker-preview-badge {
    font-size: 0.78rem;
    font-weight: 700;
    color: #8c3d47;
    background: #faedef;
    padding: 3px 8px;
    border-radius: 6px;
}

.time-picker-section {
    margin-bottom: 0.6rem;
}

.tp-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #78716c;
    margin-bottom: 0.3rem;
}

.tp-period-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    background: #f5f5f4;
    padding: 3px;
    border-radius: 8px;
}

.tp-period-btn {
    border: none;
    padding: 5px 8px;
    font-size: 0.76rem;
    font-weight: 700;
    border-radius: 6px;
    background: transparent;
    color: #57534e;
    cursor: pointer;
    transition: all 0.15s ease;
}

.tp-period-btn.active {
    background: #8c3d47;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(140, 61, 71, 0.3);
}

.tp-hour-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;
}

.tp-hour-btn, .tp-minute-btn {
    border: 1px solid #e7e5e4;
    background: #ffffff;
    padding: 4px 2px;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 6px;
    color: #44403c;
    cursor: pointer;
    text-align: center;
    transition: all 0.12s ease;
}

.tp-hour-btn:hover, .tp-minute-btn:hover {
    border-color: #8c3d47;
    background: #fdf2f4;
}

.tp-hour-btn.active, .tp-minute-btn.active {
    background: #8c3d47;
    color: #ffffff;
    border-color: #8c3d47;
    box-shadow: 0 2px 4px rgba(140, 61, 71, 0.25);
}

.tp-minute-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
}

.tp-presets-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.tp-preset-chip {
    border: 1px solid #e7e5e4;
    background: #fafaf9;
    color: #57534e;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 6px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.12s ease;
}

.tp-preset-chip:hover {
    border-color: #8c3d47;
    color: #8c3d47;
    background: #faedef;
}

.tp-preset-chip.active {
    border-color: #8c3d47;
    background: #faedef;
    color: #8c3d47;
    font-weight: 700;
}

.tp-done-btn {
    width: 100%;
    background: #1c1917;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    cursor: pointer;
    transition: background 0.15s;
}

.tp-done-btn:hover {
    background: #332d29;
}

.invoice-totals-edit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.8rem;
    margin-top: 1rem;
}

.invoice-summary-bar {
    margin-top: 1.2rem;
    background: #fff0f5;
    border: 1.5px solid #f8bbd0;
    border-radius: 10px;
    padding: 0.9rem 1.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    font-size: 0.92rem;
}

/* ================================================================ */
/* 2-PAGE INVOICE RENDER & PRINT SHEETS                             */
/* ================================================================ */

.invoice-render-sheet-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    padding: 1rem 0 3rem;
}

.invoice-page-sheet {
    width: 840px;
    min-height: 1140px;
    background: #ffffff;
    border: 1px solid #e7dcd6;
    box-shadow: 0 8px 30px rgba(0,0,0,0.07);
    border-radius: 12px;
    position: relative;
    padding: 2.8rem 3.2rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    color: #2c2623;
    overflow: hidden;
}

.invoice-page-sheet.page-details {
    background: #fdfbf9;
}

.invoice-sheet-corner-accent {
    position: absolute;
    top: -4px;
    left: -4px;
    width: 175px;
    height: 175px;
    pointer-events: none;
    z-index: 1;
    user-select: none;
}

.invoice-sheet-logo-group {
    position: absolute;
    top: 24px;
    right: 32px;
    z-index: 10;
    text-align: right;
}

.invoice-sheet-logo-img {
    height: 68px;
    width: auto;
    object-fit: contain;
    display: block;
}

.invoice-sheet-title-h1 {
    font-family: 'Cormorant Garamond', Georgia, 'Playfair Display', serif;
    font-size: 1.85rem;
    font-weight: 700;
    color: #3a2e2b;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-align: center;
    margin: 0;
}

.invoice-sheet-client-hero {
    text-align: center;
    margin-top: 0.6rem;
    margin-bottom: 1.4rem;
}

.invoice-sheet-client-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #8c3d47;
}

.invoice-sheet-client-contact {
    font-size: 0.85rem;
    color: #8c3d47;
    font-weight: 500;
    margin-top: 2px;
}

/* ================= LUXURY 2-PAGE INVOICE STYLES (MATCHING AI STUDIO) ================= */
.invoice-page-sheet {
    width: 840px;
    min-height: 1100px;
    background: #ffffff;
    border: 1px solid rgba(231, 220, 214, 0.85);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border-radius: 16px;
    position: relative;
    padding: 2.2rem 2.8rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    color: #2c2623;
    overflow: hidden;
    margin: 0 auto 2.5rem;
}

.invoice-page-sheet.page-details {
    background: #fdfbf9;
}

/* Corner Accents */
.invoice-sheet-corner-accent {
    position: absolute;
    top: -8px;
    left: -8px;
    width: 175px;
    height: 175px;
    pointer-events: none;
    z-index: 1;
    user-select: none;
    object-fit: contain;
    background: transparent !important;
}

.invoice-blush-stripes-corner {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding-top: 6px;
    user-select: none;
}

.invoice-blush-stripe {
    height: 11px;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

/* Header & Logo */
.invoice-sheet-logo-group {
    position: absolute;
    top: 24px;
    right: 32px;
    z-index: 10;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.invoice-sheet-logo-img {
    height: 68px;
    max-width: 310px;
    width: auto;
    object-fit: contain;
    display: block;
}

.invoice-sheet-logo-contacts {
    margin-top: 6px;
    font-size: 0.76rem;
    color: #523d38;
    line-height: 1.35;
    text-align: right;
}

/* Page 1 Details Sheet */
.invoice-sheet-title-h1 {
    font-family: 'Cormorant Garamond', Georgia, 'Playfair Display', serif;
    font-size: 1.65rem;
    font-weight: 700;
    color: #3a2e2b;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-align: center;
    margin: 0;
}

.invoice-sheet-client-hero {
    text-align: center;
    margin-top: 0.5rem;
    margin-bottom: 1.2rem;
}

.invoice-sheet-client-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #8c3d47;
}

.invoice-sheet-client-contact {
    font-size: 0.8rem;
    color: #8c3d47;
    font-weight: 500;
    margin-top: 2px;
}

/* Editorial Specs List (Page 1) */
.invoice-specs-list-clean {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.86rem;
    line-height: 1.5;
}

.invoice-spec-row-clean {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.15rem 0;
}

.invoice-spec-label-clean {
    font-weight: 700;
    color: #1c1917;
    min-width: 155px;
    flex-shrink: 0;
}

.invoice-spec-val-clean {
    color: #292524;
    font-weight: 500;
    flex: 1;
}

/* Page 1 Food Allergy Disclaimer */
.invoice-allergy-disclaimer-box {
    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(231, 229, 228, 0.8);
    text-align: center;
}

.invoice-allergy-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #3e3431;
    margin: 0 0 0.3rem;
}

.invoice-allergy-text {
    font-size: 0.72rem;
    color: #57534e;
    line-height: 1.45;
    text-align: justify;
    margin: 0 0 0.35rem;
    padding: 0 0.8rem;
}

.invoice-kitchen-ingredients-text {
    font-size: 0.72rem;
    color: #57534e;
    font-style: italic;
    font-weight: 500;
    margin: 0 0 0.4rem;
    padding: 0 0.8rem;
}

/* Page 2 Large Title */
.invoice-sheet-h1-page2 {
    font-size: 2.2rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: #292524;
    margin: 0 0 1.25rem;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

/* Page 2 Amber Schedule Box */
.invoice-schedule-card {
    background: rgba(254, 243, 199, 0.45);
    border: 1px solid rgba(251, 191, 36, 0.65);
    border-radius: 12px;
    padding: 0.65rem 0.85rem;
    margin-top: 0.65rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.invoice-schedule-badge-title {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #8c3d47;
    margin-bottom: 0.4rem;
}

.invoice-schedule-pill {
    background: #ffffff;
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid #e7e5e4;
    font-weight: 700;
    color: #1c1917;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    font-size: 0.78rem;
    display: inline-block;
}

.invoice-schedule-pill.time-pill {
    color: #8c3d47;
    border-color: rgba(140, 61, 71, 0.25);
}

/* Page 2 Itemized Table (AI Studio matching) */
.invoice-itemized-header {
    display: flex;
    justify-content: space-between;
    padding: 0.65rem 0;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #78716c;
    border-top: 1px solid #e7e5e4;
    border-bottom: 1px solid #e7e5e4;
    margin-top: 1rem;
}

.invoice-itemized-list {
    display: flex;
    flex-direction: column;
}

.invoice-itemized-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f5f5f4;
    font-size: 0.86rem;
}

.invoice-itemized-desc-wrap {
    flex: 1;
    padding-right: 1.5rem;
}

.invoice-itemized-title {
    font-weight: 500;
    color: #1c1917;
    margin: 0;
}

.invoice-itemized-subtext {
    font-size: 0.76rem;
    color: #78716c;
    margin-top: 2px;
}

.invoice-itemized-price {
    font-weight: 600;
    color: #1c1917;
    text-align: right;
    white-space: nowrap;
}

/* Page 2 TOTAL block */
.invoice-total-section {
    margin-top: 1.25rem;
    padding-bottom: 0.4rem;
}

.invoice-total-label-sp {
    text-align: right;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: #78716c;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.invoice-total-row-main {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-top: 0.5rem;
    border-top: 1px solid #e7e5e4;
}

.invoice-status-pill-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #57534e;
}

.invoice-grand-total-val {
    font-size: 1.55rem;
    font-weight: 700;
    color: #1c1917;
}

.invoice-due-pill-row {
    margin-top: 0.6rem;
    padding-top: 0.5rem;
    border-top: 1px solid #f5f5f4;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.invoice-due-pill {
    background: #faedef;
    color: #8c3d47;
    padding: 3px 10px;
    border-radius: 6px;
    font-weight: 700;
    border: 1px solid rgba(140, 61, 71, 0.2);
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

/* Page 2 Terms & Policy */
.invoice-sheet-terms-block {
    margin-top: 1.2rem;
    padding-top: 0.85rem;
    border-top: 1px solid #e7e5e4;
    font-size: 0.76rem;
    color: #44403c;
    line-height: 1.55;
}

/* Page 2 Payment Mode & Dual QR Codes */
.invoice-payment-qr-row {
    margin-top: 1.2rem;
    padding-top: 0.85rem;
    border-top: 1px solid #e7e5e4;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.invoice-qr-cards-group {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.invoice-qr-card-plaque {
    background: #ffffff;
    padding: 5px;
    border-radius: 12px;
    border: 1px solid #e7e5e4;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    text-align: center;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.invoice-qr-card-plaque:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

.invoice-qr-badge-lbl {
    font-size: 9px;
    font-weight: 700;
    display: block;
    margin-top: 3px;
}

/* Reusable Brand Footer Banner with Instagram Mini QR */
.invoice-footer-banner-pill {
    background: rgba(252, 242, 244, 0.94);
    border: 1px solid rgba(237, 208, 210, 0.85);
    border-radius: 12px;
    padding: 6px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: #523d38;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
    margin-top: auto;
    width: 100%;
    box-sizing: border-box;
}

.invoice-social-badge-insta {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.invoice-social-badge-fb {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: #1877f2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 11px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.mini-insta-qr-plaque {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #ffffff;
    padding: 4px 8px 4px 5px;
    border-radius: 10px;
    border: 1px solid #ebd9dc;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mini-insta-qr-plaque:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(140, 61, 71, 0.12);
}

.mini-insta-qr-tag {
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #8c3d47;
    display: block;
    line-height: 1.1;
}

/* ================= SHARE & EXPORT MODAL STYLES ================= */
.share-export-modal {
    max-width: 620px;
    width: 95vw;
}

.share-export-card-group {
    padding: 1.1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.share-export-card-group.pdf-group {
    background: rgba(250, 237, 239, 0.7);
    border: 1px solid #f3cbcf;
}

.share-export-card-group.jpg-group {
    background: rgba(254, 243, 199, 0.5);
    border: 1px solid rgba(251, 191, 36, 0.6);
}

.share-export-card-group.mail-group {
    background: #fafaf9;
    border: 1px solid #e7e5e4;
}

.share-export-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.55rem;
    margin-top: 0.65rem;
}

.share-export-quicktext-box {
    background: #ffffff;
    border: 1px solid #e7e5e4;
    border-radius: 8px;
    padding: 0.65rem;
    font-family: monospace;
    font-size: 0.72rem;
    color: #44403c;
    white-space: pre-wrap;
    max-height: 110px;
    overflow-y: auto;
}

/* PRINT MEDIA STYLING */
@media print {
    body * {
        visibility: hidden;
    }
    #full-invoice-printable-container,
    #full-invoice-printable-container * {
        visibility: visible !important;
    }
    #full-invoice-printable-container {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
    }
    .invoice-page-sheet {
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 100vh !important;
        page-break-after: always !important;
        break-after: page !important;
        padding: 2.2rem 2.8rem !important;
        margin: 0 !important;
    }
    .invoice-builder-modal,
    .modal-overlay,
    .navbar,
    .admin-top-bar,
    .admin-dashboard-modal {
        display: none !important;
    }
}

/* ================= LUXURY INVOICE LOGO & IMAGE PICKER ENHANCEMENTS ================= */
.invoice-sheet-logo-center-wrap {
    text-align: center;
    margin: 0.2rem auto 0.75rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 5;
}

.invoice-sheet-logo-p1 {
    width: 215px;
    max-width: 225px;
    height: auto;
    max-height: 72px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.invoice-sheet-logo-p2 {
    width: 215px;
    max-width: 225px;
    height: auto;
    max-height: 70px;
    object-fit: contain;
    display: inline-block;
}

.form-row-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (max-width: 900px) {
    .form-row-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .form-row-4 {
        grid-template-columns: 1fr;
    }
}

.inv-gallery-preset-card {
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.inv-gallery-preset-card:hover {
    border-color: #8c3d47 !important;
    background: #fff8f9 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(140, 61, 71, 0.12);
}

.invoice-disclaimers-accordion summary::-webkit-details-marker {
    display: none;
}

