/* ==========================================================================
   Hitchie Hikes - Art of Travel
   Layout and component set modelled on universaltraveller.com,
   dressed in the Hitchie Hikes brand palette.
   ========================================================================== */

/* ------------------------------------------------------------------ tokens */
:root {
  /* Brand (from the Hitchie Hikes brand guide) */
  --navy: #08266b;
  --navy-deep: #061c50;
  --navy-soft: #17408f;
  --mint: #4de6bf;
  --mint-deep: #22c9a0;
  --coral: #ff5266;

  /* Neutrals */
  --ink: #0e1220;
  --ink-soft: #4a5163;
  --muted: #7b8296;
  --line: #e7e9ef;
  --line-soft: #f1f3f7;
  --bg: #ffffff;
  --bg-soft: #f7f8fb;
  --bg-dark: var(--navy);

  /* Type */
  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --tracking: 0.12em;

  /* Metrics */
  --wrap: 1440px;
  --gutter: 40px;
  --header-h: 118px;
  --radius: 2px;

  --shadow: 0 2px 18px rgba(14, 18, 32, 0.07);
  --shadow-lg: 0 18px 60px rgba(14, 18, 32, 0.14);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (max-width: 1100px) { :root { --gutter: 24px; --header-h: 104px; } }
@media (max-width: 700px)  { :root { --gutter: 16px; --header-h: 96px; } }

/* ------------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.18; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 860px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------------- typography */
.eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: var(--tracking);
  text-transform: uppercase; color: var(--muted); margin: 0 0 12px;
}
.display { font-size: clamp(30px, 4.6vw, 58px); font-weight: 600; letter-spacing: -0.02em; }
.section-head { text-align: center; margin-bottom: 34px; }
.section-head h2 { font-size: clamp(22px, 2.6vw, 34px); }
.section-head p { margin: 10px auto 0; max-width: 620px; color: var(--ink-soft); font-size: 14px; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 0 30px;
  font-size: 12px; font-weight: 600; letter-spacing: var(--tracking); text-transform: uppercase;
  border: 1px solid var(--navy); background: var(--navy); color: #fff;
  border-radius: var(--radius); transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.btn-outline { background: transparent; color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; border-color: #fff; color: var(--navy); }
.btn-light:hover { background: var(--mint); border-color: var(--mint); color: var(--navy-deep); }
.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,.75); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-mint { background: var(--mint); border-color: var(--mint); color: var(--navy-deep); }
.btn-mint:hover { background: var(--mint-deep); border-color: var(--mint-deep); }
.btn-block { width: 100%; }
.btn-lg { min-height: 54px; padding: 0 40px; }
.btn svg { width: 15px; height: 15px; flex: 0 0 15px; stroke-width: 1.8; }

/* Marketplace buttons carry the marketplace's own colour, set inline as
   --market / --market-ink by the JS that builds them. */
.btn-market {
  background: var(--market, var(--navy));
  border-color: var(--market, var(--navy));
  color: var(--market-ink, #fff);
}
.btn-market:hover { filter: brightness(1.12); background: var(--market, var(--navy)); border-color: var(--market, var(--navy)); }
.buy-stack { display: grid; gap: 9px; }
.buy-stack .btn { justify-content: space-between; }
.buy-stack .btn span { display: inline-flex; align-items: center; gap: 9px; }
.search-panel__field > svg { width: 22px; height: 22px; flex: 0 0 22px; color: var(--muted); stroke-width: 1.6; }
.m-group__toggle svg { flex: 0 0 11px; }
.accordion__toggle svg { flex: 0 0 13px; }

.link-underline {
  font-size: 12px; font-weight: 600; letter-spacing: var(--tracking); text-transform: uppercase;
  border-bottom: 1px solid currentColor; padding-bottom: 3px;
}

/* ----------------------------------------------------------- announcement */
.announcement {
  background: var(--navy); color: #fff;
  font-size: 11px; font-weight: 500; letter-spacing: var(--tracking); text-transform: uppercase;
  overflow: hidden;
}
.announcement__track {
  display: flex; width: max-content;
  animation: marquee 38s linear infinite;
}
.announcement:hover .announcement__track { animation-play-state: paused; }
.announcement__item { padding: 9px 44px; white-space: nowrap; }
.announcement__item b { color: var(--mint); font-weight: 600; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .announcement__track { animation: none; } }

/* ---------------------------------------------------------------- header */
.header {
  position: sticky; top: 0; z-index: 60;
  background: #fff; border-bottom: 1px solid var(--line);
}
.header__bar {
  position: relative;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 16px; padding: 16px var(--gutter) 12px;
  max-width: var(--wrap); margin: 0 auto;
}
.header__utility { display: flex; align-items: center; gap: 20px; }
.header__utility--right { justify-content: flex-end; }
.utility-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft);
  transition: color .2s var(--ease);
}
.utility-link:hover { color: var(--navy); }
.utility-link svg { width: 17px; height: 17px; stroke-width: 1.5; }
@media (max-width: 900px) { .utility-link span { display: none; } }

