/* ================================================================
   Smart Purchase Path MARKET — shared.css
   Contains ALL styles for every page in the project.
================================================================ */

/* ============ 1. TOKENS & RESET ============ */
:root {
    --bg: #FAF3F5;
    --surface: #FFFFFF;
    --ink: #321722;
    --ink2: #633642;
    --muted: #806B72;
    --indigo: #91485C;
    --indigo2: #B96B7C;
    --indigo-soft: #F3E3E7;
    --indigo-ghost: #FBF2F5;
    --coral: #D75D67;
    --coral-soft: #FBE4E7;
    --mint: #789A91;
    --mint-soft: #E5EFEC;
    --amber: #C99345;
    --amber-soft: #F7EDDB;
    --border: #E5D7DC;
    --border-2: #D6C2CA;
    --shadow-sm: 0 1px 2px rgba(50, 23, 34, .05);
    --shadow-md: 0 10px 30px rgba(50, 23, 34, .08);
    --shadow-lg: 0 24px 60px rgba(50, 23, 34, .15);
    --r-sm: 12px;
    --r-md: 16px;
    --r-lg: 22px;
    --r-xl: 26px;
    --sidebar-w: 264px;
    --topbar-h: 70px;
    --font-head: 'Sora', sans-serif;
    --font-body: 'Inter', sans-serif;
    --ease: cubic-bezier(.22, 1, .36, 1);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--ink);
    font-size: 14.5px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body.locked {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
    color: var(--ink);
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-head);
    line-height: 1.2;
}

::selection {
    background: var(--indigo);
    color: #fff;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-thumb {
    background: #cfcde4;
    border-radius: 99px;
    border: 2px solid var(--bg);
}

::-webkit-scrollbar-track {
    background: transparent;
}

:focus-visible {
    outline: 2px solid var(--indigo);
    outline-offset: 2px;
    border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    html { scroll-behavior: auto; }
}

/* ============ 2. SHARED ============ */
.top-announcement {
    background: var(--ink);
    color: #fff;
    text-align: center;
    padding: 8px 20px;
    font-size: 12.5px;
    font-weight: 500;
    position: relative;
    z-index: 60;
}

.top-announcement b {
    color: var(--amber);
    margin-left: 5px;
}

.section {
    max-width: 1500px;
    margin: 0 auto;
    padding: 26px 28px 0;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.section-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--indigo);
    margin-bottom: 6px;
}

.section-title {
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 700;
    color: var(--ink);
}

.section-title .dot {
    color: var(--indigo);
}

.view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 13.5px;
    color: var(--indigo);
    padding: 9px 16px;
    border-radius: 99px;
    border: 1px solid var(--border);
    background: var(--surface);
    transition: .3s var(--ease);
    white-space: nowrap;
}

.view-all:hover {
    background: var(--indigo);
    border-color: var(--indigo);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.view-all i {
    transition: transform .3s var(--ease);
    font-size: 12px;
}

.view-all:hover i {
    transform: translateX(4px);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-weight: 600;
    font-size: 13.5px;
    border-radius: var(--r-sm);
    padding: 12px 22px;
    transition: .3s var(--ease);
    white-space: nowrap;
}

.btn-primary {
    background: var(--indigo);
    color: #fff;
    box-shadow: 0 6px 18px rgba(91, 79, 232, .28);
}

.btn-primary:hover {
    background: var(--indigo2);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(91, 79, 232, .38);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-white {
    background: #fff;
    color: var(--indigo);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .14);
}

.btn-white:hover {
    transform: translateY(-2px) scale(1.02);
}

.btn-ghost {
    background: var(--surface);
    color: var(--ink);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    border-color: var(--indigo);
    color: var(--indigo);
}

.btn-success {
    background: var(--mint) !important;
    box-shadow: 0 6px 18px rgba(0, 184, 153, .3) !important;
}

.btn-block {
    width: 100%;
}

.icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--ink2);
    font-size: 15px;
    transition: .3s var(--ease);
}

.icon-btn:hover {
    color: var(--indigo);
    border-color: var(--indigo);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.icon-btn .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: 99px;
    background: var(--coral);
    color: #fff;
    font-size: 10.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg);
    font-family: var(--font-body);
}

.field-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--ink2);
    margin-bottom: 6px;
}

.field {
    width: 100%;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    padding: 11px 14px;
    font-size: 13.5px;
    transition: .25s;
    color: var(--ink);
}

.field:focus {
    outline: none;
    border-color: var(--indigo);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(91, 79, 232, .12);
}

textarea.field {
    resize: vertical;
    min-height: 110px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.field-error {
    border-color: var(--coral) !important;
    box-shadow: 0 0 0 4px rgba(255, 107, 107, .12) !important;
}

/* ============ 3. LOADER ============ */
.loader {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    transition: opacity .65s ease, visibility .65s;
}

.loader.done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-bag {
    position: relative;
    width: 120px;
    height: 118px;
    animation: bob 2.6s ease-in-out infinite;
}

@keyframes bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}

.loader-bag-handle {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 52px;
    height: 30px;
    border: 7px solid var(--indigo);
    border-bottom: none;
    border-radius: 26px 26px 0 0;
}

.loader-bag-body {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 92px;
    height: 74px;
    background: linear-gradient(135deg, var(--indigo), var(--indigo2));
    border-radius: 18px 18px 22px 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 30px;
    box-shadow: 0 18px 40px rgba(91, 79, 232, .35);
}

.loader-bag-body::after {
    content: "";
    position: absolute;
    inset: 8px;
    border: 2px dashed rgba(255, 255, 255, .35);
    border-radius: 12px;
}

.fall-item {
    position: absolute;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #fff;
    top: -34px;
    animation: fall 1.35s ease-in infinite;
    opacity: 0;
}

.fall-item i {
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .18));
}

.fi1 { left: 14px; background: var(--coral); animation-delay: .15s; }
.fi2 { left: 47px; background: var(--mint); animation-delay: .55s; }
.fi3 { left: 80px; background: var(--amber); animation-delay: .95s; }

@keyframes fall {
    0% { transform: translateY(-30px) rotate(-18deg); opacity: 0; }
    22% { opacity: 1; }
    72% { transform: translateY(118px) rotate(14deg); opacity: 1; }
    86% { transform: translateY(102px) rotate(0); opacity: 1; }
    100% { transform: translateY(118px) rotate(0); opacity: 0; }
}

.loader-brand {
    font-family: var(--font-head);
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -.02em;
    margin-top: 26px;
}

.loader-brand span {
    color: var(--indigo);
}

