* {
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, sans-serif;
}

/* .shadow-sm {
    z-index: 99;
} */

.voucher-card.selected {
    border-color: var(--theme-voucher-select-bg, #EFBF04) !important;
    background: color-mix(in srgb, var(--theme-voucher-select-bg, #EFBF04) 12%, transparent);
}

.voucher-card.popular {
    position: relative;
    overflow: visible;
}


#category-scroll-container{
    justify-content: center;
}

.popular-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #EFBF04, #ef4444);
    color: white;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.slide-down {
    animation: slideDown 0.3s ease-out;
}



@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.qr-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.admin-sidebar {
    background: var(--theme-admin-sidebar-bg);
}

/* Professional surfaces for Admin Promo Codes + Settings tabs */
:root {
    --theme-navbar-bg: #061637;
    --theme-navbar-text: #ffffff;
    --theme-footer-bg: #061637;
    --theme-footer-text: #ffffff;
    --theme-button-bg: #EFBF04;
    --theme-button-text: #ffffff;
    --theme-voucher-select-bg: #EFBF04;
    --theme-product-card-bg: #ffffff;
    --theme-product-card-border: #e5e7eb;
    --theme-category-bg: #ffffff;
    --theme-category-text: #1f2937;
    --theme-mobile-sidebar-bg: #061637;
    --theme-mobile-sidebar-text: #ffffff;
    --theme-admin-sidebar-bg: #1e1b4b;
    --theme-admin-header-bg: #ffffff;
    --theme-admin-button-bg: #4f46e5;
    --theme-admin-button-text: #ffffff;
    --theme-admin-background: #f3f4f6;
    --admin-pro-surface: #ffffff;
    --admin-pro-surface-soft: #f8fafc;
    --admin-pro-border: #e2e8f0;
    --admin-pro-text: #0f172a;
    --admin-pro-muted: #64748b;
    --admin-pro-accent: #4f46e5;
    --admin-pro-accent-dark: #4338ca;
    --google-signin-btn-bg: #FFFFFF;
    --google-signin-btn-text: #1F2937;
    --google-signin-btn-border: #D1D5DB;
    --google-signin-btn-hover-bg: #F9FAFB;
    --home-btn-bg: #EFBF04;
    --home-btn-text: #FFFFFF;
    --home-btn-border: #EFBF04;
    --home-btn-hover-bg: #EFBF04;
    --admin-btn-bg: #374151;
    --admin-btn-text: #FFFFFF;
    --admin-btn-border: #374151;
    --admin-btn-hover-bg: #EFBF04;
    --nav-logo-width-mobile: 140px;
    --nav-logo-width-desktop: 180px;
}

#site-navbar {
    background-color: var(--theme-navbar-bg) !important;
    color: var(--theme-navbar-text) !important;
}

#site-navbar #nav-logo-main {
    width: var(--nav-logo-width-mobile) !important;
    height: auto !important;
    max-width: 100%;
}

@media (min-width: 768px) {
    #site-navbar #nav-logo-main {
        width: var(--nav-logo-width-desktop) !important;
    }
}

#site-navbar #nav-search-form button,
#site-navbar #nav-search-form-mobile button,
#nav-search-form-mobile button {
    background-color: var(--theme-button-bg) !important;
    color: var(--theme-button-text) !important;
    border-color: transparent !important;
}

#site-navbar #btn-user-login {
    background-color: var(--google-signin-btn-bg) !important;
    color: var(--google-signin-btn-text) !important;
    border-color: var(--google-signin-btn-border) !important;
}

#site-navbar #btn-user-login:hover {
    background-color: var(--google-signin-btn-hover-bg) !important;
}

#site-navbar #btn-frontend {
    background-color: var(--home-btn-bg) !important;
    color: var(--home-btn-text) !important;
    border-color: var(--home-btn-border) !important;
}

#site-navbar #btn-frontend:hover {
    background-color: var(--home-btn-hover-bg) !important;
}

#site-navbar #btn-admin {
    background-color: var(--admin-btn-bg) !important;
    color: var(--admin-btn-text) !important;
    border-color: var(--admin-btn-border) !important;
}

#site-navbar #btn-admin:hover {
    background-color: var(--admin-btn-hover-bg) !important;
}

#site-navbar .logo-wrap,
#site-navbar #mobile-hamburger {
    color: var(--theme-navbar-text) !important;
}

#site-navbar #btn-frontend #nav-home-text,
#site-navbar #btn-frontend #nav-home-icon {
    color: var(--home-btn-text) !important;
}

#site-navbar #nav-search-input,
#site-navbar #nav-search-input-mobile {
    color: #1f2937 !important;
}

#site-footer {
    background-color: var(--theme-footer-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--theme-footer-text);
}

#site-footer h4,
#site-footer p,
#site-footer li,
#site-footer a,
#site-footer span,
#site-footer i {
    color: var(--theme-footer-text) !important;
}

#frontend-view button.bg-purple-600,
#frontend-view button.bg-blue-600,
#frontend-view button.bg-green-600,
#frontend-view button.bg-indigo-600,
#frontend-view button.bg-\[\#EFBF04\],
#frontend-view a.bg-purple-600,
#frontend-view a.bg-blue-600,
#frontend-view a.bg-green-600,
#frontend-view a.bg-indigo-600,
#frontend-view a.bg-\[\#EFBF04\],
#frontend-view .store-btn,
#frontend-view .load-more-btn,
#frontend-view .ks-review-btn {
    background-color: var(--theme-button-bg) !important;
    color: var(--theme-button-text) !important;
    border-color: transparent !important;
}

#user-dashboard-view button.bg-purple-600,
#user-dashboard-view button.bg-blue-600,
#user-dashboard-view button.bg-green-600,
#user-dashboard-view button.bg-indigo-600,
#user-dashboard-view button.bg-\[\#EFBF04\],
#user-dashboard-view a.bg-purple-600,
#user-dashboard-view a.bg-blue-600,
#user-dashboard-view a.bg-green-600,
#user-dashboard-view a.bg-indigo-600,
#user-dashboard-view a.bg-\[\#EFBF04\],
#user-login-view button.bg-purple-600,
#user-login-view button.bg-blue-600,
#user-login-view button.bg-green-600,
#user-login-view button.bg-indigo-600,
#login-view button.bg-purple-600,
#login-view button.bg-blue-600,
#login-view button.bg-green-600,
#login-view button.bg-indigo-600 {
    background-color: var(--theme-button-bg) !important;
    color: var(--theme-button-text) !important;
    border-color: transparent !important;
}

#admin-view button.bg-purple-600,
#admin-view button.bg-blue-600,
#admin-view button.bg-green-600,
#admin-view button.bg-indigo-600,
#admin-view button.bg-\[\#EFBF04\],
#admin-view .admin-pro-primary-btn,
#admin-view .admin-theme-btn {
    background-color: var(--theme-admin-button-bg) !important;
    color: var(--theme-admin-button-text) !important;
    border-color: transparent !important;
}

#admin-view,
#admin-main {
    background-color: var(--theme-admin-background);
}

.admin-topbar {
    background-color: var(--theme-admin-header-bg);
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 12px;
    padding: 0.75rem 1rem;
}

.category-filter-section {
    background-color: var(--theme-category-bg) !important;
}

.category-filter {
    background-color: var(--theme-category-bg) !important;
    color: var(--theme-category-text) !important;
    border-color: var(--theme-product-card-border) !important;
}

.category-filter.bg-\[\#EFBF04\],
.category-filter.text-white {
    background-color: var(--theme-button-bg) !important;
    color: var(--theme-button-text) !important;
    border-color: transparent !important;
}

#tab-promo-codes.admin-pro-promo,
#tab-settings.admin-pro-settings,
#tab-color-settings.admin-pro-settings,
#tab-popup-manage.admin-pro-settings {
    max-width: 1240px;
    margin: 0 auto;
}

.admin-pro-section-head h1 {
    letter-spacing: -0.015em;
}

.admin-pro-section-head p {
    color: var(--admin-pro-muted);
}

.admin-pro-card {
    border: 1px solid var(--admin-pro-border);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.admin-pro-card-highlight {
    background:
        radial-gradient(circle at top right, rgba(79, 70, 229, 0.08), transparent 52%),
        linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.admin-soft-badge {
    display: inline-flex;
    align-items: center;
    border: 1px solid #c7d2fe;
    background: #eef2ff;
    color: #3730a3;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.74rem;
    font-weight: 600;
    white-space: nowrap;
}

#tab-promo-codes .admin-pro-input,
#tab-settings input:not([type="checkbox"]):not([type="color"]):not([type="file"]),
#tab-settings select,
#tab-settings textarea,
#tab-color-settings input:not([type="checkbox"]):not([type="color"]):not([type="file"]),
#tab-color-settings select,
#tab-color-settings textarea,
#tab-popup-manage input:not([type="checkbox"]):not([type="color"]):not([type="file"]),
#tab-popup-manage select,
#tab-popup-manage textarea {
    border: 1px solid #cbd5e1;
    border-radius: 0.75rem;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

#tab-promo-codes .admin-pro-input:focus,
#tab-settings input:not([type="checkbox"]):not([type="color"]):not([type="file"]):focus,
#tab-settings select:focus,
#tab-settings textarea:focus,
#tab-color-settings input:not([type="checkbox"]):not([type="color"]):not([type="file"]):focus,
#tab-color-settings select:focus,
#tab-color-settings textarea:focus,
#tab-popup-manage input:not([type="checkbox"]):not([type="color"]):not([type="file"]):focus,
#tab-popup-manage select:focus,
#tab-popup-manage textarea:focus {
    outline: none;
    border-color: var(--admin-pro-accent);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.16);
}

