/* ============================================================
   HWING CLOTHING v3 — main.css
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --black: #000;
  --white: #fff;
  --off-white: #f5f5f3;
  --g100: #e8e8e6;
  --g200: #c8c8c4;
  --g400: #888884;
  --g600: #444440;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  --logo-h: 40px;
  --logo-w: 220px;
  --hero-h: 100vh;
  --ann-bg: #000;
  --ann-col: #fff;
  --accent: #000;
}

html { scroll-behavior: smooth; }
body { background: var(--white); color: var(--black); font-family: var(--sans); font-weight: 300; overflow-x: hidden; cursor: auto; }
.cursor-active body { cursor: none; }
@media (max-width: 768px) { body { cursor: auto; } }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--sans); }

/* ── CURSOR ────────────────────────────────────────── */
.cursor { position: fixed; width: 10px; height: 10px; background: var(--black); border-radius: 50%; pointer-events: none; z-index: 9999; transform: translate(-50%, -50%); transition: width .2s, height .2s; }
.cursor-ring { position: fixed; width: 36px; height: 36px; border: 1px solid rgba(0,0,0,.4); border-radius: 50%; pointer-events: none; z-index: 9998; transform: translate(-50%, -50%); transition: all .12s ease; }
body.cursor-hover .cursor { width: 6px; height: 6px; }
body.cursor-hover .cursor-ring { width: 52px; height: 52px; border-color: var(--black); }
@media (max-width: 768px) { .cursor, .cursor-ring { display: none; } }

/* ── ANNOUNCEMENT BAR ──────────────────────────────── */
.announcement-bar { background: var(--ann-bg); color: var(--ann-col); text-align: center; padding: 10px 24px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.announcement-bar a { color: inherit; }
/* Announcement bar: header sits below it initially, but flush to top when scrolled */
.has-announcement .site-header { top: 40px; transition: top .3s, background .4s, padding .35s; }
.has-announcement .site-header.scrolled { top: 0; }

/* ── NAVBAR ────────────────────────────────────────── */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 24px 48px; transition: background .4s, padding .35s, box-shadow .4s; }
.site-header.scrolled { background: rgba(255,255,255,.97); backdrop-filter: blur(12px); padding: 14px 48px; box-shadow: 0 1px 0 var(--g100); }

/* ── LOGO ──────────────────────────────────────────── */
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
/* ── LOGO ──────────────────────────────────────────── */
.site-logo-img {
  height: var(--logo-h);
  width: auto;
  max-width: var(--logo-w);
  object-fit: contain;
  object-position: left center;
  display: block;
  flex-shrink: 0;
  transition: filter .3s, mix-blend-mode .3s;
  /* Default: homepage dark hero — logo inverted to white */
  filter: invert(1);
  mix-blend-mode: screen;
}
/* Scrolled or non-home: white nav background — logo shows naturally (black) */
.site-header.scrolled .site-logo-img,
body:not(.home) .site-logo-img {
  filter: none !important;
  mix-blend-mode: multiply !important;
}
/* Footer logo always white on black bg */
.site-logo--footer {
  height: 32px !important;
  max-width: 180px !important;
  filter: invert(1) !important;
  mix-blend-mode: screen !important;
}
.site-logo-text {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: .08em;
  color: var(--white);
  transition: color .3s;
}
.site-header.scrolled .site-logo-text,
body:not(.home) .site-logo-text {
  color: var(--black) !important;
}
.site-logo-text { font-family: var(--serif); font-size: 20px; font-weight: 400; letter-spacing: .08em; color: var(--white); transition: color .3s; }
.site-header.scrolled .site-logo-text { color: var(--black); }

/* ── NAV LINKS ─────────────────────────────────────── */
.nav-main { display: flex; align-items: center; gap: 0; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; margin-right: 24px; }
.nav-links li a, .nav-links > li > a { font-family: var(--sans); font-size: 12px; font-weight: 300; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.8); transition: color .2s; }
.site-header.scrolled .nav-links li a, .site-header.scrolled .nav-links > li > a { color: var(--g600); }
.nav-links li a:hover { color: var(--white); }
.site-header.scrolled .nav-links li a:hover { color: var(--black); }
.nav-cta { background: var(--black); color: var(--white) !important; padding: 10px 22px; font-family: var(--sans); font-size: 11px; font-weight: 400; letter-spacing: .15em; text-transform: uppercase; transition: background .2s; flex-shrink: 0; }
.nav-cta:hover { background: var(--g600); }
.nav-utils { display: flex; align-items: center; gap: 20px; }
.cart-btn { background: none; border: none; cursor: pointer; font-family: var(--sans); font-size: 11px; font-weight: 300; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.7); transition: color .2s; white-space: nowrap; }
.cursor-active .cart-btn { cursor: none; }
.site-header.scrolled .cart-btn { color: var(--g600); }
.cart-btn:hover { color: var(--white); }
.site-header.scrolled .cart-btn:hover { color: var(--black); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 1px; background: var(--white); transition: all .3s; }
.site-header.scrolled .hamburger span { background: var(--black); }

/* ── DROPDOWN MENUS ────────────────────────────────── */
.has-dropdown .nav-links li { position: relative; }
.has-dropdown .nav-links .sub-menu { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(-6px); background: rgba(255,255,255,.98); backdrop-filter: blur(16px); border: 1px solid var(--g100); min-width: 200px; list-style: none; padding: 8px 0; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; z-index: 200; box-shadow: 0 12px 40px rgba(0,0,0,.1); }
.has-dropdown .nav-links li:hover > .sub-menu, .has-dropdown .nav-links li:focus-within > .sub-menu { opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0); }
.sub-menu li a { display: block; padding: 10px 20px; font-family: var(--sans); font-size: 12px; font-weight: 300; letter-spacing: .1em; text-transform: uppercase; color: var(--g600) !important; transition: color .15s, background .15s; white-space: nowrap; }
.sub-menu li a:hover { color: var(--black) !important; background: var(--g100); }
.dropdown-arrow { font-size: 9px; margin-left: 5px; opacity: .6; display: inline-block; transition: transform .2s; }
.nav-links li:hover .dropdown-arrow { transform: rotate(180deg); }

/* ── MOBILE NAV ────────────────────────────────────── */
.mobile-nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 148; opacity: 0; transition: opacity .3s; pointer-events: none; }
.mobile-nav-overlay.open { opacity: 1; pointer-events: all; }
.mobile-nav { position: fixed; top: 0; right: 0; width: 300px; height: 100vh; background: var(--white); z-index: 149; transform: translateX(100%); transition: transform .4s cubic-bezier(.25,.46,.45,.94); padding: 80px 40px 40px; display: none; flex-direction: column; gap: 4px; overflow-y: auto; }
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-close { position: absolute; top: 24px; right: 24px; background: none; border: none; font-size: 22px; color: var(--g400); cursor: pointer; transition: color .2s; line-height: 1; }
.mobile-nav-close:hover { color: var(--black); }
.mobile-nav-links { list-style: none; display: flex; flex-direction: column; }
.mobile-nav-links li a, .mobile-nav-links > li > a { font-family: var(--serif); font-size: 22px; font-weight: 300; color: var(--black); padding: 12px 0; border-bottom: 1px solid var(--g100); display: block; transition: color .2s; }
.mobile-nav-links li a:hover { color: var(--g400); }
.mobile-nav-links .sub-menu { list-style: none; padding-left: 16px; display: none; }
.mobile-nav-links .menu-item-has-children:hover .sub-menu { display: block; }
.mobile-nav-links .sub-menu li a { font-size: 16px; }
.mobile-nav-cta { display: flex; margin-top: 24px !important; justify-content: center; }

/* ── CART SIDEBAR ──────────────────────────────────── */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 200; opacity: 0; pointer-events: none; transition: opacity .3s; }
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-sidebar { position: fixed; top: 0; right: 0; width: 400px; height: 100vh; background: var(--white); z-index: 201; transform: translateX(100%); transition: transform .4s cubic-bezier(.25,.46,.45,.94); display: flex; flex-direction: column; }
.cart-sidebar.open { transform: translateX(0); }
.cart-header { display: flex; justify-content: space-between; align-items: center; padding: 28px 32px 24px; border-bottom: 1px solid var(--g100); flex-shrink: 0; }
.cart-title { font-family: var(--serif); font-size: 22px; font-weight: 300; display: flex; align-items: center; gap: 8px; }
.cart-count { font-size: 14px; color: var(--g400); }
.cart-close { background: none; border: none; cursor: pointer; font-size: 20px; color: var(--g400); transition: color .2s; line-height: 1; }
.cart-close:hover { color: var(--black); }
.cart-body { flex: 1; overflow-y: auto; padding: 16px 32px; display: flex; flex-direction: column; }
.cart-items { flex: 1; }
.cart-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--g100); }
.cart-item__img { width: 72px; height: 96px; flex-shrink: 0; background: var(--g100); overflow: hidden; }
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__name { font-family: var(--serif); font-size: 16px; font-weight: 300; margin-bottom: 4px; }
.cart-item__var { font-size: 11px; color: var(--g400); letter-spacing: .05em; margin-bottom: 2px; }
.cart-item__price { font-size: 13px; color: var(--g400); margin-top: 4px; }
.cart-foot { padding-top: 16px; border-top: 1px solid var(--g100); margin-top: auto; }
.cart-total { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--g100); }
.cart-view-link { display: block; text-align: center; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--g400); margin-top: 12px; transition: color .2s; }
.cart-view-link:hover { color: var(--black); }
.cart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--g400); font-size: 13px; text-align: center; }
.cart-empty__icon { font-size: 48px; opacity: .2; line-height: 1; }

/* ── BUTTONS ───────────────────────────────────────── */
.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--black); color: var(--white); font-family: var(--sans); font-size: 11px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; padding: 14px 28px; border: 2px solid var(--black); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.cursor-active .btn-primary { cursor: none; }
.btn-primary:hover { background: var(--g600); border-color: var(--g600); color: var(--white); }
.btn-ghost { font-family: var(--sans); font-size: 11px; font-weight: 300; letter-spacing: .18em; text-transform: uppercase; color: var(--g400); border-bottom: 1px solid var(--g600); padding-bottom: 2px; transition: color .2s, border-color .2s; cursor: pointer; }
.cursor-active .btn-ghost { cursor: none; }
.btn-ghost:hover { color: var(--black); border-color: var(--black); }

/* ── LAYOUT COMMONS ────────────────────────────────── */
.container { max-width: 1400px; margin: 0 auto; padding: 0 48px; }
.section-label { font-family: var(--sans); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--g400); margin-bottom: 20px; }
.section-heading { font-family: var(--serif); font-size: clamp(40px, 5vw, 68px); font-weight: 300; line-height: .9; letter-spacing: -.02em; color: var(--black); }
.section-heading em { font-style: italic; }