.loader-sub {
    font-size: 12.5px;
    color: var(--muted);
    margin-top: 6px;
    letter-spacing: .02em;
}

.loader-bar {
    width: 190px;
    height: 5px;
    background: #e4e3f1;
    border-radius: 99px;
    margin-top: 22px;
    overflow: hidden;
}

.loader-bar span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--indigo), var(--indigo2));
    animation: load 1.7s ease-in-out forwards;
}

@keyframes load {
    0% { width: 0; }
    60% { width: 72%; }
    100% { width: 100%; }
}

/* ============ 4. APP SHELL & SIDEBAR ============ */
.app {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--sidebar-w);
    background: var(--surface);
    border-right: 1px solid var(--border);
    z-index: 80;
    display: flex;
    flex-direction: column;
    padding: 22px 16px 18px;
    transition: transform .45s var(--ease);
}

.sb-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 2px 6px 18px;
}

.sb-logo {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--indigo), var(--indigo2));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    box-shadow: 0 8px 20px rgba(91, 79, 232, .35);
    flex-shrink: 0;
}

.sb-name {
    font-family: var(--font-head);
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.1;
}

.sb-name span {
    color: var(--indigo);
}

.sb-tag {
    font-size: 10.5px;
    color: var(--muted);
    letter-spacing: .05em;
}

.cod-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--mint-soft);
    border: 1px solid #c4ecdf;
    border-radius: var(--r-sm);
    padding: 10px 13px;
    margin: 0 2px 18px;
}

.cod-chip i {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: var(--mint);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

.cod-chip b {
    display: block;
    font-size: 11px;
    letter-spacing: .09em;
    color: #008a72;
    line-height: 1.2;
}

.cod-chip small {
    display: block;
    font-size: 10.5px;
    color: #3fa28d;
    margin-top: 1px;
}

.sb-nav-label {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #a5a3bc;
    padding: 0 12px;
    margin-bottom: 8px;
}

.sb-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    overflow-y: auto;
}

.sb-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border-radius: var(--r-sm);
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ink2);
    transition: .25s var(--ease);
    position: relative;
}

.sb-link i {
    width: 20px;
    text-align: center;
    font-size: 14.5px;
    color: var(--indigo);
    transition: .25s;
}

.sb-link:hover {
    background: var(--indigo-ghost);
    color: var(--ink);
}

.sb-link:hover i {
    transform: scale(1.12);
}

.sb-link.active {
    background: var(--indigo-soft);
    color: var(--indigo);
    font-weight: 600;
}

.sb-link.active i {
    color: var(--indigo);
}

.sb-link.active::before {
    content: "";
    position: absolute;
    left: -16px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 22px;
    border-radius: 0 6px 6px 0;
    background: var(--indigo);
}

.sb-promo {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #4a3fd6 0%, var(--indigo2) 100%);
    border-radius: var(--r-md);
    padding: 18px 16px;
    color: #fff;
    margin-top: 14px;
    flex-shrink: 0;
}

.sb-promo h4 {
    font-size: 14.5px;
    font-weight: 700;
    margin-bottom: 6px;
}

.sb-promo p {
    font-size: 11.5px;
    line-height: 1.55;
    color: rgba(255, 255, 255, .82);
    margin-bottom: 13px;
}

.sb-promo .btn {
    width: 100%;
    padding: 10px;
    font-size: 12.5px;
    background: #fff;
    color: var(--indigo);
    border-radius: 10px;
    font-weight: 700;
}

.sb-promo .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .22);
}

.sb-promo::before,
.sb-promo::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .13);
}

.sb-promo::before {
    width: 110px;
    height: 110px;
    top: -42px;
    right: -30px;
}

.sb-promo::after {
    width: 70px;
    height: 70px;
    bottom: -24px;
    left: -18px;
}

.sb-promo .promo-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(22, 21, 42, .55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 85;
    opacity: 0;
    visibility: hidden;
    transition: .4s;
}

.overlay.show {
    opacity: 1;
    visibility: visible;
}

.hamburger {
    display: none;
}