#tab-promo-codes input[disabled],
#tab-settings input[disabled],
#tab-settings select[disabled],
#tab-settings textarea[disabled],
#tab-color-settings input[disabled],
#tab-color-settings select[disabled],
#tab-color-settings textarea[disabled],
#tab-popup-manage input[disabled],
#tab-popup-manage select[disabled],
#tab-popup-manage textarea[disabled] {
    background: #f1f5f9;
    color: #64748b;
}

#tab-promo-codes input[type="checkbox"],
#tab-settings input[type="checkbox"],
#tab-color-settings input[type="checkbox"],
#tab-popup-manage input[type="checkbox"] {
    accent-color: var(--admin-pro-accent);
}

.admin-pro-checkbox-row span {
    color: #334155;
    font-weight: 500;
}

.admin-pro-primary-btn {
    border: 1px solid transparent;
    background: linear-gradient(135deg, var(--admin-pro-accent), var(--admin-pro-accent-dark));
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.22);
}

.admin-pro-primary-btn:hover {
    filter: brightness(1.03);
    box-shadow: 0 10px 24px rgba(67, 56, 202, 0.26);
}

.admin-settings-shell {
    border: 1px solid var(--admin-pro-border);
    background:
        radial-gradient(circle at 0% 0%, rgba(79, 70, 229, 0.05), transparent 38%),
        var(--admin-pro-surface);
}

.admin-settings-section {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.1rem;
    background: linear-gradient(180deg, #ffffff, #fbfcff);
}

.color-setting-field {
    border: 1px solid #dbe3ee;
    border-radius: 12px;
    padding: 0.75rem;
    background: #ffffff;
}

#tab-settings .admin-settings-section.border-t {
    border-top: 1px solid #e2e8f0 !important;
    padding-top: 1.1rem !important;
}

.admin-settings-section-title {
    color: #0f172a;
    letter-spacing: -0.01em;
}

#tab-settings .admin-settings-section .border.border-gray-200.rounded-xl {
    border-color: #dbe3ee;
    background: #fbfdff;
}

.pwa-settings-section {
    border-color: #d8e1f0;
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.09), transparent 52%),
        linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
}

.pwa-settings-shell {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pwa-settings-head {
    border: 1px solid #dbe3ee;
    border-radius: 14px;
    padding: 0.9rem 1rem;
    background:
        radial-gradient(circle at top left, rgba(79, 70, 229, 0.09), transparent 42%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    margin-bottom: 0 !important;
}

.pwa-settings-kicker {
    margin: 0 0 0.25rem;
    display: inline-flex;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #4f46e5;
}

.pwa-settings-enable-toggle {
    border: 1px solid #bfdbfe !important;
    background: linear-gradient(180deg, #eff6ff 0%, #e0ecff 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.pwa-settings-grid {
    align-items: start;
}

.pwa-settings-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
}

.pwa-form-block {
    border: 1px solid #dbe3ee;
    border-radius: 12px;
    padding: 0.78rem;
    background:
        radial-gradient(circle at top right, rgba(148, 163, 184, 0.09), transparent 62%),
        #ffffff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.pwa-form-block:focus-within {
    border-color: #a5b4fc;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12), 0 8px 20px rgba(30, 64, 175, 0.08);
    transform: translateY(-1px);
}

#tab-settings .pwa-settings-section label.block {
    color: #334155;
    font-size: 0.79rem;
    font-weight: 600;
}

#tab-settings .pwa-settings-section input[type="color"] {
    min-height: 44px;
    padding: 0.22rem;
    background: #ffffff;
}

.pwa-settings-media-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 74px;
    font-weight: 600;
    white-space: nowrap;
    font-size: 0.76rem;
    line-height: 1;
    padding: 0.5rem 0.62rem !important;
    border-radius: 0.62rem !important;
}

.pwa-settings-upload-btn {
    margin: 0;
}

.pwa-settings-media-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 0.45rem !important;
    align-items: center;
}

.pwa-icon-preview-wrap {
    border: 1px dashed #c7d2fe;
    border-radius: 12px;
    background: linear-gradient(145deg, #f8fbff, #eef2ff);
    min-height: 84px;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.48rem 0.58rem;
}

.pwa-icon-preview-img {
    width: 42px;
    height: 42px;
    border-radius: 9px;
    object-fit: cover;
    border: 1px solid #bfdbfe;
    background: #ffffff;
    flex-shrink: 0;
}

.pwa-icon-preview-caption {
    color: #475569;
    font-size: 0.72rem;
    font-weight: 600;
}

.pwa-form-block-compact {
    padding: 0.66rem;
    border-radius: 11px;
}

.pwa-form-block-compact input:not([type="color"]):not([type="file"]),
.pwa-form-block-compact select {
    min-height: 38px;
    font-size: 0.86rem;
}

.pwa-icon-preview-wrap-compact {
    min-height: 72px;
}

.pwa-settings-preview-pane {
    position: sticky;
    top: 0.9rem;
}

.pwa-settings-preview-pane .pwa-admin-preview-shell {
    border: 1px solid #d7e3f5;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.14), transparent 54%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.pwa-admin-preview-status {
    border-color: #bfdbfe !important;
    color: #334155 !important;
    background: linear-gradient(180deg, #f8fbff 0%, #eff6ff 100%) !important;
}

@media (min-width: 992px) {
    .pwa-settings-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pwa-settings-form > :nth-child(1),
    .pwa-settings-form > :nth-child(4),
    .pwa-settings-form > :nth-child(5),
    .pwa-settings-form > :nth-child(8),
    .pwa-settings-form > :nth-child(10) {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1280px) {
    .pwa-settings-grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr) !important;
    }
}

@media (max-width: 1279px) {
    .pwa-settings-preview-pane {
        position: static;
        top: auto;
    }
}

.popup-settings-media-preview-wrap {
    min-height: 94px;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    background: linear-gradient(145deg, #f8fafc, #ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.popup-settings-media-preview-wrap img,
.popup-settings-media-preview-wrap video {
    width: 100%;
    max-height: 190px;
    object-fit: cover;
    display: block;
}

.popup-preview-root {
    position: relative;
    min-height: 430px;
    border-radius: 18px;
    border: 1px solid #dbe3ee;
    background:
        radial-gradient(circle at top right, rgba(79, 70, 229, 0.18), transparent 56%),
        linear-gradient(180deg, #0f172a 0%, #111827 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow: hidden;
}

.popup-preview-root .site-popup-overlay {
    position: absolute;
}

.popup-preview-root .site-popup-card {
    position: relative;
    z-index: 2;
    margin: 0;
    animation-duration: 0.3s;
}

.site-popup-root {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.site-popup-root.is-open {
    opacity: 1;
    pointer-events: auto;
}

.site-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, var(--site-popup-overlay-opacity, 0.55));
    backdrop-filter: blur(3px);
}

.site-popup-overlay.site-popup-overlay-closable {
    cursor: pointer;
}

.site-popup-card {
    --popup-primary-btn-bg: #4f46e5;
    --popup-primary-btn-text: #ffffff;
    --popup-secondary-btn-bg: #ffffff;
    --popup-secondary-btn-text: #0f172a;
    --popup-text-main: #ffffff;
    --popup-text-sub: rgba(255, 255, 255, 0.9);
    --popup-text-muted: rgba(255, 255, 255, 0.85);
    position: relative;
    width: min(100%, 560px);
    border-radius: 22px;
    padding: 1.3rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: 0 24px 60px rgba(2, 6, 23, 0.35);
    overflow: hidden;
    animation: popupCardIn 0.24s ease-out;
}

.site-popup-width-sm {
    width: min(100%, 420px);
}

.site-popup-width-md {
    width: min(100%, 560px);
}

.site-popup-width-lg {
    width: min(100%, 680px);
}

.site-popup-width-xl {
    width: min(100%, 780px);
}

.site-popup-theme-aurora {
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.55), transparent 50%),
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.32), transparent 42%),
        linear-gradient(150deg, #0f172a 0%, #1e1b4b 55%, #312e81 100%);
}

