/* ═══════════════════════════════════════════
   RazorCart — JBP5
   Editorial Magazine · Full-bleed · Scroll
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
    color-scheme: light;
    --bg: #ffffff;
    --surface: #ffffff;
    --ink: #111111;
    --ink-light: #555555;
    --muted: #999999;
    --border: #e8e8e8;
    --border-light: #f2f2f2;

    --primary: #b8860b;
    --primary-hover: #a07509;
    --primary-soft: rgba(184,134,11,0.08);

    --accent: #111111;
    --accent-soft: rgba(17,17,17,0.05);

    --gold: #b8860b;
    --gold-soft: rgba(184,134,11,0.1);

    --success: #2d7d46;
    --success-soft: rgba(45,125,70,0.08);
    --danger: #c0392b;
    --danger-soft: rgba(192,57,43,0.08);

    --announcement-bg: #111111;
    --announcement-text: #ffffff;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'DM Serif Display', Georgia, 'Times New Roman', serif;

    --transition: 0.3s ease;
}

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

body {
    margin: 0;
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.7;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    font-weight: 300;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, h5 { font-family: var(--font-heading); font-weight: 400; }

/* ── Announcement (only sticky element) ── */
.announcement-bar {
    background: var(--announcement-bg);
    color: var(--announcement-text);
    text-align: center;
    padding: 8px 5vw;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: sticky;
    top: 0;
    z-index: 200;
}
.announcement-bar a { color: var(--gold); text-decoration: underline; }
.announcement-bar__close { background: none; border: none; color: inherit; font-size: 16px; cursor: pointer; opacity: 0.5; margin-left: auto; line-height: 1; }

/* ═══════════════════════════════════════════
   Header — floats on page, NOT sticky
   ═══════════════════════════════════════════ */

.mag-header {
    background: transparent;
    padding: 20px 5vw 0;
}
.mag-header__inner {
    max-width: 1680px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}
.mag-header__left {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}
.mag-header__inner .brand {
    flex: 0 0 auto;
}
.mag-header__right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
}
.mag-header .brand { display: flex; align-items: center; }
.mag-header .brand img { max-height: 24px; }
.mag-header .brand__text {
    font-family: var(--font-heading);
    font-size: 26px;
    color: var(--accent);
    font-style: italic;
}
.mag-header__right select {
    border: none; font-family: var(--font); font-size: 10px;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--muted); background: transparent; cursor: pointer; outline: none;
}
.mag-icon-btn {
    background: none; border: none; cursor: pointer;
    color: var(--ink); padding: 6px; display: flex;
    transition: color var(--transition);
}
.mag-icon-btn:hover { color: var(--gold); }

.mag-cart-link { display: flex; padding: 6px; color: var(--ink); position: relative; transition: color var(--transition); }
.mag-cart-link:hover { color: var(--gold); }
.mag-cart-link [data-cart-count] {
    position: absolute; top: 0; right: -2px;
    background: var(--gold); color: #fff;
    font-size: 8px; font-weight: 600;
    min-width: 14px; height: 14px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 999px; padding: 0 3px;
}

.mag-hamburger {
    background: none; border: none; cursor: pointer;
    display: none; flex-direction: column; gap: 4px; padding: 4px;
}
.mag-hamburger span { display: block; width: 18px; height: 1.5px; background: var(--ink); }

@media (max-width: 768px) {
    .mag-hamburger { display: flex; }
}

/* Nav row below logo */
.mag-nav {
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    margin-top: 14px;
}
.mag-nav__inner {
    max-width: 1680px;
    margin: 0 auto;
    padding: 0 5vw;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.mag-nav__inner::-webkit-scrollbar { display: none; }
.mag-nav__inner a,
.mag-nav__inner .nav-item > a {
    display: block;
    padding: 12px 20px;
    font-size: 11px;
    font-weight: 500;
    color: var(--ink-light);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    white-space: nowrap;
    transition: color var(--transition);
}
.mag-nav__inner a:hover,
.mag-nav__inner .nav-item > a:hover { color: var(--gold); }

.mag-nav__inner .nav-item { position: relative; }
.mag-nav__inner .nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--surface);
    border: 1px solid var(--border);
    min-width: 160px;
    padding: 6px 0;
    z-index: 50;
}
.mag-nav__inner .nav-item:hover .nav-dropdown { display: block; }
.mag-nav__inner .nav-dropdown a {
    display: block;
    padding: 8px 20px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-light);
}
.mag-nav__inner .nav-dropdown a:hover { background: var(--gold-soft); color: var(--gold); }