/* ── HERO ──────────────────────────────────────────── */
.hero { min-height: var(--hero-h); display: grid; grid-template-columns: 1fr 1fr; background: var(--black); overflow: hidden; position: relative; }
.hero--fullbleed { grid-template-columns: 1fr; }
.hero__bg-img { position: absolute; inset: 0; background-size: cover; background-position: center top; z-index: 0; }
.hero__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.55); z-index: 1; }
.hero__content { display: flex; flex-direction: column; justify-content: flex-end; padding: 140px 48px 80px; position: relative; z-index: 2; background: linear-gradient(to right, rgba(0,0,0,.85) 60%, rgba(0,0,0,.15) 100%); }
.hero--fullbleed .hero__content { background: none; max-width: 700px; padding-left: 80px; }
.hero-tag { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--g400); margin-bottom: 32px; opacity: 0; animation: fadeUp .8s .2s ease forwards; }
.hero-heading { font-family: var(--serif); font-size: clamp(56px, 7vw, 96px); font-weight: 300; line-height: .88; letter-spacing: -.02em; color: var(--white); margin-bottom: 40px; opacity: 0; animation: fadeUp .9s .4s ease forwards; }
.hero-heading em { font-style: italic; color: var(--g200); }
.hero-sub { font-size: 13px; font-weight: 300; color: var(--g400); line-height: 1.7; max-width: 300px; margin-bottom: 48px; opacity: 0; animation: fadeUp .9s .6s ease forwards; }
.hero-actions { display: flex; align-items: center; gap: 24px; opacity: 0; animation: fadeUp .9s .8s ease forwards; flex-wrap: wrap; }
.hero__image { position: relative; overflow: hidden; }
.hero__image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero__image-fallback { width: 100%; height: 100%; min-height: 600px; background: linear-gradient(160deg, #1a1a1a, #060606); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: clamp(120px, 18vw, 240px); font-weight: 300; color: rgba(255,255,255,.04); letter-spacing: -.04em; }
.hero-scroll-hint { position: absolute; bottom: 40px; left: 48px; display: flex; align-items: center; gap: 12px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--g600); opacity: 0; animation: fadeUp 1s 1.2s ease forwards; z-index: 3; }
.scroll-line { width: 40px; height: 1px; background: var(--g600); position: relative; overflow: hidden; }
.scroll-line::after { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: var(--g400); animation: scanLine 2s 1.5s infinite; }

/* ── MARQUEE ───────────────────────────────────────── */
.marquee-strip { background: var(--black); border-top: 1px solid #1a1a1a; border-bottom: 1px solid #1a1a1a; padding: 14px 0; overflow: hidden; white-space: nowrap; }
.marquee-inner { display: inline-flex; animation: marquee 20s linear infinite; }
.marquee-item { display: inline-flex; align-items: center; gap: 32px; padding: 0 32px; font-family: var(--serif); font-size: 13px; font-style: italic; color: var(--g600); letter-spacing: .05em; }
.marquee-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--g600); flex-shrink: 0; }

/* ── COLLECTIONS ───────────────────────────────────── */
.collections { padding: 120px 48px; background: var(--white); }
.collections-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 64px; }
.collections-link { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--g400); border-bottom: 1px solid var(--g200); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.collections-link:hover { color: var(--black); border-color: var(--black); }
.collections-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.collection-card__link { display: block; text-decoration: none; color: inherit; }
.card-img { width: 100%; aspect-ratio: 3/4; background: var(--g100); overflow: hidden; position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.25,.46,.45,.94); }
.card-img-inner { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, #e8e8e6, #d4d4d0); font-family: var(--serif); font-size: 48px; font-style: italic; color: rgba(0,0,0,.08); transition: transform .6s cubic-bezier(.25,.46,.45,.94); }
.collection-card:hover .card-img img, .collection-card:hover .card-img-inner { transform: scale(1.04); }
.card-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; background: linear-gradient(to top, rgba(0,0,0,.7), transparent); color: var(--white); opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.collection-card:hover .card-overlay { opacity: 1; transform: translateY(0); }
.card-overlay__label { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; display: block; margin-bottom: 4px; }
.card-overlay__name { font-family: var(--serif); font-size: 18px; font-weight: 300; display: block; }
.card-info { padding: 16px 0 0; }
.card-category { font-size: 9px; letter-spacing: .25em; text-transform: uppercase; color: var(--g400); margin-bottom: 4px; }
.card-desc { font-size: 11px; color: var(--g400); line-height: 1.5; margin-top: 4px; }
.card-count { font-size: 12px; color: var(--g600); margin-top: 4px; }

/* ── FEATURED STRIP ────────────────────────────────── */
.featured-strip { background: var(--black); padding: 100px 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.strip-label { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--g600); margin-bottom: 24px; }
.strip-heading { font-family: var(--serif); font-size: clamp(40px, 4vw, 60px); font-weight: 300; line-height: .9; color: var(--white); margin-bottom: 24px; letter-spacing: -.02em; }
.strip-heading em { font-style: italic; color: var(--g400); }
.strip-body { font-size: 13px; font-weight: 300; color: var(--g400); line-height: 1.7; max-width: 360px; margin-bottom: 40px; }
.strip-visual { position: relative; height: 480px; background: #0d0d0d; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.strip-visual__img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.strip-visual__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.strip-visual-bg { font-family: var(--serif); font-size: 120px; font-style: italic; font-weight: 300; color: rgba(255,255,255,.04); user-select: none; }
.strip-visual-badge { position: absolute; top: 24px; right: 24px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--g600); border: 1px solid var(--g600); padding: 8px 14px; z-index: 2; }

/* ── ABOUT SPLIT ───────────────────────────────────── */
.about-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 600px; }
.about-visual { background: var(--g100); display: flex; align-items: center; justify-content: center; padding: 80px; }
.about-visual-logo { font-family: var(--serif); font-weight: 300; color: var(--g200); letter-spacing: -.04em; line-height: 1; }
.hw-line { display: block; font-size: clamp(80px, 10vw, 160px); line-height: .75; }
.ing-line { display: block; font-size: clamp(48px, 6vw, 96px); color: var(--g400); }
.about-content { padding: 80px 64px; display: flex; flex-direction: column; justify-content: center; background: var(--off-white); }
.about-content .section-heading { margin-bottom: 28px; }
.about-body { font-size: 14px; font-weight: 300; color: var(--g600); line-height: 1.8; margin-bottom: 40px; max-width: 420px; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.stat-num { font-family: var(--serif); font-size: 40px; font-weight: 300; color: var(--black); line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 10px; font-weight: 300; letter-spacing: .15em; text-transform: uppercase; color: var(--g400); }

/* ── PRODUCTS GRID ─────────────────────────────────── */
.products { padding: 120px 48px; background: var(--white); }
.products-header { display: grid; grid-template-columns: 1fr auto; align-items: end; margin-bottom: 64px; gap: 24px; }
.filter-tabs { display: flex; gap: 2px; flex-wrap: wrap; }
.filter-tab { font-family: var(--sans); font-size: 11px; letter-spacing: .15em; text-transform: uppercase; padding: 10px 18px; border: 1px solid var(--g100); background: none; color: var(--g400); cursor: pointer; transition: all .2s; text-decoration: none; display: inline-block; white-space: nowrap; }
.filter-tab:hover, .filter-tab.active { background: var(--black); color: var(--white); border-color: var(--black); }
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.product-card { cursor: none; }
.product-card__img-link { display: block; text-decoration: none; }
.product-img { aspect-ratio: 3/4; background: var(--g100); overflow: hidden; margin-bottom: 16px; position: relative; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.25,.46,.45,.94); }
.product-img-inner { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, #ebebeb, #e0e0dc); font-family: var(--serif); font-size: 32px; font-style: italic; color: rgba(0,0,0,.1); transition: transform .6s cubic-bezier(.25,.46,.45,.94); }
.product-card:hover .product-img img, .product-card:hover .product-img-inner { transform: scale(1.04); }
.product-quick { position: absolute; bottom: 12px; left: 12px; right: 12px; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); padding: 10px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; text-align: center; color: var(--black); opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s; }
.product-card:hover .product-quick { opacity: 1; transform: translateY(0); }
.badge { position: absolute; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; padding: 5px 10px; top: 12px; left: 12px; z-index: 2; }
.badge--sale { background: var(--black); color: var(--white); }
.badge--new { background: var(--white); color: var(--black); border: 1px solid var(--black); }
.badge--lg { font-size: 11px; padding: 8px 14px; top: 20px; left: 20px; }
.product-card__info { }
.product-name { font-family: var(--serif); font-size: 17px; font-weight: 300; color: var(--black); margin-bottom: 4px; }
.product-name a { text-decoration: none; color: inherit; transition: color .2s; }
.product-name a:hover { color: var(--g600); }
.product-meta { display: flex; justify-content: space-between; align-items: center; }
.product-cat { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--g400); }
.product-price { font-size: 14px; color: var(--black); }

/* ── COLOUR SWATCHES — CARDS ───────────────────────── */
.product-swatches { display: flex; gap: 5px; margin-top: 10px; flex-wrap: wrap; align-items: center; }
.swatch { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid rgba(0,0,0,.12); cursor: pointer; transition: transform .15s, border-color .15s; flex-shrink: 0; }
.swatch:hover { transform: scale(1.25); border-color: var(--black); }
.swatch--text { background: var(--g100) !important; font-size: 7px; font-weight: 500; display: inline-flex; align-items: center; justify-content: center; color: var(--g600); text-transform: uppercase; width: 20px; border-radius: 3px; letter-spacing: 0; }
.swatch-more { font-size: 10px; color: var(--g400); letter-spacing: .05em; margin-left: 2px; }

/* ── COLOUR SWATCHES — PRODUCT PAGE ───────────────── */
.product-swatches-full { display: flex; flex-direction: column; gap: 16px; margin-bottom: 20px; }
.swatch-group { }
.swatch-group__label { font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--g400); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.swatch-selected-val { color: var(--black); font-weight: 400; }
.swatch-group__options { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch--lg { width: 32px; height: 32px; border-radius: 50%; border: 2px solid rgba(0,0,0,.1); cursor: pointer; transition: transform .15s, border-color .15s, box-shadow .15s; position: relative; background: none; }
.swatch--lg:hover { transform: scale(1.08); border-color: var(--black); }
.swatch--lg.is-selected { border-color: var(--black); box-shadow: 0 0 0 2px var(--white), 0 0 0 3.5px var(--black); }
.swatch--text-lg { height: 32px; min-width: 40px; padding: 0 10px; border-radius: 4px; background: var(--g100); border: 2px solid transparent; font-size: 11px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--g600); cursor: pointer; transition: border-color .15s, color .15s; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; }
.swatch--text-lg:hover { border-color: var(--g400); color: var(--black); }
.swatch--text-lg.is-selected { border-color: var(--black); color: var(--black); }

/* ── NEWSLETTER ────────────────────────────────────── */
.newsletter { background: var(--black); padding: 100px 48px; display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; overflow: hidden; }
.newsletter::before { content: 'HWING'; position: absolute; font-family: var(--serif); font-size: clamp(120px, 20vw, 240px); font-weight: 300; color: rgba(255,255,255,.02); letter-spacing: -.04em; user-select: none; pointer-events: none; }
.newsletter .section-label { color: var(--g600); position: relative; z-index: 1; }
.newsletter .section-heading { color: var(--white); margin-bottom: 16px; position: relative; z-index: 1; }
.newsletter-sub { font-size: 14px; font-weight: 300; color: var(--g400); margin-bottom: 40px; max-width: 380px; line-height: 1.6; position: relative; z-index: 1; }
.newsletter-form { display: flex; width: 100%; max-width: 480px; position: relative; z-index: 1; }
.newsletter-input { flex: 1; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-right: none; padding: 14px 20px; font-family: var(--sans); font-size: 13px; font-weight: 300; color: var(--white); outline: none; transition: border-color .2s; }
.newsletter-input::placeholder { color: var(--g600); }
.newsletter-input:focus { border-color: rgba(255,255,255,.35); }
.newsletter-btn { background: var(--white); color: var(--black); border: 1px solid var(--white); padding: 14px 28px; font-family: var(--sans); font-size: 11px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; transition: background .2s; white-space: nowrap; }
.newsletter-btn:hover { background: var(--g100); }
.newsletter-form-wrap { width: 100%; max-width: 480px; position: relative; z-index: 1; }

/* ── FOOTER ────────────────────────────────────────── */
.site-footer { background: var(--black); border-top: 1px solid #111; padding: 64px 48px 40px; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand { }
.footer-logo { margin-bottom: 20px; }
.footer-tagline { font-size: 12px; font-weight: 300; color: var(--g600); line-height: 1.7; max-width: 220px; margin-bottom: 24px; }
.social-links { display: flex; gap: 16px; flex-wrap: wrap; }
.social-link { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--g600); transition: color .2s; }
.social-link:hover { color: var(--white); }
.footer-col-title { font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: var(--white); margin-bottom: 20px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links li a, .footer-links a { font-size: 12px; font-weight: 300; color: var(--g600); transition: color .2s; letter-spacing: .04em; }
.footer-links li a:hover, .footer-links a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid #111; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 11px; color: var(--g600); letter-spacing: .06em; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 11px; color: var(--g600); letter-spacing: .06em; transition: color .2s; }
.footer-legal a:hover { color: var(--white); }

/* ── SHOP PAGE ─────────────────────────────────────── */
.shop-page { padding-bottom: 80px; }
.shop-hero { background: var(--black); padding: 160px 48px 72px; }
.shop-hero .section-label { color: var(--g600); }
.shop-hero .section-heading { color: var(--white); }
.woo-content-wrap .container { padding-top: 0; }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; padding: 32px 0; border-bottom: 1px solid var(--g100); margin-bottom: 16px; flex-wrap: wrap; gap: 16px; }
.shop-sort select { font-family: var(--sans); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--g100); padding: 10px 14px; background: none; cursor: pointer; outline: none; }
.shop-results-count { font-size: 11px; color: var(--g400); letter-spacing: .1em; padding: 16px 0; margin-bottom: 24px; }
.shop-pagination { padding: 40px 0; text-align: center; }
.shop-no-results { text-align: center; padding: 80px 0; }
.woocommerce-breadcrumb { font-size: 11px; letter-spacing: .1em; color: var(--g400); padding: 24px 0 0; display: block; }
.woocommerce-breadcrumb a { color: var(--g400); transition: color .2s; }
.woocommerce-breadcrumb a:hover { color: var(--black); }

