:root {
    --bg: #14151b;
    --bg-elevated: rgba(14, 18, 28, 0.92);
    --bg-soft: #121722;
    --surface: rgba(255, 255, 255, 0.04);
    --surface-strong: rgba(255, 255, 255, 0.08);
    --border: rgba(223, 194, 117, 0.18);
    --text: #f4f0e7;
    --muted: #b9b0a0;
    --accent: #dfc275;
    --accent-strong: #f0d28a;
    --accent-soft: rgba(223, 194, 117, 0.18);
    --danger: #d66a6a;
    --success: #79c3a2;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    --radius: 24px;
    --radius-sm: 16px;
    --container: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #14151b;
    color: var(--text);
    min-height: 100vh;
}

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

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

button,
input,
select,
textarea {
    font: inherit;
}

.container {
    width: min(calc(100% - 2rem), var(--container));
    margin: 0 auto;
}

.eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 0.8rem;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: end;
    margin-bottom: 2rem;
}

.section-heading h2,
.hero-copy h1,
.page-hero h1,
.detail-copy h1,
.admin-intro h2,
.story-grid h1 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.03em;
}

.section-heading p,
.hero-copy p,
.page-hero p,
.footer-copy,
.muted-copy,
.story-grid p,
.detail-copy p,
.metric-card p,
.panel-head p {
    color: var(--muted);
    line-height: 1.7;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    border-radius: 999px;
    padding: 0.88rem 1.4rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    color: #14110a;
    background: linear-gradient(135deg, var(--accent-strong), var(--accent));
    box-shadow: 0 14px 30px rgba(223, 194, 117, 0.22);
}

.button-secondary {
    border-color: var(--border);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text);
}

.button-ghost {
    background: transparent;
    border-color: transparent;
    color: var(--muted);
}

.site-header,
.admin-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: #14151b;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-row,
.admin-topbar {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    flex-shrink: 0;
}

.brand-logo {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
}

.admin-topbar h1 {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.12rem;
}

.main-nav-center {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-link {
    color: var(--muted);
    padding: 0.72rem 0.92rem;
    border-radius: 999px;
    font-size: 0.92rem;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--text);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-signup-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    background: #1d3a72;
    color: #fff;
    font-size: 0.92rem;
    transition: opacity 0.2s ease;
}

.nav-signup-btn:hover {
    opacity: 0.85;
}

.cart-icon-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: var(--text);
    padding: 0.5rem;
}

.cart-icon-link .cart-badge {
    position: absolute;
    top: -2px;
    right: -6px;
    width: 18px;
    height: 18px;
    font-size: 0.65rem;
}

/* Legacy .main-nav kept for other pages */
.main-nav {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.main-nav a {
    color: var(--muted);
    padding: 0.72rem 0.92rem;
    border-radius: 999px;
}

.main-nav a:hover,
.main-nav a.is-active {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.cart-link {
    position: relative;
}

.cart-badge {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    margin-left: 0.45rem;
    border-radius: 999px;
    background: var(--accent);
    color: #111;
    font-size: 0.72rem;
    font-weight: 700;
}

.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: transparent;
    padding: 0;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
    margin: 4px auto;
}

.flash {
    padding: 0.95rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.flash-success {
    background: rgba(121, 195, 162, 0.12);
    color: #d9f3e5;
}

.flash-error {
    background: rgba(214, 106, 106, 0.12);
    color: #ffd7d7;
}

.hero {
    padding: 3rem 0 2rem;
}

.hero-shell {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
    align-items: stretch;
}

/* ========== HERO FULLSCREEN VIDEO ========== */
.hero-fullscreen {
    position: relative;
    width: 100%;
    height: calc(100vh - 84px - 50px); /* viewport minus navbar minus marquee */
    overflow: hidden;
    margin-top: 84px; /* offset for fixed navbar */
}

.hero-video-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-video.active {
    opacity: 1;
}

.hero-overlay-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    padding: 0 2rem 4rem;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.65) 100%);
    z-index: 2;
}

.hero-sub {
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 0.8rem;
    font-weight: 400;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin: 0 0 0.8rem;
    color: #fff;
    max-width: 700px;
}