.site-popup-theme-midnight {
    --popup-primary-btn-bg: #f59e0b;
    --popup-primary-btn-text: #111827;
    --popup-secondary-btn-bg: rgba(255, 255, 255, 0.08);
    --popup-secondary-btn-text: #f9fafb;
    background:
        radial-gradient(circle at top left, rgba(245, 158, 11, 0.32), transparent 45%),
        linear-gradient(165deg, #020617 0%, #111827 50%, #1f2937 100%);
}

.site-popup-theme-clean {
    --popup-primary-btn-bg: #1d4ed8;
    --popup-primary-btn-text: #ffffff;
    --popup-secondary-btn-bg: #f1f5f9;
    --popup-secondary-btn-text: #0f172a;
    --popup-text-main: #0f172a;
    --popup-text-sub: #1e293b;
    --popup-text-muted: #334155;
    border-color: #dbeafe;
    background:
        radial-gradient(circle at top right, rgba(191, 219, 254, 0.7), transparent 46%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.site-popup-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 0;
    color: var(--site-popup-close-color, inherit);
    background: var(--site-popup-close-bg, rgba(148, 163, 184, 0.22));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.site-popup-close-btn:hover {
    transform: scale(1.04);
    background: rgba(148, 163, 184, 0.36);
}

.site-popup-body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.site-popup-badge {
    display: inline-flex;
    align-self: flex-start;
    padding: 0.28rem 0.68rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    background: var(--site-popup-badge-bg, rgba(255, 255, 255, 0.2));
    color: var(--site-popup-badge-color, inherit);
}

.site-popup-title {
    margin: 0;
    line-height: 1.2;
    font-size: var(--site-popup-title-size, clamp(1.2rem, 2.6vw, 1.8rem));
    color: var(--site-popup-title-color, var(--popup-text-main));
    font-weight: 800;
}

.site-popup-subtitle {
    margin: 0;
    color: var(--site-popup-subtitle-color, var(--popup-text-sub));
    font-size: var(--site-popup-subtitle-size, 0.98rem);
    font-weight: 600;
}

.site-popup-message {
    margin: 0;
    color: var(--site-popup-message-color, var(--popup-text-muted));
    line-height: 1.55;
    font-size: var(--site-popup-message-size, 0.94rem);
}

.site-popup-media {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(15, 23, 42, 0.22);
}

.site-popup-media img {
    width: 100%;
    height: 250px;
    object-fit: var(--site-popup-media-fit, cover);
    display: block;
}

.site-popup-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.2rem;
}

.site-popup-btn {
    text-decoration: none;
    border-radius: 11px;
    padding: 0.62rem 1rem;
    font-size: 0.88rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 130px;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.site-popup-btn.hidden {
    display: none !important;
}

.site-popup-actions.hidden {
    display: none !important;
}

.site-popup-btn:hover {
    transform: translateY(-1px);
}

.site-popup-btn-primary {
    color: var(--popup-primary-btn-text);
    background: var(--popup-primary-btn-bg);
}

.site-popup-btn-secondary {
    color: var(--popup-secondary-btn-text);
    background: var(--popup-secondary-btn-bg);
}

.popup-control-disabled {
    opacity: 0.55;
    pointer-events: none;
}

.popup-toggle-chip {
    border: 1px solid #dbeafe;
    border-radius: 999px;
    padding: 0.45rem 0.75rem;
    background: #f8fbff;
}

.pwa-install-widget {
    --pwa-theme-color: #061637;
    --pwa-bg-color: #ffffff;
    --pwa-title-color: #0f172a;
    --pwa-subtitle-color: #334155;
    --pwa-button-text-color: #ffffff;
    --pwa-title-size: 1rem;
    --pwa-subtitle-size: 0.82rem;
    --pwa-button-size: 0.82rem;
    --pwa-offset-x: 20px;
    --pwa-offset-y: 88px;
    position: fixed;
    right: var(--pwa-offset-x);
    bottom: var(--pwa-offset-y);
    z-index: 110;
    width: min(360px, calc(100vw - 20px));
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.22), transparent 52%),
        linear-gradient(180deg, var(--pwa-bg-color) 0%, #f8fafc 100%);
    box-shadow: 0 20px 46px rgba(2, 6, 23, 0.24);
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.pwa-install-widget.pwa-pos-bottom-right {
    top: auto;
    right: var(--pwa-offset-x);
    bottom: var(--pwa-offset-y);
    left: auto;
}

.pwa-install-widget.pwa-pos-bottom-left {
    top: auto;
    right: auto;
    bottom: var(--pwa-offset-y);
    left: var(--pwa-offset-x);
}

.pwa-install-widget.pwa-pos-top-right {
    top: var(--pwa-offset-y);
    right: var(--pwa-offset-x);
    bottom: auto;
    left: auto;
}

.pwa-install-widget.pwa-pos-top-left {
    top: var(--pwa-offset-y);
    right: auto;
    bottom: auto;
    left: var(--pwa-offset-x);
}

.pwa-install-widget.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.pwa-install-widget-body {
    display: flex;
    gap: 0.85rem;
    padding: 0.95rem 1rem 1rem;
}

.pwa-install-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.pwa-install-icon-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pwa-install-copy {
    min-width: 0;
    flex: 1 1 auto;
}

.pwa-install-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #1e40af;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    border-radius: 999px;
    padding: 0.22rem 0.52rem;
    text-transform: uppercase;
    margin-bottom: 0.45rem;
}

.pwa-install-title {
    margin: 0;
    font-size: var(--pwa-title-size);
    line-height: 1.3;
    color: var(--pwa-title-color);
    font-weight: 800;
}

.pwa-install-subtitle {
    margin: 0.28rem 0 0;
    font-size: var(--pwa-subtitle-size);
    color: var(--pwa-subtitle-color);
    line-height: 1.45;
}

.pwa-install-actions {
    margin-top: 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pwa-install-button {
    border: 0;
    border-radius: 10px;
    background: var(--pwa-theme-color);
    color: var(--pwa-button-text-color);
    font-size: var(--pwa-button-size);
    font-weight: 700;
    line-height: 1;
    padding: 0.62rem 0.94rem;
    min-height: 34px;
    cursor: pointer;
    transition: filter 0.2s ease, transform 0.2s ease;
}

.pwa-install-button:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.pwa-install-button[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.pwa-install-hint {
    margin: 0.6rem 0 0;
    font-size: 0.75rem;
    line-height: 1.45;
    color: var(--pwa-subtitle-color);
}

.pwa-install-dismiss {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 0;
    color: #64748b;
    background: rgba(255, 255, 255, 0.84);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.pwa-install-dismiss:hover {
    color: #0f172a;
    background: #ffffff;
}

.pwa-admin-preview-shell {
    border-radius: 14px;
    border: 1px solid #dbe3ee;
    background:
        radial-gradient(circle at top right, rgba(79, 70, 229, 0.12), transparent 52%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 1rem;
    min-height: 260px;
    display: grid;
    grid-template-rows: auto 1fr;
    row-gap: 0.75rem;
}

.pwa-install-widget--preview {
    position: relative;
    right: auto;
    left: auto;
    top: auto;
    bottom: auto;
    width: min(360px, 100%);
    justify-self: end;
    align-self: end;
    margin: 0;
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.pwa-install-widget--preview.pwa-pos-top-right,
.pwa-install-widget--preview.pwa-pos-bottom-right {
    justify-self: end;
}

.pwa-install-widget--preview.pwa-pos-top-left,
.pwa-install-widget--preview.pwa-pos-bottom-left {
    justify-self: start;
}

.pwa-install-widget--preview.pwa-pos-top-right,
.pwa-install-widget--preview.pwa-pos-top-left {
    align-self: start;
}

.pwa-install-widget--preview.pwa-pos-bottom-right,
.pwa-install-widget--preview.pwa-pos-bottom-left {
    align-self: end;
}

.pwa-install-widget--preview .pwa-install-dismiss {
    pointer-events: none;
}

.pwa-install-widget.is-disabled-preview {
    opacity: 0.6;
    filter: grayscale(0.18);
}

@keyframes popupCardIn {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 640px) {
    .site-popup-root {
        padding: 0.8rem;
    }

    .site-popup-card {
        padding: 1rem;
        border-radius: 16px;
    }

    .popup-preview-root {
        min-height: 370px;
    }

    .site-popup-btn {
        flex: 1 1 100%;
    }

    .site-popup-media img {
        height: 210px;
    }

    .pwa-install-widget {
        width: calc(100vw - 20px);
    }

    .pwa-install-widget.pwa-pos-bottom-right,
    .pwa-install-widget.pwa-pos-top-right {
        right: max(10px, var(--pwa-offset-x));
    }

    .pwa-install-widget.pwa-pos-bottom-left,
    .pwa-install-widget.pwa-pos-top-left {
        left: max(10px, var(--pwa-offset-x));
    }

    .pwa-install-widget.pwa-pos-bottom-right,
    .pwa-install-widget.pwa-pos-bottom-left {
        bottom: max(82px, var(--pwa-offset-y));
    }

    .pwa-install-widget.pwa-pos-top-right,
    .pwa-install-widget.pwa-pos-top-left {
        top: max(10px, var(--pwa-offset-y));
    }
}

.admin-empty-state {
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 2rem 1rem;
    text-align: center;
    color: #64748b;
    font-weight: 500;
}

.admin-promo-row {
    background: #ffffff;
    border: 1px solid #dbe3ee;
    border-radius: 14px;
    padding: 1rem;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.admin-promo-row-top {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}

.admin-promo-row-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--admin-pro-text);
    letter-spacing: -0.01em;
}

.admin-promo-row-subtitle {
    margin: 0.15rem 0 0;
    font-size: 0.77rem;
    color: var(--admin-pro-muted);
}

.admin-promo-row-status {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: flex-start;
}

.admin-promo-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .admin-promo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .admin-promo-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.admin-promo-label {
    display: block;
    margin-bottom: 0.32rem;
    font-size: 0.71rem;
    font-weight: 700;
    color: #475569;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.admin-promo-input {
    width: 100%;
    padding: 0.55rem 0.72rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.7rem;
    background: #ffffff;
}

.admin-promo-input:focus {
    outline: none;
    border-color: var(--admin-pro-accent);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.admin-promo-input-disabled {
    background: #f1f5f9;
}

.admin-promo-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.45rem;
    color: #334155;
    font-size: 0.88rem;
    font-weight: 500;
}

.admin-promo-stats {
    margin-top: 0.85rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.admin-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.28rem 0.65rem;
    font-size: 0.74rem;
    line-height: 1.15;
    font-weight: 600;
}

.admin-chip-blue { background: #e0ebff; color: #1d4ed8; }
.admin-chip-indigo { background: #e7e9ff; color: #4338ca; }
.admin-chip-slate { background: #eef2f6; color: #334155; }
.admin-chip-emerald { background: #dcfce7; color: #047857; }
.admin-chip-orange { background: #ffedd5; color: #c2410c; }
.admin-chip-violet { background: #ede9fe; color: #6d28d9; }
.admin-chip-gray { background: #f1f5f9; color: #475569; }
.admin-chip-danger { background: #fee2e2; color: #b91c1c; }
.admin-chip-valid { background: #dcfce7; color: #166534; }
.admin-chip-muted { background: #e2e8f0; color: #475569; }
.admin-chip-enabled { background: #d1fae5; color: #065f46; }

.admin-promo-actions {
    margin-top: 1rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.admin-promo-save-btn,
.admin-promo-delete-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.95rem;
    border-radius: 0.65rem;
    font-size: 0.85rem;
    font-weight: 600;
    transition: transform 0.18s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.admin-promo-save-btn {
    border: 1px solid transparent;
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    color: #ffffff;
    box-shadow: 0 8px 16px rgba(79, 70, 229, 0.2);
}

.admin-promo-save-btn:hover {
    filter: brightness(1.04);
}

.admin-promo-delete-btn {
    border: 1px solid #fecaca;
    background: #fff1f2;
    color: #b91c1c;
}

.admin-promo-delete-btn:hover {
    background: #ffe4e6;
}

@media (max-width: 767px) {
    .admin-soft-badge {
        display: none;
    }

    .admin-settings-shell {
        padding: 1rem;
    }

    .admin-settings-section {
        padding: 0.9rem;
    }

    .admin-promo-row {
        padding: 0.85rem;
    }

    .admin-promo-row-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-promo-check {
        margin-top: 0.2rem;
    }

    .admin-promo-actions {
        justify-content: stretch;
    }

    .admin-promo-save-btn,
    .admin-promo-delete-btn {
        flex: 1;
    }

    .pwa-settings-head {
        padding: 0.8rem;
    }

    .pwa-settings-enable-toggle {
        width: 100%;
        justify-content: center;
    }

    .pwa-form-block {
        padding: 0.68rem;
    }

    .pwa-settings-media-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pwa-settings-media-row > input {
        grid-column: 1 / -1;
    }

    .pwa-icon-preview-wrap {
        min-height: 66px;
    }

    .pwa-icon-preview-caption {
        font-size: 0.68rem;
    }
}

/* Professional surfaces for Page Settings tab and all sub-panels */
#tab-page-settings.admin-pro-page-settings {
    max-width: 1240px;
    margin: 0 auto;
}

#tab-page-settings .ps-subtab-wrap {
    border-bottom-color: #dbe3ee;
}

#tab-page-settings .ps-subtab-btn {
    border: 1px solid #d6dce7;
    border-radius: 0.8rem;
    padding: 0.55rem 0.95rem;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

#tab-page-settings .ps-subtab-btn.ps-subtab-inactive {
    background: #f8fafc;
    color: #334155;
}

#tab-page-settings .ps-subtab-btn.ps-subtab-inactive:hover {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #312e81;
}

#tab-page-settings .ps-subtab-btn.ps-subtab-active {
    color: #ffffff;
    border-color: transparent;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    box-shadow: 0 9px 20px rgba(15, 23, 42, 0.2);
}

#tab-page-settings .ps-panel-card {
    border: 1px solid #dbe3ee;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.06), transparent 48%),
        #ffffff;
}

#tab-page-settings .ps-nested-card {
    border-color: #dbe3ee;
    background: #f8fbff;
}

#tab-page-settings .ps-preview-card {
    border-color: #dbe3ee;
    background: linear-gradient(180deg, #f8fafc, #ffffff);
}

#tab-page-settings .ps-page-card-pro {
    border-color: #dbe3ee;
    background: #ffffff;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.04);
}

#tab-page-settings .ps-page-card-pro:hover {
    transform: translateY(-1px);
}

#tab-page-settings .ps-page-card-pro.ps-page-card-active {
    border-color: #EFBF04;
    background: linear-gradient(135deg, #fff8db, #fff1b8);
    box-shadow: 0 10px 24px rgba(239, 191, 4, 0.22);
    transform: translateY(-1px);
}

#tab-page-settings .ps-page-card-pro.ps-page-card-active span:first-child {
    color: #7a5500;
}

#tab-page-settings .ps-page-card-pro.ps-page-card-active span:last-child {
    color: #8a6a09;
}

#tab-page-settings input:not([type="checkbox"]):not([type="color"]):not([type="file"]),
#tab-page-settings select,
#tab-page-settings textarea,
#tab-page-settings .ps-row-input {
    border: 1px solid #cbd5e1;
    border-radius: 0.7rem;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#tab-page-settings input:not([type="checkbox"]):not([type="color"]):not([type="file"]):focus,
#tab-page-settings select:focus,
#tab-page-settings textarea:focus,
#tab-page-settings .ps-row-input:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.14);
}

#tab-page-settings input[type="checkbox"] {
    accent-color: #4f46e5;
}

#tab-page-settings input[type="color"] {
    border: 1px solid #cbd5e1;
    border-radius: 0.7rem;
    background: #ffffff;
}

#tab-page-settings .ps-upload-chip {
    border: 1px solid #cbd5e1;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    color: #334155;
    font-weight: 600;
}

#tab-page-settings .ps-upload-chip:hover {
    border-color: #94a3b8;
    background: #f1f5f9;
}

#tab-page-settings .ps-soft-btn,
#tab-page-settings button.bg-gray-100 {
    border: 1px solid #cbd5e1;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    color: #334155;
    font-weight: 600;
}

#tab-page-settings .ps-soft-btn:hover,
#tab-page-settings button.bg-gray-100:hover {
    border-color: #94a3b8;
    background: #eef2f7;
}