/* ============ 5. MAIN & TOPBAR ============ */
.main {
    flex: 1;
    margin-left: var(--sidebar-w);
    width: calc(100% - var(--sidebar-w));
    max-width: calc(100% - var(--sidebar-w));
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 16px;
    height: var(--topbar-h);
    padding: 0 28px;
    background: rgba(246, 246, 251, .85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}

.topbar-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tb-link {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 17px;
    color: var(--ink2);
    transition: .25s;
    text-decoration: none;
}

.tb-link i {
    margin: 0;
}

.tb-link:hover {
    color: var(--indigo);
    background: var(--indigo-ghost);
}

.tb-link.active {
    color: var(--indigo);
    background: var(--indigo-soft);
}

.search-wrap {
    position: relative;
    flex: 1;
    max-width: 540px;
    margin-left: auto;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: 99px;
    padding: 0 8px 0 18px;
    height: 44px;
    transition: .25s;
}

.search-box:focus-within {
    border-color: var(--indigo);
    box-shadow: 0 0 0 4px rgba(91, 79, 232, .12);
}

.search-box i {
    color: var(--muted);
    font-size: 13.5px;
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    background: none;
    font-size: 13.5px;
    min-width: 0;
    padding-right: 8px;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
    -webkit-appearance: none;
    display: none;
}

.tb-link i {
    margin-right: 6px;
    font-size: 13.5px;
}

.search-box .search-clear {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: var(--muted);
    font-size: 12px;
    display: none;
}

.search-box .search-clear:hover {
    background: var(--bg);
    color: var(--ink);
}

.search-drop {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: .3s var(--ease);
    z-index: 70;
}

.search-drop.show {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.search-drop-head {
    padding: 11px 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    border-bottom: 1px solid var(--border);
    background: var(--bg);
}

.search-results {
    max-height: 356px;
    overflow-y: auto;
    padding: 6px;
}

.sr-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 9px;
    border-radius: var(--r-sm);
    text-align: left;
    transition: .2s;
}

.sr-item:hover {
    background: var(--indigo-ghost);
}

.sr-item img {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.sr-item b {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
}

.sr-item small {
    display: block;
    font-size: 11px;
    color: var(--muted);
    margin-top: 1px;
}

.sr-item .sr-price {
    margin-left: auto;
    font-size: 13px;
    font-weight: 700;
    color: var(--indigo);
    font-family: var(--font-head);
    white-space: nowrap;
}

.sr-empty {
    padding: 26px 16px;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
}

.sr-empty i {
    font-size: 26px;
    color: #c9c7df;
    display: block;
    margin-bottom: 8px;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ============ 6. HERO CAROUSEL ============ */
.hero {
    position: relative;
    padding: 26px 28px 0;
}

.hero-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 6px;
}

.hero-track::-webkit-scrollbar {
    display: none;
}

.hero-card {
    position: relative;
    flex: 0 0 min(560px, 86%);
    scroll-snap-align: start;
    height: 280px;
    border-radius: var(--r-lg);
    padding: 34px 200px 34px 36px;
    color: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: cardIn .8s var(--ease) both;
}

.hero-card:nth-child(1) { animation-delay: .1s; }
.hero-card:nth-child(2) { animation-delay: .22s; }
.hero-card:nth-child(3) { animation-delay: .34s; }
.hero-card:nth-child(4) { animation-delay: .46s; }
.hero-card:nth-child(5) { animation-delay: .58s; }
.hero-card:nth-child(6) { animation-delay: .70s; }
.hero-card:nth-child(7) { animation-delay: .82s; }

@keyframes cardIn {
    from { opacity: 0; transform: translateY(26px) scale(.98); }
    to { opacity: 1; transform: none; }
}

.hc-indigo {
    background: linear-gradient(125deg, #4a3fd6 0%, var(--indigo2) 58%, #9b8ffb 100%);
}

.hc-mint {
    background: linear-gradient(125deg, #009e83 0%, #00b899 55%, #38d3b4 100%);
}

.hc-coral {
    background: linear-gradient(125deg, #f25454 0%, var(--coral) 55%, #ff9488 100%);
}

.hero-card .hc-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, .2);
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 99px;
    padding: 5px 12px;
    align-self: flex-start;
    margin-bottom: 14px;
    backdrop-filter: blur(4px);
}

.hero-card h2 {
    font-size: clamp(21px, 2.3vw, 28px);
    font-weight: 700;
    letter-spacing: -.015em;
    max-width: 340px;
    margin-bottom: 9px;
}

.hero-card p {
    font-size: 13px;
    line-height: 1.6;
    opacity: .88;
    max-width: 330px;
    margin-bottom: 18px;
}

.hero-card .btn {
    width: fit-content;
    font-size: 13px;
    padding: 11px 20px;
}

.hc-bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    border: 1.5px solid rgba(255, 255, 255, .22);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .95);
    animation: float 5.5s ease-in-out infinite;
}

.hc-bubble.b1 { width: 96px; height: 96px; top: 26px; right: 52px; font-size: 30px; animation-delay: 0s; }
.hc-bubble.b2 { width: 60px; height: 60px; top: 150px; right: 130px; font-size: 19px; animation-delay: 1.4s; }
.hc-bubble.b3 { width: 38px; height: 38px; top: 62px; right: 150px; font-size: 13px; animation-delay: 2.6s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-11px) rotate(5deg); }
}

/* ============ 7. QUICK STATS ============ */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 19px 20px;
    transition: .35s var(--ease);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-2);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    flex-shrink: 0;
}

.st-i-indigo { background: var(--indigo-soft); color: var(--indigo); }
.st-i-mint { background: var(--mint-soft); color: var(--mint); }
.st-i-coral { background: var(--coral-soft); color: var(--coral); }
.st-i-amber { background: var(--amber-soft); color: var(--amber); }

.stat-num {
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.15;
}

.stat-label {
    font-size: 12px;
    color: var(--muted);
    font-weight: 500;
}

/* ============ 8. ABOUT ============ */
.about-card {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 38px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 38px 40px;
}

.about-copy h2 {
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 700;
    letter-spacing: -.015em;
    margin-bottom: 14px;
}

.about-copy h2 span {
    color: var(--indigo);
}

.about-copy > p {
    color: var(--ink2);
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 20px;
    max-width: 520px;
}

.about-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px 16px;
}

.about-point {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink2);
}

.about-point i {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--mint-soft);
    color: var(--mint);
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.about-feat {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 18px;
    transition: .35s var(--ease);
}

.about-feat:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    background: #fff;
}

.about-feat i {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    margin-bottom: 11px;
}

.af-indigo i { background: var(--indigo-soft); color: var(--indigo); }
.af-mint i { background: var(--mint-soft); color: var(--mint); }
.af-coral i { background: var(--coral-soft); color: var(--coral); }
.af-amber i { background: var(--amber-soft); color: var(--amber); }

.about-feat h4 {
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 4px;
}

.about-feat p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.55;
}

/* ============ 9. PRODUCTS ============ */
.cat-rail {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
}

.cat-rail::-webkit-scrollbar {
    display: none;
}

.cat-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 17px;
    border-radius: 99px;
    background: var(--surface);
    border: 1.5px solid var(--border);
    font-size: 13px;
    font-weight: 600;
    color: var(--ink2);
    transition: .28s var(--ease);
    white-space: nowrap;
    flex-shrink: 0;
}

.cat-chip i {
    color: var(--indigo);
    font-size: 13.5px;
    transition: .28s;
}

.cat-chip:hover {
    border-color: var(--indigo);
    color: var(--indigo);
    transform: translateY(2px);
}

.cat-chip.active {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
    box-shadow: 0 8px 20px rgba(22, 21, 42, .25);
}

.cat-chip.active i {
    color: #fff;
}

.sub-rail {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 14px 0 2px;
    margin-top: 14px;
    border-top: 1px dashed var(--border);
}

.sub-rail::-webkit-scrollbar {
    display: none;
}

.sub-rail.hidden {
    display: none;
}

.sub-chip {
    padding: 6px 14px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    background: transparent;
    border: 1px solid transparent;
    transition: .25s;
    white-space: nowrap;
    flex-shrink: 0;
}

.sub-chip:hover {
    color: var(--indigo);
    background: var(--indigo-ghost);
}

.sub-chip.active {
    color: var(--indigo);
    background: var(--indigo-soft);
    border-color: #d4d0f7;
}

.p-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 18px;
}

.p-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}

.p-card:hover {
    transform: translateY(-7px) rotate(-.4deg);
    box-shadow: var(--shadow-lg);
}

.p-media {
    position: relative;
    aspect-ratio: 1/1.02;
    overflow: hidden;
    background: var(--bg);
    cursor: pointer;
}

.p-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}

.p-card:hover .p-media img {
    transform: scale(1.09);
}

.p-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .09em;
    color: #fff;
    padding: 5px 11px;
    border-radius: 99px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .16);
}

.pb-new { background: var(--mint); }
.pb-hot { background: var(--coral); }
.pb-sale { background: var(--amber); }

