
[hidden] {
    display: none !important;
}
:root {
    --color-bg: #0b0f14;
    --color-bg-soft: #0f1620;
    --color-surface: #121b26;
    --color-surface-2: #162334;
    --color-text: #e8eef6;
    --color-text-muted: #a2b4ca;
    --color-primary: #1976D2;
    --color-accent: #FF7A00;
    --color-primary-soft: rgba(25, 118, 210, 0.14);
    --color-accent-soft: rgba(255, 122, 0, 0.13);
    --hairline: 1px solid rgba(173, 194, 219, 0.11);
    --radius-sm: 10px;
    --radius-md: 14px;
    --shadow-soft: 0 8px 18px rgba(0, 0, 0, 0.18);
    --shadow-hover: 0 10px 20px rgba(0, 0, 0, 0.24), 0 0 0 1px rgba(25, 118, 210, 0.1);
    --bg-radial-1: radial-gradient(520px 360px at 14% 28%, rgba(25, 118, 210, 0.06), transparent 72%);
    --bg-radial-2: radial-gradient(500px 340px at 86% 20%, rgba(255, 122, 0, 0.032), transparent 74%);
    --max-width: 1160px;
}

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

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    overflow-x: hidden;
}

body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15.5px;
    line-height: 1.62;
    letter-spacing: 0.01em;
    color: var(--color-text);
    background: var(--color-bg);
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.028;
    background-image: radial-gradient(rgba(255, 255, 255, 0.5) 0.45px, transparent 0.45px);
    background-size: 3px 3px;
    animation: grainDrift 28s steps(10) infinite;
    z-index: 0;
}

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

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

h1,
h2,
h3,
h4 {
    margin: 0 0 0.56rem;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: 0.004em;
    color: #f3f8ff;
}

h1 {
    font-size: clamp(1.78rem, 3.6vw, 2.65rem);
}

h2 {
    font-size: clamp(1.35rem, 2.2vw, 1.9rem);
}

h3 {
    font-size: clamp(1.06rem, 1.6vw, 1.24rem);
}

p {
    margin: 0 0 0.95rem;
}

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

.site-header,
.site-main,
.site-footer {
    position: relative;
    z-index: 1;
}

.site-main {
    padding-block: 0.45rem 3rem;
}

.section {
    padding-block: clamp(2.1rem, 6.2vw, 4.3rem);
}

.section-tight {
    padding-top: 0.65rem;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.2rem;
}

.section-head a {
    position: relative;
    color: #cfe0f5;
    font-size: 0.94rem;
    padding-bottom: 0.14rem;
    transition: color 180ms ease;
}

.section-head a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(25, 118, 210, 0.8), rgba(255, 122, 0, 0.78));
    opacity: 0.42;
    transform: scaleX(0.34);
    transform-origin: left;
    transition: transform 220ms ease, opacity 220ms ease;
}

.section-head a:hover {
    color: #ffffff;
}

.section-head a:hover::after {
    transform: scaleX(1);
    opacity: 0.78;
}

.top-picks-title {
    font-weight: 600;
    letter-spacing: 0.008em;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.44rem;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    color: #9cb4d5;
    margin-bottom: 0.7rem;
}