/* ── SINGLE PRODUCT ────────────────────────────────── */
.product-page { padding-bottom: 80px; }
.product-page__breadcrumb { padding: 130px 48px 0; max-width: 1400px; margin: 0 auto; }
.product-page__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding: 48px 48px 80px; align-items: start; max-width: 1400px; margin: 0 auto; }
.product-gallery { }
.product-gallery__main { position: sticky; top: 110px; }
.product-gallery__frame { aspect-ratio: 3/4; overflow: hidden; background: var(--g100); position: relative; margin-bottom: 12px; }
.product-gallery__frame img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.product-gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.product-gallery__thumb { aspect-ratio: 3/4; background: none; border: 1px solid transparent; padding: 0; cursor: pointer; overflow: hidden; transition: border-color .2s; }
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: opacity .2s; }
.product-gallery__thumb.is-active, .product-gallery__thumb:hover { border-color: var(--black); }
.product-gallery__thumb.is-active img, .product-gallery__thumb:hover img { opacity: 1; }
.product-info { }
.product-cat-label { font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: var(--g400); display: inline-block; margin-bottom: 12px; transition: color .2s; }
.product-cat-label:hover { color: var(--black); }
.product-title { font-family: var(--serif); font-size: clamp(28px, 3vw, 44px); font-weight: 300; line-height: .95; letter-spacing: -.01em; margin-bottom: 20px; }
.product-price-row { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.product-price-display { font-family: var(--serif); font-size: 26px; font-weight: 300; }
.product-stock-badge { font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: #4a7c59; padding: 4px 10px; border: 1px solid #4a7c59; }
.product-stock-badge--out { color: #cc0000; border-color: #cc0000; }
.product-short-desc { font-size: 14px; font-weight: 300; color: var(--g600); line-height: 1.7; margin-bottom: 28px; }
.product-form-wrap { margin-bottom: 28px; }
.product-form-wrap .cart { display: flex; flex-direction: column; gap: 14px; }
.product-form-wrap .variations { width: 100%; border-collapse: collapse; margin-bottom: 4px; }
.product-form-wrap .variations tr { display: flex; flex-direction: column; margin-bottom: 16px; }
.product-form-wrap .variations label { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--g400); margin-bottom: 8px; display: block; }
.product-form-wrap .variations select { width: 100%; padding: 13px 16px; border: 1px solid var(--g100); font-family: var(--sans); font-size: 13px; background: none; cursor: pointer; outline: none; transition: border-color .2s; border-radius: 0; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.product-form-wrap .variations select:focus { border-color: var(--black); }
.product-form-wrap .woocommerce-variation-add-to-cart, .product-form-wrap .qty-and-cart { display: flex; gap: 12px; align-items: stretch; }
.product-form-wrap .quantity { display: flex; align-items: center; border: 1px solid var(--g100); flex-shrink: 0; }
.product-form-wrap .quantity .qty { width: 64px; height: 50px; text-align: center; border: none; font-family: var(--sans); font-size: 15px; font-weight: 300; background: none; outline: none; -moz-appearance: textfield; }
.product-form-wrap .quantity .qty::-webkit-inner-spin-button, .product-form-wrap .quantity .qty::-webkit-outer-spin-button { -webkit-appearance: none; }
.product-form-wrap .single_add_to_cart_button, .product-form-wrap button.button { flex: 1; display: flex; align-items: center; justify-content: center; background: var(--black); color: var(--white); font-family: var(--sans); font-size: 11px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; padding: 15px 24px; border: 2px solid var(--black); cursor: pointer; transition: background .25s; border-radius: 0; height: 50px; width: 100%; }
.product-form-wrap .single_add_to_cart_button:hover, .product-form-wrap button.button:hover { background: var(--g600); border-color: var(--g600); }
.product-form-wrap .reset_variations { font-size: 11px; color: var(--g400); letter-spacing: .1em; display: inline-block; margin-top: 4px; }
.product-trust { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; padding: 16px 0; border-top: 1px solid var(--g100); border-bottom: 1px solid var(--g100); }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 300; color: var(--g600); letter-spacing: .04em; }
.product-meta-wrap { font-size: 11px; letter-spacing: .12em; color: var(--g400); margin-bottom: 24px; }
.product-accordion { border-top: 1px solid var(--g100); }
.accordion-item { border-bottom: 1px solid var(--g100); }
.accordion-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-family: var(--sans); font-size: 11px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; background: none; border: none; cursor: pointer; color: var(--black); }
.acc-icon { font-size: 20px; font-weight: 300; line-height: 1; flex-shrink: 0; }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.accordion-body__inner { padding: 0 0 20px; font-size: 13px; font-weight: 300; color: var(--g600); line-height: 1.7; }
.accordion-body__inner p { margin-bottom: 8px; }
.size-table { width: 100%; border-collapse: collapse; font-size: 12px; margin-top: 8px; }
.size-table th, .size-table td { padding: 10px 14px; border-bottom: 1px solid var(--g100); text-align: left; }
.size-table th { font-size: 10px; font-weight: 400; letter-spacing: .15em; text-transform: uppercase; color: var(--g400); }
.size-table tr:hover td { background: var(--g100); }
.related-products { padding: 80px 48px; border-top: 1px solid var(--g100); }

/* ── GENERAL PAGE ──────────────────────────────────── */
.page-main { padding: 120px 0 80px; }
.page-article { }
.page-hero-img { width: 100%; max-height: 500px; overflow: hidden; margin-bottom: 48px; }
.page-header { margin-bottom: 40px; }
.page-content { max-width: 720px; font-size: 15px; font-weight: 300; color: var(--g600); line-height: 1.8; }
.page-content p { margin-bottom: 1.4em; }
.page-content h2, .page-content h3 { font-family: var(--serif); font-weight: 300; color: var(--black); margin: 2em 0 .8em; }

/* ── SCROLL ANIMATIONS ─────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── KEYFRAMES ─────────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes scanLine { 0% { left: -100%; } 100% { left: 100%; } }

/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 1200px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
  .collections-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .product-page__inner { grid-template-columns: 1fr; gap: 40px; }
  .product-gallery__main { position: static; }
  .featured-strip { grid-template-columns: 1fr; gap: 48px; }
  .about-split { grid-template-columns: 1fr; }
  .about-visual { display: none; }
}
@media (max-width: 768px) {
  .site-header { padding: 18px 24px; }
  .site-header.scrolled { padding: 14px 24px; }
  .nav-main { display: none; }
  .hamburger { display: flex; }
  .mobile-nav, .mobile-nav-overlay { display: flex; }
  .mobile-nav-overlay { display: block; pointer-events: none; }
  .mobile-nav-overlay.open { pointer-events: all; }
  .hero { grid-template-columns: 1fr; }
  .hero__image { display: none; }
  .hero__content { padding: 120px 24px 80px; background: linear-gradient(to bottom, rgba(0,0,0,.6), rgba(0,0,0,.9)); }
  .hero--fullbleed .hero__content { padding: 120px 24px 80px; }
  .collections, .products { padding: 80px 24px; }
  .collections-grid { grid-template-columns: 1fr 1fr; }
  .featured-strip { padding: 80px 24px; }
  .strip-visual { height: 300px; }
  .about-content { padding: 80px 24px; }
  .newsletter { padding: 80px 24px; }
  .newsletter-form { flex-direction: column; }
  .newsletter-input { border-right: 1px solid rgba(255,255,255,.14); border-bottom: none; }
  .newsletter-btn { width: 100%; text-align: center; }
  .site-footer { padding: 48px 24px 32px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .cart-sidebar { width: 100%; }
  .container { padding: 0 24px; }
  .shop-hero { padding: 140px 24px 56px; }
  .product-page__breadcrumb { padding: 110px 24px 0; }
  .product-page__inner { padding: 32px 24px 60px; }
  .products-header { grid-template-columns: 1fr; gap: 16px; }
  .filter-tabs { overflow-x: auto; padding-bottom: 4px; flex-wrap: nowrap; }
  .filter-tab { flex-shrink: 0; }
  .related-products { padding: 60px 24px; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .collections-grid { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   GALLERY SLIDER
═══════════════════════════════════════════════════════════ */
.gallery-slider { position: relative; overflow: hidden; background: var(--g100); aspect-ratio: 4/5; }
.gallery-slide { display: none; width: 100%; height: 100%; }
.gallery-slide.is-active { display: block; animation: slideFadeIn .35s ease; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
@keyframes slideFadeIn { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: translateX(0); } }
.gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.9); border: 1px solid var(--g100); width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 16px; z-index: 5; transition: background .2s; color: var(--black); }
.gallery-arrow:hover { background: var(--white); }
.gallery-arrow--prev { left: 12px; }
.gallery-arrow--next { right: 12px; }
.gallery-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; z-index: 5; }
.gallery-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; transition: background .2s, transform .2s; border: none; padding: 0; }
.gallery-dot.is-active { background: var(--white); transform: scale(1.3); }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.gallery-thumb { aspect-ratio: 1; overflow: hidden; border: 1.5px solid transparent; padding: 0; cursor: pointer; background: var(--g100); transition: border-color .2s; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .6; transition: opacity .2s; }
.gallery-thumb.is-active, .gallery-thumb:hover { border-color: var(--black); }
.gallery-thumb.is-active img, .gallery-thumb:hover img { opacity: 1; }