.p-acts {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.p-act {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .95);
    color: var(--ink2);
    font-size: 13.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(22, 21, 42, .16);
    opacity: 0;
    transform: translateX(14px);
    transition: .35s var(--ease);
}

.p-card:hover .p-act {
    opacity: 1;
    transform: none;
}

.p-act.wish:hover {
    color: var(--coral);
}

.p-act.wish.active {
    color: var(--coral);
    background: var(--coral-soft);
}

.p-act.qv:hover {
    color: var(--indigo);
    background: var(--indigo-ghost);
}

.p-act:nth-child(2) {
    transition-delay: .05s;
}

.p-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 15px 15px 16px;
    flex: 1;
}

.p-cat {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--indigo);
}

.p-name {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.4;
    cursor: pointer;
    transition: color .2s;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.p-name:hover {
    color: var(--indigo);
}

.p-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 2px;
}

.p-price {
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
}

.p-old {
    font-size: 12px;
    color: var(--muted);
    text-decoration: line-through;
}

.p-rate {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: var(--muted);
}

.p-rate .stars {
    color: var(--amber);
    font-size: 11px;
    letter-spacing: 1px;
}

.p-add {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: var(--indigo);
    color: #fff;
    font-weight: 600;
    font-size: 12.5px;
    padding: 10px;
    border-radius: 11px;
    transition: .3s var(--ease);
}

.p-add:hover {
    background: var(--indigo2);
    box-shadow: 0 8px 18px rgba(91, 79, 232, .3);
}

.p-add.added {
    background: var(--mint);
}

.p-grid-empty {
    grid-column: 1/-1;
    text-align: center;
    padding: 60px 20px;
    color: var(--muted);
    background: var(--surface);
    border: 1px dashed var(--border-2);
    border-radius: var(--r-md);
}

.p-grid-empty i {
    font-size: 34px;
    color: #c9c7df;
    display: block;
    margin-bottom: 12px;
}

/* ============ 10. DEALS + BESTSELLERS ============ */
.widget-row {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 20px;
}

.deal-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(125deg, #3d33c8 0%, var(--indigo) 55%, var(--indigo2) 100%);
    border-radius: var(--r-lg);
    padding: 28px;
    color: #fff;
    display: flex;
    flex-direction: column;
}

.deal-card::before {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .09);
    top: -70px;
    right: -50px;
}

.deal-card::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    bottom: -50px;
    left: -30px;
}

.deal-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .25);
    padding: 5px 12px;
    border-radius: 99px;
    align-self: flex-start;
    margin-bottom: 12px;
}

.deal-card h3 {
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -.01em;
    margin-bottom: 6px;
}

.deal-card > p {
    font-size: 12.5px;
    opacity: .85;
    margin-bottom: 16px;
}

.deal-product {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, .13);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: var(--r-md);
    padding: 12px;
    margin-bottom: 16px;
    backdrop-filter: blur(6px);
}

.deal-product img {
    width: 62px;
    height: 62px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, .5);
}

.deal-product b {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
}

.deal-product small {
    display: block;
    font-size: 11.5px;
    opacity: .8;
}

.deal-price {
    margin-left: auto;
    text-align: right;
}

.deal-price .now {
    display: block;
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 800;
}

.deal-price .was {
    font-size: 11.5px;
    text-decoration: line-through;
    opacity: .7;
}

.countdown {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
    position: relative;
    z-index: 2;
}

.cd-box {
    flex: 1;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: var(--r-sm);
    padding: 9px 6px;
    text-align: center;
    backdrop-filter: blur(6px);
}

.cd-box b {
    display: block;
    font-family: var(--font-head);
    font-size: 21px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.cd-box small {
    font-size: 9.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    opacity: .75;
}

.deal-card .btn {
    margin-top: auto;
    position: relative;
    z-index: 2;
    width: fit-content;
}

.best-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 26px;
    display: flex;
    flex-direction: column;
}

.best-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.best-head h3 {
    font-size: 18px;
    font-weight: 700;
}

.best-head i {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--coral-soft);
    color: var(--coral);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.best-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.best-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border-radius: var(--r-sm);
    transition: .25s;
    cursor: pointer;
}

.best-item:hover {
    background: var(--indigo-ghost);
}

.best-rank {
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 800;
    color: #c9c7df;
    width: 22px;
    text-align: center;
    transition: .25s;
}

.best-item:nth-child(-n+3) .best-rank {
    color: var(--indigo);
}

.best-item img {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    object-fit: cover;
    flex-shrink: 0;
}

.best-item b {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 170px;
}

.best-item small {
    display: block;
    font-size: 10.5px;
    color: var(--muted);
}

.best-item .best-price {
    margin-left: auto;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    color: var(--indigo);
    white-space: nowrap;
}

/* ============ 11. WHY CHOOSE US ============ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.why-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 26px 22px;
    text-align: center;
    transition: .4s var(--ease);
    position: relative;
    overflow: hidden;
}

.why-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-lg);
}

.why-card::before {
    content: "";
    position: absolute;
    top: -46px;
    right: -46px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    opacity: .55;
    transition: transform .5s var(--ease);
}

.why-card:hover::before {
    transform: scale(1.6);
}

.why-indigo::before { background: var(--indigo-soft); }
.why-mint::before { background: var(--mint-soft); }
.why-coral::before { background: var(--coral-soft); }
.why-amber::before { background: var(--amber-soft); }

.why-icon {
    width: 56px;
    height: 56px;
    border-radius: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    margin: 0 auto 15px;
    position: relative;
    z-index: 1;
    transition: transform .4s var(--ease);
}

.why-card:hover .why-icon {
    transform: scale(1.12) rotate(-5deg);
}

.why-card h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 7px;
    position: relative;
    z-index: 1;
}

.why-card p {
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* ============ 12. PROCESS ============ */
.process-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 40px 38px;
    text-align: center;
}

.process-card .section-title {
    margin-bottom: 34px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.process-step {
    position: relative;
    padding: 0 8px;
}

.process-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 31px;
    left: calc(50% + 46px);
    width: calc(100% - 92px);
    border-top: 2px dashed var(--border-2);
}

.proc-num {
    width: 62px;
    height: 62px;
    margin: 0 auto 16px;
    border-radius: 19px;
    background: var(--indigo-ghost);
    color: var(--indigo);
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: .4s var(--ease);
}

.process-step:hover .proc-num {
    background: var(--indigo);
    color: #fff;
    transform: translateY(-5px) rotate(-4deg);
    box-shadow: 0 12px 26px rgba(91, 79, 232, .35);
}