.logo { display: block; text-align: center; }
.logo__mark { display: block; margin: 0 auto; }
.logo__name {
  display: block; margin-top: 5px;
  font-size: 17px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--navy);
}
.logo__tag {
  display: block; margin-top: 1px;
  font-size: 8.5px; font-weight: 500; letter-spacing: 0.34em; text-transform: uppercase; color: var(--muted);
}
@media (max-width: 700px) { .logo__name { font-size: 14px; letter-spacing: 0.2em; } }

/* Primary navigation ------------------------------------------------------ */
.nav { border-top: 1px solid var(--line-soft); }
.nav__list {
  display: flex; justify-content: center; align-items: stretch; gap: 4px;
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter);
}
.nav__item { position: static; }
.nav__link {
  display: flex; align-items: center; gap: 6px; height: 46px; padding: 0 17px;
  font-size: 11.5px; font-weight: 600; letter-spacing: var(--tracking); text-transform: uppercase;
  color: var(--ink); transition: color .2s var(--ease);
}
.nav__link:hover, .nav__item.is-open > .nav__link { color: var(--navy); }
.nav__link--sale { color: var(--coral); }
.nav__link .chev { width: 9px; height: 9px; stroke-width: 2.2; transition: transform .25s var(--ease); }
.nav__item.is-open .chev { transform: rotate(180deg); }

.megamenu {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  z-index: 70;
}
.nav__item.is-open .megamenu { opacity: 1; visibility: visible; transform: translateY(0); }
.megamenu__inner {
  display: grid; grid-template-columns: repeat(4, 1fr) 300px; gap: 40px;
  max-width: var(--wrap); margin: 0 auto; padding: 38px var(--gutter) 44px;
}
.megamenu__col h4 {
  font-size: 11px; font-weight: 600; letter-spacing: var(--tracking); text-transform: uppercase;
  color: var(--navy); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.megamenu__col a {
  display: block; padding: 6px 0; font-size: 13.5px; color: var(--ink-soft);
  transition: color .18s var(--ease), padding-left .18s var(--ease);
}
.megamenu__col a:hover { color: var(--navy); padding-left: 5px; }
.megamenu__col a small { display: block; font-size: 11px; color: var(--muted); }
.megamenu__feature {
  border-radius: var(--radius); overflow: hidden; position: relative;
  min-height: 230px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px; color: #fff;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-soft) 62%, var(--mint-deep) 160%);
}
.megamenu__feature strong { display: block; font-size: 16px; font-weight: 600; }
.megamenu__feature span { font-size: 12px; color: rgba(255,255,255,.78); }
.megamenu__feature .link-underline { margin-top: 12px; align-self: flex-start; color: var(--mint); }

/* Mobile nav -------------------------------------------------------------- */
.burger { display: none; }
.mobile-nav { display: none; }
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: inline-flex; align-items: center; gap: 7px; }
  .burger svg { width: 20px; height: 20px; stroke-width: 1.6; }
  .mobile-nav {
    display: block; position: fixed; inset: 0 0 0 auto; width: min(92vw, 400px);
    background: #fff; z-index: 90; transform: translateX(100%);
    transition: transform .3s var(--ease); overflow-y: auto; box-shadow: var(--shadow-lg);
  }
  .mobile-nav.is-open { transform: translateX(0); }
  .mobile-nav__head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 20px; border-bottom: 1px solid var(--line);
  }
  .mobile-nav__head strong { font-size: 12px; letter-spacing: var(--tracking); text-transform: uppercase; color: var(--navy); }
  .m-group { border-bottom: 1px solid var(--line-soft); }
  .m-group__toggle {
    display: flex; align-items: center; justify-content: space-between; width: 100%;
    padding: 15px 20px; font-size: 12.5px; font-weight: 600;
    letter-spacing: var(--tracking); text-transform: uppercase;
  }
  .m-group__toggle svg { width: 11px; height: 11px; stroke-width: 2.2; transition: transform .25s var(--ease); }
  .m-group.is-open .m-group__toggle svg { transform: rotate(180deg); }
  .m-group__panel { display: none; padding: 0 20px 14px; }
  .m-group.is-open .m-group__panel { display: block; }
  .m-group__panel a { display: block; padding: 8px 0; font-size: 13.5px; color: var(--ink-soft); }
  .scrim {
    position: fixed; inset: 0; background: rgba(14,18,32,.45); z-index: 85;
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
  }
  .scrim.is-open { opacity: 1; visibility: visible; }
}