/* ═══════════════════════════════════════════════════════════
   PRODUCT PAGE — TOP ROW (category + wishlist)
═══════════════════════════════════════════════════════════ */
.product-info__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.wishlist-btn { display: flex; align-items: center; gap: 6px; background: none; border: 1px solid var(--g100); padding: 8px 14px; cursor: pointer; font-family: var(--sans); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--g400); transition: all .2s; }
.wishlist-btn:hover { border-color: var(--black); color: var(--black); }
.wishlist-btn.is-saved { border-color: #c0392b; color: #c0392b; }
.wishlist-btn.is-saved svg { fill: #c0392b; stroke: #c0392b; }
.wishlist-btn-sm { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; background: none; border: 1px solid var(--g100); cursor: pointer; flex-shrink: 0; transition: all .2s; color: var(--g400); }
.wishlist-btn-sm:hover { border-color: var(--black); color: var(--black); }
.wishlist-btn-sm.is-saved { border-color: #c0392b; color: #c0392b; }
.wishlist-btn-sm.is-saved svg { fill: #c0392b; }

/* ═══════════════════════════════════════════════════════════
   SIZE SWATCHES
═══════════════════════════════════════════════════════════ */
.size-options { flex-wrap: wrap; }
.swatch--size { height: 44px; min-width: 52px; padding: 0 14px; background: none; border: 1.5px solid var(--g100); font-family: var(--sans); font-size: 13px; font-weight: 400; letter-spacing: .08em; color: var(--black); cursor: pointer; transition: border-color .2s, background .2s, color .2s; display: inline-flex; align-items: center; justify-content: center; }
.swatch--size:hover { border-color: var(--black); }
.swatch--size.is-selected { background: var(--black); color: var(--white); border-color: var(--black); }
.size-guide-trigger { font-size: 10px; letter-spacing: .12em; color: var(--g400); text-decoration: underline; margin-left: auto; cursor: pointer; }
.size-guide-trigger:hover { color: var(--black); }

/* ═══════════════════════════════════════════════════════════
   ADD TO CART ROW
═══════════════════════════════════════════════════════════ */
.product-atc-row { display: flex; gap: 10px; align-items: stretch; margin-bottom: 20px; }
.product-qty { display: flex; align-items: center; border: 1.5px solid var(--g100); flex-shrink: 0; }
.qty-btn { width: 40px; height: 50px; background: none; border: none; font-size: 18px; cursor: pointer; color: var(--black); transition: background .15s; display: flex; align-items: center; justify-content: center; }
.qty-btn:hover { background: var(--g100); }
.qty-input { width: 44px; height: 50px; border: none; border-left: 1px solid var(--g100); border-right: 1px solid var(--g100); text-align: center; font-family: var(--sans); font-size: 14px; font-weight: 300; background: none; outline: none; -moz-appearance: textfield; cursor: default; }
.qty-input::-webkit-inner-spin-button, .qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }
.product-atc-btn { flex: 1; background: var(--black); color: var(--white); font-family: var(--sans); font-size: 12px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; border: 2px solid var(--black); cursor: pointer; transition: background .25s; height: 50px; }
.product-atc-btn:hover { background: var(--g600); border-color: var(--g600); }

/* Hidden WC form */
.product-form-wrap--hidden { position: absolute; left: -9999px; opacity: 0; pointer-events: none; height: 0; overflow: hidden; }

/* ═══════════════════════════════════════════════════════════
   STICKY ATC BAR
═══════════════════════════════════════════════════════════ */
.sticky-atc { position: fixed; bottom: -100%; left: 0; right: 0; background: rgba(255,255,255,.97); backdrop-filter: blur(12px); border-top: 1px solid var(--g100); z-index: 90; transition: bottom .35s cubic-bezier(.25,.46,.45,.94); box-shadow: 0 -4px 24px rgba(0,0,0,.08); }
.sticky-atc.is-visible { bottom: 0; }
.sticky-atc__inner { max-width: 1400px; margin: 0 auto; padding: 12px 48px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.sticky-atc__product { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; }
.sticky-atc__img { width: 48px; height: 64px; object-fit: cover; flex-shrink: 0; }
.sticky-atc__name { font-family: var(--serif); font-size: 16px; font-weight: 300; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-atc__price { font-size: 13px; color: var(--g400); margin-top: 2px; }
.sticky-atc__btn { background: var(--black); color: var(--white); border: none; font-family: var(--sans); font-size: 11px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; padding: 14px 32px; cursor: pointer; transition: background .2s; white-space: nowrap; flex-shrink: 0; }
.sticky-atc__btn:hover { background: var(--g600); }
@media (max-width: 768px) { .sticky-atc__inner { padding: 12px 16px; } .sticky-atc__name { font-size: 13px; } }

/* ═══════════════════════════════════════════════════════════
   CART PAGE — SIDE-BY-SIDE LAYOUT
═══════════════════════════════════════════════════════════ */
.cart-page { padding-bottom: 80px; }
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--g400); padding: 12px 0; border-bottom: 2px solid var(--black); font-weight: 400; text-align: left; }
.cart-table td { padding: 24px 0; border-bottom: 1px solid var(--g100); vertical-align: middle; }
.cart-col-img { width: 90px; padding-right: 16px !important; }
.cart-col-img img { width: 80px; height: 106px; object-fit: cover; display: block; }
.cart-item-name { font-family: var(--serif); font-size: 17px; font-weight: 300; color: var(--black); display: block; margin-bottom: 4px; }
.cart-item-var { font-size: 11px; color: var(--g400); letter-spacing: .05em; }
.cart-col-price, .cart-col-sub { font-size: 14px; }
.cart-col-qty { width: 120px; }
.cart-qty { display: flex; align-items: center; border: 1px solid var(--g100); width: fit-content; }
.cart-qty-input { width: 44px; height: 36px; border: none; border-left: 1px solid var(--g100); border-right: 1px solid var(--g100); text-align: center; font-family: var(--sans); font-size: 13px; background: none; outline: none; -moz-appearance: textfield; }
.cart-qty-input::-webkit-inner-spin-button, .cart-qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }
.cart-remove-btn { color: var(--g400); font-size: 20px; line-height: 1; transition: color .2s; text-decoration: none; display: block; text-align: center; }
.cart-remove-btn:hover { color: #c0392b; }
.cart-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; flex-wrap: wrap; gap: 12px; }
.coupon-row { display: flex; gap: 8px; }
.cart-coupon-input { padding: 12px 16px; border: 1px solid var(--g100); font-family: var(--sans); font-size: 13px; outline: none; transition: border-color .2s; min-width: 180px; }
.cart-coupon-input:focus { border-color: var(--black); }
.cart-update-btn { background: none; border: 1px solid var(--g200); padding: 12px 20px; font-family: var(--sans); font-size: 11px; letter-spacing: .15em; text-transform: uppercase; cursor: pointer; color: var(--g600); transition: all .2s; }
.cart-update-btn:hover { border-color: var(--black); color: var(--black); }
.cart-summary-box { background: var(--off-white); padding: 32px; position: sticky; top: 100px; }
.cart-summary-title { font-family: var(--serif); font-size: 22px; font-weight: 300; margin-bottom: 24px; letter-spacing: -.01em; }
.checkout-btn { width: 100%; justify-content: center; margin-top: 20px; font-size: 12px; padding: 16px; }
.continue-shopping-link { display: block; text-align: center; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--g400); margin-top: 14px; transition: color .2s; }
.continue-shopping-link:hover { color: var(--black); }
.cart-empty-page { text-align: center; padding: 80px 0; color: var(--g400); font-size: 14px; }

/* ═══════════════════════════════════════════════════════════
   CHECKOUT — SIDE-BY-SIDE LAYOUT
═══════════════════════════════════════════════════════════ */
.checkout-page { padding-bottom: 80px; }
.checkout-layout { display: grid; grid-template-columns: 1fr 420px; gap: 48px; align-items: start; }
.checkout-section { margin-bottom: 32px; }
.checkout-section-title { font-family: var(--serif); font-size: 18px; font-weight: 300; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--g100); }
.checkout-summary-box { background: var(--off-white); padding: 32px; position: sticky; top: 100px; }
.checkout-order-items { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--g200); }
.checkout-order-row { display: flex; justify-content: space-between; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--g100); gap: 12px; }
.checkout-order-product { display: flex; gap: 12px; flex: 1; min-width: 0; }
.checkout-order-img { width: 60px; height: 80px; object-fit: cover; flex-shrink: 0; }
.checkout-order-img img { width: 100%; height: 100%; object-fit: cover; }
.checkout-order-name { font-family: var(--serif); font-size: 15px; font-weight: 300; color: var(--black); }
.checkout-order-var { font-size: 10px; letter-spacing: .1em; color: var(--g400); margin-top: 2px; }
.checkout-order-qty { font-size: 11px; color: var(--g400); margin-top: 4px; }
.checkout-order-price { font-size: 14px; color: var(--black); white-space: nowrap; }
.checkout-totals { margin-bottom: 24px; }
.checkout-total-row { display: flex; justify-content: space-between; font-size: 13px; padding: 8px 0; border-bottom: 1px solid var(--g100); }
.checkout-total-discount { color: #4a7c59; }
.checkout-total-final { font-family: var(--serif); font-size: 18px; font-weight: 300; padding: 14px 0; border-bottom: 2px solid var(--black); }
.checkout-submit-btn { width: 100%; background: var(--black); color: var(--white); border: none; font-family: var(--sans); font-size: 12px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; padding: 18px; cursor: pointer; transition: background .25s; margin-top: 20px; }
.checkout-submit-btn:hover { background: var(--g600); }
.woocommerce-checkout-payment { margin-top: 20px; }
.wc_payment_methods { list-style: none; }
.wc_payment_methods li { border: 1px solid var(--g100); padding: 16px; margin-bottom: 8px; cursor: pointer; transition: border-color .2s; }
.wc_payment_methods li:hover { border-color: var(--black); }
.wc_payment_methods label { cursor: pointer; font-size: 13px; display: flex; align-items: center; gap: 10px; }
.payment_box { padding: 12px 0 0; font-size: 12px; color: var(--g600); }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE UPDATES
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary-box { position: static; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary-box { position: static; }
}
@media (max-width: 768px) {
  .cart-table th { display: none; }
  .cart-table td { display: flex; padding: 8px 0; align-items: center; }
  .cart-table td::before { content: attr(data-label); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: var(--g400); min-width: 80px; }
  .cart-col-img { display: block !important; }
  .cart-col-img::before { display: none; }
  .cart-row { display: grid; grid-template-columns: 90px 1fr; grid-template-rows: auto; padding: 16px 0; border-bottom: 1px solid var(--g100); gap: 0; }
  .cart-col-img { grid-row: 1 / 5; }
  .cart-col-remove { justify-content: flex-end; }
  .cart-actions { flex-direction: column; align-items: flex-start; }
  .coupon-row { width: 100%; }
  .coupon-row .cart-coupon-input { flex: 1; min-width: 0; }
  .product-atc-row { flex-wrap: nowrap; }
  .gallery-thumbs { display: none; }
  .sticky-atc__product { display: none; }
}

/* ── FULL WIDTH FIX — all non-homepage content ──────────── */
.product-page__breadcrumb { padding-top: 100px; padding-left: 48px; padding-right: 48px; max-width: 100%; }
.product-page__inner { max-width: 100%; padding: 48px 48px 80px; }
.woo-content-wrap { padding: 0; }
.woo-content-wrap .container { max-width: 100%; padding: 0 48px; padding-top: 0; }
.shop-page .container { max-width: 100%; padding: 0 48px; }
.page-main .container { max-width: 100%; padding: 0 48px; }
.related-products { padding: 80px 48px; border-top: 1px solid var(--g100); }
@media (max-width: 768px) {
  .product-page__breadcrumb { padding-left: 20px; padding-right: 20px; }
  .product-page__inner { padding: 32px 20px 60px; }
  .woo-content-wrap .container { padding: 0 20px; }
  .shop-page .container { padding: 0 20px; }
  .page-main .container { padding: 0 20px; }
  .related-products { padding: 60px 20px; }
}

/* ── NAV LINKS always visible on desktop ────────────────── */
.nav-main { display: flex !important; }
@media (max-width: 768px) { .nav-main { display: none !important; } }

/* ── HIDE ALL WC VARIATION DROPDOWNS & DOUBLE FORMS ─────── */
.product-form-wrap--hidden { 
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  height: 1px !important;
  width: 1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
}
/* Hide the WC default single_variation_wrap price duplication */
.product-form-wrap--hidden .single_variation_wrap { display: none !important; }

/* ── CART: make items row properly horizontal ─────────────── */
.cart-table { table-layout: fixed; }
.cart-col-img { width: 100px; }
.cart-col-name { width: auto; }
.cart-col-price, .cart-col-sub { width: 100px; text-align: right; }
.cart-col-qty { width: 110px; }
.cart-col-remove { width: 40px; text-align: center; }

/* ── CART TOTALS WC default overrides ────────────────────── */
.cart-summary-box .shop_table,
.cart-summary-box table { width: 100%; border-collapse: collapse; }
.cart-summary-box .shop_table th,
.cart-summary-box .shop_table td { padding: 10px 0; font-size: 13px; border-bottom: 1px solid var(--g100); }
.cart-summary-box .shop_table th { font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: var(--g400); font-weight: 400; text-align: left; }
.cart-summary-box .shop_table .order-total th,
.cart-summary-box .shop_table .order-total td { font-family: var(--serif); font-size: 18px; font-weight: 300; border-top: 2px solid var(--black); border-bottom: none; padding-top: 14px; }
.cart-summary-box .wc-proceed-to-checkout { padding: 0; }
.cart-summary-box .checkout-button { 
  display: flex !important; width: 100% !important; justify-content: center !important;
  background: var(--black) !important; color: var(--white) !important;
  border: 2px solid var(--black) !important; border-radius: 0 !important;
  font-family: var(--sans) !important; font-size: 12px !important;
  font-weight: 400 !important; letter-spacing: .2em !important;
  text-transform: uppercase !important; padding: 16px !important;
  text-decoration: none !important; transition: background .25s !important;
  margin-top: 16px !important;
}
.cart-summary-box .checkout-button:hover { background: var(--g600) !important; border-color: var(--g600) !important; }


/* ═══════════════════════════════════════════════════════════
   PRODUCT PAGE — DAILY PAPER STYLE LAYOUT
═══════════════════════════════════════════════════════════ */

/* Full bleed product page with proper gallery/info ratio */
.product-page__breadcrumb { padding: 100px 0 16px 0 !important; max-width: 100% !important; margin: 0 !important; padding-left: 48px !important; padding-right: 48px !important; }

.product-page__inner { 
  display: grid !important;
  grid-template-columns: 60% 40% !important;
  gap: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  align-items: start;
}

/* GALLERY SIDE — large, cinematic */
.product-gallery { 
  padding: 0 !important;
  background: var(--off-white);
  position: relative;
}
.gallery-slider {
  aspect-ratio: 4/5 !important;
  max-height: calc(100vh - 100px);
  background: var(--off-white) !important;
  position: relative;
  overflow: hidden;
}
.gallery-slide img { object-fit: contain !important; object-position: center center !important; padding: 40px !important; background: var(--off-white); }

/* Hide thumbnail grid entirely in Daily Paper style — dots only */
.gallery-thumbs { display: none !important; }

/* Dots repositioned cleaner */
.gallery-dots { 
  position: absolute !important;
  bottom: 24px !important;
  left: 50% !important;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(4px);
  padding: 6px 12px;
  border-radius: 20px;
}
.gallery-dot { width: 6px; height: 6px; background: rgba(0,0,0,.25); border-radius: 50%; border: 0; cursor: pointer; padding: 0; transition: background .2s, transform .2s; }
.gallery-dot.is-active { background: var(--black); transform: scale(1.3); }

/* Arrows — repositioned, pill-shaped */
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(0,0,0,.08);
  font-size: 14px;
  color: var(--black);
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .2s;
  opacity: 0;
}
.product-gallery:hover .gallery-arrow { opacity: 1; }
.gallery-arrow:hover { background: var(--white); transform: translateY(-50%) scale(1.08); }
.gallery-arrow--prev { left: 24px; }
.gallery-arrow--next { right: 24px; }

