:root {
    /* --- Warm Rose Gold & Cream Luxury Theme System --- */
    --theme-bg: #fdfbf7;                   /* Luminous Soft Cream / Ivory Base */
    --theme-surface: #ffffff;              /* Crisp Pure White Surface */
    --theme-surface-cream: #f8f3ed;        /* Warm Soft Cream Section Surface */
    --theme-surface-subtle: #f2e9e1;       /* Warm Blush Tint Surface */
    
    /* Rose Gold & Champagne Gold Accents */
    --rose-gold: #b76e79;                  /* Core Rose Gold Accent */
    --rose-gold-dark: #9c545f;             /* Deep Rose Gold for Hovers */
    --rose-gold-light: #e8c4c8;            /* Soft Rose Shimmer */
    --rose-gold-subtle: rgba(183, 110, 121, 0.12); /* Delicate Rose Tint */
    --primary-gold: #c59b63;               /* Champagne Luxury Gold */
    --dark-gold: #a77c44;
    --light-gold: #edd8b4;                 /* Soft Gold Highlight */
    
    /* Gradients */
    --rose-gold-gradient: linear-gradient(135deg, #b76e79 0%, #e8c4c8 50%, #9c545f 100%);
    --gold-gradient: linear-gradient(135deg, #c59b63 0%, #edd8b4 50%, #a77c44 100%);
    --luxury-gradient: linear-gradient(135deg, #b76e79 0%, #edd8b4 50%, #9c545f 100%);
    
    /* Typography & Contrast */
    --text-main: #2b2024;                  /* Deep Warm Rose-Charcoal (Replaces harsh #000) */
    --text-muted: #736267;                 /* Warm Taupe Secondary Text */
    --text-secondary: #8e7a80;             /* Soft Tertiary Text */
    --text-light: #ffffff;

    /* --- Luxury Typography System (Cartier Heritage) --- */
    --font-heading: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --font-sans: 'Jost', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Jost', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-script: 'Pinyon Script', 'Alex Brush', cursive;
    
    /* Structural Framing */
    --theme-header-bg: rgba(255, 255, 255, 0.94); /* Frosted Pure Cream Header */
    --theme-header-sticky-bg: rgba(253, 251, 247, 0.98);
    --theme-footer-bg: #23181a;            /* Grounding Regal Rose-Espresso */
    --theme-footer-text: #f7f1ea;
    --theme-border: rgba(183, 110, 121, 0.22);    /* Delicate Rose-Gold Hairline Border */
    --theme-border-strong: rgba(183, 110, 121, 0.45);
    --theme-card-shadow: 0 8px 25px rgba(183, 110, 121, 0.08);
    --theme-card-shadow-hover: 0 15px 35px rgba(183, 110, 121, 0.16);

    /* Legacy Compatibility Aliases */
    --bg-dark: var(--theme-footer-bg);
    --bg-card: var(--theme-surface);
    --accent: var(--rose-gold);
    --sidebar-width: 260px;
    --header-height: 70px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bg-luxury-light {
    background-color: var(--theme-surface-cream) !important;
}

.bg-luxury-white {
    background-color: var(--theme-surface) !important;
}

.section-light {
    background-color: var(--theme-surface-cream) !important;
}

/* Luxury Standardization */
.luxury-heading {
    font-family: var(--font-heading) !important;
    font-weight: 600 !important;
    font-size: 2.2rem !important;
    color: var(--text-main) !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 12px !important;
}

.luxury-section {
    padding: 40px 0 !important;
}

html,
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-body);
    font-weight: 400;
    letter-spacing: 0.2px;
    overflow-x: clip;
    width: 100%;
}

h1, h2, h3, h4, h5, h6,
.font-playfair,
.font-cormorant,
.font-serif-luxury {
    font-family: var(--font-heading) !important;
}

.text-script,
.font-script,
.hero-script-tag {
    font-family: var(--font-script) !important;
}

* {
    box-sizing: inherit;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

body {
    background: var(--theme-bg);
    color: var(--text-main);
    overflow-x: clip;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--theme-surface-cream);
}

::-webkit-scrollbar-thumb {
    background: var(--rose-gold);
    border-radius: 10px;
}

/* Glassmorphism Classes */
.glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--theme-border);
    box-shadow: var(--theme-card-shadow);
}

/* Buttons */
.btn-gold {
    background: var(--rose-gold-gradient);
    background-size: 200% auto;
    color: #ffffff !important;
    font-weight: 600;
    padding: 8px 22px;
    border-radius: 8px;
    border: 1px solid var(--rose-gold-light);
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.82rem;
    box-shadow: 0 4px 12px rgba(183, 110, 121, 0.25);
}

.btn-gold:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(183, 110, 121, 0.35);
    color: #ffffff !important;
    border-color: var(--rose-gold);
}

.btn-dark {
    background: var(--theme-footer-bg) !important;
    color: #fff !important;
    border: 1px solid var(--theme-border-strong) !important;
    border-radius: 8px;
    transition: var(--transition);
}

.btn-dark:hover {
    background: var(--rose-gold) !important;
    border-color: var(--rose-gold) !important;
    color: #fff !important;
}

.btn-secondary {
    background: var(--theme-surface-cream) !important;
    border: 1px solid var(--theme-border) !important;
    color: var(--text-main) !important;
    padding: 6px 18px !important;
    font-size: 0.8rem !important;
    border-radius: 8px !important;
}

/* Layout */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

