/* =========================================================
   Buttons & links
   ========================================================= */
.btn {
  --bg: var(--blue); --fg: #fff; --bd: var(--blue);
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  height: 54px; padding: 0 22px 0 24px;
  font-weight: 600; font-size: var(--fs-md); letter-spacing: -.01em;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  border-radius: var(--r-sm); overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease), border-color .45s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--hover-bg, var(--blue-ink));
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before { transform: none; }
.btn:hover { border-color: var(--hover-bg, var(--blue-ink)); }
.btn__x { width: 14px; height: 14px; flex: none; transition: transform .5s var(--ease); }
.btn:hover .btn__x { transform: rotate(90deg); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line-strong); --hover-bg: var(--ink); }
.btn--ghost:hover { color: #fff; }
.btn--light { --bg: #fff; --fg: var(--blue-ink); --bd: #fff; --hover-bg: var(--red); }
.btn--light:hover { color: #fff; }
.btn--red { --bg: var(--red); --bd: var(--red); --hover-bg: var(--blue-ink); }
.btn--outline-light { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.35); --hover-bg: #fff; }
.btn--outline-light:hover { color: var(--blue-ink); }
.btn--sm { height: 44px; padding: 0 16px 0 18px; font-size: var(--fs-sm); gap: 10px; }
.btn--block { width: 100%; justify-content: space-between; }

.link-x {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 600;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 3px; transition: background-size .5s var(--ease);
}
.link-x:hover { background-size: 100% 1px; }
.link-x svg { width: 12px; height: 12px; color: var(--red); transition: transform .5s var(--ease); }
.link-x:hover svg { transform: rotate(90deg); }

/* =========================================================
   Logo
   ========================================================= */
.logo { display: inline-flex; align-items: flex-start; font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.045em; color: var(--blue-ink); line-height: 1; white-space: nowrap; }
.logo b { font-weight: 800; color: inherit; }
.logo__cross { width: .5em; height: .5em; margin: -.02em 0 0 .08em; color: var(--red); flex: none; }
.logo--light { color: #fff; }
.logo--light b { color: #fff; }

/* =========================================================
   Header
   ========================================================= */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255,255,255,.0);
  transition: transform .5s var(--ease), background-color .4s, box-shadow .4s, height .4s var(--ease);
}
.header.is-scrolled { background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); box-shadow: 0 1px 0 var(--line); height: 64px; }
.header.is-hidden { transform: translateY(-100%); }
.header__in { height: 100%; display: flex; align-items: center; gap: 32px; }
.header__nav { margin-left: auto; }
.nav { display: flex; gap: 4px; list-style: none; padding: 0; }
.nav a {
  position: relative; display: block; padding: 10px 12px; font-size: var(--fs-sm); font-weight: 500; color: var(--ink-2);
  transition: color .3s;
}
.nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header__tools { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-sm);
  color: var(--ink); transition: background-color .3s;
}
.icon-btn:hover { background: var(--mist); }
.icon-btn svg { width: 20px; height: 20px; }
.burger { display: none; }
.burger span { display: block; width: 20px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), opacity .3s; }
.burger span + span { margin-top: 6px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

@media (max-width: 1220px) {
  .header__nav, .header__cta { display: none; }
  .burger { display: flex; flex-direction: column; align-items: center; justify-content: center; }
  .header__tools { margin-left: auto; }
}

/* mobile menu */
.mmenu {
  position: fixed; inset: 0; z-index: 90; background: var(--blue-ink); color: #fff;
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .7s var(--ease-io), visibility 0s .7s;
  overflow-y: auto;
}
.mmenu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .7s var(--ease-io); }
.mmenu__list { list-style: none; padding: 0; }
.mmenu__list a {
  display: flex; align-items: baseline; gap: 14px; padding: 10px 0;
  font-family: var(--f-display); font-weight: 700; font-size: clamp(1.75rem, 7vw, 2.5rem); letter-spacing: -.035em;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.mmenu__list a small { font-family: var(--f-mono); font-size: 11px; color: rgba(255,255,255,.45); letter-spacing: .05em; font-weight: 400; }
.mmenu__foot { display: flex; flex-wrap: wrap; gap: 16px 24px; margin-top: 32px; font-size: var(--fs-sm); color: rgba(255,255,255,.7); }
body.menu-open .header { background: transparent; box-shadow: none; backdrop-filter: none; }
body.menu-open .header .logo, body.menu-open .header .logo b, body.menu-open .header .icon-btn { color: #fff; }
body.menu-open .header .icon-btn:hover { background: rgba(255,255,255,.08); }

/* =========================================================
   Search overlay
   ========================================================= */
.search {
  position: fixed; inset: 0; z-index: 200; display: grid; align-items: start;
  background: rgba(4,31,82,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s;
}
.search.is-open { opacity: 1; visibility: visible; transition: opacity .35s; }
.search__panel {
  background: #fff; padding: 28px 0 32px; transform: translateY(-24px); transition: transform .6s var(--ease);
  max-height: 100vh; overflow-y: auto;
}
.search.is-open .search__panel { transform: none; }
.search__row { display: flex; align-items: center; gap: 16px; border-bottom: 2px solid var(--ink); padding-bottom: 12px; }
.search__row svg { width: 26px; height: 26px; color: var(--ink-3); flex: none; }
.search__input { flex: 1; min-width: 0; border: 0; outline: 0; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.5rem, 1rem + 2.4vw, 2.75rem); letter-spacing: -.03em; background: transparent; }
.search__input::placeholder { color: var(--line-strong); }
.search__hints { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; align-items: center; }
.search__hints span { font-size: var(--fs-sm); color: var(--ink-3); margin-right: 4px; }
.search__results { list-style: none; padding: 0; margin-top: 20px; display: grid; gap: 2px; }
.search__results a {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: center;
  padding: 10px 12px; border-radius: var(--r-md); transition: background-color .25s;
}
.search__results a:hover, .search__results a.is-active { background: var(--mist); }
.search__thumb { width: 56px; height: 56px; border-radius: var(--r-sm); background: var(--mist); display: grid; place-items: center; overflow: hidden; }
.search__thumb img, .search__thumb svg { max-height: 50px; width: auto; }
.search__results strong { display: block; font-weight: 600; }
.search__results small { color: var(--ink-3); font-size: var(--fs-sm); }
.search__empty { margin-top: 24px; color: var(--ink-3); }
.search mark { background: none; color: var(--blue); font-weight: 700; }

/* =========================================================
   Chips
   ========================================================= */
.chip {
  --chip-c: var(--blue);
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px;
  border: 1px solid var(--line-strong); border-radius: 999px; font-size: var(--fs-sm); font-weight: 500;
  color: var(--ink-2); background: #fff; transition: all .3s var(--ease); white-space: nowrap;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"], .chip.is-active { background: var(--chip-c); border-color: var(--chip-c); color: #fff; }
.chip__x { width: 10px; height: 10px; transition: transform .4s var(--ease); }
.chip[aria-pressed="true"] .chip__x { transform: rotate(45deg); }
.chip--dark { background: transparent; color: rgba(255,255,255,.82); border-color: rgba(255,255,255,.22); }
.chip--dark:hover { border-color: #fff; color: #fff; }
.chip--dark[aria-pressed="true"] { background: #fff; color: var(--blue-ink); border-color: #fff; }
.chip--dark[aria-pressed="true"] .chip__x { color: var(--red); }

/* =========================================================
   Packshot (photo or generated SVG)
   ========================================================= */
.pack { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 0; }
.pack img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.pack svg { max-height: 100%; max-width: 100%; height: 100%; width: auto; overflow: visible; }

/* =========================================================
   Product card
   ========================================================= */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.pcard {
  --pc: var(--blue);
  position: relative; display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  transition: border-color .4s, transform .6s var(--ease);
}
.pcard:hover { border-color: var(--line-strong); }
.pcard__media {
  position: relative; aspect-ratio: 1 / 1.02; background: var(--mist); overflow: hidden;
}
.pcard__media .pack { position: absolute; inset: 12% 16% 8%; width: auto; height: auto; }
.pcard__media::before { /* colour label that grows on hover */
  content: ""; position: absolute; left: 0; bottom: 0; width: 6px; height: 42%;
  background: var(--pc); transition: width .7s var(--ease), height .7s var(--ease);
}
.pcard:hover .pcard__media::before { width: 100%; height: 100%; opacity: .14; }
.pcard__media .pack { transition: transform .8s var(--ease); z-index: 1; }
.pcard:hover .pcard__media .pack { transform: translateY(-6px) scale(1.035); }
.pcard__idx { position: absolute; top: 14px; left: 16px; z-index: 2; color: var(--ink-3); }
.pcard__cross { position: absolute; top: 14px; right: 14px; z-index: 2; width: 14px; height: 14px; color: var(--red); transition: transform .6s var(--ease); }
.pcard:hover .pcard__cross { transform: rotate(90deg); }
.pcard__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }
.pcard__cat { color: var(--ink-3); }
.pcard__name { font-family: var(--f-display); font-size: 1.25rem; font-weight: 600; letter-spacing: -.025em; line-height: 1.15; }
.pcard__name b { font-weight: 800; }
.pcard__desc { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.5; }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; font-size: var(--fs-sm); }
.pcard__foot a { position: relative; z-index: 3; }
.pcard__more { font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.pcard__buy { color: var(--ink-3); transition: color .3s; }
.pcard__buy:hover { color: var(--red); }
.pcard__link::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.pcard__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tag { font-size: 11px; padding: 3px 8px; border-radius: 4px; background: var(--mist); color: var(--ink-2); font-weight: 500; }

/* =========================================================
   Page hero (inner pages)
   ========================================================= */
.phero { padding: calc(var(--header-h) + clamp(40px, 7vw, 96px)) 0 clamp(40px, 6vw, 80px); position: relative; overflow: hidden; }
.phero__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px 64px; align-items: end; }
.phero h1 { font-size: var(--fs-h1); margin-top: 18px; }
.phero .lead { margin-top: 0; }
.phero__cross { position: absolute; right: -6vw; top: 10%; width: clamp(220px, 34vw, 520px); color: var(--blue-50); z-index: -1; }
@media (max-width: 860px) { .phero__grid { grid-template-columns: 1fr; } }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; font-size: var(--fs-sm); color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.crumbs a:hover { color: var(--ink); }

/* =========================================================
   Section heading
   ========================================================= */
.shead { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px 48px; margin-bottom: clamp(36px, 5vw, 64px); }
.shead h2 { font-size: var(--fs-h2); margin-top: 16px; max-width: 18ch; }
.shead p { max-width: 42ch; color: var(--ink-2); }
@media (max-width: 760px) { .shead { grid-template-columns: 1fr; } }

/* =========================================================
   Accordion
   ========================================================= */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; text-align: left;
  padding: 26px 0; font-family: var(--f-display); font-weight: 600; font-size: var(--fs-xl); letter-spacing: -.02em;
}
.acc__icon { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); transition: background-color .4s, border-color .4s, transform .5s var(--ease); }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%,-50%); }
.acc__icon::after { transform: translate(-50%,-50%) rotate(90deg); transition: transform .5s var(--ease); }
.acc__btn[aria-expanded="true"] .acc__icon { background: var(--red); border-color: var(--red); color: #fff; transform: rotate(180deg); }
.acc__btn[aria-expanded="true"] .acc__icon::after { transform: translate(-50%,-50%) rotate(0); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.acc__panel > div { overflow: hidden; }
.acc__panel p { padding: 0 64px 28px 0; color: var(--ink-2); max-width: 70ch; }
.acc__btn[aria-expanded="true"] + .acc__panel { grid-template-rows: 1fr; }

/* =========================================================
   Tabs
   ========================================================= */
.tabs__list { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__btn { position: relative; padding: 14px 16px; font-weight: 600; color: var(--ink-3); white-space: nowrap; transition: color .3s; }
.tabs__btn::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform .45s var(--ease); }
.tabs__btn[aria-selected="true"] { color: var(--ink); }
.tabs__btn[aria-selected="true"]::after { transform: scaleX(1); }
.tabs__panel { padding-top: 28px; }
.tabs__panel[hidden] { display: none; }

/* =========================================================
   Forms
   ========================================================= */
.field { position: relative; display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: var(--fs-sm); font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%; height: 56px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background: #fff; transition: border-color .3s, box-shadow .3s; outline: none;
}
.field textarea { height: auto; min-height: 160px; padding: 14px 16px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath stroke='%230B1733' stroke-width='1.5' d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-50); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--red); }
.field__err { font-size: var(--fs-xs); color: var(--red); min-height: 1em; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-sm); color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--blue); flex: none; margin-top: 1px; }