#tab-page-settings .ps-primary-btn {
    border: 1px solid transparent;
    background: linear-gradient(135deg, #4f46e5, #3730a3);
    color: #ffffff;
    box-shadow: 0 8px 22px rgba(67, 56, 202, 0.22);
}

#tab-page-settings .ps-primary-btn:hover {
    filter: brightness(1.03);
}

#tab-page-settings .ps-secondary-btn {
    border-color: #cbd5e1;
    color: #334155;
    background: #ffffff;
}

#tab-page-settings .ps-secondary-btn:hover {
    background: #f8fafc;
}

#tab-page-settings .ps-sortable-row {
    border-color: #d7dfeb;
    border-radius: 0.75rem;
    background: #ffffff;
}

#tab-page-settings .ps-sortable-row-deep {
    padding: 0.85rem;
    background: #fcfdff;
}

#tab-page-settings .ps-drag-handle {
    color: #64748b;
}

#tab-page-settings .ps-row-remove-btn {
    border: 1px solid #fecaca;
    background: #fff1f2;
    color: #b91c1c;
    border-radius: 0.6rem;
    padding: 0.3rem 0.55rem;
    font-weight: 600;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

#tab-page-settings .ps-row-remove-btn:hover {
    background: #ffe4e6;
    border-color: #fca5a5;
}

#tab-page-settings .ps-section-row {
    border-color: #d7dfeb;
    background: #f8fbff;
}

@media (max-width: 767px) {
    #tab-page-settings .ps-subtab-btn {
        font-size: 0.8rem;
        padding: 0.48rem 0.72rem;
    }

    #tab-page-settings .ps-panel-card {
        padding: 1rem;
    }

    #tab-page-settings .ps-sortable-row {
        gap: 0.45rem;
    }
}

/* Desktop collapse behavior when body has `admin-collapsed` class */
@media (min-width: 768px) {
    body.admin-collapsed #admin-sidebar-panel {
        transform: translateX(-16rem) !important; /* hide the 16rem (w-64) sidebar */
    }

    body.admin-collapsed #admin-main {
        margin-left: 0 !important; /* remove the md:ml-64 spacing */
    }

    /* Smooth transition for main content and sidebar */
    #admin-sidebar-panel, #admin-main {
        transition: transform 0.25s ease, margin-left 0.25s ease;
    }
}