/* INFO SIDE — anchored with generous padding */
.product-info {
  padding: 0 60px 80px !important;
  position: sticky;
  top: 100px;
  align-self: start;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  scrollbar-width: thin;
}
.product-info::-webkit-scrollbar { width: 4px; }
.product-info::-webkit-scrollbar-thumb { background: var(--g200); }

.product-info__top { margin-bottom: 16px; }
.product-cat-label {
  font-size: 10px !important;
  letter-spacing: .22em !important;
  text-transform: uppercase !important;
  color: var(--g400) !important;
  margin-bottom: 0 !important;
}
.product-title {
  font-family: var(--serif);
  font-size: clamp(26px, 2.6vw, 38px) !important;
  font-weight: 300 !important;
  line-height: 1 !important;
  letter-spacing: -.01em !important;
  margin: 0 0 16px !important;
}
.product-price-row { 
  margin-bottom: 24px !important;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--g100);
}
.product-price-display {
  font-family: var(--serif) !important;
  font-size: 22px !important;
  font-weight: 300 !important;
}
.product-short-desc { 
  font-size: 13px !important;
  color: var(--g600) !important;
  line-height: 1.65 !important;
  margin-bottom: 28px !important;
}

/* Swatch groups — spacing matches Daily Paper */
.swatch-group { margin-bottom: 24px !important; }
.swatch-group__label {
  font-size: 10px !important;
  letter-spacing: .2em !important;
  text-transform: uppercase !important;
  color: var(--g400) !important;
  margin-bottom: 12px !important;
}
.swatch-selected-val { color: var(--black) !important; font-weight: 400 !important; margin-left: 6px !important; }
.size-guide-trigger { margin-left: auto !important; font-size: 10px !important; color: var(--g400) !important; text-decoration: underline !important; }

/* Larger sizing for swatches */
.swatch--lg { width: 38px !important; height: 38px !important; }
.swatch--size {
  min-width: 52px !important;
  height: 44px !important;
  border-radius: 0 !important;
}

/* ATC row — full width btn, qty separate */
.product-atc-row { flex-direction: column !important; gap: 10px !important; }
.product-atc-row .product-qty { align-self: stretch !important; max-width: 140px; }
.product-atc-row .product-atc-btn { flex: 1 !important; width: 100%; padding: 18px !important; font-size: 12px !important; letter-spacing: .22em !important; }
.product-atc-row .wishlist-btn-sm { width: 50px; height: 50px; margin-top: 2px; border-radius: 0; }

/* Trust — icon lined up */
.product-trust {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  padding: 20px 0 !important;
  margin: 24px 0 0 !important;
  border-top: 1px solid var(--g100) !important;
  border-bottom: none !important;
}
.trust-item { font-size: 12px !important; color: var(--g600) !important; gap: 10px !important; }

/* Accordion — cleaner Daily Paper feel */
.product-accordion { margin-top: 24px !important; border-top: 1px solid var(--g100); }
.accordion-item { border-bottom: 1px solid var(--g100) !important; border-top: 0 !important; }
.accordion-btn { padding: 18px 0 !important; font-size: 11px !important; letter-spacing: .22em !important; }

.product-meta-wrap { display: none !important; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — Product page stacks cleanly on tablet/mobile
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .product-page__inner { grid-template-columns: 1fr !important; }
  .product-gallery { padding: 0 !important; }
  .gallery-slider { aspect-ratio: 1/1 !important; max-height: none !important; }
  .product-info { position: static !important; padding: 32px 48px 80px !important; max-height: none !important; }
}
@media (max-width: 768px) {
  .product-page__breadcrumb { padding-left: 20px !important; padding-right: 20px !important; padding-top: 90px !important; }
  .product-info { padding: 32px 20px 80px !important; }
  .gallery-arrow { opacity: 1 !important; }
  .product-atc-row { flex-direction: row !important; flex-wrap: nowrap !important; }
  .product-atc-row .product-qty { max-width: none !important; }
  .product-atc-row .product-atc-btn { flex: 1 !important; }
}

/* ═══════════════════════════════════════════════════════════
   CART & CHECKOUT — proper full width
═══════════════════════════════════════════════════════════ */
.cart-page .container,
.checkout-page .container { 
  max-width: 1400px !important;
  padding-left: 48px !important;
  padding-right: 48px !important;
  margin: 0 auto !important;
}
.cart-page .page-header,
.checkout-page .page-header { margin-bottom: 40px; padding-top: 120px; }
@media (max-width: 768px) {
  .cart-page .container, .checkout-page .container { padding-left: 20px !important; padding-right: 20px !important; }
  .cart-page .page-header, .checkout-page .page-header { padding-top: 100px; }
}

/* ═══════════════════════════════════════════════════════════
   NAVBAR VISIBILITY FIX — menu was sometimes invisible
═══════════════════════════════════════════════════════════ */
.site-header { z-index: 100 !important; }
.site-header.scrolled,
body:not(.home) .site-header { 
  background: rgba(255,255,255,.98) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--g100);
}

/* On non-home pages, links must be visible even before scroll */
body:not(.home) .nav-links li a,
body:not(.home) .nav-links > li > a,
body:not(.home) .cart-btn {
  color: var(--g600) !important;
}
body:not(.home) .nav-links li a:hover { color: var(--black) !important; }
body:not(.home) .hamburger span { background: var(--black) !important; }

/* Scrolled state — always visible nav */
.site-header.scrolled .nav-links li a,
.site-header.scrolled .nav-links > li > a,
.site-header.scrolled .cart-btn { color: var(--g600) !important; }
.site-header.scrolled .nav-links li a:hover { color: var(--black) !important; }


/* ═══════════════════════════════════════════════════════════
   GALLERY LAYOUT VARIANTS
═══════════════════════════════════════════════════════════ */

/* Default: dots-only (Daily Paper style) */
.product-gallery--dots .gallery-thumbs { display: none !important; }
.product-gallery--dots .gallery-dots { display: flex !important; }

/* Thumbs beside image (left vertical strip) */
.product-gallery--thumbs .gallery-dots { display: none !important; }
.product-gallery--thumbs {
  display: grid !important;
  grid-template-columns: 80px 1fr !important;
  gap: 16px !important;
  padding: 24px !important;
}
.product-gallery--thumbs .gallery-thumbs {
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: none !important;
  gap: 8px !important;
  margin-top: 0 !important;
  max-height: calc(100vh - 180px);
  overflow-y: auto;
}
.product-gallery--thumbs .gallery-thumb {
  aspect-ratio: 4/5;
  width: 80px;
  height: auto;
}
.product-gallery--thumbs .gallery-slider { aspect-ratio: 4/5 !important; }

/* Thumbs below image (bottom strip) */
.product-gallery--bottom .gallery-dots { display: none !important; }
.product-gallery--bottom .gallery-thumbs {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 8px !important;
  padding: 16px 40px !important;
  overflow-x: auto;
  justify-content: flex-start;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.product-gallery--bottom .gallery-thumbs::-webkit-scrollbar { display: none; }
.product-gallery--bottom .gallery-thumb {
  flex-shrink: 0;
  width: 70px;
  height: 88px;
  aspect-ratio: auto;
}

@media (max-width: 1024px) {
  .product-gallery--thumbs { grid-template-columns: 1fr !important; padding: 0 !important; }
  .product-gallery--thumbs .gallery-thumbs { flex-direction: row !important; max-height: none; padding: 16px 24px; }
}


/* ═══════════════════════════════════════════════════════════
   CART PAGE — clean rewrite
═══════════════════════════════════════════════════════════ */
.cart-page { padding: 120px 0 100px; }
.cart-page__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
}
.cart-page__header { margin-bottom: 40px; }
.cart-page__header .section-label { font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: var(--g400); margin-bottom: 12px; }
.cart-page__header .section-heading { font-family: var(--serif); font-size: clamp(36px, 5vw, 56px); font-weight: 300; line-height: 1; letter-spacing: -.01em; }
.cart-page__header .section-heading em { font-style: italic; }

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: start;
}
.cart-layout__items { min-width: 0; }
.cart-empty-page { text-align: center; padding: 80px 0; color: var(--g400); font-size: 14px; }

/* Cart header row */
.hcart-head {
  display: grid;
  grid-template-columns: 1fr 80px 100px 80px 30px;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 2px solid var(--black);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--g400);
}
.hcart-head__price, .hcart-head__sub { text-align: right; }
.hcart-head__qty { text-align: center; }

/* Cart row */
.hcart-row {
  display: grid;
  grid-template-columns: 1fr 80px 100px 80px 30px;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--g100);
  align-items: center;
}
.hcart-row__product {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  min-width: 0;
}
.hcart-row__img {
  flex-shrink: 0;
  width: 80px;
  height: 106px;
  display: block;
  background: var(--g100);
  overflow: hidden;
}
.hcart-row__img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
  max-width: none !important;
}
.hcart-row__info { flex: 1; min-width: 0; }
.hcart-row__name {
  display: block;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 300;
  color: var(--black);
  text-decoration: none;
  line-height: 1.2;
  margin-bottom: 6px;
  /* allow natural word wrap */
  word-break: normal;
  overflow-wrap: break-word;
}
.hcart-row__name:hover { color: var(--g600); }
.hcart-row__var {
  font-size: 11px;
  letter-spacing: .05em;
  color: var(--g400);
  line-height: 1.4;
}
.hcart-row__price, .hcart-row__sub { font-size: 14px; text-align: right; }
.hcart-row__qty { text-align: center; }
.hcart-qty { display: inline-flex; border: 1px solid var(--g100); }
.hcart-qty__input {
  width: 60px;
  height: 36px;
  border: 0;
  text-align: center;
  font-family: var(--sans);
  font-size: 13px;
  background: none;
  outline: none;
  -moz-appearance: textfield;
}
.hcart-qty__input::-webkit-inner-spin-button,
.hcart-qty__input::-webkit-outer-spin-button { -webkit-appearance: none; }
.hcart-row__remove { text-align: center; }
.hcart-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: var(--g400);
  font-size: 20px;
  line-height: 1;
  text-decoration: none;
  transition: color .2s;
}
.hcart-remove:hover { color: #c0392b; }

/* Cart actions (coupon + update) */
.hcart-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.hcart-coupon { display: flex; gap: 8px; flex: 1; max-width: 360px; }
.hcart-coupon__input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--g100);
  font-family: var(--sans);
  font-size: 13px;
  outline: none;
  transition: border-color .2s;
  min-width: 0;
}
.hcart-coupon__input:focus { border-color: var(--black); }
.hcart-coupon__btn {
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--black);
  padding: 12px 22px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s;
}
.hcart-coupon__btn:hover { background: var(--g600); border-color: var(--g600); }
.hcart-update {
  background: none;
  border: 1px solid var(--g200);
  padding: 12px 22px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--g600);
  cursor: pointer;
  transition: all .2s;
}
.hcart-update:hover { border-color: var(--black); color: var(--black); }

