@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ==========================================
   LOCAL FONT DECLARATIONS — Libra Serif Modern
   All 4 variants loaded for full weight/style coverage.
   font-display: swap prevents FOIT in all browsers.
   ========================================== */
@font-face {
    font-family: 'Libra Serif';
    src: url('./fonts/LibraSerifModern-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Libra Serif';
    src: url('./fonts/LibraSerifModern-Italic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Libra Serif';
    src: url('./fonts/LibraSerifModern-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Libra Serif';
    src: url('./fonts/LibraSerifModern-BoldItalic.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}
/* 1. Elegant Light/Regular Italic for "welcome back" text */
@font-face {
    font-family: 'Lucida Serif';
    src: url('./fonts/LucidaUnicodeCalligraphy.ttf') format('truetype'); /* 🔥 Fixed: format */
    font-weight: 400; /* 🔥 Fixed: Changed 700 to 400 for a sleek editorial look */
    font-style: italic;
    font-display: swap;
}

/* 2. Bold/Normal for "Admin login" heading */
@font-face {
    font-family: 'Lucida Serif';
    src: url('./fonts/LucidaUnicodeCalligraphyBold.ttf') format('truetype'); /* 🔥 Fixed: format */
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
/* ==========================================
   DESIGN TOKENS & CORE STYLES
   ========================================== */
:root {
    --bg-color: #ffffff;
    --primary-pink: oklch(72% .13 15);
    --primary-pink-hover: radial-gradient(circle at 20% 20%, #f6c2c2, #0000 50%), radial-gradient(circle at 80% 60%, #fedbd5, #0000 55%);
    --primary-pink-light: #fef0f5;
    --border-pink: #f7c1d9;
    --text-dark: #222222;
    --text-muted: #666666;
    --shadow-subtle: 0 10px 30px rgba(245, 163, 199, 0.06);
    --shadow-hover: 0 15px 40px rgba(245, 163, 199, 0.15);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --max-width: 1300px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Libra Serif', serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================
   REUSABLE UTILITIES & LAYOUT
   ========================================== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 80px 0;
}

.section-divider {
    border: 0;
    height: 1px;
    background-color: var(--border-pink);
    margin: 0;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
    border: none;
    gap: 8px;
}

.btn-primary {
    background-color: black;
    color: white;
}

.btn-primary:hover {
    /* background-color: var(--primary-pink-hover); */
    transform: translateY(-2px);
    /* box-shadow: 0 5px 15px rgba(245, 163, 199, 0.4); */
}

.btn-outline {
    background-color: var(--text-dark);
    border: 1px solid var(--text-dark);
    color: white;
    border-radius: 214px;
}

.btn-outline:hover {
    transform: translateY(-2px);
}

.btn-sm {
    padding: 7px 20px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 0.08em;
    font-family: "Inter", sans-serif;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 50px;
    background-color: var(--primary-pink-light);
    color: var(--primary-pink-hover);
    border: 1px solid var(--border-pink);
    white-space: nowrap;
}

/* Fade-in Animation utility */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   HEADER & STICKY NAVIGATION (UPDATED)
   ========================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;

    /* 80% opacity (/ 0.8) lagayi hai taake header transparent lagay aur oklch color bhi dikhe */
    background-color: oklch(97.8% 0.012 25 / 0.8);

    /* Piche ka content blur karne ke liye */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    transition: var(--transition-smooth);

    /* Optional: Agar aapko bilkul halki si niche line chahiye toh isko rkhin, warna hata dein */
    border-bottom: 1px solid oklch(90% 0.01 25 / 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* Center Navigation Configuration */
.main-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
    list-style: none;
    margin: 0;
    font-family: system-ui, -apple-system, sans-serif;
    padding: 0;
}

/* Right Actions Configuration */
.right-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
    margin-left: auto; /* Pushes everything to the right side */
}

.mobile-only {
    display: none;
}

.admin-btn {
    border: 1px solid;
    border-radius: 200px;
}

.admin-btn:hover {
    color: white;
    background: black;
}

/* Existing styles maintained */
.nav-link {
    font-weight: 400;
    font-size: 0.95rem;
    color: var(--text-dark);
    position: relative;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: black;
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: black;
}

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

.nav-link.active {
    color: black;
    font-weight: 600;
}

.admin-trigger {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-family: system-ui, -apple-system, sans-serif;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-dark);
    transition: var(--transition-smooth);
}


/* Desktop: hide sidebar-only elements */
.nav-sidebar-header {
    display: none;
}

.nav-icon,
.nav-chevron {
    display: none;
}

#sidebar-admin-item {
    display: none;
}


/* ==========================================
   MOBILE RESPONSIVENESS (BREAKPOINT)
   ========================================== */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    #btn-nav-admin-dashboard {
        display: none !important;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    /* === SIDEBAR DRAWER === */
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 78%;
        max-width: 320px;
        height: 100vh;
        background-color: #fff9f9;
        box-shadow: 6px 0 30px rgba(0, 0, 0, 0.12);
        z-index: 999;
        display: flex;
        flex-direction: column;
        transform: none;
        transition: left 0.38s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
    }

    .main-nav.active {
        left: 0;
    }

    /* === SIDEBAR TOP: Logo + Close button === */
    .nav-sidebar-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 22px 20px 18px;
        border-bottom: 1px solid #f0e0e0;
        flex-shrink: 0;
    }

    .nav-close-btn {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        border: 1.5px solid #ddd;
        background: #fff;
        cursor: pointer;
        color: #e8526a;
        font-size: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        transition: background 0.2s;
    }

    .nav-close-btn:hover {
        background: #ffeef0;
    }

    /* === NAV MENU LIST === */
    .nav-menu {
        display: flex !important;
        flex-direction: column;
        padding: 6px 0;
        gap: 0;
        align-items: stretch;
        flex: 1;
    }

    .nav-menu li {
        border-bottom: 1px solid #f5eaea;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    /* === NAV LINKS: icon + label + chevron === */
    .nav-link {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 17px 20px;
        font-size: 1rem;
        font-weight: 500;
        color: #2a2a2a;
        border-radius: 0;
        text-decoration: none;
    }

    .nav-link::after {
        display: none; /* Remove desktop underline animation on mobile */
    }

    /* Icons & chevrons: visible only on mobile */
    .nav-icon {
        display: block;
        width: 20px;
        height: 20px;
        flex-shrink: 0;
        color: #777;
    }

    .nav-chevron {
        display: block;
        width: 16px;
        height: 16px;
        flex-shrink: 0;
        margin-left: auto;
        color: #bbb;
    }

    /* === ACTIVE STATE: pink pill === */
    .nav-link.active {
        background: #fde8ec;
        color: #e8526a;
        border-radius: 50px;
        margin: 5px 14px;
        padding: 14px 16px;
        font-weight: 600;
    }

    /* Remove border on active item's parent li */
    .nav-menu li:has(.nav-link.active) {
        border-bottom: none;
    }

    .nav-link.active .nav-icon {
        color: #e8526a;
    }

    .nav-link.active .nav-chevron {
        color: #e8526a;
    }

    /* === OVERLAY === */
    .sidebar-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.35s ease, visibility 0.35s ease;
    }


    /* Right actions */
    .right-actions {
        margin-left: auto;
    }

    .business-btn {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    #sidebar-admin-item {
        display: block;
    }

    /* Also hide the desktop admin-login li on mobile when logged in */
    #link-admin-login.parent-hidden {
        display: none;
    }

    #btn-nav-admin-dashboard {
        display: none !important; /* Always hide in top bar on mobile */
    }
}