.status-pending { background: #fef3c7; color: #92400e; }
.status-verified { background: #d1fae5; color: #065f46; }
.status-complete { background: #d1fae5; color: #065f46; }
.status-completed { background: #d1fae5; color: #065f46; }
.status-rejected { background: #fee2e2; color: #991b1b; }
.status-failed { background: #fee2e2; color: #991b1b; }

.product-card {
    transition: all 0.3s ease;
    background: var(--theme-product-card-bg);
    border-color: var(--theme-product-card-border);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--theme-product-card-border);
}

/* Softer hover specifically for gift card slider items (less intense shading) */
.giftcard-slider .product-card:hover,
.swiper.giftcard-slider .product-card:hover,
#giftcard-grid .product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.10);
}

/* Styles removed - using inline classes for product cards */

.category-badge {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.hero-gradient {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%);
}

.glow-effect {
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
}

.why-card {
    transition: all 0.3s ease;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(139, 92, 246, 0.2);
}

.stat-card {
    background: #061637;
    transition: all 0.3s ease;
}

.stat-card .text-4xl,
.stat-card .text-5xl {
    color: #efbf04 !important;
}

.stat-card:hover {
    transform: scale(1.01);
}

.new-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    font-size: 10px;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: bold;
    animation: pulse 2s infinite;
    z-index: 10;
}

.load-more-btn {
    background: transparent;
    color: var(--theme-button-bg);
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    transform: none;
    box-shadow: none;
    color: var(--theme-button-text);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

.gradient-text {
    background: linear-gradient(135deg, #EFBF04, #EFBF04);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Banner Slider Styles */
.banner-slider {
    position: relative;
    max-width: 1400px; /* Added max-width to control size on large screens */
    width: 95%;        /* Make it smaller than full width */
    height: 500px;     /* Reduced height for a more compact look */
    overflow: hidden;
    margin: 2rem auto 25px; /* Center the banner and add top margin */
    border-radius: 20px; /* Add rounded corners for a modern feel */
}



/* Mobile */
@media (max-width: 768px) {
    .banner-slider {
        height: 200px; /* Reduced mobile height */
        margin: 1rem auto; /* Center on mobile */
        border-radius: 20px; /* Ensure rounded corners on mobile */
    }
    
}


@media (max-width: 767px) {
    .banner-slide {
        
        background-size: cover !important;
    }
}




.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.banner-slide.active {
    opacity: 1;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(135deg, rgba(30, 27, 75, 0.85) 0%, rgb(0 0 0 / 45%) 50%, rgba(76, 29, 149, 0.6) 100%); */
}

.banner-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.banner-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-dot.active {
    background: white;
    transform: scale(1.05);
}

.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 20;
    border: none;
}

.banner-arrow:hover {
    background: rgba(255, 255, 255, 0.4);
}

.banner-arrow.prev {
    left: 20px;
}

.banner-arrow.next {
    right: 20px;
}

/* Banner Admin Styles */
.banner-preview {
    width: 100%;
    height: 150px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    position: relative;
}

.banner-preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.banner-preview:hover .banner-preview-overlay {
    opacity: 1;
}

/* Login Form Specific Styles */
#login-message.error {
    color: #ef4444; /* Red for errors */
}

#login-message.success {
    color: #22c55e; /* Green for success */
}

#login-form input[type="text"]:focus,
#login-form input[type="email"]:focus,
#login-form input[type="password"]:focus {
    outline: none;
    border-color: #3b82f6; /* Blue for focus, matching Tailwind's focus-border-blue-500 */
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25); /* Focus ring */
}

/* Navigation Login Button */
.nav-login-btn {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.nav-login-btn:hover {
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
    transform: scale(1.01);
}

.nav-login-btn i {
    font-size: 14px;
    margin-right: 4px;
}

@media (min-width: 768px) {
    .nav-login-btn i {
        font-size: 17px;
        margin-right: 7px;
    }
}

/* Chat Widget Styles */
.chat-widget {
    --chat-toggle-bg: #EFBF04;
    --chat-toggle-text: #ffffff;
    --chat-greeting-bg: #ec9600;
    --chat-greeting-text: #ffffff;
    --chat-whatsapp-bg: #25d366;
    --chat-whatsapp-text: #ffffff;
    --chat-viber-bg: #7360F2;
    --chat-viber-text: #ffffff;
    position: fixed;
    bottom: 65px;
    right: 30px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-family: 'Arial', sans-serif;
}

/* Greeting */

/* Hot-Selling styles removed per user request */

/* Mobile sidebar and hamburger styles */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}
.mobile-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-sidebar {
    position: fixed;
    left: -320px;
    top: 0;
    height: 100vh;
    width: 85%;
    max-width: 320px;
    background: var(--theme-mobile-sidebar-bg);
    color: var(--theme-mobile-sidebar-text);
    z-index: 60;
    box-shadow: 0 30px 60px rgba(2,6,23,0.6);
    transition: left 0.35s cubic-bezier(.2,.9,.2,1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.mobile-sidebar.open {
    left: 0;
}

.mobile-sidebar .mobile-sidebar-header {
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.mobile-sidebar-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
}

.mobile-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-sidebar-logo {
    height: 44px;
    width: auto;
}

.mobile-sidebar-nav-wrap {
    padding: 8px 16px;
}

.mobile-sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-sidebar-link {
    color: var(--theme-mobile-sidebar-text) !important;
    text-decoration: none;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 11px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.mobile-sidebar-link:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
    border-color: var(--theme-button-bg);
}

.mobile-sidebar-link-icon {
    width: 20px;
    text-align: center;
}

.mobile-sidebar-nav a {
    color: var(--theme-mobile-sidebar-text);
}

/* Prevent body scroll when sidebar open */
body.no-scroll {
    overflow: hidden !important;
}

/* Hamburger tweaks */
#mobile-hamburger { background: transparent; border: none; }

/* Ensure header elements remain usable above overlay when closed */
@media (min-width: 768px) {
    .mobile-sidebar, .mobile-overlay, #mobile-hamburger { display: none; }
}
.chat-greeting {
    background: var(--chat-greeting-bg);
    color: var(--chat-greeting-text);
    padding: 10px 16px;
    border-radius: 25px;
    margin-bottom: 12px;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.5s ease;
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

/* Close button styling */
.chat-greeting .chat-close {
    cursor: pointer;
    font-weight: bold;
    font-size: 20px;
    line-height: 1;
    position: relative;
    top: -2px;
}

/* Button loading state for OTP send */
.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.85;
}
.btn-loading .btn-spinner {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: rgba(255,255,255,0.95);
}

/* Dark spinner variant for purple buttons */
.btn-loading.dark .btn-spinner {
    color: #ffffff;
}

/* Centered spinner variant: replace button content with centered spinner */
.btn-loading-centered {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
}
.btn-loading-centered .btn-spinner-centered {
    font-size: 16px;
    margin: 0 !important;
}

/* Toggle Button */
.chat-toggle {
    background: var(--chat-toggle-bg);
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--chat-toggle-text);
    padding: 12px 18px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 2px 2px 12px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    position: relative;
    animation: float 3s ease-in-out infinite;
}

/* Hide Google Sign-In container and iframe (remove provider-injected UI) */
#google-signin-btn-container,
iframe[title="Sign in with Google Button"] {
   
}


.chat-toggle:hover {
    transform: scale(1.01);
    box-shadow: 0 0 20px rgba(23,98,191,0.6);
}

.chat-toggle i {
    font-size: 22px;
    animation: bounce 2s infinite;
}

.chat-text {
    font-size: 15px;
    font-weight: bold;
}

/* Dropdown Options */
.chat-options {
    display: none;
    flex-direction: column;
    margin-top: 10px;
    border-radius: 12px;
    box-shadow: 2px 2px 15px rgba(0,0,0,0.2);
    overflow: hidden;
}

/* Individual Option */
.chat-option {
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.chat-option i {
    font-size: 20px;
}

/* WhatsApp Style */
.chat-option.whatsapp {
    background: var(--chat-whatsapp-bg);
    color: var(--chat-whatsapp-text) !important;
}
.chat-option.whatsapp:hover {
    filter: brightness(0.92);
    color: var(--chat-whatsapp-text) !important;
}

/* Viber Style */
.chat-option.viber {
    background: var(--chat-viber-bg);
    color: var(--chat-viber-text) !important;
}
.chat-option.viber:hover {
    filter: brightness(1.06);
    color: var(--chat-viber-text) !important;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .chat-widget {
        bottom: 27px;
        right: 20px;
    }

    .chat-toggle {
        padding: 10px 14px;
        font-size: 14px;
        border-radius: 25px;
    }
    .chat-toggle i {
        font-size: 18px;
    }
    .chat-text {
        font-size: 13px;
    }

    .chat-greeting {
        padding: 8px 12px;
        font-size: 12px;
        border-radius: 20px;
    }
    .chat-greeting .chat-close {
        font-size: 18px;
    }

    .chat-option {
        padding: 10px 14px;
        font-size: 13px;
    }
    .chat-option i {
        font-size: 18px;
    }
}







/* Video Section */

.video-box {
    position: relative;
    max-width: 169vh;
    height: 60vh;
    margin: 60px auto;
    border-radius: 14px;
    overflow: hidden;
}

/* Video stays fixed while scrolling */
.video-box video {
    /* position: fixed; */
    top: 0;
    left: 0;
    width: 100%;
    height: 55vh;
    object-fit: cover;
    z-index: -1;
    border-radius: 20px;
}

.video-box-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-box-play {
    text-align: center;
    color: #fff;
}

.play-icon {
    width: 64px;
    height: 64px;
    background: #fff;
    color: #e53935;
    border-radius: 50%;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 6px;
}

.play-text {
    font-size: 14px;
    letter-spacing: 1px;
}

/* Mobile */
@media (max-width: 768px) {
    .video-box {
        height: 220px;
        margin: 30px 15px;
    }

    .video-box video {
        height: 220px;
    }

    .play-icon {
        width: 52px;
        height: 52px;
        font-size: 22px;
    }
}


#giftcard-grid{
   margin-top: 20px;
    margin-bottom: 20px;
}

#subscription-grid{
    margin-top: 20px;
    margin-bottom: 40px;
}



/* this is feedback section  */

/* 1. FONT & BASE SETUP */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

.ks-google-section {
    font-family: 'Roboto', sans-serif;
    padding: 80px 0;
    background-color: #f8f9fa; /* Light gray fallback */
    background-image: url("Assets/review.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* keep background fixed while scrolling on all devices */
    background-attachment: fixed;
    -webkit-background-attachment: fixed;
    overflow: hidden; /* Clips everything outside the main container */
}

/* Ensure the review background stays fixed on small screens too */
@media (max-width: 768px) {
    .ks-google-section {
        background-attachment: fixed;
        -webkit-background-attachment: fixed;
        background-position: center center;
    }
}

/* 2. HEADER CONTAINER (Fixed Width) */
.ks-main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px; /* Limits the width of the section */
    margin: 0 auto 50px; /* Centers the header */
    padding: 0 20px;
}

.ks-header-left { display: flex; align-items: center; gap: 20px; }
.ks-rating-summary h1 { font-size: 26px; color: #202124; margin: 0; font-weight: 700; }
.ks-stars-row { display: flex; align-items: center; gap: 8px; margin-top: 5px; }
.ks-num { font-weight: 700; font-size: 20px; color: #202124; }
.ks-stars-main { color: #FFD700; letter-spacing: 2px; font-size: 18px; }
.ks-count { color: #70757a; font-size: 14px; }

.ks-review-btn {
    background: #101828;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: background 0.3s;
}

.ks-review-btn:hover { background: #101828; }

/* 3. SLIDER CONTAINER (Fixed Width - Not Full Screen) */
.ks-infinite-slider {
    max-width: 1000px; /* Matches header width */
    margin: 0 auto;    /* Centers the slider box */
    overflow: hidden;  /* Hides cards outside the 1200px area */
    position: relative;
}

.ks-slide-track {
    display: flex;
    /* Track width is dynamic: doubled card list for seamless loop. */
    width: calc(340px * var(--ks-track-count, 12));
    animation: ksInfiniteScroll 30s linear infinite;
}

/* Stops scroll on hover so users can read */
.ks-slide-track:hover { animation-play-state: paused; }

/* 4. BIGGER REVIEW CARD DESIGN */
.ks-card {
    width: 320px; /* Increased size */
    margin-right: 20px; /* Gap between cards */
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px; /* More padding inside */
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(60,64,67, 0.15);
    box-sizing: border-box;
}

.ks-card-top { display: flex; align-items: center; position: relative; margin-bottom: 15px; }
.ks-pfp { width: 44px; height: 44px; border-radius: 50%; margin-right: 12px; }
.ks-meta b { font-size: 15px; color: #202124; display: block; margin: 0; }
.ks-meta span { font-size: 12px; color: #70757a; }
.ks-g-small { position: absolute; top: 0; right: 0; width: 18px; opacity: 0.9; }

.ks-card-stars { color: #FFD700; font-size: 16px; margin-bottom: 10px; }
.ks-card p { 
    font-size: 14px; 
    line-height: 1.6; 
    color: #3c4043; 
    height: 68px; /* Room for about 3-4 lines of text */
    overflow: hidden; 
    margin: 0; 
}

/* 5. SEAMLESS ANIMATION MATH */
@keyframes ksInfiniteScroll {
    0% { transform: translateX(0); }
    100% { 
        /* Scroll one full original-set width, then loop seamlessly. */
        transform: translateX(calc(-340px * var(--ks-half-count, 6)));
    }
}

/* 6. MOBILE RESPONSIVE */
@media (max-width: 1200px) {
    .ks-main-header, .ks-infinite-slider {
        max-width: 90%;
    }
}

@media (max-width: 600px) {
    .ks-main-header { flex-direction: column; align-items: flex-start; gap: 15px; }
}

/* Navbar Styles */
.navbar {
    background-color: rgba(12, 11, 11, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: white;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
}

/* Top promo bar border */
#top-promo-bar {
    border-bottom: 1px solid #f8f5f54d;
}

.nav-container {
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    text-decoration: none;
}

.logo {
    width: 10rem;
    height: auto;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.store-btn {
    padding: 0.5rem 1rem;
    background-color: #EFBF04;
    color: white;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: background-color 0.3s;
}

.store-btn:hover {
    background-color: #EFBF04;
}

.store-btn i {
    margin-right: 0.375rem;
}

@media (min-width: 768px) {
    .logo {
        width: 8.75rem;
    }
    .nav-actions {
        gap: 1rem;
    }
    .store-btn {
        font-size: 1rem;
    }
    .store-btn i {
        margin-right: 0.5rem;
    }
}

/* Footer Styles */
.main-footer {
    background-color: #111827;
    color: white;
    padding-top: 3rem;
    padding-bottom: 3rem;
    margin-top: auto;
}

.footer-container {
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-col h4 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a, .footer-col p, .footer-col li {
    color: #9ca3af;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #1f2937;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}






/* New add css */
.slider-container {
    width: 100%;
    max-width: 1500px;
    height: 500px;
    margin: 30px auto;
    overflow: hidden;
    border-radius: 12px;
    position: relative;
}

@media (max-width: 768px) {
    .slider-container {
        height: 180px;
        margin: 15px 16px;
        width: auto;
        border-radius: 1px;
    }
}


.slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.45, 0, 0.55, 1);
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    /* display: block; */
    object-fit: cover;
}

@media (max-width: 768px) {
    .slide img {
        object-fit: contain;
        height: 100%;
    }
}

.slide-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

/* Hide scrollbar for Chrome, Safari and Opera */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.scrollbar-hide {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Custom Scrollbar for Admin Sidebar */
.scrollbar-thin::-webkit-scrollbar {
    width: 8px;
}

.scrollbar-thin::-webkit-scrollbar-track {
    background: transparent;
}

.scrollbar-thin::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    border: 2px solid transparent;
    background-clip: content-box;
}

.scrollbar-thin::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
    background-clip: content-box;
}

.scrollbar-thin {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

/* Region select styling */
.region-select-wrap {
    position: relative;
}
.region-select-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: #ffffff;
    color: #111827;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.region-select-btn:hover {
    border-color: #cbd5f5;
}
.region-select-wrap.open .region-select-btn,
.region-select-btn:focus {
    border-color: #a855f7;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15);
    outline: none;
}
.region-select-caret {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #6b7280;
}
.region-select-menu {
    position: absolute;
    z-index: 40;
    top: calc(100% + 2px);
    left: 0;
    width: 100%;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    max-height: 220px;
    overflow: auto;
    padding: 4px;
}
.region-select-option {
    display: block;
    width: 100%;
    text-align: left;
    padding: 6px 10px;
    font-size: 0.88rem;
    color: #111827;
    border-radius: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}
.region-select-current {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.region-option-top {
    display: flex;
    align-items: center;
    gap: 8px;
}
.region-flag {
    font-size: 1rem;
    line-height: 1;
    font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", "Twemoji Mozilla", sans-serif;
    font-variant-emoji: emoji;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25em;
    height: 1.25em;
}
.region-flag-img {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 9999px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.region-name {
    font-weight: 600;
    color: #111827;
}
.region-code {
    margin-left: auto;
    font-size: 0.7rem;
    font-weight: 700;
    color: #6b7280;
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 9999px;
}
.region-select-option:hover {
    background: #f3f4f6;
}
.region-select-option.active {
    background: #e0e7ff;
    color: #1e3a8a;
    font-weight: 600;
}

/* Thin, clean scrollbar for Smile One product ID field */
.voucher-smileone-id {
    scrollbar-width: thin;
    scrollbar-color: #60a5fa transparent;
}
.voucher-smileone-id::-webkit-scrollbar {
    height: 6px;
}
.voucher-smileone-id::-webkit-scrollbar-track {
    background: transparent;
}
.voucher-smileone-id::-webkit-scrollbar-thumb {
    background: #60a5fa;
    border-radius: 999px;
}
.voucher-smileone-id::-webkit-scrollbar-thumb:hover {
    background: #3b82f6;
}

/* Category Scroll Buttons */
.cat-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4b5563;
    z-index: 20;
    border: 1px solid #f3f4f6;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 12px;
}

.cat-scroll-btn:hover {
    background: #EFBF04;
    color: white;
    border-color: #EFBF04;
    transform: translateY(-50%) scale(1.1);
}

.cat-scroll-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.cat-scroll-btn.prev { left: 4px; }
.cat-scroll-btn.next { right: 4px; }

/* Hide scroll buttons on desktop */
@media (min-width: 768px) {
    .cat-scroll-btn {
        display: none;
    }
}


.warning-box {
    background-color: #ffe6e6; /* Light red background */
    border: 1px solid #ff0000; /* Red border */
    color: #cc0000; /* Dark red text */
    padding: 15px;
    border-radius: 5px;
    font-family: Arial, sans-serif;
    font-weight: bold;
    text-align: center;
    animation: blink-pulse 2s infinite; /* 2 second loop */
        font-size: 11px;
    margin-bottom: 10px;
}
  

  /* The Animation Code */
  @keyframes blink-pulse {
    0% { opacity: 1; }
    50% { opacity: 0.6; } /* Fades to 60% visibility */
    100% { opacity: 1; }
  }

/* Price box hover: show red border when voucher card hovered */
.price-box { transition: border-color 0.12s ease; }

/* Apply red border to entire voucher card on hover */
.voucher-card:hover { border-color: #dc2626 !important; }

/* Keep inner elements (price and select button) unchanged on hover */
.voucher-card:hover .price-box { border-color: transparent; }
.voucher-select-btn {
    transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, color 0.16s ease;
    background: #ffffffcc;
    border: 1px solid #e6e6e6;
    box-shadow: 0 4px 10px rgba(16,24,40,0.06);
    color: #374151;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
}
.voucher-select-btn:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 8px 22px rgba(16,24,40,0.12);
}
.voucher-card:hover .voucher-select-btn[aria-pressed="false"] { border-color: transparent !important; color: inherit !important; background: none !important; }
.voucher-select-btn[aria-pressed="true"] {
    background: var(--theme-voucher-select-bg, #EFBF04);
    color: #ffffff;
    border-color: var(--theme-voucher-select-bg, #EFBF04);
    box-shadow: 0 10px 26px rgba(16, 185, 129, 0.16);
}
.voucher-select-btn i { transition: transform 0.12s ease; }
.voucher-select-btn[aria-pressed="true"] i { transform: scale(0.98); }

/* Mobile Games Section Styling */
#mobile-games-grid {
    scroll-behavior: smooth;
}

#mobile-games-grid .product-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: var(--theme-product-card-bg);
    border: 1px solid var(--theme-product-card-border);
    border-radius: 16px;
}

#mobile-games-grid .product-card:hover {
    transform: translateY(-12px) scale(1.01);
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.3);
}

/* Remove gradient background from image container and use transparent */
#mobile-games-grid .product-card > div:first-child > div {
    height: 120px !important;
    background: #2d4670 !important;
    border-radius: 14px !important;
    /* overflow: hidden; */
}

#mobile-games-grid .product-card > div:first-child > div img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    border-radius: 14px !important;
}

/* Make product titles smaller in mobile games section */
#mobile-games-grid .product-card h3 {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
}

#mobile-games-grid .product-card h3.font-bold {
    font-size: 0.75rem !important;
}

/* Enhance card padding */
#mobile-games-grid .product-card > div:last-child {
    padding: 10px !important;
}

/* Make review and sold text smaller */
#mobile-games-grid .product-card .flex.items-center.justify-center.gap-1 {
    font-size: 0.8rem !important;
}

/* Better badge styling in mobile games */
#mobile-games-grid .product-card [class*="absolute"] {
    padding: 4px 8px !important;
    font-weight: 700 !important;
    font-size: 0.65rem !important;
}

/* Mobile responsiveness for games grid */
@media (max-width: 640px) {
    #mobile-games-grid .product-card > div:first-child > div {
        height: 100px !important;
    }
    
    #mobile-games-grid .product-card h3 {
        font-size: 0.65rem !important;
        margin-bottom: 4px !important;
    }
    
    #mobile-games-grid .product-card > div:last-child {
        padding: 6px !important;
    }

    #mobile-games-grid .product-card {
        border-radius: 12px;
    }
    
    #mobile-games-grid .product-card [class*="absolute"] {
        padding: 3px 6px !important;
        font-size: 0.55rem !important;
    }
}