/* Summary sidebar */
.hcart-summary {
  background: var(--off-white);
  padding: 32px;
  position: sticky;
  top: 100px;
}
.hcart-summary__title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: -.01em;
  margin-bottom: 24px;
}
.hcart-summary__row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 10px 0;
  border-bottom: 1px solid var(--g100);
}
.hcart-summary__row--discount { color: #4a7c59; }
.hcart-summary__row--total {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 300;
  padding: 16px 0;
  border-bottom: none;
  border-top: 2px solid var(--black);
  margin-top: 4px;
}
.hcart-checkout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--black);
  color: var(--white);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: 16px;
  border: 2px solid var(--black);
  transition: background .25s;
  margin-top: 20px;
}
.hcart-checkout-btn:hover { background: var(--g600); border-color: var(--g600); color: var(--white); }
.hcart-continue {
  display: block;
  text-align: center;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--g400);
  margin-top: 16px;
  text-decoration: none;
  transition: color .2s;
}
.hcart-continue:hover { color: var(--black); }

/* ═══════════════════════════════════════════════════════════
   CHECKOUT PAGE — clean rewrite
═══════════════════════════════════════════════════════════ */
.checkout-page { padding: 120px 0 100px; }
.checkout-page__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
}
.checkout-page__header { margin-bottom: 40px; }
.checkout-page__header .section-label { font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: var(--g400); margin-bottom: 12px; }
.checkout-page__header .section-heading { font-family: var(--serif); font-size: clamp(36px, 5vw, 56px); font-weight: 300; line-height: 1; letter-spacing: -.01em; }
.checkout-page__header .section-heading em { font-style: italic; }

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: start;
}
.checkout-layout__fields { min-width: 0; }

.hcheckout-section { margin-bottom: 32px; }
.hcheckout-section__title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 300;
  letter-spacing: -.01em;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--g100);
}

/* Form fields */
.checkout-layout .form-row { margin-bottom: 16px; display: block; }
.checkout-layout .form-row label {
  display: block;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--g400);
  margin-bottom: 8px;
  font-weight: 400;
}
.checkout-layout .form-row input[type="text"],
.checkout-layout .form-row input[type="email"],
.checkout-layout .form-row input[type="tel"],
.checkout-layout .form-row input[type="password"],
.checkout-layout .form-row select,
.checkout-layout .form-row textarea,
.checkout-layout .form-row .select2-selection {
  width: 100% !important;
  padding: 13px 16px !important;
  border: 1px solid var(--g100) !important;
  font-family: var(--sans) !important;
  font-size: 13px !important;
  font-weight: 300 !important;
  background: var(--white) !important;
  outline: none !important;
  transition: border-color .2s !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--black);
  height: auto !important;
}
.checkout-layout .select2-selection--single {
  height: 46px !important;
  line-height: 46px !important;
}
.checkout-layout .select2-selection__arrow { height: 46px !important; }
.checkout-layout .form-row input:focus,
.checkout-layout .form-row select:focus,
.checkout-layout .form-row textarea:focus { border-color: var(--black) !important; }

/* Two-column first/last name */
.checkout-layout #billing_first_name_field,
.checkout-layout #billing_last_name_field,
.checkout-layout #shipping_first_name_field,
.checkout-layout #shipping_last_name_field {
  display: inline-block;
  width: calc(50% - 6px);
  vertical-align: top;
}
.checkout-layout #billing_first_name_field,
.checkout-layout #shipping_first_name_field { margin-right: 8px; }

/* Summary sidebar */
.hcheckout-summary {
  background: var(--off-white);
  padding: 32px;
  position: sticky;
  top: 100px;
}
.hcheckout-summary__title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: -.01em;
  margin-bottom: 24px;
}
.hcheckout-summary__items {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--g200);
}
.hcheckout-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  padding: 10px 0;
  align-items: center;
}
.hcheckout-item__img {
  position: relative;
  width: 64px;
  height: 80px;
  background: var(--g100);
  overflow: hidden;
}
.hcheckout-item__img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  max-width: none !important;
  display: block;
}
.hcheckout-item__qty {
  position: absolute;
  top: -6px; right: -6px;
  background: var(--black);
  color: var(--white);
  font-size: 10px;
  width: 20px; height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.hcheckout-item__info { min-width: 0; }
.hcheckout-item__name {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 300;
  color: var(--black);
  line-height: 1.3;
  margin-bottom: 2px;
}
.hcheckout-item__var {
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--g400);
  line-height: 1.4;
}
.hcheckout-item__price { font-size: 13px; white-space: nowrap; }

.hcheckout-totals { margin-bottom: 24px; }
.hcheckout-totals__row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 10px 0;
  border-bottom: 1px solid var(--g100);
}
.hcheckout-totals__row--discount { color: #4a7c59; }
.hcheckout-totals__row--total {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 300;
  padding: 16px 0;
  border-bottom: none;
  border-top: 2px solid var(--black);
  margin-top: 4px;
}

/* Payment methods */
.hcheckout-payment { margin-top: 24px; }
.hcheckout-payment .payment_methods {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 20px !important;
  background: none !important;
}
.hcheckout-payment .payment_methods li {
  border: 1px solid var(--g100);
  padding: 14px 16px;
  margin-bottom: 8px;
  background: var(--white);
  list-style: none;
}
.hcheckout-payment .payment_methods li:hover { border-color: var(--g400); }
.hcheckout-payment .payment_methods label {
  cursor: pointer;
  font-size: 13px;
  display: inline-block;
  font-weight: 400;
  color: var(--black);
  letter-spacing: 0;
  text-transform: none;
  margin: 0;
  padding-left: 6px;
}
.hcheckout-payment .payment_box {
  padding: 12px 0 0;
  font-size: 12px;
  color: var(--g600);
  background: none !important;
  border: 0 !important;
}
.hcheckout-payment .payment_box::before { display: none !important; }
.hcheckout-submit {
  width: 100%;
  background: var(--black);
  color: var(--white);
  border: 2px solid var(--black);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: 18px;
  cursor: pointer;
  transition: background .25s;
  margin-top: 8px;
  border-radius: 0;
}
.hcheckout-submit:hover { background: var(--g600); border-color: var(--g600); }

.woocommerce-terms-and-conditions-wrapper { margin-bottom: 16px; font-size: 12px; color: var(--g600); }

/* ═══════════════════════════════════════════════════════════
   DROPDOWN HOVER GAP FIX
   When user moves cursor from top-level link to submenu,
   there's a gap that closes the menu. Add invisible bridge.
═══════════════════════════════════════════════════════════ */
.has-dropdown .nav-links li.menu-item-has-children {
  padding-bottom: 0;
}
.has-dropdown .nav-links li.menu-item-has-children::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -20px;
  right: -20px;
  height: 20px;
  background: transparent;
  pointer-events: none;
}
.has-dropdown .nav-links li.menu-item-has-children:hover::after {
  pointer-events: auto;
}
.has-dropdown .nav-links .sub-menu {
  top: calc(100% + 0px) !important;
  padding-top: 12px !important;
  padding-bottom: 8px !important;
  margin-top: 0 !important;
}
.has-dropdown .nav-links .sub-menu::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
  pointer-events: auto;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — cart & checkout
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .cart-layout, .checkout-layout {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .hcart-summary, .hcheckout-summary {
    position: static !important;
  }
}
@media (max-width: 768px) {
  .cart-page, .checkout-page { padding: 100px 0 60px; }
  .cart-page__inner, .checkout-page__inner { padding: 0 20px; }
  .hcart-head { display: none; }
  .hcart-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px 0;
  }
  .hcart-row__price::before,
  .hcart-row__qty::before,
  .hcart-row__sub::before {
    content: attr(data-label);
    font-size: 10px;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--g400);
    margin-right: 10px;
  }
  .hcart-row__price, .hcart-row__sub, .hcart-row__qty { text-align: left; }
  .hcart-row__remove { text-align: left; }
  .hcart-actions { flex-direction: column; align-items: stretch; }
  .hcart-coupon { max-width: none; }
  .hcheckout-summary, .hcart-summary { padding: 24px; }
  .checkout-layout #billing_first_name_field,
  .checkout-layout #billing_last_name_field,
  .checkout-layout #shipping_first_name_field,
  .checkout-layout #shipping_last_name_field { width: 100%; margin-right: 0; }
}

/* ═══════════════════════════════════════════════════════════
   ACCOUNT SIDEBAR (slide-out login/register)
═══════════════════════════════════════════════════════════ */
.account-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.account-overlay.open { opacity: 1; pointer-events: all; }

.account-sidebar {
  position: fixed;
  top: 0; right: 0;
  width: 420px;
  max-width: 100%;
  height: 100vh;
  background: var(--white);
  z-index: 201;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.25,.46,.45,.94);
  display: flex;
  flex-direction: column;
}
.account-sidebar.open { transform: translateX(0); }

.account-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 32px 24px;
  border-bottom: 1px solid var(--g100);
  flex-shrink: 0;
}
.account-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: -.01em;
}
.account-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 20px;
  color: var(--g400);
  transition: color .2s;
  line-height: 1;
  padding: 4px;
}
.account-close:hover { color: var(--black); }

.account-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 32px 32px;
  display: flex;
  flex-direction: column;
}

/* Login/Register tabs */
.account-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--g100);
  margin-bottom: 24px;
}
.account-tab {
  background: none;
  border: none;
  padding: 14px 0;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--g400);
  cursor: pointer;
  position: relative;
  transition: color .2s;
}
.account-tab:hover { color: var(--black); }
.account-tab.is-active { color: var(--black); }
.account-tab.is-active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 2px;
  background: var(--black);
}

/* Form wrapper visibility */
.account-form-wrap { display: none; animation: accountFadeIn .3s ease; }
.account-form-wrap.is-visible { display: block; }
@keyframes accountFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* Form fields */
.account-form { display: flex; flex-direction: column; gap: 16px; }
.account-field { display: flex; flex-direction: column; }
.account-field label {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--g400);
  margin-bottom: 8px;
  font-weight: 400;
}
.account-field input {
  padding: 13px 16px;
  border: 1px solid var(--g100);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  background: var(--white);
  outline: none;
  transition: border-color .2s;
  border-radius: 0;
  color: var(--black);
}
.account-field input:focus { border-color: var(--black); }

.account-field-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}
.account-check {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--g600);
  cursor: pointer;
}
.account-check input { accent-color: var(--black); width: 14px; height: 14px; }
.account-forgot {
  color: var(--g400);
  text-decoration: underline;
  font-size: 11px;
  transition: color .2s;
}
.account-forgot:hover { color: var(--black); }

.account-submit {
  width: 100%;
  background: var(--black);
  color: var(--white);
  border: 2px solid var(--black);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: 16px;
  cursor: pointer;
  transition: background .25s;
  border-radius: 0;
  margin-top: 8px;
}
.account-submit:hover { background: var(--g600); border-color: var(--g600); }

.account-switch-hint {
  text-align: center;
  font-size: 12px;
  color: var(--g400);
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--g100);
}
.account-switch-hint a {
  color: var(--black);
  text-decoration: underline;
  font-weight: 400;
}