/* Targets the drop-down selectors specifically inside your campaign/search grids */
.form-group select.form-control-custom {
    width: 100%;
    padding-left: 16px;
    padding-right: 40px; /* Spacing gap to keep text safe from arrow overlay */
    text-align: left;
    appearance: none; /* Removes standard clunky system arrow down browser layouts */
    -webkit-appearance: none;
    -moz-appearance: none;

    /* Injects a custom premium dynamic arrow that scales beautifully */
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
    background-repeat: no-repeat;
    background-position: calc(100% - 16px) center;
    background-size: 16px;
    cursor: pointer;
}

/* ==========================================
   VIEWS ARCHITECTURE (SPA)
   ========================================== */
/*.app-view {*/
/*    display: none;*/
/*    min-height: calc(100vh - 160px);*/
/*}*/

/*.app-view.active-view {*/
/*    display: block;*/
/*}*/

/* ==========================================
   HERO / PROMO SECTIONS
   ========================================== */
.hero-section {
    /*text-align: center;*/
    padding: 70px 0 40px 0;
    /*max-width: 800px;*/
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-subtitle {
    color: oklch(72% .13 15);
    font-size: 2.25rem;
    letter-spacing: 0.5px;
    font-family: 'Libra Serif', serif;
    font-weight: 400;
    font-style: normal;

}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.0;
    margin-bottom: 20px;
    letter-spacing: -2px;
    color: var(--text-dark);
    text-align: center;
}

.hero-subtitle-title {
    color: oklch(72% .13 15);
    /*font-family: 'Cormorant Garamond', serif;*/
    font-size: 4.5rem;
    line-height: 0.5;
    margin-bottom: 38px;
    letter-spacing: -2px;
    text-align: center;
    font-style: italic;
}

.hero-description {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 500px;
    font-weight: 400;
    /* text-align: center; */
    line-height: 1.7;
    margin-bottom: 36px;
    /* font-family: inherit; */
    font-family: "Inter", sans-serif;
}

/* Gradient background wrapper — encompasses hero text + embedded search */
.hero-gradient-wrapper {
    background-color: #fff6f5;
    background: radial-gradient(circle at 20% 20%, #f6c2c2, #0000 50%), radial-gradient(circle at 80% 60%, #fedbd5, #0000 55%);
    /*padding-bottom: 52px;*/
}

/* Search bar when embedded inside the hero section */
.hero-search {
    width: 100%;
    /*max-width: 860px;*/
    margin-top: 8px;
    align-self: center;
}


/* ==========================================
   EXACT MATCH: SCREENSHOT 2026-06-02 01-39-45
   ========================================== */

.search-wrapper-center {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

/* Main Capsule Frame */
.hero-search {
    display: flex;
    align-items: center;
    width: 100%;
    background: #ffffff;
    border-radius: 20px; /* Soft rectangular rounded corners like the image */
    height: 80px;
    padding: 10px 15px 10px 30px;
    box-shadow: 0 10px 30px rgba(246, 194, 194, 0.15);
    border: 1px solid rgba(246, 194, 194, 0.2);
}

/* Input Keyword Block (Wider Left Side) */
.search-field {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1.8;
    height: 100%;
}

.search-field input {
    border: none !important;
    outline: none !important;
    background: transparent !important;
    width: 100%;
    font-size: 1rem;
    color: #333333;
}

/* Exact Dropdown Container Box Allocation */
.search-dropdown {
    display: flex;
    align-items: center;
    flex: 1.2;
    height: 100%;
    padding-left: 20px;
    gap: 12px;
}

.search-dropdown select {
    border: none !important;
    outline: none !important;
    background: transparent !important;
    width: 100%;
    font-size: 0.95rem;
    color: #1a1a1a;
    font-weight: 400;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    /* Native minimal arrow index matched with screenshot placement */
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 0px center / 16px !important;

}

/* ✅ SCREENSHOT SPECIAL: Soft Pink Curved Structural Dividers */
.search-divider {
    height: 85%;
    width: 30px;
    border-right: 1px solid #fedbd5;
    border-radius: 0 15px 15px 0; /* Creates that unique pink curved blend between panels */
    pointer-events: none;
    align-self: center;
}

/* ✅ Exact Matching RESET Button */
.btn-reset {
    background: transparent !important;
    color: #555555 !important;
    border: 1px solid #fedbd5 !important;
    border-radius: 12px !important; /* Soft squared look exactly like screenshot */
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 12px 24px !important;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    margin-left: auto;
}

.btn-reset:hover {
    background-color: #fff6f5 !important;
    border-color: #f6c2c2 !important;
    color: #000000 !important;
}

/* ==========================================
   RESPONSIVE RENDERING MATRIX
   ========================================== */
@media (max-width: 991px) {
    .hero-search {
        flex-direction: column;
        height: auto;
        border-radius: 16px;
        padding: 20px;
        gap: 12px;
    }

    .search-field,
    .search-dropdown {
        width: 100%;
        flex: none;
        height: 55px;
        background: #fffbfb;
        padding: 0 15px;
        border-radius: 8px;
        border: 1px solid rgba(246, 194, 194, 0.15);

    }

    .search-dropdown select {
        background-position: right 10px center !important;
    }

    .search-divider {
        display: none; /* Disables curves on mobile view grid rows stack */
    }

    .btn-reset {
        width: 100%;
        margin-left: 0;
        padding: 14px !important;
        text-align: center;
        background: #fff6f5 !important;
    }
}

/* ==========================================
   OFFERS & GRID STYLING
   ========================================== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.section-titles {
    max-width: 500px;
}

.section-tag {
    color: var(--primary-pink);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.section-heading {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    font-family: "Cormorant Garamond", serif;
}

.section-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: -6px;
}

/* Grid Layout */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.grid-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    border: 1px dashed var(--border-pink);
    border-radius: var(--radius-md);
    background-color: var(--primary-pink-light);
    color: var(--text-muted);
}

/* Premium Card Component */
.card {
    background-color: #ffffff;
    border: 1px solid var(--border-pink);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-pink);
}