.hero-tagline {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.65);
    margin: 0 0 1.8rem;
    font-weight: 300;
}

.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: #0c0d13;
    color: #fff;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    transition: transform 0.25s ease, opacity 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-cta-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* ========== HERO MARQUEE ========== */
.hero-marquee {
    background: #171211;
    overflow: hidden;
    white-space: nowrap;
    margin: 0;
    padding: 0;
}

.hero-marquee-track {
    display: inline-flex;
    gap: 2.5rem;
    padding: 0.9rem 0;
    animation: heroMarquee 40s linear infinite;
}

.hero-marquee-track span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 400;
}

.hero-marquee-track .marquee-dot {
    color: rgba(255, 255, 255, 0.25);
}

@keyframes heroMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-33.33%); }
}

/* ========== HEADER ROW RELATIVE FOR CENTER NAV ========== */
.header-row {
    position: relative;
}

.glass-card,
.feature-card,
.product-card,
.category-card,
.contact-card,
.story-card,
.cart-card,
.metric-card,
.admin-panel,
.stat-list,
.checkout-card,
.testimonial-card,
.auth-card,
.empty-state,
.status-card,
.detail-panel,
.cta-band {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-copy {
    padding: clamp(2rem, 4vw, 4rem);
    position: relative;
    overflow: hidden;
}

.hero-copy::before,
.page-hero::before,
.cta-band::before {
    content: '';
    position: absolute;
    inset: auto -10% -35% auto;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(223, 194, 117, 0.12);
    filter: blur(10px);
}

.hero-copy h1 {
    font-size: clamp(2.7rem, 5vw, 5.6rem);
    line-height: 0.94;
    max-width: 10ch;
}

.hero-actions,
.admin-topbar-actions,
.form-actions,
.detail-actions,
.cart-actions,
.page-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.hero-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.hero-points div {
    padding: 1rem;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-points strong,
.metric-card strong,
.checkout-total strong,
.summary-amount {
    display: block;
    font-size: 1.35rem;
    font-family: 'Playfair Display', serif;
}

.hero-visual {
    position: relative;
    overflow: hidden;
    min-height: 580px;
}

.hero-visual video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: end;
    padding: 2rem;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.55));
}

.hero-overlay-card {
    max-width: 320px;
    padding: 1.3rem;
    border-radius: var(--radius-sm);
    background: rgba(11, 14, 20, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.marquee {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin: 2.5rem 0 0;
    overflow: hidden;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.02);
}

.marquee-track {
    display: inline-flex;
    gap: 2rem;
    padding: 1rem 0;
    animation: marquee 24s linear infinite;
}

.marquee span {
    color: var(--accent);
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.page-section {
    padding: 5rem 0;
}

.products-grid,
.category-grid,
.feature-grid,
.contact-grid,
.story-grid,
.checkout-grid,
.metrics-grid,
.admin-grid,
.auth-grid {
    display: grid;
    gap: 1.4rem;
}

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

.category-grid,
.feature-grid,
.contact-grid,
.metrics-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.story-grid,
.checkout-grid,
.auth-grid,
.detail-layout {
    grid-template-columns: 1.05fr 0.95fr;
}

.product-card,
.category-card,
.feature-card,
.contact-card,
.story-card,
.metric-card,
.checkout-card,
.auth-card,
.detail-panel,
.status-card,
.admin-panel,
.cart-card {
    overflow: hidden;
}

.product-card-media,
.category-card-media,
.detail-media {
    position: relative;
    overflow: hidden;
    min-height: 280px;
}

.product-card-media img,
.category-card-media img,
.detail-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.product-card:hover .product-card-media img,
.category-card:hover .category-card-media img {
    transform: scale(1.06);
}

.product-card-body,
.category-card-body,
.feature-card,
.contact-card,
.story-card,
.metric-card,
.checkout-card,
.auth-card,
.detail-copy,
.status-card,
.admin-panel,
.cart-card {
    padding: 1.45rem;
}

.product-card-body h3,
.category-card-body h3,
.feature-card h3,
.contact-card h3,
.auth-card h2,
.story-card h3,
.panel-head h3,
.cart-card h2,
.status-card h3 {
    margin: 0 0 0.55rem;
}

.product-meta,
.product-price-row,
.cart-line,
.checkout-line,
.status-line,
.panel-head,
.order-line,
.admin-toolbar,
.filter-row,
.detail-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.product-meta,
.muted-label,
.admin-toolbar label,
.field label,
.summary-line span:first-child,
.status-line span:first-child {
    color: var(--muted);
}

.tag,
.chip,
.pill,
.status-pill,
.detail-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text);
    font-size: 0.84rem;
}