.eyebrow::before {
    content: '';
    width: 16px;
    height: 2px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.lead {
    color: #c7d6ea;
    font-size: clamp(0.98rem, 1.5vw, 1.07rem);
    max-width: 62ch;
}

.muted {
    color: var(--color-text-muted);
}

.small {
    font-size: 0.85rem;
}

.flash {
    border: var(--hairline);
    background: rgba(25, 118, 210, 0.08);
    border-radius: var(--radius-md);
    color: #d4e6ff;
    padding: 0.78rem 0.95rem;
    margin-top: 0.4rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 25;
    backdrop-filter: blur(8px);
    background: rgba(11, 15, 20, 0.38);
    border-bottom: var(--hairline);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 0.62rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.brand img {
    width: 135px;
    height: auto;
    display: block;
}

.menu-toggle {
    border: var(--hairline);
    background: rgba(255, 255, 255, 0.01);
    color: var(--color-text);
    border-radius: 999px;
    padding: 0.3rem 0.8rem;
    font: inherit;
}

.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(12, 18, 27, 0.94);
    border-bottom: var(--hairline);
    padding: 0.7rem 4%;
    flex-direction: column;
    gap: 0.32rem;
}

.main-nav.is-open {
    display: flex;
}

.main-nav a {
    position: relative;
    color: #c3d7f1;
    padding: 0.45rem 0;
    font-weight: 500;
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0.15rem;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 220ms ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    transform: scaleX(1);
}

.main-nav a.active {
    color: #f4f9ff;
}

.cart-link {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
}

.cart-pill {
    display: inline-flex;
    min-width: 1.35rem;
    padding: 0.1rem 0.38rem;
    justify-content: center;
    align-items: center;
    border-radius: 999px;
    background: var(--color-accent-soft);
    color: #ffd7bb;
    font-size: 0.76rem;
    font-weight: 700;
    border: 1px solid rgba(255, 122, 0, 0.28);
}

.hero {
    padding-top: 1.2rem;
}

.hero + .section {
    padding-top: clamp(4.4rem, 10vw, 6.5rem);
}

.hero-shell {
    display: grid;
    gap: clamp(1.1rem, 2.8vw, 2rem);
    align-items: center;
    position: relative;
    isolation: isolate;
}

.hero-shell::before {
    content: '';
    position: absolute;
    width: 520px;
    height: 380px;
    left: -120px;
    top: -60px;
    border-radius: 999px;
    background: var(--bg-radial-1);
    z-index: -1;
    pointer-events: none;
}

.hero-shell::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 340px;
    right: -190px;
    top: -90px;
    border-radius: 999px;
    background: var(--bg-radial-2);
    filter: blur(8px);
    opacity: 0.82;
    z-index: -1;
    pointer-events: none;
}

.hero-content h1 {
    max-width: 15ch;
    margin-bottom: 0.72rem;
    font-size: clamp(1.66rem, 3.3vw, 2.52rem);
    line-height: 1.02;
    letter-spacing: 0.002em;
}

.hero-content .lead {
    letter-spacing: 0.016em;
    max-width: 54ch;
}

.hero-actions {
    display: flex;
    gap: 0.72rem;
    flex-wrap: wrap;
    margin-top: 1.15rem;
}

.hero-feature {
    position: relative;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    max-width: 420px;
    justify-self: end;
}

.hero-feature-media {
    position: relative;
    aspect-ratio: 16 / 10;
    border-radius: 18px;
    margin-bottom: 1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0) 42%), linear-gradient(145deg, rgba(18, 27, 38, 0.9), rgba(19, 30, 45, 0.78));
    border: 1px solid rgba(173, 194, 219, 0.07);
    display: grid;
    place-items: center;
    overflow: hidden;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.14);
}

.hero-feature-media::after {
    content: '';
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: 10px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(25, 118, 210, 0.46), rgba(255, 122, 0, 0.38), transparent);
    opacity: 0.4;
    animation: heroScan 10s linear infinite;
}

.hero-feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(0.91);
    opacity: 0.96;
}
.hero-feature-kicker {
    font-size: 0.71rem;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: #99b7dc;
    margin-bottom: 0.45rem;
}

.hero-feature-price {
    color: #f6f9ff;
    font-size: 1.34rem;
    font-weight: 700;
    margin-bottom: 0.55rem;
}

.hero-feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.38rem;
}

.hero-feature-list li {
    color: #b6c9e1;
    font-size: 0.9rem;
    position: relative;
    padding-left: 0.95rem;
}

.hero-feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.52rem;
    width: 5px;
    height: 5px;
    border-radius: 99px;
    background: linear-gradient(145deg, var(--color-primary), var(--color-accent));
}

.btn {
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0.56rem 1.06rem;
    font: inherit;
    font-size: 0.93rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

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

.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.btn-primary,
.btn-gold {
    background: linear-gradient(125deg, #1976D2, #256fda);
    color: #f4f8ff;
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.24);
}

.btn-secondary,
.btn-ghost {
    background: rgba(255, 255, 255, 0.01);
    border-color: rgba(173, 194, 219, 0.2);
    color: #d4e1f2;
}

.btn.full {
    width: 100%;
}

.text-btn {
    border: 0;
    background: transparent;
    color: #cfdded;
    padding: 0;
    font: inherit;
    cursor: pointer;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
}

.product-card {
    border-radius: var(--radius-md);
    background: rgba(18, 27, 38, 0.34);
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.14);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.product-image-wrap {
    display: block;
    padding: 0.22rem 0.22rem 0;
}

.product-image-frame {
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(255, 122, 0, 0.34) 0%, rgba(18, 27, 38, 0.78) 50%, rgba(25, 118, 210, 0.34) 100%);
    display: grid;
    place-items: center;
    overflow: hidden;
}