.proc-num i {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 26px;
    height: 26px;
    border-radius: 9px;
    background: #fff;
    border: 1px solid var(--border);
    color: var(--indigo);
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.process-step h4 {
    font-size: 14.5px;
    font-weight: 700;
    margin-bottom: 6px;
}

.process-step p {
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.6;
    max-width: 210px;
    margin: 0 auto;
}

/* ============ 13. TESTIMONIALS ============ */
.t-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding-bottom: 16px;
}

.t-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: .35s var(--ease);
}

.t-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.t-stars {
    color: var(--amber);
    font-size: 12.5px;
    letter-spacing: 2px;
}

.t-text {
    font-size: 13px;
    color: var(--ink2);
    line-height: 1.7;
    flex: 1;
}

.t-quote {
    color: var(--indigo-soft);
    font-size: 26px;
    line-height: 0;
}

.t-person {
    display: flex;
    align-items: center;
    gap: 11px;
    border-top: 1px solid var(--border);
    padding-top: 13px;
}

.t-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--indigo-soft);
    color: var(--indigo);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid var(--indigo);
}

.t-person b {
    display: block;
    font-size: 13px;
    font-weight: 700;
}

.t-person small {
    font-size: 11.5px;
    color: var(--muted);
}

.t-person small i {
    color: var(--coral);
    font-size: 10px;
    margin-right: 3px;
}

@media (max-width: 900px) {
    .t-track { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .t-track { grid-template-columns: 1fr; }
}

/* ============ 14. FAQ ============ */
.faq-wrap {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: .3s var(--ease);
}

.faq-item.open {
    border-color: #d4d0f7;
    box-shadow: var(--shadow-md);
}

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    text-align: left;
    padding: 17px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    transition: .25s;
}

.faq-q:hover {
    color: var(--indigo);
}

.faq-q .faq-ico {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: var(--indigo-ghost);
    color: var(--indigo);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: transform .4s var(--ease), background .3s;
    flex-shrink: 0;
}

.faq-item.open .faq-ico {
    transform: rotate(135deg);
    background: var(--indigo);
    color: #fff;
}

.faq-a {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .45s var(--ease);
}

.faq-item.open .faq-a {
    grid-template-rows: 1fr;
}

.faq-a-inner {
    overflow: hidden;
}

.faq-a p {
    padding: 0 20px 18px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
}

/* ============ 15. NEWSLETTER ============ */
.news-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, #4a3fd6 0%, var(--indigo) 45%, var(--indigo2) 100%);
    border-radius: var(--r-xl);
    padding: 46px 48px;
    color: #fff;
    text-align: center;
}

.news-card::before,
.news-card::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .09);
}

.news-card::before {
    width: 260px;
    height: 260px;
    top: -110px;
    left: -70px;
}

.news-card::after {
    width: 200px;
    height: 200px;
    bottom: -90px;
    right: -60px;
}

.news-bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    border: 1.5px solid rgba(255, 255, 255, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    animation: float 6s ease-in-out infinite;
}

.news-bubble.nb1 {
    width: 64px;
    height: 64px;
    top: 30px;
    right: 8%;
    font-size: 20px;
}

.news-bubble.nb2 {
    width: 44px;
    height: 44px;
    bottom: 36px;
    left: 9%;
    font-size: 15px;
    animation-delay: 1.8s;
}

.news-card h2 {
    font-size: clamp(21px, 2.6vw, 28px);
    font-weight: 700;
    margin-bottom: 9px;
}

.news-card > p {
    font-size: 13.5px;
    opacity: .85;
    max-width: 480px;
    margin: 0 auto 26px;
}

.news-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 420px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.news-field {
    text-align: left;
}

.news-field label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 6px;
    display: block;
    text-align: left;
}

.news-form .field {
    background: rgba(255, 255, 255, .16);
    border-color: rgba(255, 255, 255, .28);
    color: #fff;
    backdrop-filter: blur(6px);
}

.news-form .field:focus {
    background: rgba(255, 255, 255, .24);
    border-color: #fff;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .18);
}

.news-consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, .85);
    cursor: pointer;
}

.news-consent input {
    accent-color: #fff;
    width: 15px;
    height: 15px;
    cursor: pointer;
    margin-top: 2px;
    flex-shrink: 0;
}

.news-btns {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 4px;
}

.news-success {
    position: relative;
    z-index: 2;
    display: none;
    max-width: 420px;
    margin: 0 auto;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: var(--r-md);
    padding: 22px;
    backdrop-filter: blur(8px);
}

.news-success.show {
    display: block;
    animation: cardIn .5s var(--ease);
}

.news-success i {
    font-size: 26px;
    margin-bottom: 8px;
}

.news-success b {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}

.news-success p {
    font-size: 12.5px;
    opacity: .85;
}

/* ============ 16. CONTACT ============ */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px;
}

.contact-form-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 32px;
}

.contact-form-card h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 6px;
}

.contact-form-card > p {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 22px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.ci-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 18px;
    transition: .3s var(--ease);
}

.ci-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.ci-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}

.ci-card h4 {
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 2px;
}

.ci-card p {
    font-size: 12.5px;
    color: var(--muted);
}

.ci-card p a {
    color: var(--indigo);
    font-weight: 600;
}

.ci-card p a:hover {
    text-decoration: underline;
}

/* ============ 17. FOOTER ============ */
.footer {
    margin-top: 26px;
    background: var(--surface);
    border-top: 1px solid var(--border);
}

.footer-in {
    max-width: 1500px;
    margin: 0 auto;
    padding: 44px 28px 0;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 34px;
}

.footer-brand .sb-logo {
    margin-bottom: 14px;
}

.footer-brand p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
    max-width: 300px;
    margin-bottom: 16px;
}

.footer-social {
    display: flex;
    gap: 9px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--ink2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: .3s var(--ease);
}

.footer-social a:hover {
    background: var(--indigo);
    color: #fff;
    border-color: var(--indigo);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    font-size: 13px;
    color: var(--muted);
    padding: 5px 0;
    transition: .2s;
}

.footer-col a:hover {
    color: var(--indigo);
    transform: translateX(3px);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    margin-top: 38px;
}

.footer-bottom-in {
    max-width: 1500px;
    margin: 0 auto;
    padding: 17px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--muted);
}

.footer-bottom .fb-links {
    display: flex;
    gap: 20px;
}

.footer-bottom a:hover {
    color: var(--indigo);
}