.chip.is-active,
.status-pill.paid,
.status-pill.delivered {
    background: rgba(121, 195, 162, 0.14);
    border-color: rgba(121, 195, 162, 0.28);
    color: #d8f0e4;
}

.status-pill.pending,
.detail-badge {
    background: rgba(223, 194, 117, 0.14);
    border-color: rgba(223, 194, 117, 0.28);
}

.status-pill.rejected,
.status-pill.failed,
.status-pill.cancelled {
    background: rgba(214, 106, 106, 0.14);
    border-color: rgba(214, 106, 106, 0.28);
    color: #ffd6d6;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 4rem;
    margin-top: 2rem;
}

.page-hero h1 {
    font-size: clamp(2.4rem, 4vw, 4.2rem);
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 2rem 0 2.5rem;
}

.chip {
    cursor: pointer;
}

.shop-grid[data-view="shop"] .product-card {
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.shop-grid .product-card.is-hidden {
    opacity: 0.18;
    pointer-events: none;
    transform: scale(0.98);
}

.comparison-shell {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem;
    align-items: center;
}

.comparison-card {
    padding: 1.8rem;
}

.slider-stage {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.slider-stage img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-stage .after-layer {
    clip-path: inset(0 50% 0 0);
}

.slider-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: rgba(255, 255, 255, 0.85);
}

.slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 54px;
    height: 54px;
    margin: -27px 0 0 -27px;
    border-radius: 50%;
    background: var(--accent);
    color: #111;
    display: grid;
    place-items: center;
    font-weight: 700;
}

.slider-range {
    width: 100%;
    margin-top: 1rem;
}

.testimonial-wrap {
    display: grid;
    grid-template-columns: 180px 1fr 88px;
    gap: 1.5rem;
    align-items: center;
}

.testimonial-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.08);
}

.testimonial-rating {
    color: var(--accent);
    letter-spacing: 0.12em;
}

.testimonial-quote {
    font-size: 1.35rem;
    font-family: 'Playfair Display', serif;
    line-height: 1.6;
    margin: 0.6rem 0 1rem;
}

.testimonial-controls {
    display: grid;
    gap: 0.6rem;
}

.icon-button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    cursor: pointer;
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 0;
    padding: 0;
    cursor: pointer;
}

.testimonial-dot.is-active {
    background: var(--accent);
}

.detail-layout {
    display: grid;
    gap: 2rem;
    align-items: start;
}

.detail-media {
    min-height: 640px;
}

.detail-copy {
    position: sticky;
    top: 112px;
}

.variant-group,
.field-grid,
.summary-stack,
.dashboard-bars,
.admin-stats {
    display: grid;
    gap: 1rem;
}

.variant-options,
.admin-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.variant-chip,
.tab-button {
    border-radius: 999px;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    cursor: pointer;
}

.variant-chip.is-active,
.tab-button.is-active {
    background: rgba(223, 194, 117, 0.15);
    border-color: rgba(223, 194, 117, 0.35);
}

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

.field,
.stack-field {
    display: grid;
    gap: 0.55rem;
}

.field input,
.field select,
.field textarea,
.stack-field input,
.stack-field select,
.stack-field textarea,
.newsletter-form input {
    width: 100%;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    padding: 0.95rem 1rem;
}

.field textarea,
.stack-field textarea {
    min-height: 140px;
    resize: vertical;
}

.newsletter-form {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
}

.cart-layout,
.admin-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.5rem;
}

.cart-items,
.panel-body,
.summary-stack,
.order-list,
.admin-table-wrap {
    display: grid;
    gap: 1rem;
}