.sidebar-container {
    width: var(--sidebar-width);
    background: var(--bg-card);
    border-right: 1px solid rgba(212, 175, 55, 0.2);
    position: fixed;
    left: 0;
    height: 100vh;
    z-index: 1000;
    transition: var(--transition);
    overflow-y: auto;
    scrollbar-width: none;
    /* Firefox */
}

.sidebar-container::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding-top: var(--header-height);
    transition: var(--transition);
    min-width: 0;
}

/* Sidebar Collapsed State for Desktop */
@media (min-width: 992px) {
    .admin-wrapper.sidebar-collapsed .sidebar-container {
        left: calc(-1 * var(--sidebar-width));
    }

    .admin-wrapper.sidebar-collapsed .main-content {
        margin-left: 0;
    }

    .admin-wrapper.sidebar-collapsed .topbar {
        left: 0;
    }
}

@media (max-width: 991px) {
    .sidebar-container {
        left: calc(-1 * var(--sidebar-width));
    }

    .sidebar-container.active {
        left: 0;
    }

    .main-content {
        margin-left: 0;
    }

    .topbar {
        left: 0;
    }
}

/* Logo */
.brand-logo {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin-bottom: 10px;
}

.logo-text {
    font-size: 28px;
    font-weight: 900;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-gold), var(--light-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    position: relative;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
}

.logo-text::after {
    content: "";
    position: absolute;
    inset: -5px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 18px;
}

/* Navigation */
.nav-list {
    list-style: none;
    padding: 20px 0;
}

.nav-item {
    padding: 5px 10px;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 12px 18px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 12px;
    transition: var(--transition);
    margin-bottom: 4px;
    position: relative;
    overflow: hidden;
}

.nav-link i:first-child {
    font-size: 1.1rem;
    width: 8px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.nav-link.active {
    background: linear-gradient(90deg,
            rgba(212, 175, 55, 0.15) 0%,
            rgba(212, 175, 55, 0.05) 100%);
    color: var(--primary-gold);
}

.nav-link.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: var(--primary-gold);
    border-radius: 0 4px 4px 0;
    box-shadow: 2px 0 10px rgba(212, 175, 55, 0.5);
}