/* Search overlay ---------------------------------------------------------- */
.search-panel {
  position: fixed; inset: 0; z-index: 95; background: rgba(255,255,255,.98);
  opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), visibility .25s;
  overflow-y: auto;
}
.search-panel.is-open { opacity: 1; visibility: visible; }
.search-panel__inner { max-width: 820px; margin: 0 auto; padding: 90px var(--gutter) 60px; }
.search-panel__field { display: flex; align-items: center; gap: 14px; border-bottom: 2px solid var(--navy); padding-bottom: 14px; }
.search-panel__field input {
  flex: 1; border: 0; background: none; font-size: clamp(20px, 3vw, 30px); font-weight: 500; padding: 0;
}
.search-panel__field input:focus { outline: none; }
.search-panel__close { color: var(--muted); font-size: 12px; letter-spacing: var(--tracking); text-transform: uppercase; }
.search-panel__hint { margin-top: 16px; font-size: 12.5px; color: var(--muted); }
.search-results { margin-top: 34px; display: grid; gap: 4px; }
.search-result {
  display: flex; align-items: center; gap: 16px; padding: 11px 12px;
  border-radius: var(--radius); transition: background .18s var(--ease);
}
.search-result:hover { background: var(--bg-soft); }
.search-result .ph { width: 56px; height: 56px; flex: 0 0 56px; }
.search-result__name { font-size: 14px; font-weight: 500; }
.search-result__meta { font-size: 12px; color: var(--muted); }
.search-result__price { margin-left: auto; font-size: 13.5px; font-weight: 600; color: var(--navy); }

/* ------------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; background: var(--navy-deep); }
.hero__slides { position: relative; height: clamp(460px, 74vh, 760px); }
.hero__slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility .9s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6,28,80,.72) 0%, rgba(6,28,80,.34) 46%, rgba(6,28,80,.12) 100%);
}
.hero__art { position: absolute; inset: 0; }
.hero__content {
  position: relative; z-index: 2; width: 100%;
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); color: #fff;
}
.hero__inner { max-width: 560px; }
.hero__eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--mint); margin-bottom: 16px;
}
.hero h1, .hero h2 { font-size: clamp(32px, 5vw, 62px); font-weight: 600; letter-spacing: -0.02em; }
.hero__sub { margin: 16px 0 30px; font-size: 15px; color: rgba(255,255,255,.86); max-width: 430px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__dots { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; gap: 9px; z-index: 3; }
.hero__dot { width: 30px; height: 3px; background: rgba(255,255,255,.34); border-radius: 2px; transition: background .3s var(--ease); }
.hero__dot.is-active { background: var(--mint); }
.hero__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; display: grid; place-items: center;
  color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%; transition: background .25s var(--ease);
}
.hero__arrow:hover { background: rgba(255,255,255,.28); }
.hero__arrow--prev { left: 22px; }
.hero__arrow--next { right: 22px; }
.hero__arrow svg { width: 17px; height: 17px; stroke-width: 1.7; }
@media (max-width: 760px) { .hero__arrow { display: none; } }

/* ---------------------------------------------------------------- sections */
.section { padding: 76px 0; }
.section--tight { padding: 52px 0; }
.section--soft { background: var(--bg-soft); }
@media (max-width: 760px) { .section { padding: 52px 0; } }

/* Tabs -------------------------------------------------------------------- */
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-bottom: 34px; }
.tab {
  padding: 9px 20px; font-size: 11.5px; font-weight: 600;
  letter-spacing: var(--tracking); text-transform: uppercase;
  color: var(--muted); border-bottom: 2px solid transparent; transition: color .2s var(--ease), border-color .2s var(--ease);
}
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--navy); border-bottom-color: var(--navy); }