.card-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
    background-color: var(--primary-pink-light);
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.card:hover .card-image {
    transform: scale(1.05);
}

.card-tags {
    position: absolute;
    top: 16px;
    left: 16px;
    /* ✅ Crucial: Spans full width inside padding to push elements to opposite ends */
    width: calc(100% - 32px);
    display: flex;
    justify-content: space-between; /* Automatically aligns left item to left, right item to right */
    align-items: center;
    z-index: 5;
}

.badge-black {
    background-color: #000000 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    font-size: 0.7rem !important;
    padding: 6px 12px !important;
    border-radius: 4px !important;
    border: none !important;
    white-space: nowrap;
}

.card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-meta {
    font-size: 0.8rem;
    color: var(--primary-pink-hover);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.card-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 18px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-details {
    border-top: 1px solid var(--border-pink);
    padding-top: 16px;
    margin-top: auto;
    margin-bottom: 20px;
}

.card-detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.card-detail-item:last-child {
    margin-bottom: 0;
}

.card-detail-icon {
    font-size: 0.95rem;
    color: var(--primary-pink);
}

.card-actions {
    display: flex;
    gap: 12px;
}

.card-actions .btn {
    flex: 1;
}

/* ==========================================
   LAUNCH CAMPAIGN (BUSINESS VIEW)
   ========================================== */
.campaign-container {
    /*max-width: 900px;*/
    margin: 40px auto;
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    border: 1px solid var(--border-pink);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-subtle);
    overflow: hidden;
}

.campaign-info {
    background-color: var(--primary-pink-light);
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--border-pink);
}

.campaign-info h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1px;
    font-family: 'Cormorant Garamond';
    line-height: 1.1;
}

.campaign-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
    font-family: system-ui, -apple-system, sans-serif;
}

.campaign-form-box {
    background-color: #ffffff;
    padding: 48px;
}

.form-group {
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-family: 'Cormorant Garamond';
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-pink);
    border-radius: var(--radius-sm);
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    background-color: #ffffff;
    transition: var(--transition-smooth);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary-pink);
    box-shadow: 0 0 0 3px rgba(245, 163, 199, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.form-feedback {
    display: none;
    font-size: 0.85rem;
    margin-top: 6px;
    font-weight: 500;
}

.form-feedback.success {
    display: block;
    color: #4caf50;
}

.form-feedback.error {
    display: block;
    color: #f44336;
}

/* ==========================================
   ABOUT US PAGE
   ========================================== */
.about-section {
    padding: 100px 0;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-logo {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    font-family: 'Cormorant Garamond';
}

.about-mission {
    font-size: 2rem;
    line-height: 1.4;
    font-weight: 400;
    letter-spacing: -0.5px;
    color: var(--text-dark);
    margin-bottom: 50px;
    font-family: system-ui, -apple-system, sans-serif;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.about-feature-item {
    text-align: center;
}

.about-feature-icon {
    font-size: 2rem;
    color: var(--primary-pink);
    margin-bottom: 16px;
}

.about-feature-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    font-family: 'Cormorant Garamond';
}

.about-feature-desc {
    font-size: 0.9rem;
    color: gray;
    font-family: system-ui, -apple-system, sans-serif;
}

/* ==========================================
   CONTACT US PAGE
   ========================================== */
.contact-container {
    /*max-width: 900px;*/
    margin: 40px auto;
    display: grid;
    grid-template-columns: 1.8fr 1.2fr;
    border: 1px solid var(--border-pink);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-subtle);
    overflow: hidden;
}

.contact-form-box {
    background-color: #ffffff;
    padding: 48px;
    border-right: 1px solid var(--border-pink);
}

.contact-info-box {
    background-color: oklch(96% .022 20);
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
    font-family: 'Cormorant Garamond';
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-info-icon {
    font-size: 1.2rem;
    color: var(--primary-pink);
    margin-top: 4px;
}

.contact-info-text h4 {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    font-family: 'Cormorant Garamond';
}

.contact-info-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-family: system-ui, -apple-system, sans-serif;
}

/* ==========================================
   ADMIN LOGIN VIEW
   ========================================== */
.login-wrapper {
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background-color: #ffffff;
    border: 1px solid var(--border-pink);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-subtle);
    padding: 40px;
}