.nav-link.active i:first-child {
    color: var(--primary-gold);
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

/* Sidebar Specifics */
.sub-nav-list {
    list-style: none;
    padding-left: 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    position: relative;
}

.sub-nav-list::before {
    content: "";
    position: absolute;
    left: 26px;
    top: 0;
    bottom: 15px;
    width: 1px;
    background: rgba(212, 175, 55, 0.1);
}

.sub-nav-list.show {
    max-height: 500px;
    opacity: 1;
    padding-top: 5px;
    padding-bottom: 10px;
}

.sub-nav-list li {
    position: relative;
}

.sub-nav-list li::before {
    display: none;
}

.sub-nav-list li:hover::before,
.sub-nav-list li a.active::before {
    background: var(--primary-gold);
    box-shadow: 0 0 8px var(--primary-gold);
}

.sub-nav-list a {
    display: block;
    padding: 8px 10px 8px 15px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 400;
    transition: var(--transition);
    border-left: 1px solid transparent;
    margin-left: 25px;
}

.sub-nav-list a:hover,
.sub-nav-list a.active {
    color: var(--primary-gold);
    border-left: 1px solid var(--primary-gold);
}

.dropdown-nav i.fa-chevron-down {
    font-size: 10px;
    transition: transform 0.3s;
    opacity: 0.6;
}

.dropdown-nav.active i.fa-chevron-down,
.dropdown-nav:not(.collapsed) i.fa-chevron-down {
    transform: rotate(180deg);
    opacity: 1;
}

/* Topbar */
.topbar {
    position: fixed;
    top: 0;
    right: 0;
    left: var(--sidebar-width);
    height: var(--header-height);
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 999;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

/* Cards */
.st-card,
.card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    /* height: 100%; */
    position: relative;
    overflow: hidden;
    color: var(--text-main);
}

.card-header-premium {
    padding: 10px 15px;
    background: linear-gradient(to right,
            rgba(212, 175, 55, 0.15),
            transparent);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-body-premium {
    padding: 12px 15px;
}

.st-card:hover,
.card:hover {
    border-color: rgba(212, 175, 55, 0.2);
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

/* Inputs & Forms */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

.st-input,
.form-control,
.form-select {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(212, 175, 55, 0.25) !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    color: #fff !important;
    transition: var(--transition);
    box-shadow: none !important;
    font-size: 0.9rem !important;
}

.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23d4af37' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    background-size: 12px 12px !important;
    background-repeat: no-repeat !important;
    background-position: right 0.75rem center !important;
}

.st-input:focus,
.form-control:focus,
.form-select:focus {
    outline: none !important;
    border-color: var(--primary-gold) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.1) !important;
}

.form-label {
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 0.75rem;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: block;
}

.required-field {
    color: #ff4d4d;
    margin-left: 3px;
}

/* Premium Select Styling */
.form-select {
    cursor: pointer;
    height: 40px !important;
    display: flex;
    align-items: center;
}

table .form-select {
    height: 35px !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    font-size: 0.85rem !important;
}

.form-select:hover {
    border-color: var(--primary-gold) !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

/* Style the file input button */
.form-control[type="file"] {
    padding: 8px 12px !important;
}

.form-control[type="file"]::file-selector-button {
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary-gold);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 4px;
    padding: 4px 12px;
    margin-right: 15px;
    transition: all 0.3s;
    font-size: 0.85rem;
    font-weight: 500;
}

.form-control[type="file"]::file-selector-button:hover {
    background: var(--primary-gold);
    color: #000;
}

.form-select option {
    background: #1a1a1a;
    color: #fff;
    padding: 10px;
}

.form-select option:disabled {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Placeholder Styling */
::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
    opacity: 1;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Table Stylings */
table,
.table {
    width: 100%;
    color: var(--text-main) !important;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 20px;
}

table thead th,
.table thead th {
    background: rgba(212, 175, 55, 0.15) !important;
    color: var(--primary-gold) !important;
    border: none;
    padding: 10px 15px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

table tbody td,
.table tbody td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 8px 12px;
    vertical-align: middle;
    background: transparent;
    color: var(--text-main);
    font-size: 0.85rem;
}

table tbody tr:hover td {
    background: rgba(212, 175, 55, 0.03) !important;
}

table tfoot td,
.table tfoot td {
    background: transparent !important;
    color: var(--primary-gold) !important;
    border-bottom-width: 0 !important;
}

.table-responsive {
    border-radius: 15px;
    overflow-x: auto;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.table-responsive-wrapper {
    width: 100% !important;
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    overflow: hidden;
    background: var(--bg-card);
}

/* Custom Scrollbar for Table */
.table-responsive::-webkit-scrollbar,
.dataTables_scrollBody::-webkit-scrollbar {
    height: 6px;
}

.table-responsive::-webkit-scrollbar-track,
.dataTables_scrollBody::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

.table-responsive::-webkit-scrollbar-thumb,
.dataTables_scrollBody::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
    border-radius: 10px;
}

/* Action Buttons in Table */
.btn-action {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-action:hover {
    transform: scale(1.1);
}

.btn-edit {
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary-gold);
    border-color: rgba(212, 175, 55, 0.2);
}

.btn-edit:hover {
    background: var(--primary-gold);
    color: #000;
}

.btn-view {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
    border-color: rgba(0, 123, 255, 0.2);
}

.btn-view:hover {
    background: #007bff;
    color: #fff;
}

.btn-delete {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border-color: rgba(220, 53, 69, 0.2);
}

.btn-delete:hover {
    background: #dc3545;
    color: #fff;
}

/* Utilities */
.text-gold {
    color: var(--primary-gold) !important;
}

.font-playfair,
.font-cormorant,
.font-serif-luxury {
    font-family: var(--font-heading) !important;
}

.activity-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(212, 175, 55, 0.1);
}

.bg-card {
    background: var(--bg-card) !important;
}

.border-gold {
    border-color: rgba(212, 175, 55, 0.3) !important;
}

[data-bs-toggle="dropdown"] {
    cursor: pointer;
}

/* Fix for wheat background buttons with white text */
.btn-warning,
[style*="background-color: wheat"] {
    background-color: var(--primary-gold) !important;
    color: #000 !important;
    border: none;
}

.btn-warning:hover,
[style*="background-color: wheat"]:hover {
    background-color: var(--dark-gold) !important;
    color: #000 !important;
}

/* Badge colors */
.bg-success {
    background-color: rgba(40, 167, 69, 0.2) !important;
    color: #28a745 !important;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.bg-danger {
    background-color: rgba(220, 53, 69, 0.2) !important;
    color: #dc3545 !important;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

/* Additional tweaks for visibility */
.opacity-50 {
    opacity: 0.85 !important;
}

.opacity-75 {
    opacity: 0.9 !important;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5) !important;
}

.breadcrumb-item.active {
    color: #fff !important;
}

.breadcrumb-item a {
    color: var(--primary-gold) !important;
}

/* ================= SELECT2 CUSTOM STYLING ================= */
.select2-container--default .select2-selection--single {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    height: 35px !important;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #fff !important;
    padding-left: 15px !important;
    padding-right: 40px !important;
    /* Make room for clear icon and arrow */
    position: relative;
}

/* Move Clear (Cut) icon to the right */
.select2-container--default .select2-selection--single .select2-selection__clear {
    position: absolute !important;
    right: 35px !important;
    /* Position it before the arrow */
    left: auto !important;
    color: var(--primary-gold) !important;
    font-size: 18px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 1;
}

.select2-container--default .select2-selection--single .select2-selection__clear:hover {
    color: #fff !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 32px !important;
    right: 10px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: var(--primary-gold) transparent transparent transparent !important;
    border-width: 6px 5px 0 5px !important;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent var(--primary-gold) transparent !important;
    border-width: 0 5px 6px 5px !important;
}

.select2-container--default .select2-selection--single:focus,
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--primary-gold) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    outline: none !important;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.1) !important;
}

/* Dropdown Menu */
.select2-dropdown {
    background-color: #1a1a1a !important;
    border: 1px solid var(--primary-gold) !important;
    border-radius: 8px !important;
    overflow: hidden;
    z-index: 10001;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    background-color: #0f0f0f !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    color: #fff !important;
    border-radius: 5px !important;
}

.select2-results__option {
    padding: 10px 15px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    background-color: transparent !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: rgba(212, 175, 55, 0.2) !important;
    color: var(--primary-gold) !important;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
    background-color: rgba(212, 175, 55, 0.1) !important;
    color: var(--primary-gold) !important;
}

.select2-container--default .select2-results__option--disabled {
    color: rgba(255, 255, 255, 0.3) !important;
}