/* Product card ------------------------------------------------------------ */
.grid {
  display: grid; gap: 30px 22px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
@media (max-width: 560px) { .grid { gap: 24px 12px; grid-template-columns: repeat(2, 1fr); } }

.card { position: relative; display: flex; flex-direction: column; }
.card__media {
  position: relative; overflow: hidden; background: var(--bg-soft);
  border-radius: var(--radius); aspect-ratio: 3 / 4;
}
.card__media .ph, .card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media img { transition: transform .7s var(--ease); }
.card:hover .card__media img { transform: scale(1.045); }
.card__badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.badge {
  display: inline-block; padding: 4px 10px;
  font-size: 9.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--navy); color: #fff; border-radius: var(--radius);
}
.badge--sale { background: var(--coral); }
.badge--temp { background: var(--mint); color: var(--navy-deep); }
.badge--soon { background: rgba(14,18,32,.55); }
.card__quick {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
  opacity: 0; transform: translateY(8px);
  transition: opacity .28s var(--ease), transform .28s var(--ease);
}
.card:hover .card__quick, .card:focus-within .card__quick { opacity: 1; transform: translateY(0); }
@media (hover: none) { .card__quick { opacity: 1; transform: none; } }
.card__body { padding: 14px 2px 0; }
.card__name {
  font-size: 13.5px; font-weight: 500; line-height: 1.45; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card:hover .card__name { color: var(--navy); }
.card__meta { margin-top: 5px; font-size: 11.5px; color: var(--muted); }
.card__price { margin-top: 7px; font-size: 14px; font-weight: 600; color: var(--navy); }
.card__price s { color: var(--muted); font-weight: 400; margin-right: 7px; }
.card__swatches { display: flex; gap: 5px; margin-top: 9px; }
.swatch { width: 13px; height: 13px; border-radius: 50%; border: 1px solid var(--line); }
.card__swatches span.more { font-size: 10.5px; color: var(--muted); align-self: center; margin-left: 2px; }

/* Carousel ---------------------------------------------------------------- */
.carousel { position: relative; }
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr);
  gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding-bottom: 6px;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