@media (max-width: 768px) {
    .mag-nav { display: none; }
}

/* ═══════════════════════════════════════════
   Drawer — fullscreen menu
   ═══════════════════════════════════════════ */

.drawer-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 300; }
.drawer-overlay.is-visible { display: block; }
.drawer {
    position: fixed; top: 0; left: -300px; width: 300px; height: 100%;
    background: var(--surface); z-index: 400; overflow-y: auto;
    transition: left 0.4s ease; box-shadow: 0 0 40px rgba(0,0,0,0.15);
}
.drawer.is-open { left: 0; }
.drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 24px 20px; border-bottom: 1px solid var(--border-light); }
.drawer__title { font-family: var(--font-heading); font-size: 18px; font-style: italic; }
.drawer__close { background: none; border: none; cursor: pointer; color: var(--muted); padding: 4px; }
.drawer__nav { padding: 12px 0; }
.drawer__nav a { display: block; padding: 14px 20px; font-size: 14px; color: var(--ink); font-weight: 400; letter-spacing: 0.04em; }
.drawer__nav a:hover { background: var(--gold-soft); }
.drawer__subitem { padding-left: 40px !important; font-size: 13px !important; color: var(--ink-light) !important; }
.drawer__locale { padding: 16px 20px; border-top: 1px solid var(--border-light); }
.drawer__locale-label { font-size: 10px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin: 8px 0 4px; }
.drawer__locale-list { display: flex; flex-wrap: wrap; gap: 6px; }
.drawer__locale-item { padding: 4px 10px; border: 1px solid var(--border); font-size: 11px; transition: all var(--transition); }
.drawer__locale-item.is-current { background: var(--gold); color: #fff; border-color: var(--gold); }

/* ═══════════════════════════════════════════
   Dropdowns
   ═══════════════════════════════════════════ */
.account-menu { position: relative; }
.account-dropdown { display: none; position: absolute; top: 100%; right: 0; background: var(--surface); border: 1px solid var(--border); min-width: 180px; padding: 8px 0; z-index: 50; }
.account-menu.is-open .account-dropdown { display: block; }
.account-dropdown__user { padding: 10px 16px; font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--border-light); }
.account-dropdown__item { display: flex; align-items: center; gap: 8px; padding: 10px 16px; font-size: 12px; letter-spacing: 0.04em; transition: background var(--transition); }
.account-dropdown__item:hover { background: var(--gold-soft); }
.account-dropdown__item--danger { color: var(--danger) !important; }
.account-dropdown__divider { height: 1px; background: var(--border-light); margin: 4px 12px; }

.cart-menu { position: relative; }
.cart-preview { display: none; position: absolute; top: 100%; right: 0; background: var(--surface); border: 1px solid var(--border); min-width: 300px; max-width: 90vw; padding: 20px; z-index: 50; }
.cart-menu.is-open .cart-preview { display: block; }
.cart-preview__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--border-light); font-size: 13px; letter-spacing: 0.04em; }
.cart-preview__head span { font-size: 11px; color: var(--muted); }
.cart-preview__item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border-light); }
.cart-preview__item img { width: 48px; height: 48px; object-fit: cover; flex-shrink: 0; }
.cart-preview__item span { flex: 1; min-width: 0; }
.cart-preview__item strong { display: block; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-preview__item small { display: block; font-size: 11px; color: var(--muted); }
.cart-preview__total { display: flex; justify-content: space-between; padding: 12px 0; font-size: 13px; font-weight: 500; border-top: 1px solid var(--border-light); }
.cart-preview__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.cart-preview__actions a { text-align: center; padding: 10px; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; transition: all var(--transition); }
.cart-preview__actions a:first-child { border: 1px solid var(--border); }
.cart-preview__actions a:first-child:hover { border-color: var(--gold); }
.cart-preview__actions a:last-child { background: var(--gold); color: #fff; }
.cart-preview__actions a:last-child:hover { background: var(--primary-hover); }
.cart-preview__empty { text-align: center; padding: 24px 0; font-size: 12px; color: var(--muted); }

/* ═══════════════════════════════════════════
   Hero — Full-bleed image with bottom text
   ═══════════════════════════════════════════ */

.mag-hero {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    height: min(85vh, 700px);
    overflow: hidden;
    background: var(--accent);
}
.mag-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mag-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.5) 0%, transparent 50%);
}
.mag-hero__body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 5vw;
    color: #fff;
}
.mag-hero__inner {
    max-width: 1680px;
    margin: 0 auto;
}
.mag-hero__tag {
    display: inline-block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 12px;
}
.mag-hero__title {
    font-size: clamp(32px, 5vw, 52px);
    margin: 0 0 12px;
    max-width: 600px;
    line-height: 1.1;
}
.mag-hero__desc {
    font-size: 14px;
    opacity: 0.75;
    margin: 0 0 24px;
    max-width: 440px;
    line-height: 1.6;
    font-weight: 300;
}
.mag-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ═══════════════════════════════════════════
   Categories — Horizontal scroll cards
   ═══════════════════════════════════════════ */