/* Premium Hero Banner Styles */
.hero-premium {
    height: 100vh;
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

.hero-premium::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(0, 0, 0, 0.8) 0%,
            rgba(0, 0, 0, 0.4) 50%,
            rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.text-script {
    font-family: var(--font-script);
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: -10px;
    display: block;
    opacity: 0.9;
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    font-weight: 400;
    max-width: 450px;
}

.btn-shop-premium {
    display: inline-flex;
    align-items: center;
    background: #fff;
    color: #000 !important;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: capitalize;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-shop-premium i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.btn-shop-premium:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.btn-shop-premium:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .text-script {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-premium {
        text-align: center;
        justify-content: center;
    }

    .hero-premium::before {
        background: rgba(0, 0, 0, 0.6);
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Shop By Categories Styles */
.section-light {
    background-color: #ffffff;
    color: #333 !important;
}

.section-light p,
.section-light span,
.section-light li {
    color: #333 !important;
}

.section-light .subtitle {
    color: #777 !important;
    font-size: 0.95rem;
    margin-bottom: 50px;
}

/* Light section generic overrides */
.best-seller-section,
.trending-product-section,
.featured-product-section,
.customer-reviews-section,
.our-blog-section,
.instagram-section,
.bg-white,
.modal-content {
    color: #333 !important;
}

.best-seller-section h1,
.best-seller-section h2,
.best-seller-section h3,
.trending-product-section h1,
.trending-product-section h2,
.trending-product-section h3,
.featured-product-section h1,
.featured-product-section h2,
.featured-product-section h3,
.customer-reviews-section h1,
.customer-reviews-section h2,
.customer-reviews-section h3,
.our-blog-section h1,
.our-blog-section h2,
.our-blog-section h3,
.instagram-section h1,
.instagram-section h2,
.instagram-section h3,
.modal-content h1,
.modal-content h2,
.modal-content h3,
.modal-content h4,
.modal-content h5,
.modal-content h6 {
    color: #111 !important;
}

.best-seller-section p,
.best-seller-section span,
.best-seller-section li,
.trending-product-section p,
.trending-product-section span,
.trending-product-section li,
.featured-product-section p,
.featured-product-section span,
.featured-product-section li,
.customer-reviews-section p,
.customer-reviews-section span,
.customer-reviews-section li,
.our-blog-section p,
.our-blog-section span,
.our-blog-section li,
.instagram-section p,
.instagram-section span,
.instagram-section li,
.modal-content p,
.modal-content span,
.modal-content li,
.qv-option-label,
.qv-stock-info {
    color: #444 !important;
}

.best-seller-section .text-muted,
.trending-product-section .text-muted,
.featured-product-section .text-muted,
.customer-reviews-section .text-muted,
.our-blog-section .text-muted,
.instagram-section .text-muted,
.modal-content .text-muted {
    color: #666 !important;
}

.category-wrapper {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.category-item {
    text-align: center;
    max-width: 180px;
    transition: transform 0.3s ease;
}

.category-item:hover {
    transform: translateY(-10px);
}

.category-image-container {
    background: #fdfdfd;
    border-radius: 20px;
    margin-bottom: 15px;
    padding: 10px;
    transition: box-shadow 0.3s ease;
}

.category-item:hover .category-image-container {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.category-img-circle {
    width: 160px;
    height: 160px;
    object-fit: contain;
}

.category-name {
    font-size: 1rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 0;
}

.category-count {
    color: #888;
    font-weight: 400;
}

@media (max-width: 768px) {
    .category-wrapper {
        gap: 20px;
    }

    .category-img-circle {
        width: 120px;
        height: 120px;
    }
}

/* Promo Grid Styles */
.promo-section {
    padding: 40px 0 !important;
    background-color: #ffffff;
}

.promo-card {
    position: relative;
    height: 450px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 30px;
}

.promo-img-wrapper {
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.promo-card:hover .promo-img-wrapper {
    transform: scale(1.05);
}

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

.promo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 60%);
}

.promo-content {
    position: absolute;
    bottom: 40px;
    left: 40px;
    z-index: 2;
    color: #fff;
}

.promo-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
    font-weight: 500;
}

.promo-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    font-family: "Montserrat", sans-serif;
}

.btn-promo {
    background: #ffffff;
    color: #000 !important;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-promo i {
    margin-left: 8px;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.btn-promo:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.btn-promo:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .promo-card {
        height: 350px;
    }

    .promo-title {
        font-size: 1.8rem;
    }
}

/* Best Seller Section Styles */
.best-seller-section {
    background-color: #ffffff;
    color: #333;
    padding: 40px 0 !important;
}

.best-seller-section h2 {
    color: #000;
    font-weight: 700;
    margin-bottom: 30px;
}

.product-tabs {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}

.product-tab-link {
    color: #888;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-decoration: none;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.product-tab-link:hover,
.product-tab-link.active {
    color: #e63946;
    border-bottom-color: #e63946;
}

/* Premium Product Card */
.premium-product-card {
    background: #ffffff;
    border: none;
    margin-bottom: 30px;
    transition: all 0.4s ease;
}

.premium-product-img-wrapper {
    position: relative;
    background: #f8f8f8;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1/1.1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.premium-product-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.6s ease;
}

.premium-product-card:hover .premium-product-img {
    transform: scale(1.1);
}

/* Vertical Hover Actions */
.hover-actions-vertical {
    position: absolute;
    right: -50px;
    top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    z-index: 5;
}

.premium-product-card:hover .hover-actions-vertical {
    right: 15px;
    opacity: 1;
}

.action-btn-circle {
    width: 40px;
    height: 40px;
    background: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.action-btn-circle:hover {
    background: #e63946;
    color: #fff;
    transform: scale(1.1);
}

.premium-product-info {
    padding-top: 15px;
    text-align: center;
}

.premium-product-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}

.premium-product-title:hover {
    color: #e63946;
}

.premium-product-price {
    font-size: 0.9rem;
    color: #000;
    font-weight: 700;
}

.price-old {
    color: #aaa;
    text-decoration: line-through;
    margin-right: 8px;
    font-weight: 400;
}

.price-new {
    color: #e63946;
}

/* Updated Quick View Modal Styles */
.modal-content.premium-modal {
    background: #fff;
    border: none;
    border-radius: 0;
    color: #333;
}

.modal-content.premium-modal .modal-header {
    padding: 0;
}

.modal-content.premium-modal .btn-close {
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 10;
    background-color: #f8f8f8;
    opacity: 1;
    padding: 10px;
    border-radius: 50%;
}

.qv-image-box {
    background: #fdfdfd;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.qv-image-box img {
    max-height: 400px;
    object-fit: contain;
}

.qv-details {
    padding: 20px 30px;
}

.qv-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #000;
    line-height: 1.2;
}

.qv-rating-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.qv-rating {
    color: #f59e0b;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.qv-rating span {
    color: #888;
}

.qv-urgency {
    color: #e63946;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.qv-price-row {
    margin-bottom: 25px;
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.qv-price-main {
    font-size: 1.8rem;
    font-weight: 700;
    color: #000;
}

.qv-price-old {
    color: #aaa;
    text-decoration: line-through;
    font-size: 1rem;
}

.qv-discount-badge {
    background: #e63946;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
}

.qv-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.qv-option-label {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: capitalize;
}

.qv-size-guide {
    font-size: 0.75rem;
    color: #333;
    text-decoration: none;
    font-weight: 600;
}

.qv-size-options {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.size-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.75rem;
    color: #666;
}

.size-btn:hover,
.size-btn.active {
    border-color: #000;
    color: #000;
}

.qv-color-options {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
}

.color-swatch {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid #eee;
    cursor: pointer;
    transition: all 0.3s;
}

.color-swatch:hover,
.color-swatch.selected {
    transform: scale(1.1);
    border-color: #000;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.qv-actions-row {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.qv-qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid #eee;
    border-radius: 30px;
    padding: 0 15px;
    gap: 15px;
    height: 50px;
}

.qty-btn {
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    color: #999;
}

.qv-stock-info {
    font-size: 0.8rem;
    color: #888;
    margin-left: 10px;
}

.btn-add-cart-large {
    background: #000;
    color: #fff !important;
    border: none;
    padding: 0 40px;
    border-radius: 30px;
    font-weight: 700;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 50px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.btn-icon-outline {
    width: 50px;
    height: 50px;
    border: 1px solid #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #333;
    transition: all 0.3s;
}

.btn-icon-outline:hover {
    border-color: #000;
    color: #000;
}

.btn-paypal-large {
    background: #ffc439;
    color: #000 !important;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 700;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    font-size: 0.9rem;
}

/* Sale Countdown Section */
.sale-countdown-section {
    background: #fff;
    overflow: hidden;
    color: #000;
}

.countdown-content {
    padding: 100px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.sale-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.sale-subtitle {
    font-size: 0.95rem;
    color: #666;
    max-width: 400px;
    margin-bottom: 40px;
}

.timer-box {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
}

.timer-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timer-num {
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 10px;
}

.timer-label {
    font-size: 0.8rem;
    text-transform: capitalize;
    color: #888;
    letter-spacing: 1px;
}

.timer-sep {
    font-size: 3rem;
    font-weight: 300;
    color: #ddd;
    padding-top: 5px;
}

.btn-voucher {
    background: #000;
    color: #fff !important;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: 0.3s;
}

.btn-voucher:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.sale-image-box {
    height: 100%;
    min-height: 600px;
}

.sale-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Cart & Wishlist Page Styles */
.cart-section,
.wishlist-section {
    padding: 40px 0 !important;
    background: #fff;
    color: #333;
    min-height: 60vh;
}

.cart-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 15px;
}

.cart-table th {
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: #888;
}

.cart-item-row {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
    border-radius: 8px;
}

.cart-item-row td {
    padding: 20px 0;
    vertical-align: middle;
}

.cart-product-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background: #f8f8f8;
    border-radius: 8px;
    margin-right: 20px;
}

.cart-product-title {
    font-weight: 600;
    color: #000;
    text-decoration: none;
    font-size: 1rem;
}

.cart-qty-box {
    display: flex;
    align-items: center;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 5px 12px;
    width: fit-content;
    gap: 12px;
}

.cart-qty-btn {
    background: none;
    border: none;
    font-size: 1rem;
    color: #999;
    cursor: pointer;
}

.cart-remove-btn {
    color: #ff4d4d;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    transition: 0.3s;
}

.cart-remove-btn:hover {
    transform: scale(1.2);
}

.cart-summary {
    background: #fdfdfd;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #eee;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.summary-total {
    border-top: 1px solid #eee;
    margin-top: 20px;
    padding-top: 20px;
    font-weight: 700;
    font-size: 1.2rem;
    color: #000;
}

.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

/* Trending Product Section */
.trending-product-section {
    padding: 40px 0 !important;
    background: #fff;
}

.trending-header {
    text-align: center;
    margin-bottom: 60px;
}

.trending-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 10px;
}

.trending-subtitle {
    font-size: 0.9rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Search Dropdown Styles */
.search-dropdown-wrapper {
    position: absolute;
    top: 100%;
    right: 0;
    width: 350px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    border: 1px solid var(--theme-border-strong);
    border-radius: 12px;
    padding: 15px;
    margin-top: 10px;
    box-shadow: 0 15px 35px rgba(183, 110, 121, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1100;
}

.search-dropdown-wrapper.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-input-container {
    display: flex;
    background: var(--theme-surface-cream);
    border: 1px solid var(--theme-border);
    border-radius: 8px;
    overflow: hidden;
    transition: 0.3s;
}

.search-input-container:focus-within {
    border-color: var(--rose-gold);
    box-shadow: 0 0 15px rgba(183, 110, 121, 0.2);
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-main) !important;
    padding: 10px 15px;
    font-size: 14px;
    outline: none;
}

.search-input::placeholder {
    color: var(--text-muted) !important;
}

.search-btn {
    background: transparent;
    border: none;
    color: var(--rose-gold);
    padding: 0 15px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    color: #fff;
    background: var(--rose-gold);
}

@media (max-width: 991px) {
    .search-dropdown-wrapper {
        position: relative;
        width: 100%;
        top: 0;
        right: 0;
        margin-top: 10px;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .search-dropdown-wrapper.active {
        display: block;
    }
}

/* Compact & Unique Testimonial Section */
.testimonial-card-v2 {
    background: #fff;
    padding: 35px;
    border: 1px solid #d4af37;
    /* Gold border by default */
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Soft shadow by default */
}

.testimonial-card-v2:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-card-v2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* Full width by default */
    height: 3px;
    background: #d4af37;
    transition: transform 0.5s ease;
}

.testimonial-card-v2:hover::before {
    transform: scaleX(1);
}

.testi-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
}

.testi-quote-icon {
    font-size: 20px;
    color: #d4af37;
    opacity: 0.6;
}

.testi-rating {
    color: #ffc107;
    font-size: 12px;
}

.testi-content-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 30px;
    min-height: 100px;
    font-family: var(--font-heading);
    font-style: italic;
}