.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-title {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
    font-family: 'Cormorant Garamond';
}

.login-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-family: system-ui, -apple-system, sans-serif;
}

/* ==========================================
   ADMIN DASHBOARD VIEW
   ========================================== */
.admin-dashboard {
    padding: 40px 0;
}

.admin-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-pink);
    padding-bottom: 24px;
    margin-bottom: 30px;
}

.admin-tabs {
    display: flex;
    gap: 12px;
}

.admin-tab-btn {
    background: transparent;
    border: 1px solid var(--border-pink);
    padding: 8px 20px;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.admin-tab-btn.active {
    background-color: var(--primary-pink);
    border-color: var(--primary-pink);
    color: #ffffff;
}

.admin-actions-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.admin-search {
    max-width: 300px;
    width: 100%;
}

/* Admin Data Table */
.admin-table-container {
    border: 1px solid var(--border-pink);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    background-color: #ffffff;
    margin-bottom: 30px;
}

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

.admin-table th,
.admin-table td {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-pink);
    font-size: 0.9rem;
    font-family: system-ui, -apple-system, sans-serif;
}

.admin-table th {
    background-color: var(--primary-pink-light);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: var(--text-dark);
    font-family: 'Cormorant Garamond';
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

.admin-table tr {
    transition: var(--transition-smooth);
}

.admin-table tbody tr:hover {
    background-color: var(--primary-pink-light);
}

.admin-action-buttons {
    display: flex;
    gap: 8px;
}

.btn-icon {
    background: transparent;
    border: 1px solid var(--border-pink);
    padding: 6px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-icon:hover {
    border-color: var(--primary-pink);
    background-color: var(--primary-pink-light);
}

.btn-edit {
    color: #2196f3;
}

.btn-delete {
    color: #f44336;
}

/* ==========================================
   MODAL SYSTEMS (DETAILS & ADMIN EDIT)
   ========================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 200;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal.active-modal {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(34, 34, 34, 0.4);
    backdrop-filter: blur(4px);
    transition: var(--transition-smooth);
}

.modal-content {
    background-color: #ffffff;
    border: 1px solid var(--border-pink);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(245, 163, 199, 0.2);
    width: 100%;
    max-width: 600px;
    position: relative;
    z-index: 201;
    overflow: hidden;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    animation: modalEnter 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalEnter {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ffffff;
    border: 1px solid var(--border-pink);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    background-color: var(--primary-pink);
    border-color: var(--primary-pink);
    color: #ffffff;
}

.modal-body {
    padding: 40px;
    overflow-y: auto;
}

/* Detail Modal specific styling */
.detail-modal-image {
    height: 250px;
    background-color: var(--primary-pink-light);
    width: 100%;
    object-fit: cover;
    border-bottom: 1px solid var(--border-pink);
}

.detail-modal-header {
    margin-bottom: 24px;
}

.detail-modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin: 12px 0 8px 0;
}

.detail-modal-desc {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.7;
}

.detail-modal-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    border-top: 1px solid var(--border-pink);
    border-bottom: 1px solid var(--border-pink);
    padding: 20px 0;
    margin-bottom: 30px;
}

.detail-modal-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.detail-modal-meta-icon {
    font-size: 1.2rem;
    color: var(--primary-pink);
    margin-top: 2px;
}

.detail-modal-meta-info h5 {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.detail-modal-meta-info p {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* Form modal additions */
.modal-title-bar {
    padding: 24px 40px 0 40px;
}

.modal-footer {
    padding: 20px 40px 40px 40px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    background-color: #ffffff;
    border-top: 1px solid var(--border-pink);
}

/* ==========================================
   FOOTER SECTION
   ========================================== */
.footer {
    background-color: oklch(96% .022 20);
    /*border-top: 1px solid var(--border-pink);*/
    padding: 60px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-branding p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 16px;
    max-width: 250px;
    font-family: system-ui, -apple-system, sans-serif;
}

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-family: "Cormorant Garamond", serif;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--transition-smooth);
    font-family: system-ui, -apple-system, sans-serif;
}

.footer-link:hover {
    color: var(--primary-pink);
    padding-left: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-pink);
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: system-ui, -apple-system, sans-serif;
}

/* ==========================================
   3D CONTACT CARDS GRID LAYOUT
   ========================================== */

.contact-cards-wrapper {
    text-align: left !important;
    margin-bottom: 50px;
    width: 100%;
}

.contact-pre-title {
    font-family: "Cormorant Garamond", serif;
    color: #e58787;
    font-size: 1.8rem;
    /*font-style: italic;*/
    display: block;
    /*margin-bottom: 5px;*/
}

.contact-main-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #1a1a1a;
    /*margin-bottom: 15px;*/
    letter-spacing: -0.5px;
}

.contact-sub-text {
    font-family: system-ui, -apple-system, sans-serif;
    color: #666666;
    font-size: 1.05rem;
    margin-bottom: 40px;
}

/* 3D Perspective Grid Container */
.contact-3d-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
    /* Creates 3D depth field context */
    perspective: 1000px;
}

/* Luxury Card Item Setup */
.card-3d-item {
    background: #ffffff;
    border: 1px solid rgba(229, 135, 135, 0.2);
    border-radius: 18px;
    padding: 30px;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform-style: preserve-3d; /* Forces child layers to live in 3D scene */
    cursor: pointer;
}