.mag-categories {
    max-width: 1680px;
    margin: 2rem auto;
    padding: 0 5vw;
}
.mag-categories__head { margin-bottom: 20px; }
.mag-categories__head h2 { font-size: 22px; margin: 0; }
.mag-categories__strip {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 8px;
}
.mag-categories__strip::-webkit-scrollbar { display: none; }
.mag-cat-card {
    flex: 0 0 280px;
    height: 360px;
    position: relative;
    overflow: hidden;
    border-radius: 0;
}
.mag-cat-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.mag-cat-card:hover img { transform: scale(1.06); }
.mag-cat-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.4) 0%, transparent 60%);
}
.mag-cat-card__body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    color: #fff;
}
.mag-cat-card__body h3 { font-family: var(--font); font-size: 14px; font-weight: 500; margin: 0 0 2px; letter-spacing: 0.04em; }
.mag-cat-card__body span { font-size: 11px; opacity: 0.7; }

@media (max-width: 480px) { .mag-cat-card { flex: 0 0 200px; height: 260px; } }

/* ═══════════════════════════════════════════
   Sections — Full bleed alternating
   ═══════════════════════════════════════════ */

.section {
    max-width: 1680px;
    margin: 0 auto;
    padding: 3rem 5vw;
}
.section--full {
    max-width: none;
    padding: 3rem 5vw;
    background: #fafafa;
    margin: 0;
}
.section--full:last-of-type { border-bottom: none; }
.section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}
.section__head--centered { justify-content: center; text-align: center; }
.section__title { font-size: 24px; margin: 0; line-height: 1.2; }
.section__subtitle { font-size: 13px; color: var(--muted); display: block; margin-top: 4px; font-family: var(--font); font-weight: 300; }
.section__count { font-size: 12px; color: var(--muted); }
.section__link { font-size: 11px; font-weight: 500; color: var(--gold); text-transform: uppercase; letter-spacing: 0.1em; white-space: nowrap; }

