/* ==========================================================================
   SpeedSound Shop — storefront + admin styles
   ========================================================================== */

:root {
    --ink: #0b1220;
    --ink-2: #111b2e;
    --ink-3: #1b2740;
    --text: #182132;
    --muted: #5d687c;
    --muted-2: #7c879b;
    --line: #e4e8f1;
    --line-strong: #d5dbe8;
    --paper: #f6f7fb;
    --paper-2: #eef1f8;
    --white: #ffffff;
    --cream: #fff6ec;
    --brand: #ee5a1f;
    --brand-2: #ff7a3c;
    --brand-deep: #c2410c;
    --brand-soft: #fff0e6;
    --blue: #3b6ea5;
    --blue-soft: #eaf1fb;
    --green: #16794a;
    --green-soft: #e7f7ee;
    --red: #b42318;
    --red-soft: #feeceb;
    --amber: #9a5b00;
    --amber-soft: #fff6e5;
    --shadow-sm: 0 1px 2px rgba(13, 20, 34, .05);
    --shadow-md: 0 18px 40px -24px rgba(13, 20, 34, .28);
    --shadow-lg: 0 40px 80px -40px rgba(13, 20, 34, .4);
    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 28px;
    --radius-xl: 36px;
    --container: 1180px;
    --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
    --mono: "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background:
        radial-gradient(1200px 600px at 85% -10%, #eaf1ff 0%, rgba(234, 241, 255, 0) 60%),
        radial-gradient(900px 500px at -10% 10%, #fff2e5 0%, rgba(255, 242, 229, 0) 55%),
        var(--paper);
    -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand-deep); }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

h1, h2, h3, h4 {
    margin: 0 0 .5em;
    line-height: 1.12;
    letter-spacing: -.03em;
    font-weight: 750;
    color: var(--ink);
}
h1 { font-size: clamp(34px, 5vw, 56px); }
h2 { font-size: clamp(26px, 3.5vw, 40px); }
h3 { font-size: 20px; letter-spacing: -.02em; }
p { margin: 0 0 1em; }

::selection { background: var(--brand); color: #fff; }

:focus-visible {
    outline: 3px solid rgba(238, 90, 31, .55);
    outline-offset: 3px;
    border-radius: 6px;
}

.sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -100px;
    z-index: 999;
    background: var(--ink);
    color: #fff;
    padding: 12px 18px;
    border-radius: 0 0 12px 12px;
    transition: top .2s ease;
}
.skip-link:focus { top: 0; color: #fff; }

.container {
    width: min(var(--container), 92vw);
    margin-inline: auto;
}

.icon {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    display: inline-block;
    vertical-align: -4px;
}
.icon-sm { width: 16px; height: 16px; vertical-align: -3px; }

.mono { font-family: var(--mono); font-size: .92em; }
.muted { color: var(--muted); }
.text-danger { color: var(--red) !important; }
.fine-print { color: var(--muted-2); font-size: 13px; line-height: 1.6; margin: 10px 0 0; }

/* ------------------------------ Buttons ------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.1;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
    background: linear-gradient(180deg, var(--brand) 0%, var(--brand-deep) 100%);
    color: #fff;
    box-shadow: 0 12px 24px -14px rgba(194, 65, 12, .8);
}
.btn-primary:hover { color: #fff; box-shadow: 0 16px 30px -14px rgba(194, 65, 12, .85); }
.btn-ghost {
    background: rgba(255, 255, 255, .7);
    border-color: var(--line-strong);
    color: var(--ink);
    backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: #fff; border-color: var(--ink); color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-danger { background: var(--red-soft); color: var(--red); border-color: #f6c9c5; }
.btn-danger:hover { background: var(--red); color: #fff; }
.btn-small { padding: 9px 15px; font-size: 13px; border-radius: 999px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 700;
    color: var(--brand-deep);
    font-size: 14px;
}
.text-link:hover { gap: 11px; }
.link-button {
    border: 0;
    background: none;
    padding: 0;
    color: var(--muted);
    font-size: 13px;
    text-decoration: underline;
    text-underline-offset: 3px;
    align-self: flex-start;
}
.link-button:hover { color: var(--red); }
.icon-button {
    display: inline-flex;
    width: 36px; height: 36px;
    align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--paper);
    color: var(--ink);
}
.icon-button:hover { background: var(--ink); color: #fff; }

/* ------------------------------ Announcement ------------------------------ */
.announcement {
    background: var(--ink);
    color: #f4f6fb;
    font-size: 13px;
    letter-spacing: .01em;
}
.announcement-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 42px;
    padding-block: 8px;
    position: relative;
    text-align: center;
}
.announcement strong { color: var(--brand-2); }
.announcement-close {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 0;
    color: rgba(255, 255, 255, .6);
    padding: 6px;
    line-height: 0;
}
.announcement-close:hover { color: #fff; }

/* ------------------------------ Header ------------------------------ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .82);
    border-bottom: 1px solid rgba(228, 232, 241, .9);
    backdrop-filter: blur(18px) saturate(1.2);
}
.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 13px 0;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}
.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(145deg, #26324a 0%, #0b1220 100%);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), var(--shadow-sm);
}
.brand-mark .icon { width: 23px; height: 23px; color: var(--brand-2); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-text strong { font-size: 17px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); white-space: nowrap; }
.brand-text small { font-size: 10.5px; color: var(--muted-2); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.desktop-nav { display: flex; align-items: center; gap: 8px; }
.desktop-nav a {
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    transition: background .15s ease, color .15s ease;
}
.desktop-nav a:hover { background: var(--paper); color: var(--ink); }
.desktop-nav a.is-active { color: var(--ink); background: var(--paper-2); }

.nav-actions { display: flex; align-items: center; gap: 8px; }
.language-picker {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 0 6px;
    border-radius: 999px;
    color: var(--muted);
}
.language-picker select {
    border: 0;
    background: transparent;
    padding: 8px 2px;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    max-width: 110px;
    cursor: pointer;
}
.language-picker .icon { width: 17px; height: 17px; }

.nav-login, .cart-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 12px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 650;
    color: var(--ink);
}
.nav-login:hover, .cart-link:hover { background: var(--paper); }
.cart-link { background: var(--ink); color: #fff; padding: 9px 14px; }
.cart-link:hover { background: var(--brand-deep); color: #fff; }
.cart-link .icon { width: 18px; height: 18px; }
.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 21px;
    height: 21px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}
.cart-label { display: none; }
@media (min-width: 1080px) { .cart-label { display: inline; } }

.account-menu { position: relative; }
.account-menu > summary {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    list-style: none;
    cursor: pointer;
    padding: 5px 8px 5px 5px;
    border-radius: 999px;
    background: var(--paper);
}
.account-menu > summary::-webkit-details-marker { display: none; }
.account-menu > summary:hover { background: var(--paper-2); }
.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--brand-2), var(--brand-deep));
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .02em;
}
.avatar-lg { width: 72px; height: 72px; font-size: 24px; }
.avatar-sm { width: 34px; height: 34px; font-size: 12px; }
.account-label { font-size: 13px; font-weight: 650; max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: 224px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    padding: 8px;
    display: grid;
    gap: 2px;
    z-index: 60;
}
.account-panel a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
}
.account-panel a:hover { background: var(--paper); color: var(--ink); }
.account-panel .icon { width: 17px; height: 17px; color: var(--muted); }

.mobile-menu { display: none; position: relative; }
.mobile-menu > summary {
    list-style: none;
    display: inline-flex;
    width: 40px; height: 40px;
    align-items: center; justify-content: center;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #fff;
    cursor: pointer;
}
.mobile-menu > summary::-webkit-details-marker { display: none; }
.mobile-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: min(310px, 88vw);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    padding: 12px;
    display: grid;
    gap: 2px;
    z-index: 60;
}
.mobile-panel > a {
    padding: 11px 13px;
    border-radius: 12px;
    font-weight: 650;
    font-size: 14.5px;
}
.mobile-panel > a:hover { background: var(--paper); }
.mobile-panel .btn { margin-top: 6px; }
.mobile-language { display: grid; gap: 6px; padding: 12px 13px 4px; border-top: 1px solid var(--line); margin-top: 8px; font-size: 12px; color: var(--muted); }
.mobile-language select { width: 100%; }

/* ------------------------------ Flash ------------------------------ */
.flash-stack { display: grid; gap: 8px; margin-top: 18px; }
.flash {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 14px;
    border: 1px solid transparent;
}
.flash .icon { margin-top: 1px; }
.flash-success { background: var(--green-soft); color: var(--green); border-color: #b8e6cc; }
.flash-error { background: var(--red-soft); color: var(--red); border-color: #f5c4c0; }
.flash-warning { background: var(--amber-soft); color: var(--amber); border-color: #f2ddb2; }
.flash-info { background: var(--blue-soft); color: var(--blue); border-color: #cddff5; }

/* ------------------------------ Sections ------------------------------ */
.section { padding: clamp(56px, 8vw, 92px) 0; }
.section-soft {
    background:
        radial-gradient(800px 400px at 90% 0%, #fff2e6 0%, rgba(255, 242, 230, 0) 60%),
        linear-gradient(180deg, #fff 0%, #f4f6fb 100%);
    border-block: 1px solid var(--line);
}
.section-dark {
    background:
        radial-gradient(700px 420px at 15% 0%, rgba(238, 90, 31, .26) 0%, rgba(238, 90, 31, 0) 60%),
        radial-gradient(700px 420px at 90% 100%, rgba(59, 110, 165, .3) 0%, rgba(59, 110, 165, 0) 55%),
        var(--ink);
    color: #dbe3f2;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #b7c2d6; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--brand-deep);
    margin-bottom: 14px;
}
.section-dark .eyebrow { color: var(--brand-2); }
.live-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 5px rgba(238, 90, 31, .14);
}
.section-head { max-width: 660px; margin-bottom: 38px; }
.section-head p { color: var(--muted); font-size: 17px; margin-bottom: 0; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }
.section-head-row > div { max-width: 660px; }
.section-head-row .text-link { margin-bottom: 6px; }
.section-dark .section-head p { color: #aab7cc; }

/* ------------------------------ Hero ------------------------------ */
.hero {
    position: relative;
    padding: clamp(42px, 6vw, 76px) 0 clamp(48px, 7vw, 88px);
    overflow: hidden;
    background:
        radial-gradient(780px 520px at 78% 30%, rgba(255, 220, 190, .8) 0%, rgba(255, 220, 190, 0) 66%),
        radial-gradient(620px 420px at 12% 6%, rgba(211, 226, 252, .8) 0%, rgba(211, 226, 252, 0) 64%),
        linear-gradient(180deg, #fffaf4 0%, #f7f8fc 68%, #f6f7fb 100%);
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(12, 20, 36, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(12, 20, 36, .035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(70% 70% at 50% 40%, #000 0%, transparent 100%);
    pointer-events: none;
}
.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}
.hero-copy h1 { margin: 16px 0 20px; }
.hero-copy h1 .accent {
    display: inline;
    color: var(--brand-deep);
    background: linear-gradient(180deg, transparent 62%, rgba(255, 168, 112, .32) 62%);
    padding-bottom: .04em;
}
.hero-lede { font-size: clamp(17px, 1.7vw, 20px); color: var(--muted); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-points { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 14px 22px; }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); }
.hero-points .icon { width: 16px; height: 16px; color: var(--green); }
.hero-price-row { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(213, 219, 232, .8); }
.hero-price { display: flex; align-items: baseline; gap: 10px; }
.hero-price .price-label { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted-2); font-weight: 700; }
.hero-price strong { font-size: 32px; letter-spacing: -.04em; color: var(--ink); }
.hero-price del { color: var(--muted-2); font-size: 17px; }
.hero-rating { display: flex; align-items: center; gap: 10px; }
.hero-rating small { color: var(--muted); }

.hero-media { position: relative; min-height: 500px; display: flex; align-items: center; justify-content: center; }
.hero-glow {
    position: absolute;
    width: 72%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 138, 76, .45) 0%, rgba(255, 138, 76, 0) 65%);
    filter: blur(30px);
}
.hero-ring {
    position: absolute;
    width: 82%;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px dashed rgba(194, 65, 12, .22);
    animation: spin 60s linear infinite;
}
.hero-device {
    position: relative;
    z-index: 2;
    width: min(74%, 440px);
    max-height: 560px;
    object-fit: contain;
    filter: drop-shadow(0 20px 26px rgba(9, 15, 27, .14));
    animation: float 7s ease-in-out infinite;
}
.float-card {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .9);
    border: 1px solid rgba(255, 255, 255, .8);
    box-shadow: 0 18px 36px -22px rgba(13, 20, 34, .45);
    backdrop-filter: blur(10px);
    font-size: 12px;
}
.float-card .icon { width: 18px; height: 18px; color: var(--brand-deep); }
.float-card span { display: flex; flex-direction: column; line-height: 1.2; }
.float-card strong { font-size: 12.5px; color: var(--ink); }
.float-card small { font-size: 10.5px; color: var(--muted-2); }
.float-sync { left: 0; top: 18%; }
.float-sounds { right: 0; top: 34%; }
.float-mount { right: 4%; bottom: 10%; }

@keyframes float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(-1deg); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------ Trust strip ------------------------------ */
.trust-strip { background: rgba(255, 255, 255, .72); border-block: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 22px 0; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-icon {
    display: inline-flex;
    width: 42px; height: 42px;
    align-items: center; justify-content: center;
    border-radius: 13px;
    background: var(--brand-soft);
    color: var(--brand-deep);
    flex: 0 0 auto;
}
.trust-icon .icon { width: 21px; height: 21px; }
.trust-item strong { display: block; font-size: 13.5px; letter-spacing: -.01em; }
.trust-item small { display: block; font-size: 12px; color: var(--muted); line-height: 1.35; }

/* ------------------------------ Steps ------------------------------ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 30px 26px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.step-card::after {
    content: "";
    position: absolute;
    right: -30px; top: -30px;
    width: 120px; height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(238, 90, 31, .12), transparent 70%);
}
.step-number {
    position: absolute;
    right: 18px;
    top: 6px;
    font-size: 64px;
    font-weight: 850;
    letter-spacing: -.06em;
    color: rgba(24, 33, 50, .06);
    line-height: 1;
}
.step-icon {
    display: inline-flex;
    width: 48px; height: 48px;
    align-items: center; justify-content: center;
    border-radius: 16px;
    background: var(--ink);
    color: var(--brand-2);
    margin-bottom: 20px;
}
.step-icon .icon { width: 24px; height: 24px; }
.step-card h3 { font-size: 21px; }
.step-card p { color: var(--muted); font-size: 14.5px; margin-bottom: 0; }

/* ------------------------------ Sound grid ------------------------------ */
.sound-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.sound-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 22px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    overflow: hidden;
}
.sound-card::after {
    content: "";
    position: absolute;
    right: -18px; bottom: -28px;
    width: 110px; height: 110px;
    border-radius: 50%;
    border: 1px solid rgba(238, 90, 31, .14);
}
.sound-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #f3cdb9; }
.sound-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 30px;
    padding: 0 10px;
    border-radius: 10px;
    background: var(--brand-soft);
    color: var(--brand-deep);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    margin-bottom: 22px;
}
.sound-card h3 { font-size: 19px; margin-bottom: 2px; }
.sound-card small { color: var(--muted-2); font-size: 12.5px; }
.sound-card-more { background: var(--ink); border-color: var(--ink); }
.sound-card-more .sound-tag { background: rgba(238, 90, 31, .22); color: #ffb28a; }
.sound-card-more h3 { color: #fff; }
.sound-card-more small { color: #aab7cc; }

/* ------------------------------ Product spotlight ------------------------------ */
.product-spotlight { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.spotlight-media {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow-md);
}
.spotlight-media img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.media-badge {
    position: absolute;
    left: 18px;
    top: 18px;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(8px);
    font-size: 12px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, .8);
}
.spotlight-copy h2 { margin-bottom: 10px; }
.spotlight-tagline { font-size: 18px; font-weight: 650; color: var(--brand-deep); margin-bottom: 14px; }
.spotlight-copy > p { color: var(--muted); }
.spec-list { list-style: none; padding: 0; margin: 20px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.spec-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--ink-3); }
.spec-list .icon { width: 17px; height: 17px; color: var(--green); margin-top: 3px; }
.spotlight-price { display: flex; align-items: baseline; gap: 12px; margin: 22px 0 16px; }
.spotlight-price strong { font-size: 34px; letter-spacing: -.04em; }
.spotlight-price del { color: var(--muted-2); font-size: 17px; }
.stock-note { font-size: 12px; font-weight: 700; color: var(--amber); background: var(--amber-soft); border-radius: 999px; padding: 5px 10px; }

/* ------------------------------ Use cases ------------------------------ */
.use-section { overflow: hidden; position: relative; }
.use-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.use-card {
    border-radius: var(--radius-lg);
    padding: 28px;
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(255, 255, 255, .1);
    backdrop-filter: blur(6px);
}
.use-icon {
    display: inline-flex;
    width: 48px; height: 48px;
    align-items: center; justify-content: center;
    border-radius: 15px;
    background: rgba(238, 90, 31, .18);
    color: var(--brand-2);
    margin-bottom: 18px;
}
.use-icon .icon { width: 24px; height: 24px; }
.use-card p { margin-bottom: 0; font-size: 14.5px; }

/* ------------------------------ Features ------------------------------ */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-card {
    background: rgba(255, 255, 255, .72);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 26px;
}
.feature-icon {
    display: inline-flex;
    width: 44px; height: 44px;
    align-items: center; justify-content: center;
    border-radius: 14px;
    background: var(--blue-soft);
    color: var(--blue);
    margin-bottom: 18px;
}
.feature-icon .icon { width: 22px; height: 22px; }
.feature-card h3 { font-size: 18px; }
.feature-card p { color: var(--muted); font-size: 14px; margin-bottom: 0; }

/* ------------------------------ Reviews ------------------------------ */
.rating-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: 13.5px; }
.stars { display: inline-flex; gap: 2px; letter-spacing: 1px; }
.star { color: #d7dce7; font-size: 16px; line-height: 1; }
.star.is-on { color: #f2a20c; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review-grid.is-sparse { grid-template-columns: repeat(auto-fit, minmax(280px, 420px)); justify-content: center; }
.review-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
}
.review-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.verified { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; color: var(--green); background: var(--green-soft); padding: 4px 8px; border-radius: 999px; }
.verified .icon { width: 12px; height: 12px; }
.review-card h3 { font-size: 17px; margin-bottom: 8px; }
.review-card p { color: var(--muted); font-size: 14px; }
.review-card footer { color: var(--muted-2); font-size: 12px; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 14px; }

/* ------------------------------ FAQ ------------------------------ */
.faq-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.faq-layout-wide { grid-template-columns: .7fr 1.3fr; }
.faq-intro { position: sticky; top: 110px; }
.faq-intro p { color: var(--muted); }
.faq-links { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 6px; }
.faq-links a { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.faq-links a:hover { border-color: var(--brand); }
.faq-links .icon { color: var(--brand-deep); }
.faq-list { display: grid; gap: 10px; }
.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item[open] { border-color: #f3c8b2; box-shadow: var(--shadow-sm); }
.faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 19px 22px;
    font-size: 15.5px;
    font-weight: 700;
    letter-spacing: -.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { width: 18px; height: 18px; color: var(--muted); transition: transform .2s ease; flex: 0 0 auto; }
.faq-item[open] summary .icon { transform: rotate(180deg); color: var(--brand-deep); }
.faq-answer { padding: 0 22px 20px; color: var(--muted); font-size: 14.5px; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ------------------------------ CTA band ------------------------------ */
.cta-band {
    margin-top: 8px;
    background:
        radial-gradient(600px 300px at 12% 20%, rgba(238, 90, 31, .34), transparent 65%),
        radial-gradient(600px 300px at 88% 90%, rgba(59, 110, 165, .35), transparent 60%),
        var(--ink);
    color: #fff;
    padding: clamp(42px, 6vw, 64px) 0;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; margin: 0; max-width: 620px; }
.cta-inner .eyebrow { color: var(--brand-2); margin-bottom: 10px; }
.cta-inner p { color: #b7c2d6; margin: 8px 0 0; }
.cta-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cta-price { font-size: 28px; font-weight: 800; letter-spacing: -.03em; }

/* ------------------------------ Page hero / content ------------------------------ */
.page-hero {
    padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 44px);
    background:
        radial-gradient(700px 380px at 85% 0%, rgba(255, 222, 195, .8), transparent 65%),
        linear-gradient(180deg, #fffaf4, #f7f8fc);
    border-bottom: 1px solid var(--line);
}
.page-hero h1 { max-width: 900px; margin-bottom: 12px; }
.page-hero-sub { max-width: 720px; color: var(--muted); font-size: 17px; margin-bottom: 0; }
.breadcrumbs { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); margin-bottom: 22px; flex-wrap: wrap; }
.breadcrumbs a:hover { color: var(--brand-deep); }
.breadcrumbs span[aria-hidden] { color: var(--line-strong); }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(30px, 5vw, 70px); align-items: start; }
.prose { max-width: 760px; color: #33405a; font-size: 15.5px; }
.prose .lead { font-size: 19px; color: var(--ink-3); line-height: 1.6; margin-bottom: 28px; }
.prose h2 { font-size: 26px; margin: 38px 0 12px; padding-top: 8px; }
.prose h3 { font-size: 19px; margin-top: 26px; }
.prose p, .prose li { color: #44516a; }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 8px; margin: 0 0 18px; }
.prose a { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose .btn { text-decoration: none; color: #fff; margin-top: 8px; }
.content-aside { position: sticky; top: 104px; display: grid; gap: 14px; }
.policy-nav { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px; display: grid; gap: 3px; }
.policy-nav h2 { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted-2); margin: 4px 4px 10px; }
.policy-nav a { padding: 9px 11px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--muted); }
.policy-nav a:hover, .policy-nav a.is-active { background: var(--paper); color: var(--ink); }
.help-card { background: var(--ink); color: #fff; border-radius: 22px; padding: 22px; }
.help-card h2 { color: #fff; font-size: 19px; }
.help-card p { color: #b7c2d6; font-size: 13.5px; }
.help-card .text-link { color: var(--brand-2); }
.help-icon { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 12px; background: rgba(238, 90, 31, .18); color: var(--brand-2); margin-bottom: 14px; }

/* ------------------------------ Product page ------------------------------ */
.product-hero { padding: 24px 0 clamp(46px, 6vw, 76px); background: radial-gradient(900px 500px at 80% 0%, #fff0e4, transparent 65%), #f7f8fc; }
.product-layout { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(30px, 5vw, 62px); align-items: start; }
.gallery { position: sticky; top: 96px; }
.gallery-main { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); }
.gallery-main img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.gallery-chip { position: absolute; left: 16px; top: 16px; padding: 8px 13px; border-radius: 999px; background: rgba(255, 255, 255, .9); font-size: 12px; font-weight: 700; backdrop-filter: blur(8px); }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.gallery-thumb { padding: 0; border: 2px solid transparent; border-radius: 16px; overflow: hidden; background: #fff; cursor: pointer; opacity: .72; transition: opacity .15s ease, border-color .15s ease; }
.gallery-thumb img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.gallery-thumb:hover, .gallery-thumb.is-active { opacity: 1; border-color: var(--brand); }
.product-info h1 { font-size: clamp(32px, 4.2vw, 48px); margin-bottom: 8px; }
.product-tagline { color: var(--muted); font-size: 17px; }
.product-rating { display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 14px; font-size: 13px; color: var(--muted); }
.product-price { display: flex; align-items: baseline; gap: 12px; margin: 14px 0 8px; }
.product-price strong { font-size: clamp(32px, 4vw, 40px); letter-spacing: -.045em; }
.product-price del { color: var(--muted-2); font-size: 18px; }
.save-badge { background: var(--red-soft); color: var(--red); font-size: 12px; font-weight: 800; border-radius: 999px; padding: 4px 9px; }
.stock-line { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.stock-dot { width: 8px; height: 8px; border-radius: 50%; background: #21a366; box-shadow: 0 0 0 4px rgba(33, 163, 102, .14); }
.stock-dot.is-out { background: var(--red); box-shadow: 0 0 0 4px rgba(180, 35, 24, .12); }
.product-lede { color: var(--muted); font-size: 15.5px; }
.buy-form { display: flex; gap: 10px; margin: 22px 0 10px; flex-wrap: wrap; }
.buy-form .buy-now-link { flex-basis: 100%; justify-content: flex-start; background: none; border: 0; padding: 2px 0 0; color: var(--brand-deep); font-size: 13.5px; font-weight: 700; }
.buy-form .buy-now-link .icon { width: 15px; height: 15px; }
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; overflow: hidden; flex: 0 0 auto; }
.qty-stepper button { width: 42px; height: 48px; border: 0; background: transparent; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; }
.qty-stepper button:hover { background: var(--paper); color: var(--ink); }
.qty-stepper input { width: 48px; height: 48px; border: 0; text-align: center; font-weight: 700; background: transparent; -moz-appearance: textfield; }
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-stepper-sm button { width: 34px; height: 38px; }
.qty-stepper-sm input { width: 40px; height: 38px; font-size: 14px; }
.btn-buy { flex: 1; padding-inline: 18px; }
.buy-now-link { display: inline-flex; align-items: center; gap: 5px; font-size: 13.5px; font-weight: 700; color: var(--brand-deep); margin: 2px 0 10px; }
.buy-note { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 13px; margin: 8px 0 0; }
.buy-note .icon { width: 17px; height: 17px; color: var(--brand-deep); }
.buy-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0; padding: 18px 0; border-block: 1px solid var(--line); }
.buy-points > div { display: flex; align-items: flex-start; gap: 8px; }
.buy-points .icon { width: 19px; height: 19px; color: var(--brand-deep); margin-top: 2px; }
.buy-points strong { display: block; font-size: 12.5px; }
.buy-points small { display: block; color: var(--muted-2); font-size: 11.5px; line-height: 1.35; }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; font-weight: 700; font-size: 14.5px; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .icon { width: 17px; height: 17px; color: var(--muted); transition: transform .2s ease; }
.accordion details[open] summary .icon { transform: rotate(180deg); }
.accordion-body { padding: 0 0 18px; color: var(--muted); font-size: 14px; }
.accordion-body .spec-list { margin: 0; }
.box-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.box-list li { display: flex; align-items: center; gap: 9px; }
.box-list .icon { color: var(--brand-deep); }
.sticky-buy { display: none; }
.blog-grid { display: none; }

.review-form-wrap { margin-top: 34px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px; max-width: 680px; }
.review-form-wrap h3 { font-size: 20px; }
.rating-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; border: 0; padding: 0; margin: 0 0 16px; }
.rating-input legend { width: 100%; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.rating-input input { position: absolute; opacity: 0; pointer-events: none; }
.rating-input label { font-size: 26px; color: #d7dce7; cursor: pointer; line-height: 1; transition: color .12s ease, transform .12s ease; }
.rating-input label:hover, .rating-input label:hover ~ label, .rating-input input:checked ~ label { color: #f2a20c; }
.rating-input input:focus-visible + label { outline: 2px solid var(--brand); outline-offset: 3px; }
.notice { padding: 14px 16px; border-radius: 14px; font-size: 14px; margin: 14px 0; display: flex; align-items: flex-start; gap: 10px; }
.notice .icon { margin-top: 2px; }
.notice-info { background: var(--blue-soft); color: var(--blue); border: 1px solid #cfdef2; }
.notice-success { background: var(--green-soft); color: var(--green); border: 1px solid #b8e6cc; }
.notice-warning { background: var(--amber-soft); color: var(--amber); border: 1px solid #f2ddb2; }
.notice-error { background: var(--red-soft); color: var(--red); border: 1px solid #f5c4c0; }

/* ------------------------------ Generic page headings ------------------------------ */
.page-heading { margin-bottom: 28px; }
.page-heading h1 { margin-bottom: 4px; }
.page-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.empty-state {
    background: #fff;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius-lg);
    padding: 48px 28px;
    text-align: center;
    display: grid;
    justify-items: center;
    gap: 8px;
    color: var(--muted);
}
.empty-state > .icon { width: 42px; height: 42px; color: var(--muted-2); margin-bottom: 6px; }
.empty-state h2 { font-size: 24px; margin: 0; }
.empty-state p { max-width: 460px; margin: 0 0 12px; }
.empty-cart { margin-top: 10px; }

/* ------------------------------ Cart ------------------------------ */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 26px; align-items: start; }
.cart-main { min-width: 0; }
.cart-items { display: grid; gap: 10px; }
.cart-item {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) auto auto;
    gap: 18px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 14px;
}
.cart-thumb { display: block; border-radius: 16px; overflow: hidden; background: var(--paper); }
.cart-thumb img { display: block; width: 96px; height: 96px; object-fit: cover; }
.cart-item-info { display: grid; gap: 3px; }
.cart-item-name { font-weight: 750; font-size: 16px; letter-spacing: -.02em; }
.cart-item-info small { color: var(--muted-2); font-size: 12px; }
.stock-warning { color: var(--red); font-size: 12px; font-weight: 700; }
.cart-line-total { display: grid; gap: 2px; text-align: right; min-width: 90px; }
.cart-line-total strong { font-size: 16px; }
.cart-line-total small { color: var(--muted-2); font-size: 11.5px; }
.cart-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; flex-wrap: wrap; }
.ship-progress { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; margin-bottom: 12px; }
.ship-progress-text { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.ship-progress-text .icon { width: 18px; height: 18px; color: var(--brand-deep); }
.progress-track { height: 6px; border-radius: 999px; background: var(--paper-2); overflow: hidden; }
.progress-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand-2), var(--brand-deep)); transition: width .4s ease; }
.summary-card {
    position: sticky;
    top: 98px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--shadow-md);
}
.summary-card h2 { font-size: 20px; }
.summary-list { margin: 0; display: grid; gap: 10px; }
.summary-list > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--muted); }
.summary-list dt { font-weight: 500; }
.summary-list dd { margin: 0; color: var(--ink); font-weight: 700; }
.summary-list small { display: block; font-size: 11px; color: var(--muted-2); font-weight: 400; }
.summary-total { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; font-size: 16px !important; color: var(--ink) !important; }
.summary-total dd { font-size: 24px; letter-spacing: -.03em; color: var(--brand-deep); }
.summary-card .btn-block { margin-top: 18px; }
.summary-trust { display: grid; gap: 6px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.summary-trust span { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); }
.summary-trust .icon { width: 15px; height: 15px; color: var(--brand-deep); }
.summary-items { display: grid; gap: 12px; margin-bottom: 18px; }
.summary-item { display: flex; align-items: center; gap: 12px; }
.summary-item img, .summary-item-icon { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: var(--paper); flex: 0 0 auto; }
.summary-item-icon { display: inline-flex; align-items: center; justify-content: center; color: var(--muted); }
.summary-item > div:not(.summary-item-icon) { flex: 1; min-width: 0; }
.summary-item strong { display: block; font-size: 14px; }
.summary-item small { color: var(--muted-2); font-size: 12px; }
.summary-item > span { font-weight: 700; font-size: 14px; }

/* ------------------------------ Checkout ------------------------------ */
.checkout-page { background: linear-gradient(180deg, #f7f8fc, #fff); }
.checkout-heading { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 26px; }
.checkout-heading h1 { margin: 0; }
.checkout-heading .text-link { font-size: 13px; }
.secure-note { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.secure-note .icon { width: 15px; height: 15px; color: var(--green); }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.checkout-main { display: grid; gap: 16px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 26px; }
.form-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.form-card-head h2 { font-size: 20px; margin: 0; }
.step-badge {
    display: inline-flex;
    width: 34px; height: 34px;
    align-items: center; justify-content: center;
    border-radius: 11px;
    background: var(--ink);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    flex: 0 0 auto;
}
.step-badge .icon { width: 17px; height: 17px; color: var(--brand-2); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row { display: grid; gap: 6px; min-width: 0; }
.form-row label { font-size: 12.5px; font-weight: 700; color: var(--ink-3); }
.form-row label span { font-weight: 400; color: var(--muted-2); font-size: 11.5px; }
.form-row-full { grid-column: 1 / -1; }
.form-row input, .form-row select, .form-row textarea {
    width: 100%;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: #fff;
    padding: 12px 14px;
    font-size: 14.5px;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.form-row textarea { resize: vertical; min-height: 80px; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(238, 90, 31, .1);
}
.form-row input.has-error, .form-row textarea.has-error, .form-row select.has-error { border-color: var(--red); }
.form-row input:disabled { background: var(--paper); color: var(--muted); }
.field-error { color: var(--red); font-size: 12px; }
.field-hint { color: var(--muted-2); font-size: 11.5px; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--muted); cursor: pointer; }
.checkbox-row input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand-deep); flex: 0 0 auto; }
.checkbox-row a { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 2px; }
.checkbox-row.has-error { color: var(--red); }
.checkout-summary { top: 98px; }
.checkout-summary .summary-item img { width: 58px; height: 58px; }
.payment-instructions { margin-top: 10px; padding: 12px; border-radius: 10px; background: rgba(255, 255, 255, .6); font-size: 13px; white-space: pre-line; }

/* ------------------------------ Order success / detail ------------------------------ */
.order-success-page { background: radial-gradient(900px 420px at 50% 0%, #fff2e7, transparent 65%), #f7f8fc; }
.success-hero { text-align: center; max-width: 720px; margin: 0 auto 28px; }
.success-icon {
    display: inline-flex;
    width: 58px; height: 58px;
    align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--green-soft);
    color: var(--green);
    margin-bottom: 16px;
}
.success-icon .icon { width: 28px; height: 28px; }
.success-hero h1 { margin-bottom: 10px; }
.success-hero p { color: var(--muted); }
.order-number-box {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 10px 16px;
    font-size: 12px;
    color: var(--muted);
}
.order-number-box strong { font-size: 15px; color: var(--ink); letter-spacing: .02em; }
.order-notice { max-width: 900px; margin: 0 auto 22px; }
.order-success-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 18px; align-items: start; }
.success-side { display: grid; gap: 14px; }
.address-block { color: var(--muted); font-size: 14px; line-height: 1.7; }
.next-steps ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.next-steps li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
.next-steps .icon { width: 18px; height: 18px; color: var(--brand-deep); margin-top: 2px; }
.success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.order-timeline { list-style: none; padding: 0; margin: 0 0 24px; display: flex; gap: 0; flex-wrap: wrap; }
.order-timeline li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted-2); padding-right: 26px; position: relative; }
.order-timeline li:not(:last-child)::after { content: ""; width: 22px; height: 1px; background: var(--line-strong); margin-left: 4px; }
.timeline-dot { display: inline-flex; width: 24px; height: 24px; align-items: center; justify-content: center; border-radius: 50%; background: var(--paper-2); color: var(--muted-2); }
.timeline-dot .icon { width: 13px; height: 13px; }
.order-timeline li.is-done { color: var(--ink); }
.order-timeline li.is-done .timeline-dot { background: var(--green-soft); color: var(--green); }
.order-timeline li.is-current .timeline-dot { box-shadow: 0 0 0 4px rgba(33, 163, 102, .13); }
.order-list { display: grid; gap: 10px; }
.order-row { display: grid; grid-template-columns: minmax(0, 1fr) 150px 120px auto; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; }
.order-row-main { display: grid; gap: 1px; }
.order-row-main strong { font-size: 15px; }
.order-row-main small, .order-row-label { color: var(--muted-2); font-size: 11.5px; }
.order-row-total { display: grid; gap: 1px; }
.order-row-total strong { font-size: 15px; }

/* ------------------------------ Account ------------------------------ */
.account-page { background: linear-gradient(180deg, #f7f8fc, #fff); }
.account-header { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 26px; }
.account-header h1 { margin: 0; font-size: 34px; }
.account-header p { margin: 0; color: var(--muted); font-size: 13.5px; }
.account-stats { margin-left: auto; display: flex; gap: 10px; }
.account-stats > div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 16px; min-width: 100px; }
.account-stats strong { display: block; font-size: 20px; letter-spacing: -.02em; }
.account-stats span { font-size: 11.5px; color: var(--muted-2); }
.account-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 22px; align-items: start; }
.account-nav { background: var(--ink); border-radius: 22px; padding: 10px; display: grid; gap: 2px; position: sticky; top: 98px; }
.account-nav a { display: flex; align-items: center; gap: 9px; padding: 12px 13px; border-radius: 12px; color: #cfd8e8; font-size: 13.5px; font-weight: 600; }
.account-nav a .icon { width: 17px; height: 17px; color: #8b9bb5; }
.account-nav a .icon:last-child { margin-left: auto; width: 14px; height: 14px; }
.account-nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.account-nav a:hover .icon { color: var(--brand-2); }
.account-main { display: grid; gap: 16px; }

/* ------------------------------ Auth ------------------------------ */
.auth-page { padding: clamp(40px, 6vw, 76px) 0; background: radial-gradient(800px 480px at 85% 10%, #ffe7d4, transparent 62%), #f7f8fc; }
.auth-layout { display: grid; grid-template-columns: 1fr 440px; gap: clamp(30px, 6vw, 80px); align-items: center; }
.auth-copy h1 { max-width: 520px; }
.auth-copy p { color: var(--muted); font-size: 17px; max-width: 460px; }
.auth-points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.auth-points li { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--muted); }
.auth-points .icon { width: 17px; height: 17px; color: var(--green); }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-lg); }
.auth-form { display: grid; gap: 14px; }
.auth-switch { margin: 16px 0 0; font-size: 13.5px; color: var(--muted); text-align: center; }
.auth-switch a { color: var(--brand-deep); font-weight: 700; }
.auth-card .fine-print { text-align: center; margin-top: 12px; }
.hp-field {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* ------------------------------ Contact ------------------------------ */
.contact-layout { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact-side { display: grid; gap: 12px; position: sticky; top: 98px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.contact-card h2 { font-size: 16px; margin-bottom: 6px; }
.contact-card p { color: var(--muted); font-size: 13.5px; margin-bottom: 0; }
.contact-card a { color: var(--brand-deep); font-weight: 650; font-size: 14px; }
.contact-icon { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 12px; background: var(--brand-soft); color: var(--brand-deep); margin-bottom: 12px; }
.contact-form-card { padding: clamp(24px, 4vw, 36px); }
.contact-form-card h2 { margin-bottom: 18px; }

/* ------------------------------ Footer ------------------------------ */
.site-footer {
    background:
        radial-gradient(700px 380px at 8% 0%, rgba(238, 90, 31, .16), transparent 60%),
        radial-gradient(700px 380px at 95% 100%, rgba(59, 110, 165, .16), transparent 62%),
        #0a1120;
    color: #aab7cc;
    padding: 56px 0 26px;
    margin-top: 0;
}
.footer-top { display: grid; grid-template-columns: 1.5fr .7fr .7fr .7fr; gap: 32px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text small { color: #7d8ba3; }
.footer-brand p { font-size: 13.5px; line-height: 1.7; color: #93a1b8; max-width: 340px; }
.footer-email { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: #cfd8e8; }
.footer-email .icon { width: 16px; height: 16px; color: var(--brand-2); }
.footer-col { display: grid; gap: 8px; align-content: start; }
.footer-col h2 { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: #6f7e96; margin: 0 0 6px; }
.footer-col a { font-size: 13.5px; color: #b7c2d6; }
.footer-col a:hover { color: #fff; }
.newsletter {
    margin-top: 42px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, .09);
    display: grid;
    grid-template-columns: 1fr minmax(320px, 480px);
    gap: 24px;
    align-items: center;
}
.newsletter h2 { color: #fff; font-size: 22px; margin-bottom: 4px; }
.newsletter p { color: #93a1b8; font-size: 13px; margin: 0; }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input { flex: 1; min-width: 0; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: #fff; border-radius: 999px; padding: 12px 18px; font-size: 14px; }
.newsletter-form input::placeholder { color: #7d8ba3; }
.newsletter-form input:focus { outline: none; border-color: var(--brand-2); }
.newsletter-form button { border: 0; border-radius: 999px; background: var(--brand); color: #fff; padding: 12px 22px; font-weight: 700; font-size: 14px; }
.newsletter small { display: block; grid-column: 2; color: #6f7e96; font-size: 11.5px; margin-top: -6px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 12px; color: #7d8ba3; }
.footer-trust { display: inline-flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.footer-trust .icon { width: 14px; height: 14px; color: #8fd3ae; }
.footer-trust .dot { width: 3px; height: 3px; border-radius: 50%; background: #5b6980; }

/* ------------------------------ Status / pagination / errors ------------------------------ */
.status { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.status-pending { background: var(--amber-soft); color: var(--amber); }
.status-paid { background: var(--green-soft); color: var(--green); }
.status-shipped { background: var(--blue-soft); color: var(--blue); }
.status-completed { background: #e9f0ff; color: #2c4f88; }
.status-cancelled { background: var(--red-soft); color: var(--red); }
.status-new { background: var(--brand-soft); color: var(--brand-deep); }
.status-read { background: var(--paper-2); color: var(--muted); }
.pagination { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 20px; }
.page-link { display: inline-flex; min-width: 36px; height: 36px; align-items: center; justify-content: center; padding: 0 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.page-link:hover { border-color: var(--ink); }
.page-link.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.error-page { min-height: 70vh; display: grid; place-items: center; padding: 40px 20px; }
.error-card { text-align: center; max-width: 560px; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 44px; box-shadow: var(--shadow-lg); }
.error-code { font-size: 64px; font-weight: 850; letter-spacing: -.06em; color: var(--brand); line-height: 1; }
.error-card p { color: var(--muted); }
.narrow { max-width: 640px; }
.centered-card { text-align: center; padding: 44px; }
.centered-card .success-icon { margin-inline: auto; }

/* ==========================================================================
   Admin
   ========================================================================== */
.admin-layout { display: grid; grid-template-columns: 238px minmax(0, 1fr); gap: 22px; align-items: start; }
.admin-sidebar {
    position: sticky;
    top: 92px;
    background: var(--ink);
    border-radius: 24px;
    padding: 16px;
    color: #cfd8e8;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 520px;
}
.sidebar-brand { display: flex; align-items: center; gap: 10px; padding: 4px 4px 14px; border-bottom: 1px solid rgba(255, 255, 255, .09); }
.sidebar-brand .brand-mark { width: 38px; height: 38px; border-radius: 12px; background: rgba(255, 255, 255, .08); }
.sidebar-brand strong { display: block; color: #fff; font-size: 14px; }
.sidebar-brand small { display: block; color: #7d8ba3; font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; }
.sidebar-nav { display: grid; gap: 2px; }
.sidebar-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 11px; font-size: 13.5px; font-weight: 600; color: #b7c2d6; }
.sidebar-nav a .icon { width: 17px; height: 17px; color: #7d8ba3; }
.sidebar-nav a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.sidebar-nav a.is-active { background: var(--brand); color: #fff; }
.sidebar-nav a.is-active .icon { color: #fff; }
.sidebar-badge { margin-left: auto; background: rgba(255, 255, 255, .18); color: #fff; font-size: 10.5px; font-weight: 800; border-radius: 999px; min-width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; }
.sidebar-foot { margin-top: auto; display: grid; gap: 2px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .09); }
.sidebar-foot a { display: flex; align-items: center; gap: 9px; padding: 9px 12px; border-radius: 10px; font-size: 12.5px; color: #8b9bb5; }
.sidebar-foot a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.sidebar-foot .icon { width: 16px; height: 16px; }

.admin-content { min-width: 0; display: grid; gap: 16px; }
.admin-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.admin-heading h1 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 2px; }
.admin-heading p { color: var(--muted); font-size: 13.5px; margin: 0; }
.admin-heading .text-link { margin-bottom: 8px; }
.admin-heading-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-notice { margin: 0; }
.admin-notice .btn { margin-left: auto; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px; display: grid; gap: 2px; transition: transform .18s ease, box-shadow .18s ease; }
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: inherit; }
.stat-icon { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 11px; background: var(--brand-soft); color: var(--brand-deep); margin-bottom: 10px; }
.stat-icon .icon { width: 18px; height: 18px; }
.stat-card small { color: var(--muted-2); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.stat-card strong { font-size: 26px; letter-spacing: -.04em; line-height: 1.1; }
.stat-card > span:last-child { color: var(--muted); font-size: 11.5px; }
.admin-grid-2 { display: grid; grid-template-columns: 1.2fr .8fr; gap: 14px; align-items: start; }
.admin-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px; min-width: 0; }
.admin-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.admin-card-head h2 { font-size: 18px; margin: 0; }
.admin-card h3 { font-size: 15px; }
.admin-card p:last-child { margin-bottom: 0; }
.admin-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.admin-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13.5px; border-bottom: 1px solid var(--line); padding-bottom: 9px; }
.admin-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.message-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.message-list li { padding: 10px 12px; border-radius: 12px; background: var(--paper); border-left: 3px solid transparent; }
.message-list li.is-new { border-left-color: var(--brand); background: var(--brand-soft); }
.message-list li div { display: flex; justify-content: space-between; gap: 8px; }
.message-list strong { font-size: 13px; }
.message-list small { color: var(--muted-2); font-size: 11px; }
.message-list p { font-size: 12.5px; color: var(--muted); margin: 4px 0; }
.message-list > li > span { font-size: 10.5px; color: var(--muted-2); }
.bar-chart { display: flex; align-items: flex-end; gap: 5px; height: 190px; padding-top: 20px; }
.bar-col { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; }
.bar { width: 100%; max-width: 30px; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--brand-2), var(--brand-deep)); min-height: 2px; transition: height .3s ease; }
.bar-col:hover .bar { filter: brightness(1.12); }
.bar-label { font-size: 9.5px; color: var(--muted-2); }
.bar-value { font-size: 8.5px; color: var(--muted-2); height: 12px; white-space: nowrap; overflow: hidden; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 13px; }
.admin-table th { text-align: start; padding: 10px 12px; background: var(--paper); color: var(--muted-2); font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; border-bottom: 1px solid var(--line); white-space: nowrap; }
.admin-table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table small { display: block; color: var(--muted-2); font-size: 11px; }
.table-strong { font-weight: 700; font-size: 13.5px; }
.table-thumb { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; background: var(--paper); }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.admin-table .inline-form { display: flex; gap: 5px; align-items: center; }
.admin-table select { padding: 6px 8px; border-radius: 8px; border: 1px solid var(--line-strong); font-size: 12px; }
.member-cell { display: flex; align-items: center; gap: 9px; }
.tag { display: inline-flex; padding: 3px 8px; border-radius: 999px; background: var(--paper-2); color: var(--muted); font-size: 10.5px; font-weight: 700; }
.filter-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.filter-bar select { padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line-strong); background: #fff; font-size: 13px; }
.filter-search { display: flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--line-strong); border-radius: 999px; padding: 0 13px; min-width: 250px; flex: 1; max-width: 420px; }
.filter-search .icon { color: var(--muted-2); width: 16px; height: 16px; }
.filter-search input { border: 0; background: transparent; padding: 10px 0; width: 100%; font-size: 13px; }
.filter-search input:focus { outline: none; }
.filter-chip { padding: 8px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--muted); }
.filter-chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.inline-form { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.detail-list { display: grid; gap: 8px; margin: 0 0 16px; }
.detail-list > div { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; border-bottom: 1px dashed var(--line); padding-bottom: 7px; }
.detail-list dt { color: var(--muted-2); }
.detail-list dd { margin: 0; text-align: end; font-weight: 600; }
.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.admin-form-grid .form-row-full { grid-column: 1 / -1; }
.settings-form { display: grid; gap: 14px; }
.settings-actions { display: flex; justify-content: flex-end; padding-top: 4px; }
.chart-empty { height: 190px; display: grid; place-items: center; align-content: center; gap: 10px; color: var(--muted-2); border: 1px dashed var(--line-strong); border-radius: 14px; font-size: 13px; }
.chart-empty .icon { width: 28px; height: 28px; opacity: .55; }
.review-form { display: grid; gap: 14px; }
.admin-area .announcement, .admin-area .desktop-nav, .admin-area .cart-link, .admin-area .mobile-menu { display: none; }
.admin-area .nav-wrap { justify-content: space-between; }
.admin-footer { background: var(--ink); color: #8b9bb5; padding: 18px 0; font-size: 12px; }
.admin-footer .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.admin-footer a { color: #cfd8e8; display: inline-flex; align-items: center; gap: 6px; }
.admin-footer a:hover { color: #fff; }
.upgrade-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.upgrade-list li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.upgrade-list .icon { width: 15px; height: 15px; color: var(--green); }
.product-preview { width: 100%; border-radius: 16px; aspect-ratio: 1; object-fit: cover; background: var(--paper); }
.review-admin-list, .message-admin-list { display: grid; gap: 10px; }
.review-admin-head, .message-admin-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.review-admin-head .muted, .message-admin-head .muted { display: block; font-size: 11.5px; }
.review-admin-body { margin-top: 10px; }
.review-admin-body p { font-size: 13.5px; color: var(--muted); }
.review-admin-actions, .message-admin-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.message-admin-card.is-unread { border-left: 3px solid var(--brand); }
.message-admin-tags { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.message-body { margin: 12px 0 0; font-size: 13.5px; color: var(--muted); white-space: pre-line; }
.order-success-grid .form-card h2 { font-size: 18px; }
.admin-order-grid { grid-template-columns: 1.1fr .9fr; }

/* ------------------------------ RTL ------------------------------ */
body[dir="rtl"] { text-align: right; }
body[dir="rtl"] .section-head-row, body[dir="rtl"] .cta-inner, body[dir="rtl"] .footer-bottom { direction: rtl; }
body[dir="rtl"] .hero-ring { animation-direction: reverse; }
body[dir="rtl"] .phone-ui { direction: rtl; }
body[dir="rtl"] .breadcrumbs span[aria-hidden] { transform: scaleX(-1); }
body[dir="rtl"] .order-timeline li { padding-right: 0; padding-left: 26px; }
body[dir="rtl"] .order-timeline li:not(:last-child)::after { margin-left: 0; margin-right: 4px; }
body[dir="rtl"] .summary-list > div, body[dir="rtl"] .detail-list > div { direction: rtl; }
body[dir="rtl"] .cart-line-total { text-align: left; }
body[dir="rtl"] .account-nav a .icon:last-child { margin-left: 0; margin-right: auto; transform: scaleX(-1); }
body[dir="rtl"] .icon { transform: none; }

/* ------------------------------ Responsive ------------------------------ */
@media (max-width: 1080px) {
    .hero-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .float-card { display: none; }
    .hero-media { min-height: 340px; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1.4fr repeat(3, .8fr); gap: 22px; }
    .admin-grid-2 { grid-template-columns: 1fr; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .admin-order-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .desktop-nav { display: none; }
    .mobile-menu { display: block; }
    .language-picker { display: none; }
    .nav-login span, .account-label { display: none; }
    .nav-wrap { gap: 12px; }
    .hero { padding-top: 34px; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-copy { order: 1; }
    .hero-media { order: 2; min-height: 300px; }
    .hero-device { width: min(68%, 380px); }
    .hero-ring, .hero-glow { width: 68%; }
    .hero h1 { font-size: clamp(38px, 10vw, 60px); }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .steps, .sound-grid, .use-grid, .review-grid { grid-template-columns: 1fr 1fr; }
    .product-spotlight { grid-template-columns: 1fr; }
    .spotlight-media { max-width: 560px; }
    .faq-layout, .faq-layout-wide { grid-template-columns: 1fr; }
    .faq-intro { position: static; }
    .content-layout { grid-template-columns: 1fr; }
    .content-aside { position: static; grid-template-columns: 1fr 1fr; }
    .product-layout { grid-template-columns: 1fr; }
    .gallery { position: static; }
    .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
    .summary-card { position: static; }
    .order-success-grid { grid-template-columns: 1fr; }
    .auth-layout { grid-template-columns: 1fr; }
    .auth-copy { display: none; }
    .contact-layout { grid-template-columns: 1fr; }
    .contact-side { position: static; grid-template-columns: 1fr 1fr; }
    .contact-card:last-child { display: none; }
    .account-layout { grid-template-columns: 1fr; }
    .account-nav { position: static; grid-template-columns: repeat(2, 1fr); }
    .account-nav a .icon:last-child { display: none; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .newsletter { grid-template-columns: 1fr; }
    .newsletter small { grid-column: 1; margin-top: 0; }
    .admin-layout { grid-template-columns: 1fr; }
    .admin-sidebar { position: static; min-height: 0; }
    .sidebar-nav { grid-template-columns: repeat(3, 1fr); }
    .sidebar-brand { display: none; }
    .sidebar-foot { grid-template-columns: repeat(2, 1fr); }
    .admin-form-grid { grid-template-columns: 1fr; }
    .settings-actions { position: static; }
}

@media (max-width: 640px) {
    body { font-size: 15px; }
    .container { width: min(var(--container), 92vw); }
    .section { padding: 48px 0; }
    .nav-wrap { padding: 10px 0; }
    .brand-text small { display: none; }
    .brand-text strong { font-size: 15px; }
    .brand { gap: 8px; }
    .brand-mark { width: 38px; height: 38px; border-radius: 12px; }
    .cart-link { padding: 9px 11px; }
    .hero-points { gap: 8px 14px; }
    .hero-price-row { gap: 14px; }
    .hero-price strong { font-size: 28px; }
    .trust-grid { grid-template-columns: 1fr; gap: 14px; }
    .steps, .sound-grid, .use-grid, .review-grid, .feature-grid { grid-template-columns: 1fr; }
    .spec-list { grid-template-columns: 1fr; }
    .section-head-row { flex-direction: column; align-items: flex-start; gap: 10px; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
    .cta-actions { width: 100%; justify-content: space-between; }
    .content-aside { grid-template-columns: 1fr; }
    .contact-side { grid-template-columns: 1fr; }
    .contact-card:last-child { display: block; }
    .form-grid { grid-template-columns: 1fr; }
    .form-row-full { grid-column: auto; }
    .cart-item { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-items: start; }
    .cart-thumb img { width: 76px; height: 76px; }
    .cart-item .qty-stepper { grid-column: 2; }
    .cart-line-total { grid-column: 2; text-align: left; }
    .order-row { grid-template-columns: 1fr auto; }
    .order-row-total { display: none; }
    .order-row .btn { grid-column: 1 / -1; }
    .account-header { align-items: flex-start; }
    .account-stats { margin-left: 0; width: 100%; }
    .account-stats > div { flex: 1; }
    .account-nav { grid-template-columns: 1fr 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 22px; }
    .footer-brand { grid-column: 1 / -1; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form button { width: 100%; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
    .sidebar-nav { grid-template-columns: 1fr 1fr; }
    .stat-grid { grid-template-columns: 1fr 1fr; }
    .bar-chart { height: 150px; gap: 3px; }
    .bar-label { font-size: 8px; }
    .bar-value { display: none; }
    .admin-heading-actions { width: 100%; }
    .filter-search { min-width: 100%; }
    .order-timeline { gap: 8px; }
    .order-timeline li:not(:last-child)::after { display: none; }
    .buy-form { flex-wrap: wrap; }
    .buy-form .qty-stepper { flex: 0 0 auto; }
    .btn-buy { flex: 1 1 190px; }
    .buy-points { grid-template-columns: 1fr; gap: 10px; }
    .review-form-wrap { padding: 20px; }
    .sticky-buy.is-visible {
        display: flex;
        position: fixed;
        left: 12px; right: 12px; bottom: 12px;
        z-index: 60;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        background: rgba(255, 255, 255, .94);
        backdrop-filter: blur(16px);
        border: 1px solid var(--line);
        border-radius: 18px;
        padding: 10px 12px;
        box-shadow: var(--shadow-lg);
    }
    .sticky-buy-info { display: grid; line-height: 1.2; min-width: 0; }
    .sticky-buy-info strong { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .sticky-buy-info span { font-size: 15px; font-weight: 800; color: var(--brand-deep); }
    .sticky-buy form { flex: 0 0 auto; }
    .sticky-buy .btn { padding: 11px 16px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

@media print {
    .site-header, .site-footer, .announcement, .sticky-buy, .btn { display: none !important; }
    body { background: #fff; }
    .section { padding: 0; }
    .form-card, .admin-card { border: 0; box-shadow: none; }
}