.footer-cod {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--mint-soft);
    color: #008a72;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 99px;
    font-size: 11.5px;
}

/* ============ 18. DRAWERS ============ */
.drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    width: min(420px, 94vw);
    background: var(--surface);
    z-index: 90;
    box-shadow: -18px 0 50px rgba(22, 21, 42, .18);
    transform: translateX(105%);
    transition: transform .5s var(--ease);
    display: flex;
    flex-direction: column;
}

.drawer.open {
    transform: none;
}

.drawer-left {
    left: 0;
    right: auto;
    width: var(--sidebar-w);
    box-shadow: 18px 0 50px rgba(22, 21, 42, .18);
    transform: translateX(-105%);
}

.drawer-left.open {
    transform: none;
}

.dr-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px;
    border-bottom: 1px solid var(--border);
}

.dr-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-head);
    font-size: 17px;
    font-weight: 700;
}

.dr-title i {
    color: var(--indigo);
    font-size: 15px;
}

.dr-title .dr-count {
    background: var(--indigo-soft);
    color: var(--indigo);
    font-size: 11px;
    font-weight: 700;
    border-radius: 99px;
    padding: 2px 9px;
    font-family: var(--font-body);
}

.dr-close {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: var(--bg);
    color: var(--ink2);
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .25s;
}

.dr-close:hover {
    background: var(--coral-soft);
    color: var(--coral);
    transform: rotate(90deg);
}

.dr-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-item {
    display: flex;
    gap: 13px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 12px;
    position: relative;
    animation: cardIn .4s var(--ease);
}

.cart-item img {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.ci-info {
    flex: 1;
    min-width: 0;
}

.ci-info b {
    display: block;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ci-info .ci-price {
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    color: var(--indigo);
    margin-top: 2px;
}

.ci-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 9px;
}

.qty {
    display: inline-flex;
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 9px;
    overflow: hidden;
}

.qty button {
    width: 26px;
    height: 26px;
    font-size: 10px;
    color: var(--ink2);
    transition: .2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty button:hover {
    background: var(--indigo);
    color: #fff;
}

.qty span {
    min-width: 26px;
    text-align: center;
    font-size: 12.5px;
    font-weight: 700;
}

.ci-del {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    color: var(--muted);
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .25s;
}

.ci-del:hover {
    background: var(--coral-soft);
    color: var(--coral);
}

.dr-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--muted);
    padding: 30px 10px;
}

.dr-empty .de-icon {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: var(--indigo-ghost);
    color: var(--indigo);
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    animation: float 4s ease-in-out infinite;
}

.dr-empty b {
    font-family: var(--font-head);
    font-size: 16px;
    color: var(--ink);
    margin-bottom: 6px;
}

.dr-empty p {
    font-size: 12.5px;
    margin-bottom: 18px;
}

.dr-foot {
    border-top: 1px solid var(--border);
    padding: 18px 22px;
    background: var(--surface);
}

.sum-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 7px;
}

.sum-row.total {
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 800;
    color: var(--ink);
    border-top: 1px dashed var(--border);
    padding-top: 11px;
    margin-top: 11px;
    margin-bottom: 14px;
}

.sum-row.total span:last-child {
    color: var(--indigo);
}

.cod-note {
    display: flex;
    align-items: center;
    gap: 9px;
    background: var(--mint-soft);
    border: 1px solid #c4ecdf;
    border-radius: 11px;
    padding: 10px 12px;
    font-size: 11.5px;
    color: #008a72;
    font-weight: 600;
    margin-bottom: 13px;
}

.wl-item {
    display: flex;
    gap: 13px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 12px;
    align-items: center;
    animation: cardIn .4s var(--ease);
}

.wl-item img {
    width: 56px;
    height: 56px;
    border-radius: 11px;
    object-fit: cover;
    flex-shrink: 0;
}

.wl-item .ci-info b {
    font-size: 12.5px;
}

.wl-actions {
    display: flex;
    gap: 7px;
    margin-top: 8px;
}

.wl-add {
    font-size: 11px;
    font-weight: 700;
    background: var(--indigo);
    color: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    transition: .25s;
}

.wl-add:hover {
    background: var(--indigo2);
}

.wl-rm {
    font-size: 11px;
    font-weight: 600;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--muted);
    padding: 6px 11px;
    border-radius: 8px;
    transition: .25s;
}

.wl-rm:hover {
    color: var(--coral);
    border-color: var(--coral);
}

/* ============ 19. MODALS ============ */
.modal {
    position: fixed;
    inset: 0;
    z-index: 95;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: .35s;
}

.modal.open {
    opacity: 1;
    visibility: visible;
}

.modal.open .modal-card {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal-card {
    position: relative;
    background: var(--surface);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    transform: translateY(26px) scale(.96);
    opacity: 0;
    transition: .45s var(--ease);
    width: 100%;
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 6;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    border: 1px solid var(--border);
    color: var(--ink2);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: .3s;
}

.modal-close:hover {
    background: var(--coral-soft);
    color: var(--coral);
    transform: rotate(90deg);
}

.ck-card {
    max-width: 760px;
    max-height: 92vh;
    overflow-y: auto;
    padding: 34px 36px 30px;
}

.ck-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 22px;
    padding-right: 34px;
}

.ck-head h3 {
    font-size: 21px;
    font-weight: 700;
}

.ck-head .cod-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--mint-soft);
    color: #008a72;
    font-size: 11.5px;
    font-weight: 700;
    padding: 7px 13px;
    border-radius: 99px;
    border: 1px solid #c4ecdf;
    white-space: nowrap;
}

.ck-sec-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 20px 0 12px;
}

.ck-summary {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 8px 14px;
    max-height: 190px;
    overflow-y: auto;
}

.ck-line {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 0;
    border-bottom: 1px dashed var(--border);
}

.ck-line:last-child {
    border-bottom: none;
}

.ck-line img {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    object-fit: cover;
}

.ck-line b {
    font-size: 12.5px;
    font-weight: 600;
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ck-line small {
    color: var(--muted);
    font-size: 11px;
}

.ck-line span {
    font-family: var(--font-head);
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
}

.ck-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 800;
    margin-top: 13px;
    padding: 0 2px;
}

.ck-total span:last-child {
    color: var(--indigo);
    font-size: 18px;
}

.ck-pay {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--mint-soft);
    border: 1.5px solid #b8e8dc;
    border-radius: var(--r-md);
    padding: 15px 16px;
    margin-top: 20px;
}

