:root {
  --ink: #111;
  --muted: #6b6b6b;
  --line: #e6e6e6;
  --paper: #fff;
  --sand: #f4f1ec;
  --max: 1440px;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font-family: inherit; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 0 22px; border: 0; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  cursor: pointer;
}
.btn--dark { background: #111; color: #fff; }
.btn--light { background: #fff; color: #111; }
.btn--ghost { background: transparent; color: #fff; border: 1px solid #fff; }
.btn--outline { background: transparent; border: 1px solid #111; color: #111; }
.btn--block { width: 100%; }
.btn--buy { margin-top: 8px; background: #fff; color: #000; border: 1px solid #000; }
.icon-btn { background: none; border: 0; padding: 8px; cursor: pointer; color: inherit; display: inline-flex; position: relative; }

.announce {
  background: #111; color: #fff;
  display: flex; align-items: center; justify-content: center; gap: 18px;
  padding: 8px 20px; font-size: 12px; font-weight: 500; letter-spacing: .02em;
}
.announce p { margin: 0; }
.announce a, .announce__all { color: #fff; text-decoration: underline; white-space: nowrap; }
.site-header {
  background: #fff; position: sticky; top: 0; z-index: 80;
  border-bottom: 1px solid var(--line);
}
.header-bar {
  display: flex;
  align-items: center;
  height: 72px;
  padding: 0 28px;
  gap: 8px;
  position: relative;
}
.header-nav { display: flex; align-items: center; margin-left: 8px; flex-wrap: nowrap; }
.header-nav > a,
.has-mega > a {
  display: inline-flex; align-items: center;
  padding: 26px 12px; font-size: 14px; font-weight: 500; white-space: nowrap;
}
.logo {
  display: flex; align-items: center;
  padding: 0 8px 0 0;
}
.logo-word {
  font-size: 20px; font-weight: 700; letter-spacing: .34em;
  color: #111; line-height: 1;
}
.header-tools {
  display: flex; margin-left: auto; align-items: center; gap: 4px;
}
.tool-btn {
  background: none; border: 0; color: inherit; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 10px; font-size: 12px; font-weight: 500; position: relative;
}
.tool-btn svg { flex: 0 0 auto; }
.cart-count {
  position: absolute; top: 2px; right: 2px; min-width: 15px; height: 15px; border-radius: 99px;
  background: #111; color: #fff; font-size: 9px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.cart-count[data-count="0"] { display: none; }
.burger { display: none; }

.has-mega { position: static; }
.mega {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; padding: 28px 32px 36px;
  box-shadow: 0 16px 28px rgba(0,0,0,.1);
  z-index: 90; border-top: 1px solid var(--line);
}
.has-mega:hover .mega, .has-mega:focus-within .mega { display: block; }
.mega-inner {
  display: grid;
  grid-template-columns: 1fr 220px 220px 220px;
  gap: 28px;
  max-width: 1400px;
  margin: 0 auto;
}
.mega-inner--simple {
  grid-template-columns: repeat(3, minmax(180px, 1fr));
}
.mega-inner--simple .mega-vis { display: none; }
.mega-vis {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 8px;
}
.mega-vis a { text-align: center; font-size: 13px; font-weight: 600; padding: 0; }
.mega-vis img { width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: 8px; }
.mega__h { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 10px; color: var(--muted); font-weight: 700; }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega li { margin: 0; }
.mega ul a { display: block; padding: 5px 0; font-weight: 500; font-size: 13px; }

.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 100; }
.drawer {
  position: fixed; top: 0; bottom: 0; right: 0; width: min(400px, 100%);
  background: #fff; z-index: 110; transform: translateX(100%); transition: transform .25s ease;
  display: flex; flex-direction: column;
}
.drawer--nav { right: auto; left: 0; transform: translateX(-100%); width: min(420px, 100%); }
.drawer.is-open { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 16px; border-bottom: 1px solid var(--line); }
.drawer__body { padding: 16px; overflow: auto; flex: 1; }
.mobile-nav { display: flex; flex-direction: column; padding: 8px 16px 24px; }
.mobile-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.mobile-nav a.is-sub { padding-left: 12px; font-weight: 400; font-size: 13px; color: #444; }
.nav-label { margin: 18px 0 4px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.search-form { padding: 16px; }
.search-form input { width: 100%; height: 44px; border: 1px solid var(--line); padding: 0 12px; }
.search-hit { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; padding: 10px 16px; }
.search-hit img { width: 56px; height: 56px; object-fit: cover; }

/* Homepage — Hollister /shop/ campaign */
.hp-hero { position: relative; overflow: hidden; background: #f3eee8; }
.hp-hero > a { display: block; color: inherit; position: relative; }
.hp-hero__media {
  width: 100%;
  height: auto;
  aspect-ratio: 12 / 5;
  object-fit: cover;
  object-position: center top;
}
.hp-hero__copy {
  position: absolute;
  left: 5%;
  top: 50%;
  transform: translateY(-50%);
  max-width: min(420px, 36%);
  z-index: 2;
}
.hp-hero--light .hp-hero__copy { color: #111; }
.hp-hero--dark .hp-hero__copy { color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.35); }
.hp-kicker {
  margin: 0 0 10px; font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; font-weight: 600;
}
.hp-hero__copy h1, .hp-hero__copy h2 {
  margin: 0 0 12px; font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 600; line-height: 1.08; letter-spacing: -0.01em;
}
.hp-sub { margin: 0 0 18px; font-size: 14px; line-height: 1.45; font-weight: 400; }
.hp-hero__btns { display: flex; flex-wrap: wrap; gap: 8px; }

.spot-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.spot { position: relative; display: block; color: #fff; overflow: hidden; }
.spot img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.spot__copy {
  position: absolute; left: 16px; bottom: 16px;
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
}
.spot__copy strong { display: block; font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.spot__copy em {
  font-style: normal; font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; text-decoration: underline;
}

.cat-split { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.cat-split__item { position: relative; color: #fff; overflow: hidden; }
.cat-split__item img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.cat-split__copy {
  position: absolute; left: 16px; bottom: 18px;
  text-shadow: 0 1px 8px rgba(0,0,0,.45);
}
.cat-split__copy h3 { margin: 0 0 8px; font-size: 20px; font-weight: 600; }
.cat-split__copy a {
  display: inline-block; margin-right: 14px;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase; text-decoration: underline;
}

.hp-band { text-align: center; padding: 56px 20px; background: var(--sand); }
.hp-band h2 { margin: 8px 0 10px; font-size: 26px; font-weight: 600; }
.hp-band p { margin: 0 auto 16px; max-width: 520px; color: #444; }
.hp-band--house { background: #fff; border-top: 1px solid var(--line); }

.site-footer { background: var(--sand); color: var(--ink); padding: 48px 0 20px; }
.footer__signup { text-align: center; padding: 0 0 36px; }
.footer-form { display: flex; gap: 8px; justify-content: center; margin: 12px auto; max-width: 420px; }
.footer-form input { flex: 1; height: 44px; border: 1px solid var(--line); padding: 0 12px; background: #fff; }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 28px; }
.footer__h { font-size: 13px; font-weight: 700; margin: 0 0 12px; }
.footer__grid ul { list-style: none; margin: 0; padding: 0; }
.footer__grid li { margin: 0 0 8px; }
.tiny { font-size: 12px; color: var(--muted); }
.footer__legal { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); text-align: center; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 10px; }
.product-grid--4, .product-grid--shop { grid-template-columns: repeat(4, 1fr); }
.pcard__media { position: relative; display: block; background: #f4f4f4; overflow: hidden; }
.pcard__img { width: 100%; aspect-ratio: .8; object-fit: cover; }
.pcard__img--hover { position: absolute; inset: 0; opacity: 0; transition: opacity .25s ease; }
.pcard__media:hover .pcard__img--hover { opacity: 1; }
.pcard__badge { position: absolute; top: 8px; left: 8px; background: #a60f00; color: #fff; font-size: 10px; padding: 3px 6px; letter-spacing: .08em; z-index: 1; }
.pcard__meta { padding: 10px 0 16px; }
.pcard__title { font-size: 13px; font-weight: 600; margin: 0 0 6px; }
.pcard__price { font-size: 12px; }

.collection-hero { padding: 28px 0 8px; }
.collection-hero h1 { font-size: 26px; margin: 0; font-weight: 600; }
.vis-nav { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; padding: 8px 0 24px; }
.vis-nav a { text-align: center; font-weight: 600; font-size: 13px; }
.vis-nav img { width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: 8px; }
.collection-layout { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; padding-bottom: 48px; }
.collection-side__h { font-size: 13px; font-weight: 700; margin: 0 0 12px; }
.collection-side nav { display: flex; flex-direction: column; }
.collection-side a { padding: 7px 0; font-size: 13px; border-bottom: 1px solid var(--line); }

.page-hero { padding: 36px 0 20px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: 28px; margin: 0; font-weight: 600; }
.page-shell { padding-bottom: 56px; }
.prose { max-width: 860px; }
.help-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; width: min(1200px, calc(100% - 32px)); margin: 32px auto 64px; }
.help-side { border-right: 1px solid var(--line); padding-right: 20px; }
.help-side__h { font-weight: 700; margin: 0 0 12px; }
.help-side nav { display: flex; flex-direction: column; }
.help-side a { padding: 8px 0; font-size: 13px; border-bottom: 1px solid var(--line); }
.help-side a.is-on { font-weight: 700; }
.help-phone { margin-top: 18px; font-weight: 600; }
.help-main h1 { margin-top: 0; font-size: 28px; }
.help-main h2 { font-size: 16px; margin: 24px 0 8px; }
.help-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 24px; }
.help-form { display: grid; gap: 12px; max-width: 420px; }
.help-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
.help-form input, .help-form textarea { height: 44px; border: 1px solid var(--line); padding: 8px 10px; font: inherit; }
.help-form textarea { height: auto; }
.help-main table { width: 100%; border-collapse: collapse; margin: 12px 0 24px; font-size: 13px; }
.help-main th, .help-main td { border: 1px solid var(--line); padding: 8px; text-align: center; }
.legal-doc { width: min(860px, calc(100% - 32px)); margin: 32px auto 64px; }

.pdp { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; padding: 24px 0 48px; align-items: start; }
.pdp__gallery { display: grid; grid-template-columns: 72px 1fr; gap: 10px; align-items: start; }
.pdp__stage { background: #f6f6f6; }
.pdp__stage img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #f6f6f6; }
.pdp__thumbs { display: flex; flex-direction: column; gap: 6px; overflow: auto; max-height: 640px; }
.pdp__thumbs button { border: 1px solid transparent; padding: 0; background: #f6f6f6; width: 64px; cursor: pointer; }
.pdp__thumbs button.is-on { border-color: #000; }
.pdp__thumbs img { width: 64px; height: 64px; object-fit: cover; }
.pdp-sub { color: var(--muted); margin: 0 0 8px; }
.pdp-price { font-size: 14px; margin: 0 0 22px; }
.pdp-option { margin: 0 0 18px; }
.pdp-option__label { font-size: 11px; letter-spacing: .16em; margin: 0 0 8px; text-transform: uppercase; }
.size-guide { float: right; font-weight: 500; text-decoration: underline; }
.opt-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-pills label { border: 1px solid #d5d5d5; padding: 9px 14px; cursor: pointer; font-size: 12px; letter-spacing: .06em; }
.opt-pills label.is-on { border-color: #000; }
.opt-pills input { display: none; }
.pdp-atc { min-height: 48px; margin-top: 8px; letter-spacing: .14em; }
.pdp-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; list-style: none; padding: 16px 0; margin: 12px 0; font-size: 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pdp-details { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 12px; }
.pdp-details summary { cursor: pointer; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: 12px; }
.pdp-sku { font-size: 13px; color: var(--muted); margin: 10px 0 16px; }
.pdp__info { position: sticky; top: 88px; }
.pdp__info h1 { font-size: 22px; font-weight: 600; margin: 0 0 10px; }
.pdp-qty { display: inline-flex; border: 1px solid var(--line); margin: 8px 0 16px; background: #fff; }
.pdp-qty button { width: 40px; height: 42px; border: 0; background: #fff; cursor: pointer; }
.pdp-qty input { width: 48px; border: 0; text-align: center; }

.empty-cart { text-align: center; padding: 24px 0; }
.mini-cart { list-style: none; margin: 0; padding: 0; }
.mini-cart li { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mini-cart img { width: 72px; height: 90px; object-fit: cover; }
.mini-cart__sub { display: flex; justify-content: space-between; }

body.woocommerce-checkout .announce,
body.woocommerce-checkout .header-nav,
body.woocommerce-checkout .site-header,
body.woocommerce-checkout .site-footer { display: none !important; }
.checkout-logo { display: inline-block; margin: 8px 0 28px; }
.checkout-logo img { height: 48px; width: auto; max-width: 240px; object-fit: contain; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(340px, 420px); gap: 48px; padding: 24px 0 64px; }
.checkout-layout__aside { background: #f5f5f5; padding: 28px 24px; border-left: 1px solid var(--line); }
.checkout-block { margin: 0 0 28px; }
.checkout-block h2 { font-size: 18px; font-weight: 600; margin: 0 0 12px; }
.checkout-secure { color: var(--muted); font-size: 13px; margin: -6px 0 14px; }
.shop_table { width: 100%; border-collapse: collapse; }
.shop_table th, .shop_table td { padding: 14px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.woocommerce-checkout .form-row { width: auto !important; float: none !important; margin: 0 !important; }
.woocommerce-checkout .form-row-wide { grid-column: 1 / -1; }
.woocommerce-checkout .form-row input, .woocommerce-checkout .form-row select { height: 44px; border: 1px solid var(--line); padding: 0 10px; width: 100%; }
.woocommerce-checkout form.checkout_coupon { display: flex !important; gap: 8px; border: 0; padding: 0; }
.checkout-legal { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--muted); margin: 24px 0 0; }
.checkout-legal a { text-decoration: underline; }
.woocommerce-pagination { display: flex; justify-content: center; gap: 8px; list-style: none; padding: 24px 0 0; margin: 0; }
.woocommerce-pagination ul { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0; }
.woocommerce-pagination a, .woocommerce-pagination span { display: inline-flex; min-width: 36px; height: 36px; align-items: center; justify-content: center; border: 1px solid var(--line); }

@media (max-width: 1100px) {
  .header-nav { display: none; }
  .burger { display: inline-flex; }
  .spot-row, .cat-split { grid-template-columns: 1fr 1fr; }
  .vis-nav { grid-template-columns: repeat(3, 1fr); }
  .product-grid, .product-grid--4, .product-grid--shop { grid-template-columns: repeat(3, 1fr); }
  .collection-layout, .help-layout { grid-template-columns: 1fr; }
  .collection-side, .help-side { display: none; }
  .hp-hero__copy { max-width: 46%; }
  .pdp, .checkout-layout { grid-template-columns: 1fr; }
  .pdp__gallery { grid-template-columns: 1fr; }
  .pdp__thumbs { flex-direction: row; max-height: none; }
}
@media (max-width: 860px) {
  .header-nav { display: none; }
  .burger { display: inline-flex; order: -1; }
  .logo { margin: 0 auto; }
  .logo-word { font-size: 16px; letter-spacing: .2em; }
  .tool-btn span { display: none; }
  .announce { flex-direction: column; gap: 2px; font-size: 11px; }
  .announce__all { display: none; }
  .header-bar { padding: 0 12px; height: 60px; }
  .hp-hero__media { aspect-ratio: 4 / 5; }
  .hp-hero__copy {
    left: 16px; right: 16px; top: auto; bottom: 24px;
    transform: none; max-width: none;
  }
  .hp-hero__copy h1, .hp-hero__copy h2 { font-size: 28px; }
  .footer__grid { grid-template-columns: 1fr; }
  .product-grid, .product-grid--4, .product-grid--shop { grid-template-columns: 1fr 1fr; }
  .woocommerce-checkout .woocommerce-billing-fields__field-wrapper { grid-template-columns: 1fr; }
}