/* =========================================================
   Notice (pending approval)
   ========================================================= */
.pending {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-md);
  background: #FFF8E6; border: 1px dashed #E8C26A; color: #6B5210; font-size: var(--fs-sm);
}
.pending svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--blue-ink); color: #fff; padding: clamp(64px, 8vw, 112px) 0 32px; position: relative; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 40px 32px; }
.footer__brand p { margin-top: 18px; color: rgba(255,255,255,.65); max-width: 28ch; }
.footer h4 { font-family: var(--f-mono); font-size: var(--fs-xs); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.45); margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer ul a { color: rgba(255,255,255,.85); font-size: var(--fs-sm); transition: color .3s; }
.footer ul a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }
.footer__mega {
  margin-top: clamp(56px, 8vw, 104px); font-family: var(--f-display); font-weight: 800; letter-spacing: -.06em; line-height: .8;
  font-size: clamp(4rem, 17.5vw, 17rem); color: rgba(255,255,255,.06); white-space: nowrap; user-select: none;
  display: flex; align-items: flex-start;
}
.footer__mega svg { width: .42em; height: .42em; margin-left: .04em; color: var(--red); opacity: .9; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: var(--fs-sm); color: rgba(255,255,255,.55); }
.footer__bottom nav { display: flex; gap: 20px; }
.footer__bottom a:hover { color: #fff; }
.social { display: flex; gap: 8px; margin-top: 24px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; transition: background-color .3s, border-color .3s; }
.social a:hover { background: var(--red); border-color: var(--red); }
.social svg { width: 16px; height: 16px; }
@media (max-width: 960px) { .footer__top { grid-template-columns: repeat(2, 1fr); } .footer__brand { grid-column: 1 / -1; } }

/* =========================================================
   Cookie
   ========================================================= */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150; max-width: 460px;
  background: var(--ink); color: #fff; padding: 20px; border-radius: var(--r-lg);
  display: grid; gap: 14px; font-size: var(--fs-sm);
  transform: translateY(calc(100% + 32px)); transition: transform .7s var(--ease);
}
.cookie.is-in { transform: none; }
.cookie p { color: rgba(255,255,255,.78); }
.cookie a { text-decoration: underline; text-underline-offset: 3px; }
.cookie__row { display: flex; gap: 8px; }

/* =========================================================
   Toast
   ========================================================= */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 300; transform: translate(-50%, 150%); background: var(--ink); color: #fff; padding: 14px 20px; border-radius: 999px; font-size: var(--fs-sm); display: flex; gap: 10px; align-items: center; transition: transform .6s var(--ease); }
.toast.is-in { transform: translate(-50%, 0); }
.toast svg { width: 14px; height: 14px; color: var(--red); }

/* =========================================================
   Cursor label (desktop only)
   ========================================================= */
.cursor { position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 600; transform: scale(0); transition: transform .45s var(--ease); }
.cursor.is-on { transform: scale(1); }
@media (hover: none) { .cursor { display: none; } }