.ck-pay i {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: var(--mint);
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ck-pay b {
    display: block;
    font-size: 13.5px;
    color: var(--ink);
    margin-bottom: 2px;
}

.ck-pay p {
    font-size: 11.5px;
    color: #3fa28d;
}

.ck-submit {
    margin-top: 22px;
    width: 100%;
    padding: 15px;
    font-size: 14.5px;
}

.policy-content h4 {
    font-family: var(--font-head);
    font-size: 14px;
    margin-top: 16px;
    margin-bottom: 6px;
}

.policy-content p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
}

.policy-content h4:first-child {
    margin-top: 0;
}

.success-card {
    max-width: 460px;
    text-align: center;
    padding: 44px 40px;
}

.success-icon {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: var(--mint-soft);
    color: var(--mint);
    font-size: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    animation: pop .6s var(--ease) .15s both;
}

@keyframes pop {
    0% { transform: scale(0) rotate(-20deg); }
    70% { transform: scale(1.12); }
    100% { transform: scale(1); }
}

.success-card h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 9px;
}

.success-card > p {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.order-id {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg);
    border: 1px dashed var(--border-2);
    border-radius: var(--r-sm);
    padding: 11px 20px;
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 700;
    color: var(--indigo);
    margin-bottom: 24px;
}

.order-id i {
    color: var(--mint);
    font-size: 13px;
}

.success-confetti {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    border-radius: var(--r-lg);
}

.success-confetti span {
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 2px;
    animation: confetti 3.2s linear infinite;
    opacity: 0;
}

@keyframes confetti {
    0% { transform: translateY(-20px) rotate(0); opacity: 0; }
    12% { opacity: 1; }
    100% { transform: translateY(420px) rotate(560deg); opacity: 0; }
}

/* ============ 20. TOAST ============ */
.toast-wrap {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 120;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 11px;
    background: var(--ink);
    color: #fff;
    border-radius: 99px;
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    animation: toastIn .45s var(--ease);
    max-width: 92vw;
}

.toast.out {
    animation: toastOut .4s ease forwards;
}

.toast i {
    color: var(--mint);
    font-size: 14px;
}

.toast.err i {
    color: var(--coral);
}

@keyframes toastIn {
    from { opacity: 0; transform: translateY(18px) scale(.92); }
    to { opacity: 1; transform: none; }
}

@keyframes toastOut {
    to { opacity: 0; transform: translateY(14px) scale(.94); }
}

/* ============ 21. SCROLL REVEAL ============ */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.reveal.in {
    opacity: 1;
    transform: none;
}

.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
.reveal[data-d="5"] { transition-delay: .4s; }

/* ============ 22. RESPONSIVE ============ */
@media (max-width:1280px) {
    .p-grid { grid-template-columns: repeat(3, 1fr); }
    .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width:1100px) {
    :root { --sidebar-w: 280px; }
    .sidebar { transform: translateX(-105%); }
    .sidebar.open { transform: none; }
    .hamburger { display: inline-flex; }
    .main {
        margin-left: 0;
        width: 100%;
        max-width: 100%;
    }
    .topbar-nav { display: none; }
    .about-card { grid-template-columns: 1fr; gap: 26px; }
    .process-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
    .process-step:nth-child(2)::after { display: none; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .widget-row { grid-template-columns: 1fr; }
    .footer-in { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width:900px) {
    .p-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-card { flex-basis: min(480px, 80vw); height: 264px; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width:640px) {
    .section { padding: 20px 16px 0; }
    .topbar { padding: 0 14px; height: 62px; gap: 10px; }
    .topbar .icon-btn { width: 38px; height: 38px; }
    .tb-search { flex: 1; }
    .search-box { padding-left: 13px; height: 40px; }
    .search-box i { font-size: 12px; }
    .hero { padding: 18px 16px 0; }
    .hero-card { flex-basis: 88vw; height: 252px; padding: 26px 110px 26px 24px; }
    .hero-card h2 { font-size: 20px; }
    .hero-card p { font-size: 12px; margin-bottom: 14px; }
    .hero-card .btn { font-size: 12px; padding: 10px 16px; }
    .hc-bubble.b1 { width: 74px; height: 74px; right: 26px; font-size: 23px; top: 24px; }
    .hc-bubble.b2 { width: 48px; height: 48px; right: 88px; top: 150px; font-size: 15px; }
    .hc-bubble.b3 { display: none; }
    .stats {
        grid-template-columns: repeat(4, minmax(150px, 1fr));
        overflow-x: auto;
        scrollbar-width: none;
        margin-right: -16px;
        padding-right: 16px;
    }
    .stats::-webkit-scrollbar { display: none; }
    .stat-card { min-width: 150px; }
    .p-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .p-card .p-acts .p-act { opacity: 1; transform: none; }
    .p-body { padding: 12px 12px 13px; }
    .p-add { font-size: 11.5px; padding: 9px; }
    .about-card { padding: 26px 20px; border-radius: 20px; }
    .about-points { grid-template-columns: 1fr; }
    .about-grid { gap: 11px; }
    .section-head { margin-bottom: 14px; }
    .news-card { padding: 38px 22px; border-radius: 20px; }
    .process-card { padding: 30px 18px; }
    .process-grid { grid-template-columns: 1fr 1fr; gap: 26px 14px; }
    .process-step:not(:last-child)::after { display: none; }
    .why-grid { gap: 13px; }
    .why-card { padding: 22px 16px; }
    .t-card { flex: 0 0 290px; }
    .footer-in { grid-template-columns: 1fr 1fr; gap: 26px; padding: 36px 20px 0; }
    .footer-bottom-in { padding: 16px 20px; justify-content: center; text-align: center; }
    .ck-card { padding: 26px 20px; }
    .form-grid { grid-template-columns: 1fr; }
    .drawer { width: 100vw; }
    .modal { padding: 10px; }
    .sb-promo { display: none; }
    .sidebar { padding-bottom: 20px; }
    .success-card { padding: 36px 24px; }
}

@media (max-width:420px) {
    .p-grid { grid-template-columns: 1fr; }
    .best-item b { max-width: 120px; }
}

/* ============ 23. ADDITIONAL PAGE-SPECIFIC STYLES ============ */

/* Product Detail Page */
.product-detail-page {
    padding: 26px 28px 0;
    max-width: 1500px;
    margin: 0 auto;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 40px;
}

.product-detail-media {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-detail-main-img {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.product-detail-main-img img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    transition: transform 0.3s var(--ease);
}

.product-detail-info h1 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: 12px;
}

.product-detail-cat {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--indigo);
    margin-bottom: 8px;
}

.product-detail-price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 16px 0;
}

.product-detail-price {
    font-family: var(--font-head);
    font-size: 32px;
    font-weight: 800;
    color: var(--indigo);
}

.product-detail-rate {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--muted);
}