.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    margin: 0;
    opacity: 0.98;
    transform: scale(0.98);
}

.product-placeholder {
    width: 58%;
    aspect-ratio: 1;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(25, 118, 210, 0.24), rgba(255, 122, 0, 0.14), transparent 70%);
}

.product-content {
    padding: 0.82rem 0.86rem 0.88rem;
}

.product-category {
    text-transform: uppercase;
    font-size: 0.69rem;
    letter-spacing: 0.12em;
    color: #8ea7c6;
    margin-bottom: 0.4rem;
}

.product-tagline {
    color: #a9bfd9;
    font-size: 0.91rem;
    min-height: 2.1rem;
}

.product-meta {
    display: flex;
    align-items: baseline;
    gap: 0.55rem;
    margin-bottom: 0.72rem;
}

.price {
    color: #edf4ff;
    font-size: 1.28rem;
    font-weight: 700;
    margin: 0;
}

.compare-price {
    margin: 0;
    color: #8093aa;
    text-decoration: line-through;
    font-size: 0.88rem;
}

.inline-form {
    margin: 0;
}

.shop-layout,
.cart-layout,
.checkout-layout,
.product-detail-grid {
    display: grid;
    gap: 1.15rem;
}

.shop-filters,
.summary-card,
.legal-shell,
.status-card,
.empty-state {
    border-radius: var(--radius-md);
    background: rgba(18, 27, 38, 0.34);
    box-shadow: var(--shadow-soft);
    padding: 1rem;
}

.checkout-form {
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.value-grid article {
    border-top: var(--hairline);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0.72rem 0.1rem;
}

.field {
    margin-bottom: 0.9rem;
}

.field label {
    display: block;
    margin-bottom: 0.35rem;
    color: #d4e2f4;
    font-size: 0.88rem;
}

.checkbox-row,
.field label.checkbox-row {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.55rem;
    width: auto;
    max-width: 100%;
    margin: 0;
    cursor: pointer;
    color: #d4e2f4;
    font-size: 0.88rem;
    line-height: 1.2;
    vertical-align: middle;
}

.checkbox-row span {
    display: inline-block;
    line-height: 1.2;
}

.checkbox-row input[type='checkbox'] {
    -webkit-appearance: none;
    appearance: none;
    width: 1.05rem;
    height: 1.05rem;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(173, 194, 219, 0.35);
    border-radius: 0.32rem;
    background: rgba(17, 25, 37, 0.75);
    display: inline-grid;
    place-content: center;
    transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
    flex-shrink: 0;
    line-height: 1;
    vertical-align: middle;
}

.checkbox-row input[type='checkbox']::after {
    content: '';
    width: 0.24rem;
    height: 0.5rem;
    border: solid #e8f2ff;
    border-width: 0 2px 2px 0;
    transform: translateX(-1px) rotate(45deg) scale(0);
    transform-origin: center;
    transition: transform 130ms ease;
    margin-top: -2px;
}

.checkbox-row input[type='checkbox']:checked {
    border-color: rgba(25, 118, 210, 0.95);
    background: linear-gradient(145deg, rgba(25, 118, 210, 0.95), rgba(16, 94, 172, 0.98));
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.16);
}

.checkbox-row input[type='checkbox']:checked::after {
    transform: translateX(-1px) rotate(45deg) scale(1);
}

.checkbox-row input[type='checkbox']:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.checkbox-row input[type='checkbox']:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.checkbox-row.is-disabled {
    cursor: not-allowed;
    opacity: 0.85;
}

.radio-row,
.field label.radio-row {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.52rem;
    width: auto;
    max-width: 100%;
    margin: 0 0 0.3rem;
    cursor: pointer;
    line-height: 1.2;
    vertical-align: middle;
}

.radio-row input[type='radio'] {
    width: 1.02rem;
    height: 1.02rem;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
    accent-color: var(--color-primary);
    vertical-align: middle;
}