.card-3d-inner {
    /* Push texts back or forward inside the 3D matrix slightly */
    transform: translateZ(20px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.card-3d-icon {
    font-size: 1.5rem;
    color: #e58787;
    margin-bottom: 20px;
}

.card-3d-label {
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: #999999;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.card-3d-value a {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.8rem;
    color: #1a1a1a;
    font-weight: 600;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.card-3d-value a:hover {
    color: #e58787;
}

/* ✅ HOVER MATRIX: Clean 3D Lift & Smooth Shadow Expansion */
.card-3d-item:hover {
    /* Elevates the card towards the viewer (Z axis) and tilts slightly forward */
    transform: scale(1.03) rotateX(4deg) rotateY(-2deg) translateY(-8px);
    box-shadow: 0 20px 40px rgba(229, 135, 135, 0.12),
    0 1px 3px rgba(0, 0, 0, 0.02);
    border-color: rgba(229, 135, 135, 0.4);
}


/* Animations for Mobile Navigation toggling state */
.menu-toggle.active-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active-toggle span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
}

/* ==========================================
   COMPREHENSIVE MOBILE RESPONSIVENESS
   Audit pass — 992px → 320px
   ========================================== */

/* ── TABLET BREAKPOINT (≤ 992px) ──────────────────────── */
@media (max-width: 992px) {

    /* Card grid: 2-column on tablet */
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Campaign & Contact split-panel collapse to single column */
    .campaign-container,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .campaign-info,
    .contact-info-box {
        border-right: none;
        border-bottom: 1px solid var(--border-pink);
        padding: 32px;
    }

    .campaign-form-box,
    .contact-form-box {
        padding: 32px;
    }

    /* 3D contact grid: 2-column on tablet */
    .contact-3d-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    /* Reduce dramatic 3D tilt intensity for tablet touch use */
    .card-3d-item:hover {
        transform: scale(1.02) translateY(-6px);
        box-shadow: 0 12px 28px rgba(229, 135, 135, 0.1);
    }

    /* Hero title gentle reduction at tablet */
    .hero-title {
        font-size: 3.8rem;
    }

    /* Hero search bar: moderate width on tablet */
    .hero-search {
        max-width: 100%;
    }

    /* Admin table: allow horizontal scroll inside container only */
    .admin-table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .admin-table {
        min-width: 640px;
    }
}

/* ── MOBILE BREAKPOINT (≤ 768px) ──────────────────────── */
@media (max-width: 768px) {

    /* ── GLOBAL SAFETY ── */
    body {
        overflow-x: hidden;
    }

    /* Prevent any element from breaking viewport width */
    .container {
        padding: 0 16px;
    }

    /* ── NAVIGATION ── */
    .menu-toggle {
        display: flex;
    }


    /* ── HERO SECTION ── */
    .hero-gradient-wrapper {
        padding-bottom: 36px;
    }

    .hero-section {
        padding: 44px 34px 28px 34px;;
        /*align-items: center;*/
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    /* Fluid hero title: scales down without overlapping */
    .hero-title {
        /* font-size: clamp(2rem, 8vw, 3.2rem); */
        /* letter-spacing: -1px; */
        line-height: 1.05;
        word-break: break-word;
        hyphens: auto;
        font-size: 48px;
    }

    .hero-description {
        font-size: 0.95rem;
        max-width: 100%;
        margin-bottom: 28px;
    }

    /* ── HERO SEARCH BAR STACKING ── */
    /* The embedded search capsule stacks into clean vertical blocks */
    .search-box,
    .hero-search {
        flex-direction: column;
        align-items: stretch;
        padding: 14px 16px;
        gap: 1rem;
        border-radius: var(--radius-md);
    }

    .search-field {
        width: 100%;
        padding: 12px 8px;
        flex: none;
    }

    .search-field input {
        font-size: 1rem; /* Prevents iOS zoom on input focus */
        width: 100%;
        min-width: 0; /* Prevents flex overflow */
    }

    /* Pink vertical dividers become full-width horizontal rules */
    .search-divider {
        width: 100%;
        height: 1px;
        background-color: var(--border-pink);
        flex-shrink: 0;
    }

    .search-dropdown {
        width: 100%;
        flex: none;
        padding: 12px 8px;
    }

    /* Prevent text overflow inside native select elements */
    .search-dropdown select {
        font-size: 1rem; /* Prevents iOS auto-zoom */
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Dropdown arrow stays contained */
    .search-dropdown::after {
        right: 8px;
    }

    /* RESET badge: full-width block on mobile */
    .btn-reset {
        width: 100%;
        margin-top: 8px;
        padding: 14px 22px;
        border-radius: var(--radius-sm);
        font-size: 0.8rem;
    }

    /* ── OFFER CARDS GRID ── */
    .card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Card tag badges: ensure they stay within image boundary */
    .card-tags {
        position: absolute;
        top: 12px;
        left: 12px;
        right: 12px;
        display: flex;
        gap: 6px;
        flex-wrap: wrap;
        z-index: 5;
        max-width: calc(100% - 24px);
    }

    .badge {
        font-size: 0.7rem;
        padding: 3px 9px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 120px;
    }

    .card-content {
        padding: 18px;
    }

    .card-title {
        font-size: 1.1rem;
    }

    /* Card action buttons: stack vertically on very small screens */
    .card-actions {
        flex-direction: column;
        gap: 10px;
    }

    .card-actions .btn {
        flex: none;
        width: 100%;
        padding: 13px 16px; /* Finger-friendly 44px+ height */
    }

    /* ── SECTION HEADERS ── */
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .section-heading {
        font-size: 1.6rem;
    }

    /* ── CAMPAIGN FORM ── */
    .form-row {
        grid-template-columns: 1fr; /* Always single column on mobile */
        gap: 0;
    }

    .form-control {
        font-size: 1rem; /* Prevent iOS auto-zoom on inputs */
    }

    /* ── ABOUT US ── */
    .about-section {
        padding: 60px 0;
    }

    .about-mission {
        font-size: 1.4rem;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    /* ── 3D CONTACT CARDS ── */
    .contact-3d-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        perspective: none; /* Disable perspective on mobile for performance */
    }

    /* Fully disable 3D rotation effects on touch to prevent scroll jank */
    .card-3d-item {
        transform: none !important;
        transform-style: flat;
        -webkit-transform: none !important;
    }

    .card-3d-item:hover {
        transform: translateY(-4px) !important;
        box-shadow: 0 8px 20px rgba(229, 135, 135, 0.1);
    }

    /* card-3d-inner: disable Z-translate (causes jank on mobile) */
    .card-3d-inner {
        transform: none;
    }

    .contact-main-title {
        font-size: 2.2rem;
        word-break: break-word;
    }

    .contact-pre-title {
        font-size: 1.4rem;
    }

    /* ── MODALS ── */
    .modal {
        padding: 12px;
        align-items: flex-end; /* Slide up from bottom on mobile */
    }

    .modal-content {
        max-width: 100%;
        max-height: 92vh;
        border-radius: var(--radius-md) var(--radius-md) 0 0; /* Bottom sheet feel */
    }

    .modal-body {
        padding: 24px 20px;
    }

    .modal-title-bar {
        padding: 20px 20px 0 20px;
    }

    .modal-footer {
        padding: 16px 20px 24px 20px;
        flex-direction: column-reverse;
        gap: 10px;
    }

    .modal-footer .btn {
        width: 100%;
        justify-content: center;
    }

    /* Detail modal image: shorter on mobile */
    .detail-modal-image {
        height: 180px;
    }

    .detail-modal-title {
        font-size: 1.4rem;
    }

    /* Detail meta grid: single column */
    .detail-modal-meta-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    /* Detail modal CTA buttons */
    #detail-modal-email-btn,
    #detail-modal-action-btn {
        padding: 14px 16px;
    }

    /* ── ADMIN DASHBOARD ── */
    .admin-dashboard {
        padding: 24px 0;
    }

    .admin-header-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .admin-header-bar h1 {
        font-size: 1.7rem !important;
    }

    .admin-actions-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .admin-actions-bar > div {
        flex-direction: column;
        gap: 10px;
    }

    .admin-actions-bar .btn {
        width: 100%;
        justify-content: center;
    }

    .admin-search {
        max-width: 100%;
    }

    /* Admin table: scrollable horizontally */
    .admin-table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: var(--radius-sm);
    }

    .admin-table {
        min-width: 560px;
    }

    .admin-table th,
    .admin-table td {
        padding: 12px 14px;
        font-size: 0.82rem;
        white-space: nowrap;
    }

    /* Admin form row: single column */
    #admin-item-form .form-row {
        grid-template-columns: 1fr;
    }

    /* ── LOGIN CARD ── */
    .login-card {
        padding: 28px 20px;
    }

    .login-title {
        font-size: 1.5rem;
    }

    /* ── FOOTER ── */
    .footer {
        padding: 40px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-branding {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-branding p {
        max-width: 100%;
    }

    .footer-col {
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* ── SMALL MOBILE SAFETY NET (≤ 480px) ────────────────── */
@media (max-width: 480px) {

    .hero-title {
        /* font-size: clamp(1.8rem, 9vw, 2.4rem); */
        letter-spacing: -0.5px;
    }

    .hero-subtitle {
        font-size: 30px;
    }

    .hero-section {
        padding: 39px 25px 22px 25px;
    }

    .hero-subtitle-title {
        font-size: 48px;
    }

    /* Campaign/contact padding reduction on very small screens */
    .campaign-info,
    .contact-info-box,
    .campaign-form-box,
    .contact-form-box {
        padding: 24px 16px;
    }

    /* Section heading floor size */
    .section-heading {
        font-size: 1.4rem;
    }

    /* Prevent card image overflow on tiny screens */
    .card-image-wrapper {
        height: 170px;
    }

    /* Make all buttons a reliable finger-friendly height */
    .btn {
        min-height: 44px;
        padding: 11px 20px;
    }

    .btn-sm {
        min-height: 40px;
    }
}

/* ── TINY VIEWPORT SAFETY (≤ 360px) ───────────────────── */
@media (max-width: 360px) {

    .hero-title {
        font-size: 1.75rem;
        letter-spacing: -0.3px;
    }

    .hero-description {
        font-size: 0.88rem;
    }

    /* Admin table: reduce minimum width for very tiny phones */
    .admin-table {
        min-width: 420px;
    }

    /* Reduce contact card 3D value font */
    .card-3d-value a {
        font-size: 1.4rem;
    }

    /* Minimal modal padding */
    .modal-body {
        padding: 18px 14px;
    }
}

/* ==========================================
   FIRST-TIME VISITOR LUXURY MODAL
   ========================================== */

.premium-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 26, 26, 0.4);
    backdrop-filter: blur(8px); /* Blur layout for ultra luxury premium feel */
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999; /* Absolute top priority layer */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* When active, activates smooth overlay transition */
.premium-modal-overlay.is-active {
    opacity: 1;
    pointer-events: auto;
}

/* Modal Surface Card Design */
.premium-modal-card {
    background: #ffffff;
    width: 100%;
    max-width: 580px;
    padding: 60px 50px;
    border-radius: 24px;
    border: 1px solid rgba(246, 194, 194, 0.3);
    position: relative;
    box-shadow: 0 25px 60px rgba(246, 194, 194, 0.25);
    text-align: center;
    transform: translateY(40px) scale(0.95);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.premium-modal-overlay.is-active .premium-modal-card {
    transform: translateY(0) scale(1);
}

/* Sleek Minimal Close Button */
.premium-modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none !important;
    border: none !important;
    color: #999999;
    cursor: pointer;
    padding: 5px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.premium-modal-close:hover {
    color: #1a1a1a;
    transform: rotate(90deg);
}

/* Typography Hierarchy matching hero alignment metrics */
.modal-pre-title {
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #e58787;
    display: block;
    margin-bottom: 15px;
}

.modal-main-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 2.6rem;
    font-weight: 600;
    line-height: 1.2;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.modal-desc {
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 0.95rem;
    color: #666666;
    line-height: 1.6;
    max-width: 440px;
    margin: 0 auto 35px auto;
}

/* Custom Input Field */
.modal-input-group {
    width: 100%;
    margin-bottom: 16px;
}

.modal-input-group input {
    width: 100%;
    height: 54px;
    border: 1px solid #fedbd5 !important;
    border-radius: 50px !important;
    padding: 0 25px;
    font-size: 0.95rem;
    color: #1a1a1a;
    outline: none !important;
    text-align: center;
    transition: all 0.3s ease;
    background-color: #fffbfb;
}

.modal-input-group input:focus {
    border-color: #e58787 !important;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(229, 135, 135, 0.1);
}

/* Solid Premium Interactive Trigger Button */
.btn-modal-submit {
    width: 100%;
    height: 54px;
    background: #000000 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50px !important;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.btn-modal-submit:hover {
    background: #222222 !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.modal-footer-note {
    font-size: 0.75rem;
    color: #aaaaaa;
    margin-top: 20px;
}

/* Responsive adjustment for small screens */
@media (max-width: 576px) {
    .premium-modal-card {
        padding: 40px 24px;
        margin: 0 16px;
    }

    .modal-main-title {
        font-size: 2rem;
    }
}

/* Card Container */
.luxury-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 24px;
    width: 100%;
    max-width: 420px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.luxury-card:hover {
    transform: translateY(-6px);
    /* Soft premium gray shadow lift effect */
    box-shadow: 0 20px 38px rgba(15, 20, 30, 0.08), 0 4px 12px rgba(15, 20, 30, 0.03);
}

/* Image Section & Badges */
.luxury-card-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3.4; /* Exact portrait-ish ratio matching the screenshot */
    overflow: hidden;
}

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

.luxury-card:hover .luxury-card-image {
    transform: scale(1.06);
}

.luxury-card-tags {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    width: calc(100% - 32px);
    z-index: 2;
}

.luxury-badge-white {
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a1a;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-family: 'Inter';
}

.luxury-badge-black {
    background: #111111;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Inter';
}

/* Content Layout */
.luxury-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    /*background: #fffbfa; !* Subtle high-end warm tint from your image *!*/
}

.luxury-card-category {
    color: #f7a399; /* Soft dynamic salmon tone */
    font-size: 10px;
    /* font-weight: 600; */
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.luxury-card-title {
    color: #0f141e;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.3;
    margin: 0 0 8px 0;
    font-family: 'Libra Serif', serif;
}

.luxury-card-vendor {
    color: #626875;
    font-size: 14px;
    font-style: italic;
    margin: 0 0 16px 0;
    font-family: 'Inter';
}

/* Location Layer */
.luxury-card-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #626875;
    font-size: 12px;
    margin-bottom: 24px;
    font-family: 'Inter';
}

.luxury-location-icon {
    color: #8a92a3;
    flex-shrink: 0;
}

/* Footer & Actions Area */
.luxury-card-footer {
    display: flex;
    flex-direction: column;
    gap: 12px; /* Spacing between the top pricing row and the big button */
    margin-top: 16px;
}

.luxury-footer-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.luxury-card-pricing {
    display: flex;
    align-items: center;
    gap: 8px;
}

.luxury-price-discount-tag {
    background-color: #ffeef2;
    color: #ff4d6d;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}

.luxury-btn-email-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: black; /* Vibrant pink matching the image UI */
    color: white;
    text-decoration: none;
    padding: 14px;
    border-radius: 25px; /* Clean rounded pill look */
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    box-sizing: border-box;
    transition: background 0.2s ease;
}

.luxury-btn-email-cta:hover {
    transform: translateY(-6px);
}

.luxury-price-current {
    color: #0f141e;
    font-size: 30px;
    /* font-weight: 500; */
    font-family: 'Libra Serif', serif;
}

.luxury-price-original {
    color: gray;
    font-size: 0.95rem;
    text-decoration: line-through;
}

/* View Link Arrow Layout */
.luxury-btn-view {
    background: none;
    border: none;
    color: #0f141e;
    font-size: 12px;
    /* font-weight: 600; */
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 0;
    text-transform: uppercase;
    outline: none;
    font-family: 'Inter', sans-serif;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    transform-origin: right center; /* Scaling will expand outwards elegantly */
}

.luxury-btn-view span {
    font-size: 12px;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    line-height: 1;
    display: inline-block;
}

/* Combined Hover: Scale button slightly + push the structural arrow forward */
.luxury-card:hover .luxury-btn-view {
    transform: scale(1.05); /* Makes the text and arrow a little bigger */
}

.luxury-card:hover .luxury-btn-view span {
    transform: translateX(5px); /* Smooth layout gap push */
}

/* ==========================================
   DYNAMIC ITEM DETAIL VIEW
   ========================================== */
.detail-view-container {
    max-width: 1140px;
    margin: 0 auto;
    padding-top: 20px;
}

.btn-back-link {
    background: none;
    border: none;
    font-size: 0.8rem;
    /*font-weight: 600;*/
    letter-spacing: 1px;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    transition: var(--transition-smooth);
}

.btn-back-link:hover {
    color: var(--primary-pink);
}

.detail-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Image Presentation Styles */
.detail-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 1 / 1.3;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
}

.luxury-detail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-img-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #000;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    font-family: "Inter", sans-serif;
}

/* Content & Details Formatting */
.detail-category-tag {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--primary-pink);
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.detail-main-heading {
    font-size: 60px;
    font-weight: 500;
    line-height: 1.2;
    color: #111;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.detail-vendor-name {
    font-size: 24px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.detail-vendor-name span {
    color: var(--primary-pink);
    font-weight: 500;
}

/* Dynamic Price Segment */
.detail-price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 24px;
}

.current-price {
    font-size: 48px;
    /* font-weight: 600; */
    color: #111;
    font-family: 'Libra Serif';
}

.old-price {
    font-size: 18px;
    color: var(--text-muted);
    text-decoration: line-through;
    font-family: 'Libra Serif';
}

.detail-long-description {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 32px;
    font-family: system-ui, -apple-system, sans-serif;
}

.detail-divider-line {
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin-bottom: 32px;
}

/* Metadata Vectors styling */
.detail-meta-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
    font-family: system-ui, -apple-system, sans-serif;
}