.testi-footer {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #f8f8f8;
    padding-top: 20px;
}

.testi-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    padding: 2px;
    border: 1px solid #d4af37;
}

.testi-user-info h5 {
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.testi-user-info span {
    font-size: 0.75rem;
    color: #888;
}

.testi-product-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #fff;
    padding: 5px;
    border: 1px solid #d4af37;
    /* Gold border by default */
    border-radius: 8px;
    opacity: 1;
    /* Full opacity by default */
    transition: 0.3s;
}

.testimonial-card-v2:hover .testi-product-badge {
    opacity: 1;
    transform: scale(1.1);
    border-color: #d4af37;
}

/* Premium Blog Section Styles */
.our-blog-section {
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.our-blog-section::before {
    content: "STORIES";
    position: absolute;
    top: 50px;
    right: -30px;
    font-size: 10rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.02);
    z-index: 0;
    pointer-events: none;
}

.blog-cat-premium {
    color: var(--primary-gold);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 10px;
}

.blog-card-premium {
    background: #fff;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e0e0e0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);

    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 15px;
    border-radius: 0;
    position: relative;
}

.blog-card-premium:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-gold);
}

.blog-img-box {
    position: relative;
    overflow: hidden;
    margin-bottom: 25px;
    background: #f8f8f8;
    aspect-ratio: 16 / 10;
}