@media (min-width: 641px) and (max-width: 768px) {
    #mobile-games-grid .product-card > div:first-child > div {
        height: 150px !important;
    }
    
    #mobile-games-grid .product-card h3 {
        font-size: 0.85rem !important;
    }
}

@media (min-width: 769px) {
    #mobile-games-grid .product-card > div:first-child > div {
        height: 170px !important;
    }
    
    #mobile-games-grid .product-card h3 {
        font-size: 0.95rem !important;
    }
}

/* Mobile footer background fix - prevent image cropping on mobile devices */
@media (max-width: 767px) {
    footer {
        background-size: contain !important;
        background-position: bottom center !important;
        background-repeat: no-repeat !important;
    }
}




/* Why New Looks? section */

:root {
    --nepal-primary: #061637;
    --nepal-gold: #efbf04;
    --nepal-card: #0d1e45;
}

/* --- Section: Nepal --- */
.nepal-wrapper {
    background-color: #ffffff; 
    padding: 60px 20px;
    font-family: 'Poppins', sans-serif;
    color: var(--nepal-primary);
}

.kathmandu-container {
   
    max-width: 85%; /* match other site containers (nav/footer) */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
}
/* Mobile: make kathmandu container full width */
@media (max-width: 768px) {
    .kathmandu-container {
        max-width: 100% !important;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Subscription section background */
.subscription-bg { 
    display: block; 
}

/* Subscription section background image (uses Assets/subscriptin.png) */
#section-subscription {
    background-image: url("Assets/subscriptin.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* keep background fixed while scrolling on desktop */
    background-attachment: fixed;
    -webkit-background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

/* Keep background fixed on mobile as requested */
@media (max-width: 768px) {
    #section-subscription {
        background-attachment: fixed;
        -webkit-background-attachment: fixed;
        background-position: center center;
    }
}

/* --- Header: Everest --- */
.everest-head {
    text-align: left;
    margin-bottom: 40px;
    border-left: 5px solid var(--nepal-gold);
    padding-left: 15px;
}

.everest-head h2 {
    font-size: 2.2rem;
    margin: 0;
    text-transform: uppercase;
    color: var(--nepal-primary);
    line-height: 1.1;
}

.everest-head h2 span { color: var(--nepal-gold); }

.everest-head p {
    color: #555;
    margin-top: 8px;
    font-size: 1rem;
}

/* --- Grid: World --- */
.world-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.house-box {
    background: var(--nepal-card);
    padding: 35px 25px;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.house-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(6, 22, 55, 0.2);
}

/* --- Icons: Pokhara --- */
.pokhara-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.himalaya-safe { color: #00f2ff; }
.himalaya-fast { color: #ff3e3e; }
.himalaya-trust { color: #efbf04; }
.himalaya-support { color: #00ff88; }

.house-box h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: #ffffff;
}

.house-box p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* --- Stats: Buddha --- */
.buddha-stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--nepal-gold);
    border-radius: 15px;
    padding: 30px 15px;
}

.peace-stat-item {
    text-align: center;
    color: var(--nepal-primary);
    border-right: 1px solid rgba(0,0,0,0.1);
}

.peace-stat-item:last-child { border: none; }

.peace-stat-item h4 {
    font-size: 2rem;
    font-weight: 800;
    margin: 0;
}

.peace-stat-item p {
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
}

/* --- Mobile Fixes --- */
@media (max-width: 992px) {
    .world-grid { grid-template-columns: repeat(2, 1fr); }
    .buddha-stats-bar { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
    .peace-stat-item:nth-child(2) { border-right: none; }
}

@media (max-width: 767px) {
    .world-grid { grid-template-columns: 1fr; }
    .everest-head h2 { font-size: 1.8rem; }
    .buddha-stats-bar { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .buddha-stats-bar { grid-template-columns: 1fr; gap: 15px; }
    .peace-stat-item { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.1); padding-bottom: 10px; }
    .peace-stat-item:last-child { border-bottom: none; }
}

/* ----------------------------
   Page Settings Custom Layouts
   About / Terms / Privacy / Refund
----------------------------- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:root {
    --policy-accent: #EFBF04;
    --policy-primary: #061637;
    --policy-page-bg: #F3F4F6;
    --policy-card-bg: #FFFFFF;
    --refund-success-bg: #DFF3E4;
    --refund-danger-bg: #FBE0DF;
    --refund-notice-bg: #F7E8AB;
}

.ps-doc-shell {
    padding: 48px 16px 72px;
    background: var(--policy-page-bg, #F3F4F6);
}

.ps-doc-container {
    max-width: 1120px;
    margin: 0 auto;
}

.ps-about-shell {
    min-height: 155vh;
    background:
        radial-gradient(circle at 8% 10%, rgba(239, 191, 4, 0.16) 0%, rgba(239, 191, 4, 0) 42%),
        radial-gradient(circle at 92% 82%, rgba(6, 22, 55, 0.12) 0%, rgba(6, 22, 55, 0) 40%),
        var(--policy-page-bg, #F3F4F6);
}

.ps-about-container {
    max-width: 1520px;
    width: min(96vw, 1520px);
}

.ps-doc-link {
    display: inline-block;
    margin-top: 14px;
    color: var(--policy-accent, #EFBF04);
    font-weight: 700;
    text-decoration: none;
}

.ps-doc-link:hover {
    color: var(--policy-primary, #061637);
}

.ps-doc-link-light {
    color: #ffd95e;
}

.ps-doc-link-light:hover {
    color: #ffffff;
}

/* About page */
.ps-about-story-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 22px;
    align-items: center;
    justify-items: center;
}

.ps-about-story-grid > .ps-about-story,
.ps-about-story-grid > .ps-about-stats-card {
    width: 100%;
}

.ps-about-story h2,
.ps-about-why h2 {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--policy-primary, #061637);
    margin: 0 0 20px;
    position: relative;
    display: inline-block;
}

.ps-about-story h2::after,
.ps-about-why h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 58px;
    height: 4px;
    border-radius: 999px;
    background: var(--policy-accent, #EFBF04);
}

.ps-about-story p {
    margin: 0 0 16px;
    line-height: 1.8;
    color: #1f2937;
}

.ps-about-stats-card {
    background: linear-gradient(180deg, var(--policy-accent, #EFBF04) 0%, var(--policy-accent, #EFBF04) 100%);
    border-radius: 14px;
    padding: 26px 24px;
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(6, 22, 55, 0.14);
}

.ps-about-stats-year {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.ps-about-stats-caption {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.45;
    font-weight: 600;
    opacity: 0.95;
}

.ps-about-stats-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.45);
    margin: 16px 0;
}

.ps-about-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.ps-about-stat-item strong {
    display: block;
    font-size: 1.85rem;
    line-height: 1.1;
}

.ps-about-stat-item span {
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ps-about-dual-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 34px;
}

.ps-about-dual-card {
    background: var(--policy-card-bg, #FFFFFF);
    border-radius: 14px;
    border-left: 3px solid var(--policy-accent, #EFBF04);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    padding: 24px 20px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ps-about-dual-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.14);
}

.ps-about-dual-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.ps-about-dual-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--policy-accent, #EFBF04);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.ps-about-dual-card h3 {
    margin: 0;
    color: var(--policy-primary, #061637);
    font-size: 2rem;
    font-weight: 800;
}

.ps-about-dual-card p {
    margin: 0;
    line-height: 1.7;
    color: #334155;
}

.ps-about-why {
    margin-top: 42px;
}

.ps-about-why-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.ps-about-feature-card {
    background: var(--policy-card-bg, #FFFFFF);
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    padding: 24px 18px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ps-about-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px rgba(6, 22, 55, 0.16);
}

.ps-about-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--policy-page-bg, #F3F4F6);
    color: var(--policy-accent, #EFBF04);
}

.ps-about-feature-card h3 {
    margin: 0 0 6px;
    font-size: 1.5rem;
    color: var(--policy-primary, #061637);
    font-weight: 700;
}

.ps-about-feature-card p {
    margin: 0;
    color: #475569;
    line-height: 1.6;
    font-size: 0.95rem;
}

.ps-about-values {
    margin-top: 32px;
    background: linear-gradient(135deg, #081d47 0%, var(--policy-primary, #061637) 100%);
    color: #ffffff;
    border-radius: 14px;
    padding: 28px 24px;
}

.ps-about-values h2 {
    margin: 0 0 18px;
    text-align: center;
    font-size: 2.1rem;
    font-weight: 800;
}

.ps-about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.ps-about-value-item {
    text-align: center;
}

.ps-about-value-item i {
    font-size: 1.65rem;
    color: var(--policy-accent, #EFBF04);
}

.ps-about-value-item h3 {
    margin: 8px 0 6px;
    font-size: 1.35rem;
    font-weight: 700;
}

.ps-about-value-item p {
    margin: 0;
    color: #dbe4ff;
    line-height: 1.6;
}

/* Terms / Privacy cards */
.ps-legal-stack {
    display: grid;
    gap: 22px;
}

.ps-legal-card {
    background: var(--policy-card-bg, #FFFFFF);
    border-radius: 14px;
    border-left: 3px solid var(--policy-accent, #EFBF04);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
    padding: 24px 24px 22px;
}

.ps-legal-card h2 {
    margin: 0 0 14px;
    font-size: 2rem;
    color: var(--policy-primary, #061637);
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ps-legal-card h2 i {
    color: var(--policy-accent, #EFBF04);
    font-size: 1rem;
}

.ps-legal-card p {
    margin: 0 0 10px;
    color: #334155;
    line-height: 1.8;
}

.ps-legal-list {
    margin: 12px 0 0;
    padding: 0 0 0 16px;
}

.ps-legal-list li {
    margin-bottom: 9px;
    color: #334155;
    line-height: 1.7;
}

.ps-legal-html {
    color: #334155;
    line-height: 1.8;
}

/* Refund page */
.ps-refund-stack {
    display: grid;
    gap: 22px;
}

.ps-refund-card {
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
    padding: 24px;
}

.ps-refund-card h2 {
    margin: 0 0 14px;
    font-size: 2rem;
    color: var(--policy-primary, #061637);
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ps-refund-card p {
    margin: 0 0 10px;
    line-height: 1.75;
    color: #475569;
}

.ps-refund-card.is-success {
    background: var(--refund-success-bg, #DFF3E4);
    border-left: 3px solid #22c55e;
}

.ps-refund-card.is-success h2 i {
    color: #22c55e;
}

.ps-refund-card.is-danger {
    background: var(--refund-danger-bg, #FBE0DF);
    border-left: 3px solid #ef4444;
}

.ps-refund-card.is-danger h2 i {
    color: #ef4444;
}

.ps-refund-key-list {
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.ps-refund-key-list li {
    margin: 0 0 12px;
    line-height: 1.7;
    color: #334155;
}

.ps-refund-key-list strong {
    color: var(--policy-primary, #061637);
}

.ps-refund-card.is-process,
.ps-refund-card.is-timeline,
.ps-refund-card.is-help {
    background: var(--policy-card-bg, #FFFFFF);
    border-left: 3px solid var(--policy-accent, #EFBF04);
}

.ps-refund-card.is-process h2 i,
.ps-refund-card.is-timeline h2 i,
.ps-refund-card.is-help h2 i {
    color: var(--policy-accent, #EFBF04);
}

.ps-refund-steps {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.ps-refund-steps li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.ps-refund-step-no {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: var(--policy-accent, #EFBF04);
    color: var(--policy-primary, #061637);
    font-size: 0.86rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ps-refund-steps strong {
    display: block;
    color: var(--policy-primary, #061637);
    margin-bottom: 2px;
}

.ps-refund-steps p {
    margin: 0;
}

.ps-refund-methods {
    display: grid;
    gap: 10px;
}

.ps-refund-method-row {
    background: #f1f5f9;
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
}

.ps-refund-method-row span {
    color: var(--policy-primary, #061637);
    font-weight: 600;
}

.ps-refund-method-row strong {
    color: var(--policy-accent, #EFBF04);
    flex-shrink: 0;
}

.ps-refund-card.is-notice {
    background: var(--refund-notice-bg, #F7E8AB);
    border-left: 3px solid var(--policy-accent, #EFBF04);
}

.ps-refund-card.is-notice h2 i {
    color: #d97706;
}

.ps-refund-note-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ps-refund-note-list li {
    margin-bottom: 9px;
    color: #4b5563;
    line-height: 1.75;
}

.ps-refund-contact-list p {
    margin: 0 0 8px;
}

.ps-refund-contact-list strong {
    color: var(--policy-primary, #061637);
}

.ps-refund-contact-list a {
    color: var(--policy-primary, #061637);
    text-decoration: none;
}

.ps-refund-contact-list a:hover {
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .ps-about-shell {
        min-height: auto;
    }
    .ps-about-story-grid {
        grid-template-columns: 1fr;
    }
    .ps-about-why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .ps-doc-shell {
        padding: 34px 14px 54px;
    }
    .ps-about-container {
        width: 100%;
    }
    .ps-about-story h2,
    .ps-about-why h2,
    .ps-about-values h2 {
        font-size: 1.7rem;
    }
    .ps-about-dual-grid,
    .ps-about-values-grid {
        grid-template-columns: 1fr;
    }
    .ps-legal-card h2,
    .ps-refund-card h2 {
        font-size: 1.45rem;
    }
    .ps-refund-method-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    .ps-about-why-grid {
        grid-template-columns: 1fr;
    }
    .ps-about-stats-grid {
        grid-template-columns: 1fr;
    }
}