.cart-item,
.summary-line,
.order-row,
.status-row,
.admin-table tbody tr {
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.cart-item {
    display: grid;
    grid-template-columns: 118px 1fr auto;
    gap: 1rem;
    align-items: center;
}

.cart-item img {
    width: 118px;
    height: 118px;
    border-radius: 18px;
    object-fit: cover;
}

.quantity-control {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
}

.quantity-control button {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    cursor: pointer;
}

.empty-state {
    padding: 2rem;
    text-align: center;
}

.page-shell {
    padding-bottom: 5rem;
}

.site-footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 1.6rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.7rem;
    color: var(--muted);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--muted);
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.admin-shell {
    padding: 2.2rem 0 4rem;
}

.admin-layout {
    grid-template-columns: 280px 1fr;
}

.admin-sidebar {
    position: sticky;
    top: 110px;
    align-self: start;
}

.admin-nav {
    display: grid;
    gap: 0.7rem;
    margin-top: 1.2rem;
}

.admin-nav button {
    width: 100%;
    text-align: left;
}

.admin-content {
    display: grid;
    gap: 1.25rem;
}

.admin-panel.is-hidden,
.admin-section.is-hidden {
    display: none;
}

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

.metric-card strong {
    margin-top: 0.3rem;
}

.dashboard-bars {
    margin-top: 1.2rem;
}

.bar-row {
    display: grid;
    grid-template-columns: 120px 1fr 50px;
    gap: 1rem;
    align-items: center;
}

.bar-track {
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--accent), #f7dfa4);
}

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

.admin-table th,
.admin-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-table th {
    color: var(--muted);
    font-weight: 500;
}

.helper-line {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--muted);
}

.auth-grid,
.story-grid,
.contact-grid,
.checkout-grid {
    align-items: start;
}

.auth-card {
    padding: 2rem;
}

.auth-card p {
    margin-top: 0;
}

.inline-note {
    margin-top: 1rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.split-note {
    display: grid;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.table-scroll {
    overflow-x: auto;
}

@media (max-width: 1080px) {
    .hero-shell,
    .story-grid,
    .checkout-grid,
    .auth-grid,
    .detail-layout,
    .cart-layout,
    .admin-layout,
    .comparison-shell,
    .testimonial-wrap {
        grid-template-columns: 1fr;
    }

    .products-grid,
    .category-grid,
    .feature-grid,
    .contact-grid,
    .metrics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-sidebar,
    .detail-copy {
        position: static;
    }

    .testimonial-controls {
        grid-auto-flow: column;
        justify-content: start;
    }

    .main-nav-center {
        position: static;
        transform: none;
    }
}

@media (max-width: 760px) {
    .nav-toggle {
        display: inline-block;
    }

    .main-nav,
    .main-nav-center {
        position: absolute;
        left: 1rem;
        right: 1rem;
        top: 82px;
        display: none;
        flex-direction: column;
        padding: 1rem;
        border-radius: 24px;
        background: rgba(20, 21, 27, 0.96);
        border: 1px solid rgba(255, 255, 255, 0.08);
        transform: none;
    }

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

    .nav-right {
        flex-wrap: wrap;
        gap: 0.4rem;
    }

    .hero-fullscreen {
        height: calc(100vh - 84px - 42px);
    }

    .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.8rem);
    }

    .hero-overlay-content {
        padding: 0 1.2rem 2.5rem;
    }

    .hero-copy,
    .page-hero {
        padding: 2rem;
    }

    .hero-points,
    .products-grid,
    .category-grid,
    .feature-grid,
    .contact-grid,
    .footer-grid,
    .metrics-grid,
    .field-grid {
        grid-template-columns: 1fr;
    }

    .cart-item {
        grid-template-columns: 1fr;
    }

    .newsletter-form,
    .footer-bottom,
    .section-heading,
    .product-price-row,
    .detail-price-row,
    .panel-head,
    .helper-line {
        flex-direction: column;
        align-items: start;
    }

    .page-section {
        padding: 4rem 0;
    }

    .hero-visual {
        min-height: 420px;
    }

    .detail-media {
        min-height: 360px;
    }
}