.radio-row span {
    line-height: 1.2;
}

input:not([type='checkbox']):not([type='radio']),
select,
textarea {
    width: 100%;
    border: var(--hairline);
    background: rgba(17, 25, 37, 0.6);
    color: var(--color-text);
    border-radius: var(--radius-sm);
    padding: 0.58rem 0.72rem;
    font: inherit;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

input:not([type='checkbox']):not([type='radio'])::placeholder,
textarea::placeholder {
    color: #8ca1bb;
}

input:not([type='checkbox']):not([type='radio']):focus,
select:focus,
textarea:focus {
    border-color: rgba(25, 118, 210, 0.45);
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.12);
    background: rgba(17, 25, 37, 0.84);
}

.filter-actions {
    display: flex;
    gap: 0.56rem;
}

.product-detail-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: rgba(16, 25, 37, 0.72);
    min-height: 280px;
    box-shadow: var(--shadow-soft);
}

.product-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(0.93);
    transform-origin: center;
}

.detail-meta,
.detail-points {
    margin: 1rem 0 0;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: #c4d5ea;
}

.detail-points {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 0.42rem;
}

.detail-points li {
    color: #b9cde6;
    font-size: 0.93rem;
    position: relative;
    padding-left: 0.95rem;
}

.detail-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.54rem;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: linear-gradient(150deg, var(--color-primary), var(--color-accent));
}

.price-stack {
    margin-top: 0.85rem;
    margin-bottom: 0.4rem;
}

.detail-buy-form {
    margin-top: 1.06rem;
    max-width: 360px;
}

.detail-buy-form input[type='number'] {
    margin-bottom: 0.82rem;
}

.cart-list {
    display: grid;
    gap: 0;
}

.cart-item {
    padding: 0.95rem 0;
    display: grid;
    gap: 0.75rem;
    border-bottom: var(--hairline);
}

.cart-item:first-child {
    border-top: var(--hairline);
}

.cart-thumb {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: rgba(16, 24, 35, 0.82);
}

.cart-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    image-rendering: auto;
}

.cart-item-main h2 {
    font-size: 1.08rem;
}

.cart-item-side {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
}

.qty-form {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.qty-form input[type='number'] {
    width: 72px;
}

.qty-btn {
    width: 30px;
    height: 30px;
    border: var(--hairline);
    border-radius: 999px;
    background: rgba(17, 25, 37, 0.5);
    color: var(--color-text);
    cursor: pointer;
}

.summary-card h2,
.checkout-form h2 {
    margin-bottom: 0.75rem;
}

.checkout-form h2::before,
.summary-card h2::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 99px;
    margin-right: 0.45rem;
    background: linear-gradient(150deg, var(--color-primary), var(--color-accent));
}

.summary-line {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.45rem;
    color: #d8e6f8;
    font-size: 0.93rem;
}

.summary-total {
    font-weight: 700;
    border-top: var(--hairline);
    padding-top: 0.65rem;
    margin-top: 0.65rem;
}

.split-fields {
    display: grid;
    gap: 0.72rem;
}

.error {
    display: block;
    margin-top: 0.3rem;
    color: #f18686;
    font-size: 0.81rem;
}

.status-card.success {
    background: linear-gradient(180deg, rgba(73, 194, 145, 0.08), rgba(18, 27, 38, 0.58));
}

.status-card.failed {
    background: linear-gradient(180deg, rgba(240, 124, 124, 0.08), rgba(18, 27, 38, 0.58));
}

.status-grid {
    display: grid;
    gap: 0.35rem;
    margin: 1rem 0 1.1rem;
}

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

.value-grid {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: 1fr;
}

.site-footer {
    border-top: var(--hairline);
    padding-block: 1.7rem;
    background: rgba(8, 12, 17, 0.55);
}

.footer-grid {
    display: grid;
    gap: 1rem;
}

.footer-brand {
    font-weight: 700;
    letter-spacing: 0.06em;
    font-size: 1.04rem;
    color: #ebf3ff;
}

.footer-title {
    margin-bottom: 0.4rem;
    color: #d3e1f1;
    font-weight: 600;
}

.footer-grid a {
    display: block;
    color: #aec2da;
    margin-bottom: 0.3rem;
}

.narrow {
    width: min(760px, 92%);
}