.blog-img-box img {
    transition: transform 1.5s cubic-bezier(0.19, 1, 0.22, 1);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-premium:hover .blog-img-box img {
    transform: scale(1.1) rotate(1deg);
}

.blog-date-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #111;
    padding: 8px 15px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.blog-content {
    padding: 5px 10px 10px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-title-premium {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 15px;
    line-height: 1.35;
    transition: color 0.3s ease;
}

.blog-card-premium:hover .blog-title-premium {
    color: var(--primary-gold);
}

.blog-excerpt {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 25px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-read-more {
    font-size: 0.75rem;
    font-weight: 800;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none !important;
    position: relative;
    padding-bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    width: fit-content;
    transition: all 0.3s ease;
}

.btn-read-more::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 1px;
    background: var(--primary-gold);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-read-more:hover {
    color: var(--primary-gold);
    gap: 15px;
}

.blog-card-premium:hover .btn-read-more::after {
    width: 100%;
}

.blog-card-premium::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 0 0;
    border-color: transparent transparent var(--primary-gold) transparent;
    transition: all 0.3s ease;
}

.blog-card-premium:hover::after {
    border-width: 0 0 30px 30px;
}

.view-all-blog-wrapper {
    margin-top: 60px;
    text-align: center;
}

.btn-view-all-premium {
    padding: 15px 45px;
    border: 1px solid #111;
    background: transparent;
    color: #111;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
    text-decoration: none !important;
}

.btn-view-all-premium::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #111;
    transition: all 0.4s ease;
    z-index: -1;
}

.btn-view-all-premium:hover {
    color: #fff;
}

.btn-view-all-premium:hover::before {
    left: 0;
}

/* ================= UNIFIED SECTION GAP (REFINED & TIGHT LUXURY FLOW) ================= */
.luxury-section,
.category-section-wrapper,
.best-seller-section,
.trending-product-section,
.featured-product-section,
.cinematic-video-banner-section,
.instagram-section,
.testimonials-luxury-section,
.vip-privilege-section,
.promo-section,
.cart-section,
.wishlist-section,
.checkout-section,
.dashboard-section,
.product-description,
.product-reviews,
#recently-viewed-section,
.boutique-container,
.collections-grid-section,
.services-luxury-section,
.custom-section,
.legal-page,
.flat-single-product {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Page headers (boutique-hero) on subpages: keep padding top and bottom consistent */
.boutique-hero {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Maintain consistent top spacing for the first section of subpages to offset the fixed navbar */
.boutique-hero.mt-5,
.cart-section.mt-5,
.wishlist-section.mt-5,
.checkout-section.mt-5,
.dashboard-section.mt-5,
.flat-single-product.mt-5,
.legal-page.mt-5 {
    margin-top: 80px !important;
}

/* Center pagination container elements (showing text and page links) */
div.mt-5.d-flex.justify-content-center nav>div {
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 24px !important;
    width: 100% !important;
    flex-wrap: wrap !important;
}

hr {
    margin: 10px !important;
    color: inherit;
    border: 0;
    border-top: var(--bs-border-width) solid;
    opacity: 0.25;
}

/* Admin theme overrides for visibility and missing classes */
.admin-wrapper .text-muted:not(th) {
    color: var(--text-muted) !important;
}

.admin-wrapper .bg-gold {
    background-color: var(--primary-gold) !important;
}

.admin-wrapper .btn-outline-gold {
    border: 1px solid var(--primary-gold) !important;
    color: var(--primary-gold) !important;
    background: transparent !important;
    transition: var(--transition) !important;
}

.admin-wrapper .btn-outline-gold:hover {
    background: var(--primary-gold) !important;
    color: #000000 !important;
}

/* TinyMCE Premium Dark Gold Theme Overrides */
.tox-tinymce {
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
    overflow: hidden;
    margin-top: 5px;
}

.tox .tox-toolbar,
.tox .tox-toolbar__primary,
.tox .tox-toolbar__overflow {
    background-color: #1a1a1a !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2) !important;
}

.tox .tox-edit-area__iframe {
    background-color: #111111 !important;
}

/* Compact Layout Overrides for Admin Panel */
.admin-wrapper {
    --header-height: 52px;
}

/* .admin-wrapper .main-content {
    padding: 12px !important;
} */

.admin-wrapper .topbar {
    height: var(--header-height) !important;
    padding: 0 20px !important;
}

.admin-wrapper .st-card,
.admin-wrapper .card {
    border-radius: 12px !important;
}

.admin-wrapper .card-header-premium {
    padding: 8px 15px !important;
}

.admin-wrapper .card-body-premium {
    padding: 12px 15px !important;
}

/* Compact Forms & Inputs */
.admin-wrapper .form-control,
.admin-wrapper .form-select,
.admin-wrapper .st-input {
    padding: 6px 10px !important;
    font-size: 0.85rem !important;
    border-radius: 6px !important;
}

.admin-wrapper .form-label {
    margin-bottom: 4px !important;
    font-size: 0.7rem !important;
}

.admin-wrapper .mb-4 {
    margin-bottom: 0.75rem !important;
    /* Reduces standard vertical spacing */
}

/* Compact Buttons */
.admin-wrapper .btn-gold,
.admin-wrapper .btn-dark,
.admin-wrapper .btn-secondary,
.admin-wrapper .btn {
    padding: 5px 12px !important;
    font-size: 0.75rem !important;
    border-radius: 6px !important;
}

/* Compact Tables */
.admin-wrapper table thead th,
.admin-wrapper .table thead th {
    padding: 8px 12px !important;
    font-size: 0.75rem !important;
}

.admin-wrapper table tbody td,
.admin-wrapper .table tbody td {
    padding: 6px 12px !important;
    font-size: 0.8rem !important;
}

.admin-wrapper .table-responsive {
    border-radius: 8px !important;
}

/* Compact Sidebar & Nav Links */
.admin-wrapper .brand-logo {
    height: 70px !important;
    padding: 10px !important;
    margin-bottom: 0px !important;
}

.admin-wrapper .brand-logo img {
    height: 45px !important;
}

.admin-wrapper .nav-list {
    padding: 10px 0 !important;
}

.admin-wrapper .nav-item {
    padding: 3px 8px !important;
}

.admin-wrapper .nav-link {
    padding: 8px 12px !important;
    border-radius: 8px !important;
    font-size: 0.85rem !important;
}

.admin-wrapper .sub-nav-list a {
    padding: 6px 8px 6px 12px !important;
    font-size: 0.8rem !important;
    margin-left: 20px !important;
}

/* ==========================================================================
   Royal Emerald Green & Gold Theme Overrides (Admin Scope Only)
   ========================================================================== */
.admin-wrapper {
    --primary-gold: #d4af37;
    /* Luxurious Gold */
    --dark-gold: #aa8928;
    /* Deep Gold */
    --light-gold: #f9e29b;
    /* Light Gold */
    --bg-dark: #111313;
    /* Deep Royal Emerald Green */
    --bg-card: #1d1e1e;
    /* Dark Malachite Green */
    --accent: #d4af37;
    /* Accent Gold */
    background: var(--bg-dark) !important;
}

.admin-wrapper .st-card,
.admin-wrapper .card {
    background: var(--bg-card) !important;
    border: 1px solid rgba(212, 175, 55, 0.08) !important;
}

.admin-wrapper .st-card:hover,
.admin-wrapper .card:hover {
    border-color: rgba(212, 175, 55, 0.2) !important;
}

.admin-wrapper .badge.bg-gold {
    background-color: var(--primary-gold) !important;
    color: #000000 !important;
}

.admin-wrapper .border-gold {
    border-color: rgba(212, 175, 55, 0.15) !important;
}

.admin-wrapper .border {
    border-color: rgba(212, 175, 55, 0.12) !important;
}

.admin-wrapper #clock-container {
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
}

/* Gold Metallic Button Gradients */
.admin-wrapper .btn-gold {
    background: linear-gradient(135deg, #d4af37 0%, #f9e29b 50%, #aa8928 100%) !important;
    color: #000000 !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
}

.admin-wrapper .btn-gold:hover {
    background: linear-gradient(135deg, #f9e29b 0%, #d4af37 50%, #aa8928 100%) !important;
    box-shadow: 0 6px 15px rgba(212, 175, 55, 0.25) !important;
}

/* Active Nav States */
.admin-wrapper .nav-link.active {
    background: linear-gradient(90deg,
            rgba(212, 175, 55, 0.12) 0%,
            rgba(212, 175, 55, 0.03) 100%) !important;
    color: var(--primary-gold) !important;
}

.admin-wrapper .nav-link.active::before {
    background: var(--primary-gold) !important;
    box-shadow: 2px 0 10px rgba(212, 175, 55, 0.4) !important;
}

.admin-wrapper .nav-link.active i:first-child {
    color: var(--primary-gold) !important;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.4) !important;
}

.admin-wrapper .sub-nav-list::before {
    background: rgba(212, 175, 55, 0.1) !important;
}

/* Compact & Royal Gold Tables */
.admin-wrapper table thead th,
.admin-wrapper .table thead th {
    background: rgba(212, 175, 55, 0.08) !important;
    color: var(--primary-gold) !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15) !important;
}

.admin-wrapper table tbody tr:hover td {
    background: rgba(212, 175, 55, 0.02) !important;
}

.img-thumbnail{
    padding: .0rem;
}

/* Custom Scrollbar for Royal Gold Theme */
.admin-wrapper ::-webkit-scrollbar-thumb {
    background: var(--primary-gold) !important;
}

/* TinyMCE Editor inside Royal Emerald Theme */
.admin-wrapper .tox-tinymce {
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
}

.admin-wrapper .tox .tox-toolbar,
.admin-wrapper .tox .tox-toolbar__primary,
.admin-wrapper .tox .tox-toolbar__overflow {
    background-color: #0b2820 !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1) !important;
}

/* ================= DATATABLES PREMIUM STYLING ================= */
.dataTables_wrapper {
    color: var(--text-main) !important;
}

.dataTables_wrapper .dataTables_filter {
    margin-bottom: 15px;
    float: right;
    text-align: right;
    color: var(--primary-gold) !important;
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dataTables_wrapper .dataTables_filter input {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(212, 175, 55, 0.25) !important;
    border-radius: 8px !important;
    padding: 6px 12px !important;
    color: #fff !important;
    margin-left: 10px;
    outline: none !important;
    transition: var(--transition);
}

.dataTables_wrapper .dataTables_filter input:focus {
    border-color: var(--primary-gold) !important;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2) !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

/* Pagination Styling */
.dataTables_wrapper .dataTables_paginate {
    padding-top: 15px;
    text-align: right;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    color: var(--text-muted) !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 8px !important;
    padding: 6px 14px !important;
    margin: 0 3px !important;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    color: #000 !important;
    background: linear-gradient(135deg, #d4af37 0%, #f9e29b 100%) !important;
    border-color: var(--primary-gold) !important;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    color: #000 !important;
    background: linear-gradient(135deg, #d4af37 0%, #f9e29b 100%) !important;
    border-color: var(--primary-gold) !important;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
    color: rgba(255, 255, 255, 0.3) !important;
    background: rgba(255, 255, 255, 0.01) !important;
    border-color: rgba(255, 255, 255, 0.03) !important;
    cursor: not-allowed;
    box-shadow: none !important;
}

/* Reusable Sticky Page Utilities */
@media (min-width: 992px) {
    .sticky-filter-card {
        position: sticky !important;
        top: var(--header-height) !important;
        z-index: 100 !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    }

    .table-sticky-header thead th,
    .dataTables_scrollHead {
        position: sticky !important;
        top: calc(var(--header-height) + var(--filter-card-height, 120px)) !important;
        z-index: 90 !important;
        background-color: #2c2a20 !important; /* solid color matching card background + gold tint */
        box-shadow: inset 0 -1px 0 rgba(212, 175, 55, 0.15); /* bottom border visual */
    }

    /* Override parent overflow-hidden to allow sticky headers to overflow vertically */
    .table-responsive-wrapper:has(.table-sticky-header) {
        overflow: visible !important;
    }
}

/* Ensure dataTables_scrollHead table matches the background */
.dataTables_scrollHead table {
    background-color: #2c2a20 !important;
}

/* Reusable scrollable table container (Tbody scrollable, fixed header) */
.table-tbody-scrollable {
    width: 100% !important;
    max-height: calc(100vh - 360px) !important;
    min-height: 270px;
    overflow: auto !important;
    position: relative;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1) !important;
    padding-bottom: 5px;
}

/* Fixed table header relative to the scroll container */
.table-tbody-scrollable .table-sticky-header thead th,
.table-tbody-scrollable table thead th {
    position: sticky !important;
    top: 0 !important;
    z-index: 100 !important;
    background-color: #2c2a20 !important; /* solid theme background color */
    box-shadow: inset 0 -1px 0 rgba(212, 175, 55, 0.15) !important;
}

/* Keep table columns aligned and separate borders correctly */
.table-tbody-scrollable table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    width: 100% !important;
}

/* ==========================================================================
   Responsive / Mobile Topbar Overrides & Title Visibility
   ========================================================================== */
.header-title-desktop {
    display: block;
}

.header-title-mobile {
    display: none;
}

@media (max-width: 991px) {
    .admin-wrapper .topbar {
        left: 0 !important;
        width: 100% !important;
    }

    .header-title-desktop {
        display: none !important;
    }

    .header-title-mobile {
        display: block !important;
    }

    .table-tbody-scrollable table {
        min-width: 750px !important;
    }
}