.meta-inline-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #333;
}

.meta-inline-item i {
    color: var(--primary-pink);
    width: 16px;
    text-align: center;
}

/* Luxury Interaction Buttons Layout */
.detail-actions-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-dark-action {
    background-color: #111;
    color: #fff !important;
    border: 1px solid #111;
    border-radius: 30px;
    padding: 0px 30px;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.btn-dark-action:hover {
    /* background-color: var(--primary-pink); */
    /* border-color: var(--primary-pink); */
    transform: translateY(-2px);
}

.btn-pill-outline {
    background-color: transparent;
    /* color: #111 !important; */
    border: 1px solid #111;
    border-radius: 30px;
    padding: 12px 24px;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    /* gap: 10px; */
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-pill-outline:hover {
    background-color: black;
    color: white;
}

/* Responsive collapse rules */
@media (max-width: 768px) {
    .detail-split-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .detail-main-heading {
        font-size: 2rem;
    }
}

/* ==========================================
   EXACT REPLICATION FOR SCREENSHOT LAYOUT
   ========================================== */

/* Main wrapper stretching out container bounds */
.unique-full-width-section {
    width: 100% !important;
    padding: 0 !important;
    background-color: transparent;
}

/* 🌟 edge-to-edge section header block background */
.campaign-hero-bg-block {
    background-color: oklch(96% 0.022 20) !important;
    width: 100% !important;
    padding: 100px 0 120px 0; /* Padding creates depth exactly like image */
    box-sizing: border-box;
}

.campaign-second {
    background-color: rgba(255, 245, 244) !important;
    width: 100% !important;
    /*padding: 100px 0 120px 0; !* Padding creates depth exactly like image *!*/
    box-sizing: border-box;
}

/* 🌟 Alignment structural helper: Centers the width but keeps inner text left-aligned */
.inner-content-center {
    max-width: 1037px !important; /* Perfect box width constraint matching screenshot */
    margin: 0 auto !important; /* Centers the entire block on viewport horizontally */
    padding: 0 24px !important;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Keeps text elements strictly left-aligned */
    text-align: left !important;
}

/* Spacing to pull cards up into section flow seamlessly */
.grid-spacing-top {
    padding-bottom: 80px !important;
}

/* "for business" badge styles */
.business-badge {
    color: var(--primary-pink) !important;
    font-size: 30px !important;
    font-weight: 500;
    display: block;
    margin-bottom: 4px;
    font-family: 'Libra Serif', serif;
}

/* Main custom header forced to 72px and pure black */
.campaign-hero-bg-block .contact-main-title {
    font-family: 'Libra Serif', serif !important;
    font-size: 72px !important;
    color: #000000 !important;
    font-weight: 400 !important;
    line-height: 1.15 !important;
    margin: 0 0 28px 0 !important;
}

/* Under header description paragraph styling */
.campaign-hero-bg-block .contact-sub-text {
    font-family: 'Inter', sans-serif !important;
    font-size: 1rem !important;
    color: var(--text-muted) !important;
    line-height: 1.65;
    max-width: 540px;
    margin: 0 !important;
}

/* Cards Grid Alignment Row mapping */
.campaign-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    margin-bottom: 40px;
}

.info-card {
    background: #FFFFFF;
    border: 1px solid rgba(245, 163, 199, 0.15);
    border-radius: 20px;
    padding: 32px 24px;
    box-shadow: var(--shadow-subtle);
}

.info-card-icon {
    color: var(--primary-pink);
    font-size: 1.25rem;
    margin-bottom: 18px;
}

.info-card h4 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-family: 'Cormorant Garamond';
}