.product-detail-rate .stars {
    color: var(--amber);
    font-size: 13px;
    letter-spacing: 1.5px;
}

.product-detail-desc {
    font-size: 14px;
    color: var(--ink2);
    line-height: 1.8;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.product-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.product-detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--ink2);
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 8px 14px;
    border-radius: 99px;
}

.product-detail-meta i {
    color: var(--mint);
    font-size: 12px;
}

.product-detail-qty {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.product-detail-qty label {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink2);
}

.product-detail-qty .qty {
    display: inline-flex;
    align-items: center;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}

.product-detail-qty .qty button {
    width: 38px;
    height: 38px;
    font-size: 12px;
    color: var(--ink2);
    transition: .2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail-qty .qty button:hover {
    background: var(--indigo);
    color: #fff;
}

.product-detail-qty .qty span {
    min-width: 44px;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
}

.product-detail-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.product-detail-actions .btn {
    flex: 1;
    min-width: 160px;
    padding: 14px 24px;
    font-size: 14px;
}

.product-detail-actions .icon-btn {
    width: 52px;
    height: 52px;
    font-size: 18px;
}

/* Related Products on Product Detail */
.related-section {
    margin-top: 30px;
    padding: 30px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
}

.related-section h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

/* Product Not Found */
.not-found-card {
    text-align: center;
    padding: 80px 30px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    max-width: 600px;
    margin: 60px auto;
}

.not-found-card i {
    font-size: 56px;
    color: var(--coral);
    margin-bottom: 20px;
    display: block;
}

.not-found-card h2 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 10px;
}

.not-found-card p {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 24px;
    line-height: 1.7;
}

/* Standalone Page Wrapper (for about, contact, policies, etc.) */
.standalone-page {
    max-width: 1500px;
    margin: 0 auto;
    padding: 26px 28px 0;
    width: 100%;
}

.standalone-page .section {
    padding-left: 0;
    padding-right: 0;
    max-width: none;
}

/* Page Hero for standalone pages */
.page-hero {
    background: linear-gradient(125deg, #4a3fd6 0%, var(--indigo2) 58%, #9b8ffb 100%);
    border-radius: var(--r-lg);
    padding: 48px 40px;
    color: #fff;
    margin-bottom: 26px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .09);
    top: -70px;
    right: -50px;
}

.page-hero h1 {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.page-hero p {
    font-size: 14px;
    opacity: .88;
    max-width: 560px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* Wishlist Page */
.wishlist-page-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

/* Checkout Page */
.checkout-page-layout {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 24px;
    align-items: start;
}

.checkout-form-section {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 32px;
}

.checkout-summary-section {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 32px;
    position: sticky;
    top: 92px;
}

.checkout-summary-section h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 18px;
}

/* Newsletter Page */
.newsletter-page-wrapper {
    max-width: 640px;
    margin: 0 auto;
}

/* Unsubscribe Page */
.unsubscribe-page-wrapper {
    max-width: 480px;
    margin: 40px auto;
}

/* Contact Page */
.contact-page-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
}

/* Empty State (Cart/Wishlist pages) */
.page-empty-state {
    text-align: center;
    padding: 80px 30px;
    background: var(--surface);
    border: 1px dashed var(--border-2);
    border-radius: var(--r-xl);
    max-width: 520px;
    margin: 40px auto;
}

.page-empty-state .de-icon {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: var(--indigo-ghost);
    color: var(--indigo);
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    animation: float 4s ease-in-out infinite;
}

.page-empty-state h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.page-empty-state p {
    font-size: 13.5px;
    color: var(--muted);
    margin-bottom: 22px;
}

/* Loading state for product page */
.product-loading {
    text-align: center;
    padding: 100px 20px;
    color: var(--muted);
}

.product-loading i {
    font-size: 36px;
    color: var(--indigo);
    animation: spin 1s linear infinite;
    display: block;
    margin-bottom: 16px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* About Page Modern Layout */
.about-modern-wrapper {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-modern-header {
    text-align: center;
    max-width: 720px;
    margin-bottom: 48px;
}

.about-modern-header .section-eyebrow {
    justify-content: center;
    margin-bottom: 12px;
}

.about-modern-header h2 {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--ink);
    margin-bottom: 18px;
    line-height: 1.2;
}

.about-modern-header h2 span {
    color: var(--indigo);
}

.about-modern-header p {
    font-size: 14.5px;
    color: var(--ink2);
    line-height: 1.8;
}

.about-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    width: 100%;
}

.about-modern-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 28px 22px;
    text-align: center;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s;
}

.about-modern-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    background: #fff;
}

.am-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 18px auto;
}

.am-i-indigo { background: var(--indigo-soft); color: var(--indigo); }
.am-i-mint { background: var(--mint-soft); color: var(--mint); }
.am-i-coral { background: var(--coral-soft); color: var(--coral); }
.am-i-amber { background: var(--amber-soft); color: var(--amber); }

.about-modern-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
}

.about-modern-card p {
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.6;
}

/* Responsive for new pages */
@media (max-width: 1100px) {
    .product-detail-grid { grid-template-columns: 1fr; gap: 26px; padding: 26px; }
    .related-grid { grid-template-columns: repeat(3, 1fr); }
    .checkout-page-layout { grid-template-columns: 1fr; }
    .checkout-summary-section { position: static; }
    .contact-page-layout { grid-template-columns: 1fr; }
    .wishlist-page-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    .related-grid { grid-template-columns: repeat(2, 1fr); }
    .wishlist-page-grid { grid-template-columns: repeat(2, 1fr); }
    .page-hero { padding: 36px 24px; }
}

@media (max-width: 640px) {
    .standalone-page { padding: 20px 16px 0; }
    .product-detail-page { padding: 20px 16px 0; }
    .product-detail-grid { padding: 20px; }
    .product-detail-info h1 { font-size: 22px; }
    .product-detail-price { font-size: 26px; }
    .related-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .wishlist-page-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .checkout-form-section,
    .checkout-summary-section { padding: 22px; }
    .product-detail-actions .btn { min-width: 120px; }
    .about-modern-wrapper { padding: 40px 20px; }
    .about-modern-header { margin-bottom: 32px; }
}

@media (max-width: 420px) {
    .related-grid { grid-template-columns: 1fr; }
    .wishlist-page-grid { grid-template-columns: 1fr; }
}