/* ============================================================================
   EDGE THEME — Brutalist High-Contrast Stylesheet
   Monochrome + Red Accent · Zero Radius · Zero Shadows · Gallery Aesthetic
   ============================================================================ */

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; font-size: 15px; }
body { font-family: var(--eg-font-body); color: var(--eg-color-text); background: var(--eg-color-bg); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--eg-color-link); text-decoration: none; transition: color var(--eg-transition); }
a:hover { color: var(--eg-color-link-hover); }
button { cursor: pointer; border: none; background: none; font-family: inherit; font-size: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--eg-font-heading); font-weight: 700; line-height: 1.15; color: var(--eg-color-text); text-transform: uppercase; letter-spacing: 0.02em; }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
hr { border: none; border-top: 1px solid var(--eg-color-border); }

/* --- SKIP LINK --- */
.eg-skip-link { position: absolute; top: -100%; left: 50%; transform: translateX(-50%); z-index: 9999; padding: 10px 24px; background: var(--eg-color-primary); color: #fff; font-weight: 700; }
.eg-skip-link:focus { top: 12px; }

/* --- UTILITY --- */
.eg-container { width: 100%; max-width: var(--eg-max-width); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .eg-container { padding: 0 40px; } }
@media (min-width: 1200px) { .eg-container { padding: 0 64px; } }
.eg-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* --- BUTTONS — Edge: sharp, architectural --- */
.eg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; font-weight: 500; font-size: 0.85rem; border-radius: 0; transition: all var(--eg-transition); white-space: nowrap; text-decoration: none; cursor: pointer; border: 2px solid transparent; line-height: 1.4; text-transform: uppercase; letter-spacing: 0.1em; font-family: var(--eg-font-body); }
.eg-btn:hover { text-decoration: none; }
.eg-btn--primary { background: var(--eg-color-primary); border-color: var(--eg-color-primary); color: #fff; }
.eg-btn--primary:hover { background: var(--eg-color-accent); border-color: var(--eg-color-accent); color: #000; }
.eg-btn--secondary { background: var(--eg-color-secondary); border-color: var(--eg-color-secondary); color: #fff; }
.eg-btn--secondary:hover { background: #262626; border-color: #262626; }
.eg-btn--accent { background: var(--eg-color-accent); border-color: var(--eg-color-accent); color: #000; font-weight: 600; }
.eg-btn--accent:hover { background: var(--eg-color-accent-hover); border-color: var(--eg-color-accent-hover); }
.eg-btn--outline { background: transparent; border: 2px solid var(--eg-color-text); color: var(--eg-color-text); }
.eg-btn--outline:hover { background: var(--eg-color-primary); border-color: var(--eg-color-primary); color: #fff; }
.eg-btn--ghost { background: transparent; color: var(--eg-color-text); }
.eg-btn--ghost:hover { color: var(--eg-color-accent); }
.eg-btn--lg { padding: 16px 36px; font-size: 0.9rem; }
.eg-btn--sm { padding: 6px 14px; font-size: 0.75rem; }
.eg-btn--full { width: 100%; }
.eg-btn--disabled, .eg-btn:disabled { opacity: 0.35; cursor: not-allowed; pointer-events: none; }
.eg-btn--icon { padding: 8px; }

/* --- BADGES — Edge: text labels, no pills --- */
.eg-badge { display: inline-block; padding: 0; font-size: 0.65rem; font-weight: 500; font-family: var(--eg-font-mono); border-radius: 0; text-transform: uppercase; letter-spacing: 0.08em; line-height: 1.4; background: none; }
.eg-badge--deal { color: var(--eg-color-accent); }
.eg-badge--soldout { color: var(--eg-color-text-muted); }
.eg-badge--custom { color: var(--eg-color-accent); }
.eg-badge--gang-sheet { color: var(--eg-color-accent); }
.eg-badge--new { color: var(--eg-color-accent); }

/* --- SPINNER --- */
.eg-spinner { display: inline-block; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%; animation: eg-spin 0.6s linear infinite; }
@keyframes eg-spin { to { transform: rotate(360deg); } }

/* ============================================================================
   ANNOUNCEMENT BAR
   ============================================================================ */
.eg-announcement { background: var(--eg-announcement-bg); color: var(--eg-announcement-text); text-align: center; padding: 8px 16px; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; font-family: var(--eg-font-mono); }
.eg-announcement p { margin: 0; }

/* ============================================================================
   HEADER — Edge: transparent overlay, minimal
   ============================================================================ */
.eg-header { position: sticky; top: 0; z-index: 1000; background: var(--eg-color-bg); border-bottom: 1px solid var(--eg-color-border); transition: background var(--eg-transition), border-color var(--eg-transition); }
.eg-header--scrolled { border-bottom-color: var(--eg-color-border); }

/* Top bar */
.eg-header__top { display: flex; align-items: center; justify-content: space-between; height: var(--eg-header-height); position: relative; }
.eg-header__menu-btn { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: var(--eg-color-text); transition: color var(--eg-transition); }
.eg-header__menu-btn:hover { color: var(--eg-color-accent); }
@media (min-width: 1024px) { .eg-header__menu-btn { display: none; } }

/* Logo — Edge: monogram style */
.eg-header__logo { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: center; }
@media (min-width: 768px) { .eg-header__logo { position: static; transform: none; margin-right: 16px; flex-shrink: 0; } }
.eg-header__logo img { height: 28px; width: auto; }
.eg-header__logo-text { font-family: var(--eg-font-heading); font-size: 1.1rem; font-weight: 700; color: var(--eg-color-text); letter-spacing: 0.15em; text-transform: uppercase; }
.eg-header__logo-text:hover { text-decoration: none; color: var(--eg-color-text); }

/* Search — hidden in header for Edge, lives in menu overlay */
.eg-header__search { flex: 1; min-width: 0; max-width: 480px; margin: 0 auto; display: none; }
@media (min-width: 768px) { .eg-header__search { display: block; } }
.eg-search-form { position: relative; }
.eg-search-form__wrap { display: flex; border: 1px solid var(--eg-color-border); overflow: hidden; transition: border-color var(--eg-transition); height: 38px; }
.eg-search-form__wrap:focus-within { border-color: var(--eg-color-text); }
.eg-search-form__input { flex: 1; min-width: 0; padding: 0 14px; border: none; outline: none; font-size: 0.85rem; background: transparent; color: var(--eg-color-text); font-family: var(--eg-font-body); }
.eg-search-form__input::placeholder { color: var(--eg-color-text-muted); }
.eg-search-form__btn { width: 38px; background: var(--eg-color-primary); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; border: none; cursor: pointer; transition: background var(--eg-transition); }
.eg-search-form__btn:hover { background: var(--eg-color-accent); }

/* Header actions */
.eg-header__actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.eg-header__action { display: flex; align-items: center; gap: 6px; padding: 8px; color: var(--eg-color-text); text-decoration: none; white-space: nowrap; transition: color var(--eg-transition); }
.eg-header__action:hover { color: var(--eg-color-accent); text-decoration: none; }
.eg-header__action-text { display: none; font-size: 0.75rem; line-height: 1.2; }
@media (min-width: 768px) { .eg-header__action-text { display: block; } }
.eg-header__action-small { color: var(--eg-color-text-light); font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.06em; }
.eg-header__action-bold { font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; }
.eg-header__action--desktop { display: none; }
@media (min-width: 1024px) { .eg-header__action--desktop { display: flex; } }

/* Cart button — Edge: icon with red dot */
.eg-header__cart-btn { position: relative; display: flex; align-items: center; gap: 4px; padding: 8px; color: var(--eg-color-text); transition: color var(--eg-transition); }
.eg-header__cart-btn:hover { color: var(--eg-color-accent); }
.eg-header__cart-icon { position: relative; }
.eg-header__cart-count { position: absolute; top: -4px; right: -6px; background: var(--eg-color-accent); color: #fff; font-size: 0; font-weight: 700; min-width: 8px; height: 8px; border-radius: 50%; display: flex; align-items: center; justify-content: center; padding: 0; }
.eg-header__cart-count:empty { display: none; }
.eg-header__cart-count[data-cart-count="0"] { display: none; }
.eg-header__cart-label { font-weight: 500; font-size: 0.75rem; display: none; text-transform: uppercase; letter-spacing: 0.06em; }
@media (min-width: 768px) { .eg-header__cart-label { display: block; } }

/* ============================================================================
   NAVIGATION BAR — Edge: hidden, all nav lives in full-screen menu
   ============================================================================ */
.eg-nav { background: var(--eg-color-primary); display: none; }
@media (min-width: 1024px) { .eg-nav { display: block; } }
.eg-nav__inner { display: flex; align-items: center; height: 40px; gap: 0; }

/* Nav trigger */
.eg-nav__mega-trigger { display: flex; align-items: center; gap: 8px; padding: 0 20px; height: 100%; background: transparent; color: #fff; font-weight: 600; font-size: 0.75rem; cursor: pointer; border: none; white-space: nowrap; transition: background var(--eg-transition); text-transform: uppercase; letter-spacing: 0.08em; border-right: 1px solid rgba(255,255,255,0.15); }
.eg-nav__mega-trigger:hover { background: rgba(255,255,255,0.1); }
.eg-nav__mega-trigger svg { flex-shrink: 0; }

/* Nav links */
.eg-nav__links { display: flex; align-items: center; height: 100%; gap: 0; flex: 1; }
.eg-nav__link { display: flex; align-items: center; height: 100%; padding: 0 16px; color: rgba(255,255,255,0.7); font-size: 0.75rem; font-weight: 500; text-decoration: none; transition: color var(--eg-transition); white-space: nowrap; position: relative; text-transform: uppercase; letter-spacing: 0.06em; }
.eg-nav__link:hover { color: #fff; }
.eg-nav__link--accent { color: var(--eg-color-accent); font-weight: 600; }
.eg-nav__link--accent:hover { color: var(--eg-color-accent); }

/* ---- MEGA MENU PANEL — Edge: black overlay style ---- */
.eg-mega { position: absolute; top: 100%; left: 0; right: 0; background: #000; border-top: 2px solid var(--eg-color-accent); z-index: 999; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: all var(--eg-transition); }
.eg-mega.is-open { opacity: 1; visibility: visible; transform: translateY(0); }

.eg-mega__inner { display: grid; grid-template-columns: 240px 1fr 280px; gap: 0; max-width: var(--eg-max-width); margin: 0 auto; min-height: 380px; }

/* Left sidebar: categories */
.eg-mega__categories { background: rgba(255,255,255,0.03); border-right: 1px solid var(--eg-color-border-dark); padding: 20px 0; }
.eg-mega__cat-title { padding: 0 20px 12px; font-size: 0.65rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em; color: var(--eg-color-text-on-dark-muted); font-family: var(--eg-font-mono); }
.eg-mega__cat-link { display: flex; align-items: center; gap: 10px; padding: 10px 20px; color: var(--eg-color-text-on-dark-muted); font-size: 0.85rem; font-weight: 400; text-decoration: none; transition: all var(--eg-transition); border-left: 2px solid transparent; }
.eg-mega__cat-link:hover, .eg-mega__cat-link.is-active { color: #fff; border-left-color: var(--eg-color-accent); background: rgba(255,255,255,0.05); }
.eg-mega__cat-link svg { flex-shrink: 0; color: var(--eg-color-text-on-dark-muted); }
.eg-mega__cat-link:hover svg, .eg-mega__cat-link.is-active svg { color: var(--eg-color-accent); }
.eg-mega__cat-count { margin-left: auto; font-size: 0.7rem; color: var(--eg-color-text-on-dark-muted); font-family: var(--eg-font-mono); }

/* Center: collection grid */
.eg-mega__content { padding: 24px 32px; }
.eg-mega__content-title { font-size: 0.7rem; font-weight: 500; margin-bottom: 16px; color: var(--eg-color-text-on-dark-muted); text-transform: uppercase; letter-spacing: 0.12em; font-family: var(--eg-font-mono); }
.eg-mega__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.eg-mega__card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 16px; border: 1px solid var(--eg-color-border-dark); text-decoration: none; color: var(--eg-color-text-on-dark-muted); transition: all var(--eg-transition); }
.eg-mega__card:hover { border-color: var(--eg-color-accent); color: #fff; }
.eg-mega__card-img { width: 72px; height: 72px; background: rgba(255,255,255,0.05); margin-bottom: 10px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.eg-mega__card-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(30%); }
.eg-mega__card:hover .eg-mega__card-img img { filter: grayscale(0); }
.eg-mega__card-name { font-weight: 500; font-size: 0.82rem; }
.eg-mega__card-count { font-size: 0.7rem; color: var(--eg-color-text-on-dark-muted); margin-top: 2px; font-family: var(--eg-font-mono); }

/* Right sidebar: featured promo */
.eg-mega__promo { background: rgba(255,255,255,0.03); border-left: 1px solid var(--eg-color-border-dark); padding: 24px; display: flex; flex-direction: column; }
.eg-mega__promo-label { font-size: 0.65rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em; color: var(--eg-color-accent); margin-bottom: 12px; font-family: var(--eg-font-mono); }
.eg-mega__promo-card { flex: 1; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--eg-color-border-dark); }
.eg-mega__promo-img { height: 160px; background: #111; display: flex; align-items: center; justify-content: center; }
.eg-mega__promo-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(40%); }
.eg-mega__promo-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.eg-mega__promo-title { font-weight: 600; font-size: 0.95rem; margin-bottom: 6px; color: #fff; }
.eg-mega__promo-text { font-size: 0.82rem; color: var(--eg-color-text-on-dark-muted); margin-bottom: 12px; flex: 1; }
.eg-mega__promo-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 500; font-size: 0.82rem; color: var(--eg-color-accent); text-transform: uppercase; letter-spacing: 0.06em; }
.eg-mega__promo-link:hover { color: #fff; }

/* Mega close row */
.eg-mega__close-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 24px; border-top: 1px solid var(--eg-color-border-dark); }
.eg-mega__view-all { font-weight: 500; font-size: 0.78rem; color: var(--eg-color-accent); display: flex; align-items: center; gap: 6px; text-transform: uppercase; letter-spacing: 0.06em; }
.eg-mega__close-btn { font-size: 0.78rem; color: var(--eg-color-text-on-dark-muted); display: flex; align-items: center; gap: 4px; cursor: pointer; text-transform: uppercase; letter-spacing: 0.06em; }
.eg-mega__close-btn:hover { color: #fff; }

/* Mega overlay */
.eg-mega__overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 998; display: none; }
.eg-mega__overlay.is-open { display: block; opacity: 1; visibility: visible; }

/* Nav wrapper */
.eg-nav__wrap { position: relative; z-index: 100; }

/* ============================================================================
   MOBILE MENU — Edge: full-screen black overlay
   ============================================================================ */
.eg-mobile-menu { position: fixed; top: 0; left: 0; bottom: 0; width: 100vw; max-width: 100vw; background: #000; z-index: 2000; transform: translateX(-100%); transition: transform var(--eg-transition-slow); overflow-y: auto; display: none; }
.eg-mobile-menu.is-open { display: block; transform: translateX(0); }
.eg-mobile-menu__overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.8); z-index: 1999; display: none; }
.eg-mobile-menu__overlay.is-open { display: block; opacity: 1; visibility: visible; }

.eg-mobile-menu__header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; }
.eg-mobile-menu__title { font-weight: 500; font-size: 0.7rem; color: var(--eg-color-text-on-dark-muted); text-transform: uppercase; letter-spacing: 0.12em; font-family: var(--eg-font-mono); }
.eg-mobile-menu__close { color: #fff; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.eg-mobile-menu__close:hover { color: var(--eg-color-accent); }

.eg-mobile-menu__search { padding: 0 24px 24px; }
.eg-mobile-menu__search input { width: 100%; padding: 12px 16px; border: 1px solid var(--eg-color-border-dark); background: transparent; font-size: 0.9rem; outline: none; color: #fff; font-family: var(--eg-font-body); }
.eg-mobile-menu__search input::placeholder { color: var(--eg-color-text-on-dark-muted); }
.eg-mobile-menu__search input:focus { border-color: var(--eg-color-accent); }

.eg-mobile-menu__section { padding: 16px 0; border-bottom: 1px solid var(--eg-color-border-dark); }
.eg-mobile-menu__section-title { padding: 0 24px 12px; font-size: 0.65rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em; color: var(--eg-color-text-on-dark-muted); font-family: var(--eg-font-mono); }
.eg-mobile-menu__link { display: flex; align-items: center; gap: 14px; padding: 14px 24px; color: rgba(255,255,255,0.7); font-family: var(--eg-font-heading); font-size: clamp(1.2rem, 3vw, 1.8rem); font-weight: 600; text-decoration: none; text-transform: uppercase; letter-spacing: 0.04em; transition: all var(--eg-transition); }
.eg-mobile-menu__link:hover { color: var(--eg-color-accent); transform: translateX(8px); }
.eg-mobile-menu__link svg { flex-shrink: 0; color: var(--eg-color-text-on-dark-muted); width: 14px; height: 14px; }
.eg-mobile-menu__link--accent { color: var(--eg-color-accent); }

/* ============================================================================
   CART DRAWER — Edge: black background, white text
   ============================================================================ */
.eg-cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 420px; max-width: 92vw; background: #000; z-index: 2000; transform: translateX(100%); transition: transform var(--eg-transition-slow); display: flex; flex-direction: column; color: #fff; }
.eg-cart-drawer.is-open { transform: translateX(0); }
.eg-cart-drawer__overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 1999; opacity: 0; visibility: hidden; transition: all var(--eg-transition-slow); pointer-events: none; }
.eg-cart-drawer__overlay.is-open { opacity: 1; visibility: visible; pointer-events: all; }

.eg-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--eg-color-border-dark); flex-shrink: 0; }
.eg-cart-drawer__title { font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; font-family: var(--eg-font-heading); color: #fff; }
.eg-cart-drawer__count { font-size: 0.75rem; color: var(--eg-color-text-on-dark-muted); font-weight: 400; font-family: var(--eg-font-mono); }
.eg-cart-drawer__close { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; color: var(--eg-color-text-on-dark-muted); }
.eg-cart-drawer__close:hover { color: #fff; }

.eg-cart-drawer__items { flex: 1; overflow-y: auto; padding: 16px 24px; }
.eg-cart-drawer__empty { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; gap: 16px; text-align: center; color: var(--eg-color-text-on-dark-muted); }
.eg-cart-drawer__empty svg { color: var(--eg-color-border-dark); }

.eg-cart-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--eg-color-border-dark); }
.eg-cart-item:last-child { border-bottom: none; }
.eg-cart-item__image { width: 64px; height: 64px; overflow: hidden; flex-shrink: 0; background: #111; }
.eg-cart-item__image img { width: 100%; height: 100%; object-fit: cover; }
.eg-cart-item__info { flex: 1; min-width: 0; }
.eg-cart-item__title { font-weight: 500; font-size: 0.82rem; color: #fff; text-decoration: none; display: block; margin-bottom: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-transform: uppercase; letter-spacing: 0.02em; }
.eg-cart-item__title:hover { color: var(--eg-color-accent); }
.eg-cart-item__variant { font-size: 0.72rem; color: var(--eg-color-text-on-dark-muted); font-family: var(--eg-font-mono); }
.eg-cart-item__price-line { font-weight: 500; font-size: 0.85rem; margin: 4px 0; font-family: var(--eg-font-mono); color: #fff; }
.eg-cart-item__controls { display: flex; align-items: center; gap: 12px; }
.eg-cart-item__qty { display: inline-flex; align-items: center; border: 1px solid var(--eg-color-border-dark); }
.eg-cart-item__qty button { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; color: var(--eg-color-text-on-dark-muted); font-family: var(--eg-font-mono); }
.eg-cart-item__qty button:hover { color: #fff; background: rgba(255,255,255,0.08); }
.eg-cart-item__qty span { padding: 0 8px; font-size: 0.82rem; font-weight: 500; min-width: 24px; text-align: center; font-family: var(--eg-font-mono); color: #fff; }
.eg-cart-item__remove { font-size: 0.7rem; color: var(--eg-color-accent); cursor: pointer; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }
.eg-cart-item__remove:hover { text-decoration: underline; }
.eg-cart-item__badge { display: inline-block; padding: 2px 6px; font-size: 0.6rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; border-radius: 0; color: #000; margin-bottom: 4px; font-family: var(--eg-font-mono); }
.eg-cart-item__badge--bags { background: var(--eg-color-accent); color: #000; }
.eg-cart-item__badge--designer { background: #fff; color: #000; }
.eg-cart-item__image-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--eg-color-text-on-dark-muted); background: #111; }

.eg-cart-drawer__footer { border-top: 1px solid var(--eg-color-border-dark); padding: 20px 24px; flex-shrink: 0; }
.eg-cart-drawer__subtotal { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.eg-cart-drawer__subtotal-label { font-weight: 500; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--eg-color-text-on-dark-muted); }
.eg-cart-drawer__subtotal-price { font-weight: 600; font-size: 1.1rem; font-family: var(--eg-font-mono); color: #fff; }
.eg-cart-drawer__shipping-note { font-size: 0.72rem; color: var(--eg-color-text-on-dark-muted); margin-bottom: 14px; font-family: var(--eg-font-mono); }

/* ============================================================================
   TOAST NOTIFICATIONS
   ============================================================================ */
.eg-toast { position: fixed; bottom: 24px; right: 24px; z-index: 9999; padding: 14px 24px; font-weight: 500; font-size: 0.85rem; color: #fff; background: var(--eg-color-primary); transform: translateY(120%); opacity: 0; transition: all var(--eg-transition-slow); pointer-events: none; text-transform: uppercase; letter-spacing: 0.04em; }
.eg-toast.is-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
.eg-toast--success { background: var(--eg-color-primary); }
.eg-toast--error { background: var(--eg-color-accent); }

/* ============================================================================
   HERO SECTION — Edge: full-viewport typographic statement
   ============================================================================ */
.eg-hero { padding: 0; background: var(--eg-color-bg); position: relative; z-index: 1; }
.eg-hero__inner { display: flex; flex-direction: column; min-height: calc(100vh - var(--eg-header-height) - 40px); padding: 0; position: relative; }
@media (min-width: 768px) { .eg-hero__inner { min-height: calc(100vh - var(--eg-header-height) - 40px); flex-direction: row; align-items: flex-end; } }

.eg-hero__banner { position: relative; flex: 1; display: flex; align-items: flex-end; min-height: 50vh; overflow: hidden; }
@media (min-width: 768px) { .eg-hero__banner { min-height: auto; } }
.eg-hero__bg-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); mix-blend-mode: multiply; }
.eg-hero__bg-gradient { position: absolute; inset: 0; background: var(--eg-color-bg); }
.eg-hero__content { position: relative; z-index: 1; padding: 10% 20px 15%; color: var(--eg-color-text); max-width: 680px; }
@media (min-width: 768px) { .eg-hero__content { padding: 0 0 12% 8%; } }
.eg-hero__overline { display: block; width: 80px; height: 2px; background: var(--eg-color-accent); margin-bottom: 24px; }
.eg-hero__title { font-size: clamp(2.5rem, 10vw, 7rem); font-weight: 700; line-height: 0.95; margin-bottom: 20px; color: var(--eg-color-text); text-transform: uppercase; letter-spacing: 0.02em; }
.eg-hero__subtitle { font-size: 0.95rem; font-weight: 300; line-height: 1.8; margin-bottom: 28px; max-width: 400px; color: var(--eg-color-text-light); }

/* Hero side cards — Edge: stacked, minimal */
.eg-hero__cards { display: none; }
@media (min-width: 768px) {
  .eg-hero__cards { display: flex; flex-direction: column; gap: 1px; width: 280px; flex-shrink: 0; align-self: stretch; background: var(--eg-color-border); }
}
.eg-hero__card { background: var(--eg-color-bg); padding: 24px 20px; border: none; transition: background var(--eg-transition); flex: 1; display: flex; flex-direction: column; justify-content: center; }
.eg-hero__card:hover { background: var(--eg-color-primary); }
.eg-hero__card:hover .eg-hero__card-title,
.eg-hero__card:hover .eg-hero__card-link { color: #fff; }
.eg-hero__card-title { font-weight: 600; font-size: 0.82rem; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.06em; }
.eg-hero__card img { display: none; }
.eg-hero__card-link { font-size: 0.72rem; font-weight: 500; color: var(--eg-color-accent); text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--eg-font-mono); }

/* ============================================================================
   PRODUCT GRID / CARDS — Edge: tight grid, portrait, flat
   ============================================================================ */
.eg-product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3px; }
@media (min-width: 640px) { .eg-product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .eg-product-grid { grid-template-columns: repeat(4, 1fr); gap: 4px; } }
.eg-product-grid--3 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .eg-product-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.eg-product-grid--5 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .eg-product-grid--5 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .eg-product-grid--5 { grid-template-columns: repeat(5, 1fr); } }

/* Product Card — Edge: no border, no shadow, hover border */
.eg-card { background: var(--eg-color-bg); overflow: hidden; border: 2px solid transparent; transition: border-color var(--eg-transition); display: flex; flex-direction: column; }
.eg-card:hover { border-color: var(--eg-color-text); }
.eg-card__image-wrap { position: relative; display: block; overflow: hidden; background: #F5F5F5; aspect-ratio: 3/4; }
.eg-card__image-wrap img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(20%); transition: filter 0.3s ease; }
.eg-card:hover .eg-card__image-wrap img { filter: grayscale(0); }
.eg-card__no-image { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--eg-color-border); background: #F5F5F5; }
.eg-card__badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 4px; }
.eg-card__info { padding: 12px 10px; flex: 1; display: flex; flex-direction: column; }
.eg-card__vendor { display: none; }
.eg-card__title { font-family: var(--eg-font-body); font-weight: 500; font-size: 0.78rem; color: var(--eg-color-text); text-decoration: none; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 1; line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; text-transform: uppercase; letter-spacing: 0.05em; }
.eg-card__title:hover { color: var(--eg-color-accent); }
.eg-card__price { margin-top: auto; }
.eg-card__action { margin-top: 8px; display: none; }

/* ============================================================================
   PRICE DISPLAY — Edge: monospace
   ============================================================================ */
.eg-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; font-size: 0.85rem; font-family: var(--eg-font-mono); }
.eg-price__regular { font-weight: 400; color: var(--eg-color-text); }
.eg-price__sale { font-weight: 500; color: var(--eg-color-accent); }
.eg-price__was { text-decoration: line-through; color: var(--eg-color-accent); font-size: 0.78rem; text-decoration-color: var(--eg-color-accent); }
.eg-price__discount { color: var(--eg-color-accent); font-size: 0.72rem; font-weight: 500; }
.eg-price__range { font-weight: 400; color: var(--eg-color-text); }

/* ============================================================================
   SECTION HEADERS — Edge: offset heading style
   ============================================================================ */
.eg-section { padding: 64px 0; }
.eg-section--alt { background: var(--eg-color-bg-alt); color: var(--eg-color-text-on-dark); }
.eg-section--alt .eg-section__title { color: #fff; }
.eg-section--alt .eg-section__view-all { color: var(--eg-color-accent); }
.eg-section--alt .eg-card { background: transparent; border-color: transparent; }
.eg-section--alt .eg-card:hover { border-color: var(--eg-color-accent); }
.eg-section--alt .eg-card__title { color: rgba(255,255,255,0.8); }
.eg-section--alt .eg-card__title:hover { color: var(--eg-color-accent); }
.eg-section--alt .eg-card__image-wrap { background: #111; }
.eg-section--alt .eg-price__regular { color: #fff; }
.eg-section__header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; }
.eg-section__title { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 700; line-height: 1; }
.eg-section__title::after { content: ''; display: block; width: 60px; height: 2px; background: var(--eg-color-accent); margin-top: 12px; }
.eg-section__view-all { font-weight: 500; font-size: 0.75rem; color: var(--eg-color-text); display: flex; align-items: center; gap: 4px; text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--eg-font-mono); }
.eg-section__view-all:hover { color: var(--eg-color-accent); }

/* ============================================================================
   DEALS ROW — Edge: filmstrip, no gap
   ============================================================================ */
.eg-deals__scroll { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 0; scrollbar-width: none; }
.eg-deals__scroll::-webkit-scrollbar { display: none; }
.eg-deals__scroll .eg-card { min-width: 170px; max-width: 200px; scroll-snap-align: start; flex-shrink: 0; border: none; }
.eg-deals__scroll .eg-card:hover { border: none; }
@media (min-width: 768px) { .eg-deals__scroll .eg-card { min-width: 200px; max-width: 240px; } }

/* ============================================================================
   CATEGORY CARDS — Edge: dark overlays
   ============================================================================ */
.eg-categories { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; }
@media (min-width: 640px) { .eg-categories { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .eg-categories { grid-template-columns: repeat(4, 1fr); } }
.eg-category-card { position: relative; overflow: hidden; aspect-ratio: 4/3; display: flex; align-items: flex-end; text-decoration: none; color: #fff; }
.eg-category-card__bg { position: absolute; inset: 0; background: #000; }
.eg-category-card__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; filter: grayscale(40%); transition: all 0.3s ease; }
.eg-category-card:hover .eg-category-card__bg img { opacity: 0.7; filter: grayscale(0); }
.eg-category-card__overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, transparent 60%); }
.eg-category-card__content { position: relative; z-index: 1; padding: 20px; width: 100%; }
.eg-category-card__name { font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em; }
.eg-category-card__count { font-size: 0.7rem; opacity: 0.6; font-family: var(--eg-font-mono); }

/* ============================================================================
   BRAND STRIP — Edge: hidden
   ============================================================================ */
.eg-brands { display: none; }
.eg-brands img { height: 32px; width: auto; filter: grayscale(1); transition: all var(--eg-transition); }
.eg-brands img:hover { filter: grayscale(0); opacity: 1; }

/* ============================================================================
   NEWSLETTER — Edge: black bg, large type, sharp form
   ============================================================================ */
.eg-newsletter { background: #000; color: #fff; padding: 80px 0; text-align: left; }
.eg-newsletter__title { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 700; margin-bottom: 12px; color: #fff; text-transform: uppercase; }
.eg-newsletter__text { color: var(--eg-color-text-on-dark-muted); margin-bottom: 32px; max-width: 420px; font-size: 0.9rem; line-height: 1.7; }
.eg-newsletter__form { display: flex; gap: 0; max-width: 500px; }
.eg-newsletter__input { flex: 1; padding: 14px 18px; border: 1px solid var(--eg-color-border-dark); background: transparent; color: #fff; font-size: 0.88rem; outline: none; font-family: var(--eg-font-body); }
.eg-newsletter__input::placeholder { color: var(--eg-color-text-on-dark-muted); }
.eg-newsletter__input:focus { border-color: var(--eg-color-accent); }

/* ============================================================================
   PRODUCT PAGE — Edge: cinematic layout
   ============================================================================ */
.eg-product { padding: 0 0 64px; }
.eg-product__layout { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 768px) { .eg-product__layout { grid-template-columns: 65fr 35fr; gap: 48px; } }

/* Gallery — Edge: large, portrait, sharp */
.eg-product__gallery { display: block; }
.eg-product__main-image { overflow: hidden; background: #F5F5F5; aspect-ratio: 3/4; margin-bottom: 8px; }
.eg-product__main-image img { width: 100%; height: 100%; object-fit: contain; }
.eg-product__thumbs { display: flex; gap: 4px; overflow-x: auto; }
.eg-product__thumb { width: 56px; height: 72px; overflow: hidden; border: 2px solid transparent; cursor: pointer; flex-shrink: 0; transition: border-color var(--eg-transition); }
.eg-product__thumb.is-active, .eg-product__thumb:hover { border-color: var(--eg-color-text); }
.eg-product__thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Buy Box — Edge: staggered, architectural */
.eg-product__info { display: block; padding-top: 40px; }
@media (min-width: 768px) { .eg-product__info { padding-top: 80px; } }
.eg-product__vendor { font-size: 0.72rem; color: var(--eg-color-text-muted); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 8px; font-family: var(--eg-font-mono); }
.eg-product__title { font-size: clamp(1.2rem, 2.5vw, 1.8rem); font-weight: 600; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.04em; }
.eg-product__price { font-size: 1.4rem; font-weight: 400; margin-bottom: 4px; font-family: var(--eg-font-mono); }
.eg-product__price--sale { color: var(--eg-color-accent); }
.eg-product__compare-price { font-size: 0.95rem; color: var(--eg-color-accent); text-decoration: line-through; margin-left: 8px; font-family: var(--eg-font-mono); }
.eg-product__discount-pct { font-size: 0.78rem; font-weight: 500; color: var(--eg-color-accent); margin-left: 8px; font-family: var(--eg-font-mono); }
.eg-product__in-stock { font-size: 0.75rem; color: var(--eg-color-success); font-weight: 500; margin: 12px 0; display: flex; align-items: center; gap: 4px; font-family: var(--eg-font-mono); text-transform: uppercase; letter-spacing: 0.06em; }
.eg-product__out-stock { font-size: 0.75rem; color: var(--eg-color-accent); font-weight: 500; margin: 12px 0; font-family: var(--eg-font-mono); text-transform: uppercase; letter-spacing: 0.06em; }
.eg-product__desc { color: var(--eg-color-text-light); font-size: 0.9rem; line-height: 1.8; margin: 20px 0; font-weight: 300; }

/* Options / Swatches — Edge: flat black squares */
.eg-product__options { margin: 24px 0; }
.eg-product__option-group { margin-bottom: 20px; }
.eg-product__option-label { font-size: 0.72rem; font-weight: 500; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--eg-font-mono); }
.eg-product__option-label strong { color: var(--eg-color-text); }
.eg-product__swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.eg-product__swatch { padding: 10px 18px; border: 2px solid var(--eg-color-border); font-size: 0.82rem; font-weight: 500; cursor: pointer; transition: all var(--eg-transition); background: transparent; text-transform: uppercase; letter-spacing: 0.04em; }
.eg-product__swatch:hover { border-color: var(--eg-color-text); }
.eg-product__swatch.is-active { border-color: var(--eg-color-text); background: var(--eg-color-text); color: #fff; font-weight: 600; }
.eg-product__swatch.is-disabled { border-color: var(--eg-color-border); color: var(--eg-color-text-muted); text-decoration: line-through; cursor: not-allowed; opacity: 0.5; }
.eg-product__swatch.is-selected { border-color: var(--eg-color-text); background: var(--eg-color-text); color: #fff; }

/* Quantity — Edge: sharp */
.eg-product__quantity { display: inline-flex; align-items: center; border: 2px solid var(--eg-color-border); }
.eg-product__quantity button { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-size: 1rem; color: var(--eg-color-text-light); font-family: var(--eg-font-mono); }
.eg-product__quantity button:hover { background: var(--eg-color-text); color: #fff; }
.eg-product__quantity input { width: 48px; text-align: center; border: none; outline: none; font-weight: 500; font-size: 0.9rem; font-family: var(--eg-font-mono); -moz-appearance: textfield; appearance: textfield; }
.eg-product__quantity input::-webkit-inner-spin-button, .eg-product__quantity input::-webkit-outer-spin-button { -webkit-appearance: none; appearance: none; }

/* Actions — Edge: full-width black button */
.eg-product__actions { display: flex; flex-direction: column; gap: 8px; margin-top: 24px; }

/* Trust badges — Edge: text only, no icons */
.eg-product__trust { display: flex; gap: 0; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--eg-color-border); flex-wrap: wrap; }
.eg-product__trust-item { display: flex; align-items: center; gap: 0; font-size: 0.68rem; color: var(--eg-color-text-muted); font-family: var(--eg-font-mono); text-transform: uppercase; letter-spacing: 0.06em; }
.eg-product__trust-item svg { display: none; }
.eg-product__trust-item + .eg-product__trust-item::before { content: '·'; margin: 0 10px; color: var(--eg-color-text-muted); }

/* ============================================================================
   PRODUCT SPECS TABLE — Edge: minimal
   ============================================================================ */
.eg-specs { border: 1px solid var(--eg-color-border); overflow: hidden; }
.eg-specs__row { display: flex; border-bottom: 1px solid var(--eg-color-border); }
.eg-specs__row:last-child { border-bottom: none; }
.eg-specs__row:nth-child(even) { background: #FAFAFA; }
.eg-specs__label { width: 160px; flex-shrink: 0; padding: 10px 16px; font-weight: 500; font-size: 0.82rem; color: var(--eg-color-text-light); text-transform: uppercase; letter-spacing: 0.04em; font-family: var(--eg-font-mono); }
.eg-specs__value { flex: 1; padding: 10px 16px; font-size: 0.88rem; }

/* ============================================================================
   COLLECTION PAGE — Edge: editorial layout
   ============================================================================ */
.eg-collection { padding: 40px 0 64px; }
.eg-collection__header { margin-bottom: 32px; }
.eg-collection__title { font-size: clamp(1.5rem, 4vw, 2.5rem); font-weight: 700; }
.eg-collection__desc { color: var(--eg-color-text-light); margin-top: 8px; max-width: 640px; font-weight: 300; }
.eg-collection__layout { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .eg-collection__layout { grid-template-columns: 220px 1fr; gap: 40px; } }
.eg-collection__layout > :only-child { grid-column: 1 / -1; }

/* Toolbar */
.eg-collection__toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; gap: 12px; flex-wrap: wrap; }
.eg-collection__count { font-size: 0.75rem; color: var(--eg-color-text-muted); font-family: var(--eg-font-mono); text-transform: uppercase; letter-spacing: 0.06em; }
.eg-collection__sort { display: flex; align-items: center; gap: 6px; }
.eg-collection__sort select { padding: 8px 12px; border: 1px solid var(--eg-color-border); font-size: 0.82rem; background: var(--eg-color-bg); outline: none; font-family: var(--eg-font-mono); }

/* Filters sidebar — Edge: minimal */
.eg-filters { display: block; }
.eg-filters.is-open { display: block; }
.eg-filters__title { font-size: 0.75rem; font-weight: 600; margin-bottom: 20px; display: flex; align-items: center; justify-content: space-between; text-transform: uppercase; letter-spacing: 0.1em; font-family: var(--eg-font-mono); }
.eg-filter-group { margin-bottom: 24px; }
.eg-filter-group__title { font-size: 0.78rem; font-weight: 600; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--eg-color-border); text-transform: uppercase; letter-spacing: 0.06em; }
.eg-filter-group__option { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 0.85rem; cursor: pointer; }
.eg-filter-group__option input[type="checkbox"] { accent-color: var(--eg-color-text); width: 14px; height: 14px; }
.eg-filter-group__count { margin-left: auto; font-size: 0.72rem; color: var(--eg-color-text-muted); font-family: var(--eg-font-mono); }

/* ============================================================================
   CART PAGE — Edge: stark layout
   ============================================================================ */
.eg-cart-page { padding: 40px 0 64px; }
.eg-cart-page__title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; margin-bottom: 32px; }
.eg-cart-page__layout { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 768px) { .eg-cart-page__layout { grid-template-columns: 1fr 340px; } }

.eg-cart-page__header-row { display: none; padding: 12px 0; border-bottom: 2px solid var(--eg-color-text); font-weight: 500; font-size: 0.72rem; color: var(--eg-color-text-muted); text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--eg-font-mono); }
@media (min-width: 768px) { .eg-cart-page__header-row { display: grid; grid-template-columns: 80px 1fr 100px 120px 100px; gap: 12px; } }

.eg-cart-page__item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--eg-color-border); flex-wrap: wrap; }
@media (min-width: 768px) { .eg-cart-page__item { display: grid; grid-template-columns: 80px 1fr 100px 120px 100px; gap: 12px; align-items: center; flex-wrap: nowrap; } }
.eg-cart-page__item-image { width: 80px; height: 80px; overflow: hidden; flex-shrink: 0; }
.eg-cart-page__item-image img { width: 100%; height: 100%; object-fit: cover; }
.eg-cart-page__item-info { flex: 1; min-width: 0; }
.eg-cart-page__item-title { font-weight: 500; font-size: 0.85rem; text-decoration: none; color: var(--eg-color-text); text-transform: uppercase; letter-spacing: 0.02em; }
.eg-cart-page__item-title:hover { color: var(--eg-color-accent); }
.eg-cart-page__item-variant { font-size: 0.72rem; color: var(--eg-color-text-muted); display: block; margin-top: 2px; font-family: var(--eg-font-mono); }
.eg-cart-page__item-price { font-weight: 400; font-family: var(--eg-font-mono); }
.eg-cart-page__item-subtotal { font-weight: 500; font-family: var(--eg-font-mono); }
.eg-cart-page__delete { font-size: 0.72rem; color: var(--eg-color-accent); cursor: pointer; margin-top: 4px; text-transform: uppercase; letter-spacing: 0.06em; }
.eg-cart-page__delete:hover { text-decoration: underline; }
.eg-cart-page__delete--desktop { display: none; }
@media (min-width: 768px) { .eg-cart-page__delete--desktop { display: block; } .eg-cart-page__item-actions-mobile { display: none; } }

/* Cart summary — Edge: black */
.eg-cart-page__summary-card { background: #000; color: #fff; padding: 32px; border: none; position: sticky; top: 80px; }
.eg-cart-page__summary-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 0.85rem; }
.eg-cart-page__summary-row--total { font-size: 1.1rem; }
.eg-cart-page__summary-price { font-weight: 500; font-family: var(--eg-font-mono); font-size: 1.2rem; color: #fff; }
.eg-cart-page__summary-note { font-size: 0.72rem; color: var(--eg-color-text-on-dark-muted); margin-bottom: 20px; font-family: var(--eg-font-mono); }

/* Empty cart */
.eg-cart-page__empty { text-align: center; padding: 80px 20px; }
.eg-cart-page__empty svg { color: var(--eg-color-border); margin-bottom: 16px; }
.eg-cart-page__empty h2 { margin-bottom: 8px; }
.eg-cart-page__empty p { color: var(--eg-color-text-light); margin-bottom: 24px; }

/* ============================================================================
   CHECKOUT — Edge: minimal, architectural
   ============================================================================ */
.eg-checkout { padding: 40px 0 64px; }
.eg-checkout__layout { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 768px) { .eg-checkout__layout { grid-template-columns: 1fr 380px; } }
.eg-checkout__logo { display: block; margin-bottom: 32px; }
.eg-checkout__logo img { height: 24px; width: auto; }
.eg-checkout__logo-text { font-family: var(--eg-font-heading); font-size: 1.1rem; font-weight: 700; color: var(--eg-color-text); letter-spacing: 0.15em; text-transform: uppercase; }
.eg-checkout__step-title { display: flex; align-items: center; gap: 12px; font-size: 0.85rem; font-weight: 600; margin-bottom: 16px; margin-top: 32px; text-transform: uppercase; letter-spacing: 0.08em; }
.eg-checkout__step-title:first-of-type { margin-top: 0; }
.eg-checkout__step-num { width: 28px; height: 28px; background: var(--eg-color-text); color: #fff; font-size: 0.75rem; font-weight: 600; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-family: var(--eg-font-mono); }

/* Form — Edge: sharp inputs */
.eg-form__group { margin-bottom: 16px; }
.eg-form__label { display: block; font-size: 0.72rem; font-weight: 500; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--eg-font-mono); }
.eg-form__input { width: 100%; padding: 12px 14px; border: 1px solid var(--eg-color-border); font-size: 0.9rem; outline: none; transition: border-color var(--eg-transition); background: var(--eg-color-bg); }
.eg-form__input:focus { border-color: var(--eg-color-text); }
.eg-form__row { display: grid; grid-template-columns: 1fr; gap: 16px; }
.eg-form__row--2col { grid-template-columns: 1fr 1fr; }
.eg-form__row--3col { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 640px) { .eg-form__row--2col, .eg-form__row--3col { grid-template-columns: 1fr; } }

/* Payment */
.eg-checkout__payment-info { padding: 20px; background: #FAFAFA; border: 1px solid var(--eg-color-border); margin-bottom: 24px; }
.eg-checkout__payment-icons { display: flex; gap: 8px; margin-bottom: 8px; }
.eg-checkout__payment-note { font-size: 0.82rem; color: var(--eg-color-text-light); }

/* Order summary sidebar — Edge: black */
.eg-checkout__sidebar { background: #000; color: #fff; padding: 28px; border: none; height: fit-content; position: sticky; top: 80px; }
.eg-checkout__sidebar-title { font-size: 0.78rem; font-weight: 600; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--eg-color-border-dark); text-transform: uppercase; letter-spacing: 0.1em; color: var(--eg-color-text-on-dark-muted); }
.eg-checkout__item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--eg-color-border-dark); }
.eg-checkout__item:last-child { border-bottom: none; }
.eg-checkout__item-image { width: 52px; height: 52px; overflow: hidden; position: relative; flex-shrink: 0; }
.eg-checkout__item-image img { width: 100%; height: 100%; object-fit: cover; }
.eg-checkout__item-qty-badge { position: absolute; top: -4px; right: -4px; background: var(--eg-color-accent); color: #000; font-size: 0.6rem; font-weight: 600; width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; font-family: var(--eg-font-mono); }
.eg-checkout__item-info { flex: 1; min-width: 0; }
.eg-checkout__item-title { font-weight: 500; font-size: 0.82rem; color: #fff; }
.eg-checkout__item-variant { font-size: 0.7rem; color: var(--eg-color-text-on-dark-muted); font-family: var(--eg-font-mono); }
.eg-checkout__item-price { font-weight: 500; font-size: 0.82rem; white-space: nowrap; font-family: var(--eg-font-mono); color: #fff; }

.eg-checkout__totals { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--eg-color-border-dark); }
.eg-checkout__total-row { display: flex; justify-content: space-between; padding: 4px 0; font-size: 0.85rem; color: var(--eg-color-text-on-dark-muted); font-family: var(--eg-font-mono); }
.eg-checkout__total-row--final { font-weight: 600; font-size: 1.05rem; padding-top: 10px; margin-top: 10px; border-top: 1px solid var(--eg-color-border-dark); color: #fff; }

/* ============================================================================
   POST-CHECKOUT
   ============================================================================ */
.eg-post-checkout { text-align: center; padding: 100px 20px; }
.eg-post-checkout__icon { width: 48px; height: 2px; background: var(--eg-color-accent); margin: 0 auto 28px; display: block; }
.eg-post-checkout__icon svg { display: none; }
.eg-post-checkout__title { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 12px; }
.eg-post-checkout__text { color: var(--eg-color-text-light); max-width: 480px; margin: 0 auto 32px; font-weight: 300; }
.eg-post-checkout__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================================
   ACCOUNT / AUTH PAGES — Edge: centered, minimal
   ============================================================================ */
.eg-auth { display: flex; align-items: center; justify-content: center; padding: 64px 20px; min-height: 60vh; }
.eg-auth__card { background: var(--eg-color-bg); border: 1px solid var(--eg-color-border); padding: 48px 40px; width: 100%; max-width: 440px; }
.eg-auth__title { text-align: center; margin-bottom: 28px; }
.eg-auth__footer { text-align: center; margin-top: 24px; font-size: 0.82rem; color: var(--eg-color-text-light); }
.eg-auth__footer a { font-weight: 500; color: var(--eg-color-text); }
.eg-auth__footer a:hover { color: var(--eg-color-accent); }

.eg-account { padding: 40px 0 64px; }
.eg-account__layout { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 768px) { .eg-account__layout { grid-template-columns: 200px 1fr; } }
.eg-account__sidebar { display: block; }
.eg-account__nav-link { display: block; padding: 10px 0; font-size: 0.85rem; font-weight: 500; color: var(--eg-color-text-light); text-decoration: none; border-bottom: 1px solid var(--eg-color-border); transition: color var(--eg-transition); }
.eg-account__nav-link:hover { color: var(--eg-color-text); }
.eg-account__nav-link.is-active { color: var(--eg-color-text); font-weight: 600; border-bottom-color: var(--eg-color-text); }
.eg-account__content { min-width: 0; }
.eg-account__title { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 700; margin-bottom: 24px; }

/* Order table — Edge: minimal */
.eg-orders { width: 100%; border: 1px solid var(--eg-color-border); overflow: hidden; }
.eg-orders th, .eg-orders td { padding: 12px 16px; text-align: left; font-size: 0.82rem; }
.eg-orders th { background: #000; color: var(--eg-color-text-on-dark-muted); font-weight: 500; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--eg-font-mono); }
.eg-orders tr:not(:last-child) td { border-bottom: 1px solid var(--eg-color-border); }

/* ============================================================================
   404 PAGE
   ============================================================================ */
.eg-404 { text-align: center; padding: 100px 20px; }
.eg-404__code { font-size: clamp(4rem, 10vw, 8rem); font-weight: 700; color: var(--eg-color-text); opacity: 0.08; line-height: 1; margin-bottom: 16px; font-family: var(--eg-font-heading); }
.eg-404__title { font-size: clamp(1.3rem, 2vw, 1.8rem); margin-bottom: 12px; }
.eg-404__text { color: var(--eg-color-text-light); margin-bottom: 32px; font-weight: 300; }
.eg-404__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================================
   PAGE CONTENT
   ============================================================================ */
.eg-page { padding: 40px 0 64px; max-width: 720px; margin: 0 auto; }
.eg-page__title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; margin-bottom: 24px; }
.eg-page__body { line-height: 1.9; color: var(--eg-color-text); font-weight: 300; }
.eg-page__body h2, .eg-page__body h3 { margin-top: 32px; margin-bottom: 10px; }
.eg-page__body p { margin-bottom: 16px; }
.eg-page__body ul, .eg-page__body ol { margin-bottom: 16px; padding-left: 20px; }

/* ============================================================================
   BREADCRUMB — Edge: mono style
   ============================================================================ */
.eg-breadcrumb { padding: 16px 0; }
.eg-breadcrumb__list { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; flex-wrap: wrap; font-family: var(--eg-font-mono); text-transform: uppercase; letter-spacing: 0.06em; }
.eg-breadcrumb__item { color: var(--eg-color-text-muted); }
.eg-breadcrumb__item a { color: var(--eg-color-text-muted); text-decoration: none; }
.eg-breadcrumb__item a:hover { color: var(--eg-color-accent); }
.eg-breadcrumb__item + .eg-breadcrumb__item::before { content: '/'; margin-right: 6px; color: var(--eg-color-border); }
.eg-breadcrumb__item--current { color: var(--eg-color-text); font-weight: 500; }

/* ============================================================================
   PAGINATION — Edge: sharp, monochrome
   ============================================================================ */
.eg-pagination { display: flex; align-items: center; justify-content: center; gap: 2px; padding: 40px 0; }
.eg-pagination__link { padding: 10px 16px; font-size: 0.82rem; font-weight: 500; color: var(--eg-color-text); text-decoration: none; border: 1px solid var(--eg-color-border); transition: all var(--eg-transition); display: flex; align-items: center; gap: 4px; font-family: var(--eg-font-mono); }
.eg-pagination__link:hover { border-color: var(--eg-color-text); background: var(--eg-color-text); color: #fff; }
.eg-pagination__current { padding: 10px 16px; font-size: 0.82rem; font-weight: 600; background: var(--eg-color-text); color: #fff; font-family: var(--eg-font-mono); }
.eg-pagination__ellipsis { padding: 10px 8px; color: var(--eg-color-text-muted); font-family: var(--eg-font-mono); }

/* ============================================================================
   STAR RATING
   ============================================================================ */
.eg-stars { display: inline-flex; gap: 2px; color: var(--eg-color-accent); }
.eg-stars--empty { color: var(--eg-color-border); }

/* ============================================================================
   GANG SHEET SIZES — Edge: dark bg, monospace pricing
   ============================================================================ */
.eg-gang-sizes { margin: 24px 0; padding: 24px; background: #FAFAFA; border: 1px solid var(--eg-color-border); }
.eg-gang-sizes__title { font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.06em; }
.eg-gang-sizes__subtitle { font-size: 0.78rem; color: var(--eg-color-text-muted); margin-bottom: 20px; font-family: var(--eg-font-mono); }
.eg-gang-sizes__table { width: 100%; }
.eg-gang-sizes__header { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 12px; padding: 8px 0; font-weight: 500; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--eg-color-text-muted); border-bottom: 2px solid var(--eg-color-text); font-family: var(--eg-font-mono); }
.eg-gang-sizes__row { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 12px; padding: 12px 0; align-items: center; border-bottom: 1px solid var(--eg-color-border); cursor: pointer; transition: background var(--eg-transition); }
.eg-gang-sizes__row:last-child { border-bottom: none; }
.eg-gang-sizes__row:hover { background: rgba(0,0,0,0.02); }
.eg-gang-sizes__row.is-selected { background: var(--eg-color-text); color: #fff; margin: 0 -24px; padding: 12px 24px; }
.eg-gang-sizes__name { font-weight: 600; font-size: 0.88rem; }
.eg-gang-sizes__price { font-weight: 500; color: var(--eg-color-text); font-family: var(--eg-font-mono); }
.eg-gang-sizes__row.is-selected .eg-gang-sizes__price { color: var(--eg-color-accent); }

/* ============================================================================
   FOOTER — Edge: black, minimal, two-row
   ============================================================================ */
.eg-back-to-top { background: #000; border-top: 1px solid var(--eg-color-border-dark); }
.eg-back-to-top__btn { display: block; width: 100%; padding: 12px; text-align: center; color: var(--eg-color-text-on-dark-muted); font-size: 0.72rem; font-weight: 500; cursor: pointer; text-transform: uppercase; letter-spacing: 0.12em; font-family: var(--eg-font-mono); }
.eg-back-to-top__btn:hover { color: #fff; }

.eg-footer { background: #000; color: var(--eg-color-text-on-dark-muted); }
.eg-footer__upper { padding: 56px 0 40px; }
.eg-footer__grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 640px) { .eg-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .eg-footer__grid { grid-template-columns: repeat(4, 1fr); } }
.eg-footer__heading { color: #fff; font-size: 0.72rem; font-weight: 600; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.12em; font-family: var(--eg-font-heading); }
.eg-footer__links li { margin-bottom: 8px; }
.eg-footer__links a { color: var(--eg-color-text-on-dark-muted); font-size: 0.85rem; text-decoration: none; transition: color var(--eg-transition); }
.eg-footer__links a:hover { color: var(--eg-color-accent); }

.eg-footer__lower { border-top: 1px solid var(--eg-color-border-dark); padding: 24px 0; }
.eg-footer__lower-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.eg-footer__logo { display: flex; align-items: center; }
.eg-footer__logo img { height: 20px; width: auto; filter: brightness(0) invert(1); }
.eg-footer__logo span { color: #fff; font-family: var(--eg-font-heading); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.12em; text-transform: uppercase; }
.eg-footer__legal { font-size: 0.68rem; color: #555; display: flex; gap: 12px; flex-wrap: wrap; font-family: var(--eg-font-mono); }
.eg-footer__powered a { color: var(--eg-color-accent); }
.eg-footer__powered a:hover { text-decoration: underline; }

/* ============================================================================
   ALL COLLECTIONS PAGE
   ============================================================================ */
.eg-all-collections { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; }
@media (min-width: 640px) { .eg-all-collections { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .eg-all-collections { grid-template-columns: repeat(4, 1fr); gap: 3px; } }
.eg-collection-card { background: var(--eg-color-bg); border: 2px solid transparent; overflow: hidden; text-decoration: none; color: var(--eg-color-text); transition: border-color var(--eg-transition); }
.eg-collection-card:hover { border-color: var(--eg-color-text); }
.eg-collection-card__image { aspect-ratio: 4/3; background: #F5F5F5; overflow: hidden; }
.eg-collection-card__image img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(20%); transition: filter 0.3s ease; }
.eg-collection-card:hover .eg-collection-card__image img { filter: grayscale(0); }
.eg-collection-card__info { padding: 12px 10px; }
.eg-collection-card__name { font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; }
.eg-collection-card__count { font-size: 0.72rem; color: var(--eg-color-text-muted); font-family: var(--eg-font-mono); }

/* Color Swatch Styles */
[data-option-name="Color" i] .eg-product__swatch {
  position: relative;
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  padding: 0;
  font-size: 0;
  color: transparent;
  overflow: hidden;
  border: 2px solid #ddd;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}
[data-option-name="Color" i] .eg-product__swatch.is-active {
  border-color: var(--eg-color-primary, #111);
  box-shadow: 0 0 0 2px var(--eg-color-primary, #111);
}
[data-option-name="Color" i] .eg-product__swatch:hover {
  border-color: var(--eg-color-primary, #555);
}
[data-option-name="Color" i] .eg-product__swatch[title]::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
}