.info-card p {
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Form block components framework matching layout graphics */
.campaign-form-card {
    background: #FFFFFF;
    border: 1px solid rgba(245, 163, 199, 0.15);
    border-radius: var(--radius-md);
    width: 100%;
    padding: 45px 50px;
    box-sizing: border-box;
    box-shadow: var(--shadow-subtle);
}

.form-card-header {
    margin-bottom: 30px;
}

.form-card-header h3 {
    font-family: 'Libra Serif', serif;
    font-size: 2rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.form-card-header p {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.form-row-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: -8px;
}

.form-control-custom {
    width: 100%;
    background-color: #FFF0ED;
    border: none;
    border-radius: var(--radius-sm);
    padding: 13px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--text-dark);
    box-sizing: border-box;
    outline: none;
}

.form-control-custom::placeholder {
    color: #A6918D;
}

.select-wrapper {
    position: relative;
    width: 100%;
}

.select-custom {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.select-wrapper::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dark);
    pointer-events: none;
    font-size: 0.8rem;
}

.textarea-custom {
    height: 120px;
    resize: vertical;
}

.margin-bottom-md {
    margin-bottom: 15px;
}

.margin-bottom-lg {
    margin-bottom: 25px;
}

.form-submit-wrapper {
    display: flex;
    justify-content: flex-start;
}

.btn-campaign-submit {
    background-color: #000000;
    color: #FFFFFF;
    border: none;
    border-radius: 50px;
    padding: 14px 32px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-campaign-submit:hover {
    transform: translateY(-2px);
    background-color: #222222;
}

/* Mobile Media Balancing Rules overrides */
@media (max-width: 768px) {
    .campaign-hero-bg-block .contact-main-title {
        font-size: 38px !important;
    }

    .campaign-hero-bg-block {
        padding: 60px 0 80px 0;
    }

    .grid-spacing-top {
        margin-top: -40px !important;
    }

    .campaign-cards-grid, .form-row-grid {
        grid-template-columns: 1fr;
    }

    .campaign-form-card {
        padding: 30px 20px;
    }
}