@media (min-width: 1200px) { .carousel__track { grid-auto-columns: calc((100% - 4 * 22px) / 5); } }
@media (max-width: 1199px) and (min-width: 900px) { .carousel__track { grid-auto-columns: calc((100% - 3 * 22px) / 4); } }
@media (max-width: 899px) and (min-width: 620px) { .carousel__track { grid-auto-columns: calc((100% - 2 * 22px) / 3); } }
@media (max-width: 619px) { .carousel__track { grid-auto-columns: 66%; gap: 14px; } }
.carousel__btn {
  position: absolute; top: 34%; z-index: 4; width: 42px; height: 42px;
  display: grid; place-items: center; background: #fff; color: var(--navy);
  border: 1px solid var(--line); border-radius: 50%; box-shadow: var(--shadow);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.carousel__btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.carousel__btn[disabled] { opacity: 0; pointer-events: none; }
.carousel__btn--prev { left: -18px; }
.carousel__btn--next { right: -18px; }
.carousel__btn svg { width: 16px; height: 16px; stroke-width: 1.8; }
@media (max-width: 1100px) { .carousel__btn { display: none; } }

/* Split promo ------------------------------------------------------------- */
.promo { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; }
.promo--reverse .promo__art { order: 2; }
.promo__art { position: relative; overflow: hidden; }
.promo__body {
  display: flex; flex-direction: column; justify-content: center;
  padding: 64px clamp(28px, 6vw, 92px); background: var(--bg-soft);
}
.promo__body h2 { font-size: clamp(24px, 3vw, 40px); }
.promo__body p { margin: 16px 0 28px; color: var(--ink-soft); max-width: 460px; }
.promo__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.promo--dark .promo__body { background: var(--navy); color: #fff; }
.promo--dark .promo__body p { color: rgba(255,255,255,.8); }
@media (max-width: 900px) {
  .promo { grid-template-columns: 1fr; }
  .promo--reverse .promo__art { order: 0; }
  .promo__art { min-height: 340px; }
  .promo__body { padding: 48px var(--gutter); }
}

/* Category tiles ---------------------------------------------------------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 980px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
.tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 380px; padding: 26px; overflow: hidden;
  border-radius: var(--radius); color: #fff;
}
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,28,80,0) 32%, rgba(6,28,80,.82) 100%);
  transition: background .35s var(--ease);
}
.tile:hover::after { background: linear-gradient(180deg, rgba(6,28,80,.1) 20%, rgba(6,28,80,.9) 100%); }
.tile__art { position: absolute; inset: 0; transition: transform .8s var(--ease); }
.tile:hover .tile__art { transform: scale(1.05); }
.tile__body { position: relative; z-index: 2; }
.tile__body h3 { font-size: 18px; letter-spacing: 0.04em; text-transform: uppercase; }
.tile__body p { margin: 6px 0 14px; font-size: 12.5px; color: rgba(255,255,255,.78); }
.tile__body .link-underline { color: var(--mint); }

/* USP strip --------------------------------------------------------------- */
.usps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
@media (max-width: 900px) { .usps { grid-template-columns: repeat(2, 1fr); gap: 26px; } }
.usp svg { width: 27px; height: 27px; margin: 0 auto 13px; stroke-width: 1.4; color: var(--navy); }
.usp h4 { font-size: 12.5px; letter-spacing: 0.09em; text-transform: uppercase; }
.usp p { margin: 7px 0 0; font-size: 12.5px; color: var(--muted); }

/* ------------------------------------------------------------ collections */
.page-head { padding: 44px 0 30px; border-bottom: 1px solid var(--line-soft); }
.breadcrumb { font-size: 11.5px; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb span { margin: 0 7px; }
.page-head h1 { font-size: clamp(26px, 3.4vw, 40px); }
.page-head p { margin: 12px 0 0; max-width: 620px; color: var(--ink-soft); font-size: 14px; }

.collection { display: grid; grid-template-columns: 236px 1fr; gap: 46px; padding: 34px 0 90px; align-items: start; }
@media (max-width: 980px) { .collection { grid-template-columns: 1fr; gap: 22px; } }

.filters { position: sticky; top: calc(var(--header-h) + 16px); }
@media (max-width: 980px) {
  .filters {
    position: fixed; inset: 0 0 0 auto; width: min(92vw, 380px); background: #fff; z-index: 90;
    transform: translateX(100%); transition: transform .3s var(--ease); overflow-y: auto; padding: 20px;
    box-shadow: var(--shadow-lg);
  }
  .filters.is-open { transform: translateX(0); }
}
.filter-group { padding: 0 0 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line-soft); }
.filter-group:last-child { border-bottom: 0; }
.filter-group h4 {
  font-size: 11px; font-weight: 600; letter-spacing: var(--tracking); text-transform: uppercase;
  color: var(--navy); margin-bottom: 13px;
}
.check { display: flex; align-items: center; gap: 9px; padding: 5px 0; font-size: 13px; color: var(--ink-soft); cursor: pointer; }
.check input { width: 15px; height: 15px; accent-color: var(--navy); margin: 0; }
.check:hover { color: var(--navy); }
.check .count { margin-left: auto; font-size: 11px; color: var(--muted); }

.toolbar {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding-bottom: 20px; margin-bottom: 26px; border-bottom: 1px solid var(--line-soft);
}
.toolbar__count { font-size: 12.5px; color: var(--muted); }
.toolbar__right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.select {
  height: 40px; padding: 0 34px 0 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237b8296' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 11px center / 14px;
  font-size: 12.5px; -webkit-appearance: none; appearance: none; cursor: pointer;
}
.filter-toggle { display: none; }
@media (max-width: 980px) { .filter-toggle { display: inline-flex; align-items: center; gap: 8px; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px;
  font-size: 11.5px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 100px;
}
.chip button { color: var(--muted); line-height: 1; font-size: 15px; }
.chip button:hover { color: var(--coral); }

.empty { padding: 70px 0; text-align: center; color: var(--muted); }
.empty h3 { color: var(--ink); margin-bottom: 10px; }

/* --------------------------------------------------------------- product */
.pdp { display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; padding: 34px 0 80px; align-items: start; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; gap: 30px; } }
.pdp__gallery { display: grid; gap: 12px; }
.pdp__main { position: relative; aspect-ratio: 4 / 5; background: var(--bg-soft); border-radius: var(--radius); overflow: hidden; }
.pdp__main .ph, .pdp__main img { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.pdp__thumb { aspect-ratio: 1; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); }
.pdp__thumb.is-active { border-color: var(--navy); }

.pdp__info { position: sticky; top: calc(var(--header-h) + 20px); }
.pdp__title { font-size: clamp(21px, 2.5vw, 30px); margin-bottom: 12px; }
.pdp__price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.pdp__price strong { font-size: 24px; font-weight: 600; color: var(--navy); }
.pdp__price s { color: var(--muted); font-size: 15px; }
.pdp__note { font-size: 12px; color: var(--muted); margin-bottom: 24px; }
.pdp__row { margin-bottom: 22px; }
.pdp__row h4 {
  font-size: 11px; font-weight: 600; letter-spacing: var(--tracking); text-transform: uppercase;
  margin-bottom: 11px; color: var(--ink-soft);
}
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt {
  min-width: 46px; padding: 9px 14px; font-size: 12.5px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.opt:hover { border-color: var(--navy); color: var(--navy); }
.opt.is-active { border-color: var(--navy); background: var(--navy); color: #fff; }
.pdp__actions { display: grid; gap: 10px; margin: 28px 0 22px; }
.pdp__shopee-note {
  display: flex; gap: 11px; padding: 14px 16px; background: var(--bg-soft);
  border-left: 2px solid var(--mint); font-size: 12.5px; color: var(--ink-soft);
}
.pdp__shopee-note svg { width: 17px; height: 17px; flex: 0 0 17px; color: var(--navy); stroke-width: 1.6; margin-top: 2px; }

.accordion { border-top: 1px solid var(--line); margin-top: 30px; }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 17px 0; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
}
.accordion__toggle svg { width: 13px; height: 13px; stroke-width: 2; transition: transform .25s var(--ease); }
.accordion__item.is-open .accordion__toggle svg { transform: rotate(45deg); }
.accordion__panel { display: none; padding: 0 0 20px; font-size: 13.5px; color: var(--ink-soft); }
.accordion__item.is-open .accordion__panel { display: block; }
.accordion__panel ul { list-style: disc; padding-left: 18px; }
.accordion__panel li { margin-bottom: 6px; }

.spec { display: grid; grid-template-columns: 128px 1fr; gap: 8px 16px; font-size: 13px; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; }

/* ---------------------------------------------------------------- content */
.prose { padding: 50px 0 84px; font-size: 14.5px; color: var(--ink-soft); }
.prose h2 { font-size: 22px; color: var(--ink); margin: 38px 0 14px; }
.prose h3 { font-size: 16px; color: var(--ink); margin: 26px 0 10px; }
.prose ul { list-style: disc; padding-left: 20px; margin-bottom: 1em; }
.prose li { margin-bottom: 7px; }
.prose a { color: var(--navy); border-bottom: 1px solid var(--line); }
.prose a:hover { border-color: var(--navy); }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 13.5px; }
.prose th, .prose td { padding: 11px 12px; border: 1px solid var(--line); text-align: left; }
.prose th { background: var(--bg-soft); font-weight: 600; color: var(--ink); }

.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .info-grid { grid-template-columns: 1fr; } }
.info-card { padding: 26px; background: var(--bg-soft); border-radius: var(--radius); }
.info-card h3 { font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); margin-bottom: 10px; }
.info-card p { font-size: 13.5px; color: var(--ink-soft); margin: 0; }