.product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 28px;
}
@media (max-width: 1024px) { .product-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
@media (max-width: 768px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (max-width: 480px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* ── Featured layout: first card larger ── */
.mag-featured-section .product-grid:first-child {
    grid-template-columns: 1fr 1fr;
}
.mag-featured-section .product-card:first-child .product-card__figure {
    aspect-ratio: 3/2;
}

/* ═══════════════════════════════════════════
   Product Card
   ═══════════════════════════════════════════ */

.product-card { transition: transform var(--transition); }
.product-card:hover { transform: translateY(-4px); }
.product-card__link { display: block; }
.product-card__figure {
    margin: 0;
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #f5f5f5;
}
.product-card__figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.product-card:hover .product-card__figure img { transform: scale(1.06); }
.product-card__badge {
    position: absolute; top: 12px; left: 12px;
    background: var(--gold); color: #fff;
    font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase;
    padding: 3px 10px;
}
.product-card__body { padding: 14px 0 0; }
.product-card__meta { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 4px; }
.product-card__title { font-family: var(--font); font-size: 14px; font-weight: 400; margin: 0 0 4px; line-height: 1.5; }
.product-card__price { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 0; font-size: 14px; font-weight: 500; }
.product-card__price--old { font-size: 12px; font-weight: 300; color: var(--muted); text-decoration: line-through; }
.product-card__price--current { color: var(--gold); }

/* ═══════════════════════════════════════════
   Values
   ═══════════════════════════════════════════ */

.mag-strip {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    max-width: 1680px;
    margin: 0 auto;
    padding: 24px 5vw;
    font-size: 12px;
    color: var(--muted);
}
.mag-strip span { letter-spacing: 0.04em; }

/* ═══════════════════════════════════════════
   About
   ═══════════════════════════════════════════ */
.mag-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1680px;
    margin: 0 auto;
    gap: 48px;
    padding: 3rem 5vw;
    align-items: center;
}
.mag-about__image { overflow: hidden; }
.mag-about__image img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.mag-about__tag { font-size: 10px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted); margin-bottom: 8px; display: block; }
.mag-about h2 { font-size: 24px; margin: 0 0 12px; }
.mag-about p { font-size: 14px; color: var(--ink-light); line-height: 1.8; margin: 0 0 20px; font-weight: 300; }
@media (max-width: 768px) { .mag-about { grid-template-columns: 1fr; gap: 24px; } }

/* ═══════════════════════════════════════════
   Breadcrumbs
   ═══════════════════════════════════════════ */
.breadcrumbs { padding: 20px 5vw 0; font-size: 11px; color: var(--muted); max-width: 1680px; margin: 0 auto; text-transform: uppercase; letter-spacing: 0.06em; display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumbs a:hover { color: var(--gold); }

/* ═══════════════════════════════════════════
   Category Page — no sidebar
   ═══════════════════════════════════════════ */
.category-header { text-align: center; padding: 2rem 5vw 0; max-width: 1680px; margin: 0 auto; }
.category-header h1 { font-size: 28px; margin: 0 0 4px; }
.category-header .count { font-size: 12px; color: var(--muted); }

/* ═══════════════════════════════════════════
   Product Page
   ═══════════════════════════════════════════ */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; max-width: 1680px; margin: 0 auto; padding: 2rem 5vw 3rem; }
.gallery__main { background: #f5f5f5; overflow: hidden; aspect-ratio: 1; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.gallery__thumbs { display: flex; gap: 8px; margin-top: 8px; }
.gallery__thumb { border: 1px solid var(--border); width: 64px; height: 64px; overflow: hidden; cursor: pointer; padding: 0; background: none; opacity: 0.5; transition: opacity var(--transition); }
.gallery__thumb:hover, .gallery__thumb.is-active { opacity: 1; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.product__category { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; margin: 0 0 8px; }
.product__title { font-size: 28px; margin: 0 0 16px; }
.product__price-row { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.product__price { font-size: 24px; font-weight: 500; color: var(--gold); }
.product__price--old { font-size: 14px; color: var(--muted); text-decoration: line-through; }
.product__badge { font-size: 10px; padding: 4px 10px; background: var(--gold); color: #fff; letter-spacing: 0.08em; text-transform: uppercase; }
.product__options { display: grid; gap: 14px; margin-bottom: 24px; }
.product__option-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; display: block; }
.product__option-group { display: flex; flex-wrap: wrap; gap: 8px; }
.product__option-btn { padding: 8px 16px; border: 1px solid var(--border); background: var(--surface); font-family: var(--font); font-size: 12px; cursor: pointer; transition: all var(--transition); }
.product__option-btn:hover { border-color: var(--gold); }
.product__option-btn.is-selected { border-color: var(--gold); background: var(--gold-soft); color: var(--gold); }
.product__option-btn--swatch { width: 36px; height: 36px; border-radius: 50%; padding: 0; background: var(--swatch-color); }
.product__action { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.product__qty { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.product__qty input { width: 60px; padding: 10px; border: 1px solid var(--border); font-size: 14px; text-align: center; font-family: var(--font); }
.product__sku { font-size: 11px; color: var(--muted); }
.product-tabs { max-width: 1680px; margin: 2rem auto; padding: 0 5vw; }
.product-tabs__nav { display: flex; border-bottom: 1px solid var(--border-light); }
.product-tabs__tab { padding: 14px 24px; border: none; background: none; font-family: var(--font); font-size: 11px; font-weight: 500; color: var(--muted); cursor: pointer; text-transform: uppercase; letter-spacing: 0.08em; border-bottom: 1px solid transparent; margin-bottom: -1px; transition: all var(--transition); }
.product-tabs__tab.is-active { color: var(--ink); border-bottom-color: var(--gold); }
.product-tabs__content { padding: 28px 0; }
.product-tabs__panel { display: none; }
.product-tabs__panel.is-active { display: block; }
.product-tabs__empty { color: var(--muted); font-size: 13px; }
.product__desc { font-size: 14px; line-height: 1.9; color: var(--ink-light); font-weight: 300; }
@media (max-width: 768px) { .product { grid-template-columns: 1fr; gap: 24px; } }

/* ═══════════════════════════════════════════
   Buttons
   ═══════════════════════════════════════════ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 28px;
    font-family: var(--font); font-size: 11px; font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer; text-align: center; white-space: nowrap;
    text-transform: uppercase; letter-spacing: 0.12em;
    transition: all var(--transition);
}
.btn--primary { background: var(--gold); color: #fff; }
.btn--primary:hover { background: var(--primary-hover); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--border); }
.btn--outline:hover { border-color: var(--gold); color: var(--gold); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.3); }
.btn--outline-light:hover { border-color: #fff; color: #fff; }
.btn--lg { padding: 16px 36px; font-size: 12px; }
.btn--sm { padding: 10px 20px; font-size: 10px; }
.btn--block { width: 100%; }

/* ═══════════════════════════════════════════
   Cart / Checkout
   ═══════════════════════════════════════════ */
.cart-page .cart__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.checkout-page { max-width: 960px; }
.checkout__grid { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.checkout__section { margin-bottom: 24px; }
.checkout__section-title { font-family: var(--font-heading); font-size: 16px; margin: 0 0 14px; }
.checkout__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checkout__field { display: grid; gap: 4px; font-size: 12px; }
.checkout__field span { color: var(--ink-light); }
.checkout__field input, .checkout__field select { padding: 10px 12px; border: 1px solid var(--border); font-size: 14px; font-family: var(--font); outline: none; width: 100%; }
.checkout__field input:focus, .checkout__field select:focus { border-color: var(--gold); }
.checkout__field--wide { grid-column: 1 / -1; }
.checkout__summary { background: var(--surface); border: 1px solid var(--border); padding: 28px; position: sticky; top: 20px; }
.checkout__summary-title { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 16px; }
.checkout__coupon { margin-bottom: 16px; }
.checkout__coupon-row { display: flex; gap: 8px; }
.checkout__coupon-row input { flex: 1; padding: 8px 10px; border: 1px solid var(--border); font-size: 13px; font-family: var(--font); outline: none; }
.checkout__edit-cart { margin-bottom: 16px; font-size: 12px; }
.checkout__edit-cart a { color: var(--muted); text-decoration: underline; }
.checkout__terms { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: var(--ink-light); margin: 12px 0; }
.checkout__terms a { text-decoration: underline; color: var(--gold); }
.payment-methods { display: grid; gap: 8px; margin-bottom: 12px; }
.payment-method { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--border); cursor: pointer; }
.payment-method:hover { border-color: var(--gold); }
.payment-method.is-selected { border-color: var(--gold); background: var(--gold-soft); }
.payment-card__fields { padding: 12px; background: #fafafa; display: grid; gap: 12px; }
.shipping-methods { display: grid; gap: 8px; }
.shipping-method { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); cursor: pointer; }
.shipping-method:hover { border-color: var(--gold); }
.shipping-method.is-selected { border-color: var(--gold); background: var(--gold-soft); }
.payment-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; z-index: 500; }
.payment-overlay.is-hidden { display: none; }
.payment-overlay__box { background: var(--surface); padding: 40px; text-align: center; max-width: 420px; width: 90vw; }
.payment-overlay__spinner { width: 36px; height: 36px; border: 2px solid var(--border); border-top-color: var(--gold); border-radius: 50%; margin: 0 auto 16px; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 768px) { .checkout__grid { grid-template-columns: 1fr; } .checkout__summary { position: static; } .checkout__fields { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════
   Footer — Minimal line
   ═══════════════════════════════════════════ */
.mag-footer {
    border-top: 1px solid var(--border-light);
    margin-top: 3rem;
    background: #fafafa;
}
.mag-footer__main {
    max-width: 1680px;
    margin: 0 auto;
    padding: 40px 5vw;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}
.mag-footer__brand h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    margin: 0 0 8px;
    font-style: italic;
    color: var(--ink);
}
.mag-footer__brand h3 img { max-height: 26px; }
.mag-footer__brand p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
    max-width: 320px;
}
.mag-footer__col h4 {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink);
    margin: 0 0 14px;
}
.mag-footer__col a {
    display: block;
    font-size: 13px;
    color: var(--ink-light);
    padding: 4px 0;
    transition: color var(--transition);
}
.mag-footer__col a:hover { color: var(--gold); }
.mag-footer__bottom {
    border-top: 1px solid var(--border-light);
    padding: 20px 5vw;
    max-width: 1680px;
    margin: 0 auto;
    font-size: 12px;
    color: var(--muted);
    text-align: center;
}

@media (max-width: 768px) {
    .mag-footer__main { grid-template-columns: 1fr; gap: 28px; }
}

/* ═══════════════════════════════════════════
   Auth
   ═══════════════════════════════════════════ */
.auth-page { max-width: 400px; margin: 0 auto; padding: 3rem 5vw; }
.auth-page__header { text-align: center; margin-bottom: 28px; }
.auth-page__header h1 { font-size: 26px; margin: 0 0 6px; }
.auth-page__header p { color: var(--muted); font-size: 13px; margin: 0; }
.auth-page__card { border: 1px solid var(--border); padding: 32px; }
.auth-page__footer { text-align: center; font-size: 13px; color: var(--muted); margin-top: 1.5rem; }
.auth-page__footer a { color: var(--gold); }

/* ═══════════════════════════════════════════
   Account
   ═══════════════════════════════════════════ */
.account-page { max-width: 960px; margin: 0 auto; padding: 2rem 5vw; }
.account-page__header { margin-bottom: 28px; }
.account-page__header h1 { font-size: 26px; margin: 0 0 2px; }
.account-page__grid { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: start; }
.account-nav { display: grid; gap: 4px; position: sticky; top: 20px; }
.account-nav__btn { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: none; background: transparent; color: var(--muted); font: inherit; font-size: 12px; cursor: pointer; text-align: left; transition: all var(--transition); }
.account-nav__btn:hover { background: var(--gold-soft); color: var(--ink); }
.account-nav__btn.is-active { background: var(--gold) !important; color: #fff !important; }
.account-section.is-hidden { display: none !important; }
@media (max-width: 720px) { .account-page__grid { grid-template-columns: 1fr; } .account-nav { position: static !important; display: grid !important; grid-template-columns: repeat(2, 1fr); } }

/* ═══════════════════════════════════════════
   Misc
   ═══════════════════════════════════════════ */
.empty-state { text-align: center; padding: 4rem 2rem; }
.empty-state h1 { font-size: 20px; margin: 0 0 8px; font-weight: 400; }
.empty-state p { color: var(--muted); font-size: 13px; margin: 0 0 16px; }
.legal-page { max-width: 800px; }
.legal-page h1 { font-size: 26px; margin: 0 0 20px; }
.terms-article h2 { font-size: 18px; margin: 28px 0 12px; }
.terms-article p { font-size: 13px; line-height: 1.8; color: var(--ink-light); }
.terms-article a { color: var(--gold); }
.pagination { display: flex; justify-content: center; gap: 4px; margin: 36px 0; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; border: 1px solid var(--border); font-size: 12px; color: var(--ink-light); transition: all var(--transition); }
.pagination a:hover { border-color: var(--gold); color: var(--gold); }
.pagination .active span { background: var(--gold); color: #fff; border-color: var(--gold); }
.alert { padding: 12px 16px; font-size: 12px; margin-bottom: 1rem; }
.alert--success { background: var(--success-soft); color: var(--success); }
.alert--danger { background: var(--danger-soft); color: var(--danger); }
.home-banner img { width: 100%; }

.mag-gallery { max-width: 1680px; margin: 2rem auto; padding: 0 5vw; text-align: center; }
.mag-gallery h2 { font-size: 22px; margin: 0 0 4px; }
.mag-gallery p { font-size: 13px; color: var(--muted); margin: 0 0 20px; }
.mag-gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.mag-gallery__item { aspect-ratio: 1; overflow: hidden; }
.mag-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.mag-gallery__item:hover img { transform: scale(1.06); }
@media (max-width: 600px) { .mag-gallery__grid { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 480px) {
    body { font-size: 14px; }
    .section { padding: 2rem 4vw; }
}