.legal-shell {
    padding: clamp(1rem, 2.2vw, 1.35rem);
}

.legal h2 {
    margin-top: 1.08rem;
    font-size: 1.1rem;
}

.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

.product-card.shop-filter-in {
    animation: shopCardIn 320ms cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: var(--shop-filter-delay, 0ms);
}

@keyframes grainDrift {
    0% {
        transform: translate3d(0, 0, 0);
    }
    25% {
        transform: translate3d(-0.6%, 0.4%, 0);
    }
    50% {
        transform: translate3d(0.5%, -0.5%, 0);
    }
    75% {
        transform: translate3d(-0.3%, 0.6%, 0);
    }
    100% {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes heroScan {
    0% {
        transform: translateX(-12%);
        opacity: 0.55;
    }
    50% {
        opacity: 0.85;
    }
    100% {
        transform: translateX(12%);
        opacity: 0.55;
    }
}

@keyframes heroBlob {
    0% {
        transform: translate3d(0, 0, 0) scale(0.98);
    }
    100% {
        transform: translate3d(-18px, 16px, 0) scale(1.06);
    }
}

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

@media (min-width: 700px) {
    .menu-toggle {
        display: none;
    }

    .main-nav {
        display: flex;
        position: static;
        background: transparent;
        border: 0;
        padding: 0;
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }

    .hero-shell {
        grid-template-columns: 1.24fr 0.9fr;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.95rem;
    }

    .shop-layout {
        grid-template-columns: 240px minmax(0, 1fr);
        align-items: start;
    }

    .cart-item {
        grid-template-columns: 118px minmax(0, 1fr) auto;
        align-items: center;
        column-gap: 0.95rem;
    }

    .cart-thumb {
        aspect-ratio: 1;
    }

    .cart-item-side {
        flex-direction: column;
        align-items: flex-end;
    }

    .split-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .value-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: 1.3fr 1fr 1fr;
    }
}

@media (min-width: 980px) {
    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .product-detail-grid {
        grid-template-columns: 1.06fr 1fr;
        align-items: start;
    }

    .cart-layout,
    .checkout-layout {
        grid-template-columns: 1fr 332px;
        align-items: start;
    }
}

@media (max-width: 699px) {
    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }
}
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .reveal,
    .reveal.is-visible {
        opacity: 1;
        transform: none;
    }
}















/* Admin UI */
.admin-nav {
    display: flex !important;
    position: static;
    background: transparent;
    border: 0;
    padding: 0;
    gap: 0.65rem;
    align-items: center;
    flex-wrap: wrap;
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.admin-table th,
.admin-table td {
    text-align: left;
    padding: 0.62rem 0.48rem;
    border-bottom: var(--hairline);
    vertical-align: top;
    font-size: 0.9rem;
}

.admin-table th {
    color: #d9e7f9;
    font-weight: 600;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.12rem 0.48rem;
    border-radius: 999px;
    font-size: 0.75rem;
    border: var(--hairline);
}

.badge-success {
    background: rgba(73, 194, 145, 0.12);
    color: #b9f0d9;
}

.badge-muted {
    background: rgba(160, 175, 194, 0.08);
    color: #c7d6ea;
}

.admin-table .inline-form {
    display: inline-flex;
}

.admin-image-upload {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
}

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

.admin-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.58rem;
}

.admin-gallery-item {
    position: relative;
    border: var(--hairline);
    border-radius: var(--radius-sm);
    padding: 0.42rem 0.42rem 0.56rem;
    background: rgba(17, 25, 37, 0.52);
    cursor: grab;
}

.admin-gallery-item:active {
    cursor: grabbing;
}

.admin-gallery-item.is-dragging {
    opacity: 0.56;
    transform: scale(0.98);
}

.admin-gallery-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
}

.admin-gallery-handle {
    position: absolute;
    right: 0.52rem;
    bottom: 0.42rem;
    font-size: 0.8rem;
    letter-spacing: 0.08rem;
    color: rgba(210, 226, 244, 0.62);
    user-select: none;
    pointer-events: none;
}

button:disabled,
.btn:disabled {
    opacity: 0.58;
    cursor: not-allowed;
    transform: none;
}



.summary-card .btn.full + .btn.full {
    margin-top: 0.45rem;
}
