/* ---------------------------------------------------------------- footer */
.newsletter { background: var(--navy); color: #fff; padding: 60px 0; }
.newsletter__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
@media (max-width: 860px) { .newsletter__inner { grid-template-columns: 1fr; gap: 24px; } }
.newsletter h2 { font-size: clamp(21px, 2.4vw, 30px); }
.newsletter p { margin: 10px 0 0; color: rgba(255,255,255,.76); font-size: 13.5px; }
.newsletter__form { display: flex; gap: 10px; }
.newsletter__form input {
  flex: 1; height: 50px; padding: 0 16px; border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.07); color: #fff; border-radius: var(--radius);
}
.newsletter__form input::placeholder { color: rgba(255,255,255,.55); }
.newsletter__form input:focus { outline: none; border-color: var(--mint); }
.newsletter__msg { margin-top: 10px; font-size: 12.5px; color: var(--mint); min-height: 18px; }

.footer { background: #fff; border-top: 1px solid var(--line); padding: 62px 0 0; }
.footer__cols { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 44px; padding-bottom: 48px; }
@media (max-width: 900px) { .footer__cols { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px) { .footer__cols { grid-template-columns: 1fr; } }
.footer h4 {
  font-size: 11px; font-weight: 600; letter-spacing: var(--tracking); text-transform: uppercase;
  color: var(--navy); margin-bottom: 16px;
}
.footer a { display: block; padding: 5px 0; font-size: 13px; color: var(--ink-soft); }
.footer a:hover { color: var(--navy); }
.footer__about p { font-size: 13px; color: var(--ink-soft); max-width: 320px; }
.footer__socials { display: flex; gap: 12px; margin-top: 18px; }
.footer__socials a {
  width: 36px; height: 36px; display: grid; place-items: center; padding: 0;
  border: 1px solid var(--line); border-radius: 50%; color: var(--ink-soft);
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.footer__socials a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.footer__socials svg { width: 16px; height: 16px; }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
  padding: 22px 0; border-top: 1px solid var(--line-soft); font-size: 12px; color: var(--muted);
}
.footer__bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer__bottom nav a { padding: 0; font-size: 12px; }

/* ------------------------------------------------------- placeholder art */
/* Product photography is not wired up yet - these generated tiles stand in
   for it so the layout reads as designed rather than broken. Drop real image
   URLs into data/images.json and they take over automatically. */
.ph { position: relative; display: block; overflow: hidden; background: var(--bg-soft); }
.ph__bg { position: absolute; inset: 0; }
.ph__icon {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 40%; max-width: 120px; color: rgba(255,255,255,.9); stroke-width: 1.1;
}
.ph__tag {
  position: absolute; left: 0; right: 0; bottom: 12px; text-align: center;
  font-size: 8.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,.62);
}
.ph--flat .ph__icon { color: rgba(8,38,107,.34); }
.ph--flat .ph__tag { color: rgba(8,38,107,.34); }

/* Decorative art used behind heroes, tiles and promo panels. */
.art { position: absolute; inset: 0; overflow: hidden; }
.art__peaks { position: absolute; inset: 0; width: 100%; height: 100%; }
.art__grain {
  position: absolute; inset: 0; opacity: .5; mix-blend-mode: overlay;
  background-image: radial-gradient(rgba(255,255,255,.35) 1px, transparent 1px);
  background-size: 4px 4px;
}

/* --------------------------------------------------------------- utility */
.center { text-align: center; }
.mt-40 { margin-top: 40px; }
.stack-tight > * + * { margin-top: 8px; }
[hidden] { display: none !important; }
.body-lock { overflow: hidden; }

/* ------------------------------------------------------------- 360 spinner */
.spin {
  position: relative; display: block; width: 100%; height: 100%;
  background: var(--bg-soft); overflow: hidden;
  cursor: grab; touch-action: pan-y; user-select: none;
}
.spin.is-dragging { cursor: grabbing; }
.spin__canvas { width: 100%; height: 100%; display: block; }

.spin__load {
  position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: rgba(8, 38, 107, .08);
  opacity: 1; transition: opacity .4s var(--ease);
}
.spin.is-loaded .spin__load { opacity: 0; }
.spin__bar { display: block; height: 100%; width: 0; background: var(--mint-deep); transition: width .25s linear; }

.spin__badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 4px 10px; border-radius: var(--radius);
  font-size: 9.5px; font-weight: 600; letter-spacing: .14em;
  background: var(--navy); color: #fff;
}
.spin__hint {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; z-index: 2;
  padding: 7px 14px; border-radius: 100px;
  background: rgba(14, 18, 32, .68); color: #fff;
  font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  transition: opacity .35s var(--ease); pointer-events: none;
}
.spin__hint svg { width: 14px; height: 14px; }
.spin__hint.is-gone { opacity: 0; }

/* Toggle between the still gallery and the spinner on a product page. */
.media-tabs { display: flex; gap: 6px; margin-bottom: 12px; }
.media-tab {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 15px; font-size: 11px; font-weight: 600;
  letter-spacing: var(--tracking); text-transform: uppercase;
  border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink-soft);
  transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease);
}
.media-tab:hover { border-color: var(--navy); color: var(--navy); }
.media-tab.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.media-tab svg { width: 13px; height: 13px; stroke-width: 1.8; }