.account-terms {
  font-size: 11px;
  color: var(--g400);
  line-height: 1.5;
  margin-top: 4px;
}
.account-terms a {
  color: var(--g600);
  text-decoration: underline;
}

/* Logged-in state */
.account-welcome {
  padding: 20px 0 24px;
  border-bottom: 1px solid var(--g100);
  margin-bottom: 24px;
}
.account-welcome__label {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--g400);
  margin-bottom: 8px;
}
.account-welcome__name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 300;
  color: var(--black);
  margin-bottom: 2px;
}
.account-welcome__email {
  font-size: 12px;
  color: var(--g400);
}
.account-nav {
  display: flex;
  flex-direction: column;
}
.account-nav__link {
  padding: 14px 0;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--g600);
  text-decoration: none;
  border-bottom: 1px solid var(--g100);
  transition: color .2s, padding-left .25s;
}
.account-nav__link:hover { color: var(--black); padding-left: 6px; }
.account-logout {
  margin-top: auto;
  padding: 14px 0;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--g400);
  text-decoration: none;
  text-align: center;
  border-top: 1px solid var(--g100);
  transition: color .2s;
}
.account-logout:hover { color: #c0392b; }

/* Nav account button */
.account-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  transition: color .2s;
  white-space: nowrap;
}
.site-header.scrolled .account-btn,
body:not(.home) .account-btn { color: var(--g600); }
.account-btn:hover { color: var(--white); }
.site-header.scrolled .account-btn:hover,
body:not(.home) .account-btn:hover { color: var(--black); }

@media (max-width: 768px) {
  .account-sidebar { width: 100%; }
}

/* ═══════════════════════════════════════════════════════════
   PAGE LAYOUTS (About, Contact etc.)
═══════════════════════════════════════════════════════════ */
.page-main { padding: 140px 0 80px; }
.page-container { max-width: 1400px; margin: 0 auto; padding: 0 48px; }

/* Centered (default) — title + content centered, readable width */
.page-layout--centered .page-container {
  max-width: 900px;
}
.page-layout--centered .page-header {
  text-align: center;
  margin-bottom: 48px;
}
.page-layout--centered .page-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
  font-size: 16px;
  line-height: 1.8;
  color: var(--g600);
}
.page-layout--centered .page-content p { margin-bottom: 1.5em; }
.page-layout--centered .page-content h2,
.page-layout--centered .page-content h3 {
  text-align: center;
  font-family: var(--serif);
  font-weight: 300;
  color: var(--black);
  margin: 2em 0 .8em;
}
.page-layout--centered .page-hero-img {
  max-height: 500px;
  overflow: hidden;
  margin: 0 -48px 48px;
}
.page-layout--centered .page-hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* Narrow centered — blog post style */
.page-layout--narrow-center .page-container { max-width: 720px; }
.page-layout--narrow-center .page-header {
  text-align: center;
  margin-bottom: 48px;
}
.page-layout--narrow-center .page-content {
  font-size: 17px;
  line-height: 1.8;
  color: var(--g600);
}
.page-layout--narrow-center .page-content p { margin-bottom: 1.5em; }
.page-layout--narrow-center .page-content h2,
.page-layout--narrow-center .page-content h3 {
  font-family: var(--serif);
  font-weight: 300;
  color: var(--black);
  margin: 2em 0 .8em;
}

/* Left aligned (full width) */
.page-layout--left .page-container { max-width: 1400px; }
.page-layout--left .page-header {
  text-align: left;
  margin-bottom: 40px;
}
.page-layout--left .page-content {
  max-width: 820px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--g600);
}
.page-layout--left .page-content p { margin-bottom: 1.4em; }
.page-layout--left .page-content h2,
.page-layout--left .page-content h3 {
  font-family: var(--serif);
  font-weight: 300;
  color: var(--black);
  margin: 2em 0 .8em;
}
.page-layout--left .page-hero-img {
  max-height: 500px;
  overflow: hidden;
  margin-bottom: 48px;
}
.page-layout--left .page-hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* Hide title mode */
.page--no-title .page-header { display: none; }

/* Common header styling */
.page-header .section-label {
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--g400);
  margin-bottom: 16px;
}
.page-header .section-label::before { content: '— '; }
.page-header .section-heading {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--black);
}

@media (max-width: 768px) {
  .page-main { padding: 100px 0 60px; }
  .page-container { padding: 0 20px; }
  .page-layout--centered .page-hero-img { margin: 0 -20px 32px; }
  .page-layout--centered .page-header,
  .page-layout--narrow-center .page-header { margin-bottom: 32px; }
}

/* ═══════════════════════════════════════════════════════════
   CART PAGE — FINAL CLEAN LAYOUT FIX
═══════════════════════════════════════════════════════════ */

/* Force the WooCommerce content wrap to not constrain width */
.hwing-cart-page { padding: 120px 0 80px; }
.hwing-cart-page .cart-page__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
}

/* Ensure cart-layout is a true 2-column grid on desktop */
.hwing-cart-page .cart-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 400px !important;
  gap: 48px !important;
  align-items: start !important;
  margin-top: 40px;
}
.hwing-cart-page .cart-layout__items { min-width: 0 !important; }
.hwing-cart-page .cart-layout__summary { min-width: 0 !important; }

/* Force cart row columns to size correctly */
.hwing-cart-page .hcart-head,
.hwing-cart-page .hcart-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 90px 120px 90px 30px !important;
  gap: 16px !important;
  align-items: center !important;
}

/* Product block — image + text side by side */
.hwing-cart-page .hcart-row__product {
  display: flex !important;
  gap: 16px !important;
  align-items: flex-start !important;
  min-width: 0 !important;
  flex-wrap: nowrap !important;
}
.hwing-cart-page .hcart-row__img {
  flex-shrink: 0 !important;
  width: 80px !important;
  height: 106px !important;
  display: block !important;
  overflow: hidden !important;
  background: var(--g100) !important;
}
.hwing-cart-page .hcart-row__img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  max-width: none !important;
}
.hwing-cart-page .hcart-row__info {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Product name — prevent letter-by-letter wrapping */
.hwing-cart-page .hcart-row__name,
.hwing-cart-page a.hcart-row__name {
  display: block !important;
  font-family: var(--serif) !important;
  font-size: 16px !important;
  font-weight: 300 !important;
  line-height: 1.25 !important;
  color: var(--black) !important;
  text-decoration: none !important;
  margin-bottom: 6px !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
}

/* Cart variation details */
.hwing-cart-page .hcart-row__var,
.hwing-cart-page .variation,
.hwing-cart-page .variation p,
.hwing-cart-page dl.variation {
  font-size: 11px !important;
  letter-spacing: .04em !important;
  color: var(--g400) !important;
  line-height: 1.5 !important;
  margin: 2px 0 !important;
}
.hwing-cart-page .variation dt,
.hwing-cart-page .variation dd { display: inline !important; margin: 0 !important; }
.hwing-cart-page .variation dt::after { content: ': '; }
.hwing-cart-page .variation dd { margin-right: 8px !important; }

/* Price/subtotal columns */
.hwing-cart-page .hcart-row__price,
.hwing-cart-page .hcart-row__sub {
  font-size: 14px !important;
  text-align: right !important;
  white-space: nowrap !important;
}
.hwing-cart-page .hcart-row__qty { text-align: center !important; }

/* Quantity input — WC default override */
.hwing-cart-page .hcart-row__qty .quantity,
.hwing-cart-page .hcart-row__qty .hcart-qty {
  display: inline-flex !important;
  border: 1px solid var(--g100) !important;
  background: var(--white) !important;
}
.hwing-cart-page .hcart-row__qty input.qty,
.hwing-cart-page .hcart-row__qty .hcart-qty__input {
  width: 60px !important;
  height: 40px !important;
  border: 0 !important;
  text-align: center !important;
  font-family: var(--sans) !important;
  font-size: 13px !important;
  background: none !important;
  outline: none !important;
  padding: 0 !important;
  -moz-appearance: textfield !important;
}

/* Remove button */
.hwing-cart-page .hcart-row__remove { text-align: center !important; }
.hwing-cart-page .hcart-remove,
.hwing-cart-page a.hcart-remove,
.hwing-cart-page a.remove {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 28px !important;
  color: var(--g400) !important;
  font-size: 18px !important;
  font-weight: 300 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  background: none !important;
  border-radius: 0 !important;
  transition: color .2s !important;
}
.hwing-cart-page .hcart-remove:hover,
.hwing-cart-page a.remove:hover { color: #c0392b !important; background: none !important; }

/* ═══════════════════════════════════════════════════════════
   SUMMARY SIDEBAR — WooCommerce default override
═══════════════════════════════════════════════════════════ */
.hwing-cart-page .cart-layout__summary .cart_totals,
.hwing-cart-page .cart-collaterals .cart_totals {
  width: 100% !important;
  float: none !important;
}

.hwing-cart-page .hcart-summary {
  background: var(--off-white) !important;
  padding: 32px !important;
  position: sticky !important;
  top: 100px !important;
  width: 100% !important;
}

/* Cart totals table inside summary */
.hwing-cart-page .hcart-summary h2,
.hwing-cart-page .cart_totals h2 {
  font-family: var(--serif) !important;
  font-size: 22px !important;
  font-weight: 300 !important;
  letter-spacing: -.01em !important;
  margin-bottom: 24px !important;
  color: var(--black) !important;
}

.hwing-cart-page .cart_totals table,
.hwing-cart-page .shop_table {
  width: 100% !important;
  border-collapse: collapse !important;
  border: 0 !important;
  background: none !important;
}
.hwing-cart-page .cart_totals table th,
.hwing-cart-page .cart_totals table td {
  padding: 12px 0 !important;
  font-size: 13px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--g100) !important;
  background: none !important;
}
.hwing-cart-page .cart_totals table th {
  font-size: 10px !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
  color: var(--g400) !important;
  font-weight: 400 !important;
  text-align: left !important;
  width: 40% !important;
}
.hwing-cart-page .cart_totals .order-total th,
.hwing-cart-page .cart_totals .order-total td {
  font-family: var(--serif) !important;
  font-size: 16px !important;
  font-weight: 300 !important;
  border-top: 2px solid var(--black) !important;
  border-bottom: none !important;
  padding-top: 16px !important;
  color: var(--black) !important;
}
.hwing-cart-page .cart_totals .order-total th {
  font-size: 13px !important;
  letter-spacing: .15em !important;
  text-transform: uppercase !important;
  color: var(--black) !important;
}

/* Shipping row styling */
.hwing-cart-page .woocommerce-shipping-totals,
.hwing-cart-page .woocommerce-shipping-methods { font-size: 12px !important; }
.hwing-cart-page .shipping-calculator-button {
  color: var(--black) !important;
  text-decoration: underline !important;
}
.hwing-cart-page .woocommerce-shipping-destination {
  color: var(--g400) !important;
  font-size: 11px !important;
  line-height: 1.5 !important;
}
.hwing-cart-page address { font-style: normal !important; }

/* ═══════════════════════════════════════════════════════════
   CHECKOUT BUTTON — force black on white (kill purple default)
═══════════════════════════════════════════════════════════ */
.hwing-cart-page .wc-proceed-to-checkout {
  padding: 20px 0 0 !important;
  margin: 0 !important;
}
.hwing-cart-page .wc-proceed-to-checkout a.checkout-button,
.hwing-cart-page .wc-proceed-to-checkout .button,
.hwing-cart-page a.checkout-button,
.hwing-cart-page .checkout-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  padding: 18px !important;
  background: var(--black) !important;
  background-color: var(--black) !important;
  background-image: none !important;
  color: var(--white) !important;
  border: 2px solid var(--black) !important;
  border-radius: 0 !important;
  font-family: var(--sans) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  letter-spacing: .22em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  text-shadow: none !important;
  box-shadow: none !important;
  transition: background .25s, border-color .25s !important;
  cursor: pointer !important;
  line-height: 1.2 !important;
  height: auto !important;
  min-height: 0 !important;
}
.hwing-cart-page .wc-proceed-to-checkout a.checkout-button:hover,
.hwing-cart-page a.checkout-button:hover {
  background: var(--g600) !important;
  border-color: var(--g600) !important;
  color: var(--white) !important;
}

/* ═══════════════════════════════════════════════════════════
   CROSS-SELLS — hide them or move them below the fold
   "You may be interested in" was colliding into summary column
═══════════════════════════════════════════════════════════ */
.hwing-cart-page .cross-sells {
  grid-column: 1 / -1;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--g100);
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
}
.hwing-cart-page .cross-sells h2 {
  font-family: var(--serif) !important;
  font-size: 28px !important;
  font-weight: 300 !important;
  text-align: left !important;
  margin-bottom: 24px !important;
  color: var(--black) !important;
}
.hwing-cart-page .cross-sells ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 32px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.hwing-cart-page .cross-sells ul.products li {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
}

/* Apple Pay / GPay buttons that appear under checkout — full width */
.hwing-cart-page .wc-proceed-to-checkout > * { margin-bottom: 8px !important; }

/* ═══════════════════════════════════════════════════════════
   MOBILE — cart items stack cleanly
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hwing-cart-page .cart-layout {
    grid-template-columns: 1fr !important;
  }
  .hwing-cart-page .hcart-summary {
    position: static !important;
  }
  .hwing-cart-page .cross-sells ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 768px) {
  .hwing-cart-page .cart-page__inner { padding: 0 20px !important; }
  .hwing-cart-page .hcart-head { display: none !important; }
  .hwing-cart-page .hcart-row {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    padding: 20px 0 !important;
    border-bottom: 1px solid var(--g100) !important;
  }
  .hwing-cart-page .hcart-row__price,
  .hwing-cart-page .hcart-row__sub,
  .hwing-cart-page .hcart-row__qty {
    text-align: left !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
  .hwing-cart-page .hcart-row__price::before,
  .hwing-cart-page .hcart-row__sub::before,
  .hwing-cart-page .hcart-row__qty::before {
    content: attr(data-label);
    font-size: 10px;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--g400);
  }
  .hwing-cart-page .hcart-row__remove { text-align: right !important; }
}

/* ═══════════════════════════════════════════════════════════
   CART PAGE — FRESH START with unique class names
   All classes prefixed with .hwing-cart to avoid conflicts
═══════════════════════════════════════════════════════════ */

.hwing-cart-page {
  padding: 120px 0 80px;
  width: 100%;
}
.hwing-cart-page * { box-sizing: border-box; }
.hwing-cart-page__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
  width: 100%;
}
.hwing-cart-page__header {
  margin-bottom: 40px;
  text-align: left;
}
.hwing-cart-page__header .section-label {
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--g400);
  margin-bottom: 12px;
}
.hwing-cart-page__header .section-heading {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--black);
}
.hwing-cart-page__header .section-heading em { font-style: italic; }

.hwing-cart-empty {
  text-align: center;
  padding: 80px 0;
  color: var(--g400);
}

/* 2-column grid */
.hwing-cart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 48px;
  align-items: start;
  width: 100%;
}
.hwing-cart-items { min-width: 0; width: 100%; }
.hwing-cart-summary-wrap { min-width: 0; width: 400px; }

/* Header row — table-like */
.hwing-cart-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 90px 120px 90px 40px;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 2px solid var(--black);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--g400);
  align-items: center;
}
.hwing-cart-head__price, .hwing-cart-head__sub { text-align: right; }
.hwing-cart-head__qty { text-align: center; }

/* Cart item row */
.hwing-cart-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 90px 120px 90px 40px;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--g100);
  align-items: center;
  width: 100%;
}

/* Product cell — image + info flex */
.hwing-cart-row__product {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  min-width: 0;
  width: 100%;
}
.hwing-cart-row__img {
  flex: 0 0 80px;
  width: 80px;
  height: 106px;
  display: block;
  overflow: hidden;
  background: var(--g100);
  text-decoration: none;
}
.hwing-cart-row__img img {
  width: 80px;
  height: 106px;
  object-fit: cover;
  display: block;
  max-width: none;
}
.hwing-cart-row__info {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  display: block;
  writing-mode: horizontal-tb;
}

/* Product name — standard horizontal text */
a.hwing-cart-row__name,
.hwing-cart-row__name {
  display: block;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.3;
  color: var(--black);
  text-decoration: none;
  margin: 0 0 6px 0;
  padding: 0;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  word-break: normal;
  overflow-wrap: break-word;
  white-space: normal;
  word-spacing: normal;
  letter-spacing: normal;
}
a.hwing-cart-row__name:hover { color: var(--g600); }

.hwing-cart-row__meta,
.hwing-cart-row__meta p,
.hwing-cart-row__meta dl {
  font-size: 11px;
  color: var(--g400);
  line-height: 1.5;
  margin: 2px 0;
  letter-spacing: .02em;
}
.hwing-cart-row__meta dl.variation { margin: 0; padding: 0; }
.hwing-cart-row__meta dt, .hwing-cart-row__meta dd { display: inline; margin: 0; }
.hwing-cart-row__meta dt::after { content: ': '; }
.hwing-cart-row__meta dd { margin-right: 8px; }
.hwing-cart-row__meta dd p { display: inline; margin: 0; }

/* Price/subtotal cells */
.hwing-cart-row__price,
.hwing-cart-row__sub {
  font-size: 14px;
  text-align: right;
  white-space: nowrap;
}
.hwing-cart-row__qty { text-align: center; }

/* Quantity WC default override */
.hwing-cart-row__qty .quantity {
  display: inline-flex;
  border: 1px solid var(--g100);
  background: var(--white);
}
.hwing-cart-row__qty input.qty,
.hwing-cart-row__qty input[type="number"] {
  width: 60px;
  height: 40px;
  border: 0;
  text-align: center;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  background: none;
  outline: none;
  padding: 0;
  -moz-appearance: textfield;
  color: var(--black);
}
.hwing-cart-row__qty input[type="number"]::-webkit-inner-spin-button,
.hwing-cart-row__qty input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; }

/* Remove */
.hwing-cart-row__remove { text-align: center; }
a.hwing-cart-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--g400);
  font-size: 18px;
  line-height: 1;
  text-decoration: none;
  background: none !important;
  border-radius: 0;
  transition: color .2s;
}
a.hwing-cart-remove:hover { color: #c0392b; background: none !important; }

/* Cart actions (coupon + update) */
.hwing-cart-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.hwing-cart-coupon {
  display: flex;
  gap: 8px;
  flex: 1;
  max-width: 360px;
}
.hwing-cart-coupon__input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--g100);
  font-family: var(--sans);
  font-size: 13px;
  outline: none;
  transition: border-color .2s;
  min-width: 0;
  background: var(--white);
}
.hwing-cart-coupon__input:focus { border-color: var(--black); }
.hwing-cart-coupon__btn {
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--black);
  padding: 12px 22px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s;
}
.hwing-cart-coupon__btn:hover { background: var(--g600); border-color: var(--g600); }
.hwing-cart-update {
  background: none;
  border: 1px solid var(--g200);
  padding: 12px 22px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--g600);
  cursor: pointer;
  transition: all .2s;
}
.hwing-cart-update:hover { border-color: var(--black); color: var(--black); }

/* Summary sidebar */
.hwing-cart-summary {
  background: var(--off-white);
  padding: 32px;
  position: sticky;
  top: 100px;
  width: 100%;
  box-sizing: border-box;
}
.hwing-cart-summary .cart_totals { width: 100%; float: none; }
.hwing-cart-summary h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: -.01em;
  margin: 0 0 24px;
  color: var(--black);
  text-align: left;
}
.hwing-cart-summary table {
  width: 100%;
  border-collapse: collapse;
  background: none;
  margin: 0;
}
.hwing-cart-summary table th,
.hwing-cart-summary table td {
  padding: 12px 0;
  font-size: 13px;
  border: 0;
  border-bottom: 1px solid var(--g100);
  background: none;
  text-align: left;
  vertical-align: top;
}
.hwing-cart-summary table th {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--g400);
  font-weight: 400;
  width: 40%;
}
.hwing-cart-summary table td { text-align: right; }
.hwing-cart-summary .order-total th,
.hwing-cart-summary .order-total td {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 300;
  border-top: 2px solid var(--black);
  border-bottom: none;
  padding-top: 16px;
  color: var(--black);
}
.hwing-cart-summary .order-total th {
  font-size: 13px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--black);
}
.hwing-cart-summary .woocommerce-shipping-destination {
  color: var(--g400);
  font-size: 11px;
  line-height: 1.5;
  font-style: normal;
}
.hwing-cart-summary .shipping-calculator-button {
  color: var(--black);
  text-decoration: underline;
  font-size: 12px;
}

/* Checkout button — force black theme */
.hwing-cart-summary .wc-proceed-to-checkout {
  padding: 20px 0 0;
  margin: 0;
}
.hwing-cart-summary a.checkout-button,
.hwing-cart-summary .wc-proceed-to-checkout a,
.hwing-cart-summary .checkout-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px;
  width: 100% !important;
  padding: 18px !important;
  background: var(--black) !important;
  background-color: var(--black) !important;
  background-image: none !important;
  color: var(--white) !important;
  border: 2px solid var(--black) !important;
  border-radius: 0 !important;
  font-family: var(--sans) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  letter-spacing: .22em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  text-shadow: none !important;
  box-shadow: none !important;
  transition: background .25s, border-color .25s !important;
  cursor: pointer;
  height: auto !important;
  line-height: 1.2 !important;
  margin: 0 !important;
}
.hwing-cart-summary a.checkout-button:hover {
  background: var(--g600) !important;
  border-color: var(--g600) !important;
}

/* Cross-sells */
.hwing-cart-page .cross-sells {
  grid-column: 1 / -1;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--g100);
  width: 100%;
  clear: both;
}
.hwing-cart-page .cross-sells h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 300;
  text-align: left;
  margin-bottom: 24px;
  color: var(--black);
}
.hwing-cart-page .cross-sells ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.hwing-cart-page .cross-sells ul.products li {
  width: 100% !important;
  margin: 0;
  float: none;
}

/* Mobile */
@media (max-width: 1024px) {
  .hwing-cart-grid { grid-template-columns: 1fr; }
  .hwing-cart-summary { position: static; }
  .hwing-cart-summary-wrap { width: 100%; }
  .hwing-cart-page .cross-sells ul.products { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hwing-cart-page__inner { padding: 0 20px; }
  .hwing-cart-head { display: none; }
  .hwing-cart-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 20px 0;
  }
  .hwing-cart-row__price,
  .hwing-cart-row__sub,
  .hwing-cart-row__qty {
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .hwing-cart-row__price::before,
  .hwing-cart-row__sub::before,
  .hwing-cart-row__qty::before {
    content: attr(data-label);
    font-size: 10px;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--g400);
  }
  .hwing-cart-row__remove { text-align: right; }
  .hwing-cart-actions { flex-direction: column; align-items: stretch; }
  .hwing-cart-coupon { max-width: none; }
  .hwing-cart-summary { padding: 24px; }
}

/* ═══════════════════════════════════════════════════════════
   WOOCOMMERCE PAGE WRAPPER
   Cart / Checkout / Account pages must NOT inherit narrow
   .page-content constraints. Let the WC templates handle
   their own full-width layout.
═══════════════════════════════════════════════════════════ */
.page-main--wc {
  padding: 0 !important;
  max-width: none !important;
  width: 100% !important;
}
.page-main--wc .page-container,
.page-main--wc .page-content,
.page-main--wc .entry-content,
.page-main--wc article {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Safety: any WC cart/checkout/account template inside .page-content
   also gets unconstrained (covers edge case where a plugin forces the
   WC content into .entry-content) */
.page-content .hwing-cart-page,
.page-content .hwing-checkout-page,
.page-content .woocommerce-cart,
.page-content .woocommerce-checkout,
.page-content .woocommerce-account,
.entry-content .hwing-cart-page,
.entry-content .hwing-checkout-page {
  max-width: none;
  width: 100%;
  margin-left: calc(-1 * (100vw - 100%) / 2);
  margin-right: calc(-1 * (100vw - 100%) / 2);
  padding: 0;
}
