/* ==========================================================================
   Multimayaka Theme — refined spacing system & polished mobile
   Palette: #E31E24 · #0D47A1 · #111111 · #6D6E71 · #FFFFFF
   Headings: Montserrat · Body: Inter · Scale: 8px grid
   ========================================================================== */

:root {
  /* Colors */
  --c-red: #E31E24;
  --c-red-dark: #B5161B;
  --c-red-soft: #FCE5E6;
  --c-blue: #0D47A1;
  --c-blue-dark: #082F6B;
  --c-blue-soft: #E3ECF8;
  --c-black: #111111;
  --c-gray: #6D6E71;
  --c-gray-light: #E5E7EB;
  --c-gray-lighter: #F3F4F6;
  --c-gray-lightest: #F9FAFB;
  --c-white: #FFFFFF;

  /* Spacing scale (8px grid) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-7: 32px;
  --s-8: 40px;
  --s-9: 48px;
  --s-10: 56px;
  --s-11: 64px;
  --s-12: 80px;
  --s-13: 96px;
  --s-14: 120px;

  /* Vertical section padding (responsive via media queries) */
  --section-y: 80px;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(17, 17, 17, .04);
  --shadow-sm: 0 1px 2px rgba(17, 17, 17, .06), 0 1px 3px rgba(17, 17, 17, .08);
  --shadow-md: 0 4px 6px -1px rgba(17, 17, 17, .08), 0 2px 4px -2px rgba(17, 17, 17, .06);
  --shadow-lg: 0 10px 25px -5px rgba(17, 17, 17, .12), 0 8px 10px -6px rgba(17, 17, 17, .06);
  --shadow-xl: 0 20px 40px -12px rgba(17, 17, 17, .18);

  /* Fonts */
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-head: 'Montserrat', var(--font-body);

  /* Layout */
  --container-max: 1280px;
  --container-pad: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; tab-size: 4; line-height: 1.5; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--c-black);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
}

img, svg { display: block; max-width: 100%; height: auto; }
img { border-radius: inherit; }

a { color: var(--c-red); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--c-red-dark); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--c-black);
  margin: 0 0 .5em;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.01em;
}

p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--c-red); outline-offset: 2px; border-radius: 4px; }

.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); -webkit-clip-path: inset(50%); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}

.skip-link {
  position: absolute; top: -100px; left: 16px; background: var(--c-red); color: #fff;
  padding: 10px 16px; border-radius: var(--radius-md); z-index: 100; font-weight: 700;
}
.skip-link:focus { top: 16px; color: #fff; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 2px solid transparent;
  transition: all .15s ease;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}
.btn--primary { background: var(--c-red); color: #fff; border-color: var(--c-red); }
.btn--primary:hover { background: var(--c-red-dark); color: #fff; border-color: var(--c-red-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--secondary { background: transparent; color: var(--c-black); border-color: var(--c-black); }
.btn--secondary:hover { background: var(--c-black); color: #fff; }
.btn--light { background: #fff; color: var(--c-red); border-color: #fff; }
.btn--light:hover { background: var(--c-red-soft); color: var(--c-red); border-color: var(--c-red-soft); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.btn--copy {
  background: #fff;
  color: var(--c-red);
  border: 2px solid var(--c-red);
  padding: 11px 20px;
  font-size: 12px;
}
.btn--copy:hover, .btn--copy.is-copied { background: var(--c-red); color: #fff; }

/* ===== Announcement bar (top strip) ===== */
.announcement-bar {
  background: var(--c-black);
  color: #fff;
  font-size: 12.5px;
  position: relative;
  z-index: 51;
}
.announcement-bar__inner {
  display: flex; align-items: center; justify-content: center;
  gap: var(--s-3);
  padding: 9px var(--container-pad);
  flex-wrap: wrap;
}
.announcement-bar__icon { font-size: 14px; }
.announcement-bar__text {
  color: rgba(255,255,255,.92);
  font-weight: 500;
  letter-spacing: .01em;
}
.announcement-bar__cta {
  color: #fff;
  background: var(--c-red);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-head);
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .15s ease, transform .15s ease;
  white-space: nowrap;
}
.announcement-bar__cta:hover { background: var(--c-red-dark); color: #fff; transform: translateY(-1px); }

/* ===== Header ===== */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--c-gray-light);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-xs);
}

/* Offset sticky header below the WordPress admin bar for logged-in users */
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}
@media screen and (max-width: 600px) {
  body.admin-bar .site-header { top: 0; }
  body.admin-bar #wpadminbar { position: absolute; }
}
/* Announcement bar scrolls away (not sticky), so no offset needed */
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--s-7);
  align-items: center;
  padding-top: var(--s-4);
  padding-bottom: var(--s-4);
}

.site-branding,
.site-branding .custom-logo-link { max-width: 220px; }
.site-branding a {
  display: flex; align-items: center; gap: var(--s-3); text-decoration: none;
  color: var(--c-black);
}
.custom-logo-link {
  display: inline-flex !important;
  align-items: center;
  line-height: 0;
}
.custom-logo-link img,
img.custom-logo {
  display: block;
  width: auto !important;
  height: 44px !important;
  max-height: 44px !important;
  max-width: 200px !important;
  object-fit: contain;
}

.brand-mark { display: inline-flex; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--c-red);
}
.brand-name strong { font-weight: 900; }
.brand-tagline {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: lowercase;
  color: var(--c-gray);
  margin-top: var(--s-1);
  font-weight: 500;
}

.header-search {
  display: flex;
  align-items: center;
  background: var(--c-gray-lighter);
  border-radius: var(--radius-pill);
  padding: 6px 6px 6px 20px;
  position: relative;
  border: 1px solid transparent;
  transition: border-color .15s ease, background .15s ease;
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
}
.header-search:focus-within { background: #fff; border-color: var(--c-red); }
.header-search__icon { color: var(--c-gray); display: inline-flex; margin-right: var(--s-2); }
.header-search input[type="search"] {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  padding: 10px 0;
  color: var(--c-black);
  min-width: 0;
  font-family: inherit;
}
.header-search input[type="search"]::placeholder { color: var(--c-gray); }
.header-search__submit {
  border: none;
  background: var(--c-red);
  color: #fff;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 13px;
  font-family: var(--font-head);
  transition: background .15s ease;
  letter-spacing: .02em;
}
.header-search__submit:hover { background: var(--c-red-dark); }

.header-actions { display: flex; align-items: center; gap: var(--s-5); }
.header-action {
  display: inline-flex; align-items: center; gap: var(--s-2);
  color: var(--c-black); text-decoration: none;
  font-size: 13px; font-weight: 500; position: relative;
  padding: var(--s-1) 0;
}
.header-action:hover { color: var(--c-red); }
.header-action__badge {
  position: absolute;
  top: -2px; left: 14px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  background: var(--c-red);
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
}

.primary-nav {
  background: #fff;
  border-top: 1px solid var(--c-gray-lighter);
  border-bottom: 1px solid var(--c-gray-light);
}
.primary-nav__inner { display: flex; align-items: center; }
.primary-menu {
  display: flex; align-items: center; gap: 0;
  flex-wrap: wrap;
}
.primary-menu li { position: relative; }
.primary-menu a {
  display: inline-block;
  padding: 16px 20px;
  color: var(--c-black);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: color .15s ease;
}
.primary-menu a:hover,
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a { color: var(--c-red); }
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a { position: relative; }
.primary-menu .current-menu-item > a::after,
.primary-menu .current_page_item > a::after {
  content: ""; position: absolute; left: 20px; right: 20px; bottom: 8px;
  height: 2px; background: var(--c-red); border-radius: 2px;
}

.primary-nav__toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--c-gray-light);
  width: 42px; height: 42px;
  border-radius: 8px;
  position: relative;
  margin: var(--s-2) 0;
  align-items: center;
  justify-content: center;
}
.primary-nav__hamburger,
.primary-nav__hamburger::before,
.primary-nav__hamburger::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background: var(--c-black);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform .2s ease, top .2s ease;
}
.primary-nav__hamburger { top: 50%; transform: translate(-50%, -50%); }
.primary-nav__hamburger::before { top: -6px; }
.primary-nav__hamburger::after { top: 6px; }
.primary-nav.is-open .primary-nav__hamburger { background: transparent; }
.primary-nav.is-open .primary-nav__hamburger::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.primary-nav.is-open .primary-nav__hamburger::after { top: 0; transform: translateX(-50%) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #B5161B 0%, var(--c-red) 55%, #F03B47 100%);
  color: #fff;
  overflow: hidden;
  padding: 0 0 var(--s-9);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(110deg, transparent 60%, rgba(255,255,255,.08) 60% 62%, transparent 62%),
    linear-gradient(110deg, transparent 70%, rgba(255,255,255,.06) 70% 73%, transparent 73%);
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: var(--s-12);
  align-items: center;
  padding-top: var(--s-13);
  padding-bottom: var(--s-12);
  position: relative;
  z-index: 1;
}
.hero__content { min-width: 0; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-4);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  background: rgba(255,255,255,.12);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  margin: 0 0 var(--s-7);
  border: 1px solid rgba(255,255,255,.18);
}
.hero__dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: #fff;
}
.hero__title {
  color: #fff;
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 4.8vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0 0 var(--s-5);
  text-shadow: 0 2px 0 rgba(0,0,0,.06);
}
.hero__lead {
  color: rgba(255,255,255,.92);
  font-size: 16px;
  line-height: 1.65;
  max-width: 520px;
  margin: 0 0 var(--s-8);
}
.hero__cta { display: flex; gap: var(--s-3); flex-wrap: wrap; }
.hero__cta .btn--secondary { color: #fff; border-color: rgba(255,255,255,.65); }
.hero__cta .btn--secondary:hover { background: #fff; color: var(--c-red); border-color: #fff; }

.hero__visual {
  position: relative;
  min-height: 380px;
}
.hero__visual img {
  position: relative; z-index: 2;
  width: 100%; height: 100%;
  object-fit: contain;
  max-height: 440px;
}
.hero__stripe { position: absolute; height: 100%; width: 60px; background: rgba(255,255,255,.06); transform: skewX(-18deg); z-index: 0; }
.hero__stripe--1 { right: 30%; }
.hero__stripe--2 { right: 10%; opacity: .5; width: 30px; }
.hero__products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
  position: relative;
  z-index: 1;
  align-items: end;
  min-height: 400px;
}
.hero__product {
  background: rgba(255,255,255,.06);
  border-radius: var(--radius-lg);
  padding: var(--s-3);
  display: flex; align-items: center; justify-content: center;
  height: 100%;
  border: 1px solid rgba(255,255,255,.1);
}

/* ===== Trust bar (floats over the bottom of hero) ===== */
.trustbar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s-3);
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--s-6) var(--s-7);
  margin-top: -28px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-lg);
}
.trustbar li {
  display: flex; align-items: center; gap: var(--s-3);
  color: var(--c-gray);
  font-size: 13px;
  padding: var(--s-2) 0;
}
.trustbar li + li { border-left: 1px solid var(--c-gray-light); padding-left: var(--s-5); }
.trustbar__icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--c-red-soft);
  color: var(--c-red);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.trustbar__text { display: flex; flex-direction: column; line-height: 1.35; gap: 2px; }
.trustbar__text strong { font-family: var(--font-head); font-size: 13px; color: var(--c-black); font-weight: 700; }

/* ===== Vouchers (auto from WooCommerce coupons) ===== */
.vouchers {
  padding: var(--s-9) 0;
  background: var(--c-gray-lightest);
}
.vouchers__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-4);
  margin-bottom: var(--s-6);
  flex-wrap: wrap;
}
.vouchers__heading { display: flex; flex-direction: column; gap: var(--s-2); }
.vouchers__eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-red);
  background: var(--c-red-soft);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  align-self: flex-start;
}
.vouchers__eyebrow strong { font-weight: 900; }
.vouchers__title {
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 2.2vw, 1.625rem);
  font-weight: 800;
  letter-spacing: -.01em;
  margin: 0;
  text-transform: uppercase;
  color: var(--c-black);
  line-height: 1.2;
}
.vouchers__hint {
  color: var(--c-gray);
  font-size: 13px;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
}
.vouchers__hint::after {
  content: "→";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  background: var(--c-red);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}

.vouchers__track {
  display: flex;
  gap: var(--s-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--c-red) rgba(0,0,0,.05);
  padding-bottom: var(--s-3);
  margin: 0 calc(-1 * var(--container-pad));
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}
.vouchers__track::-webkit-scrollbar { height: 6px; }
.vouchers__track::-webkit-scrollbar-track { background: rgba(0,0,0,.06); border-radius: 4px; }
.vouchers__track::-webkit-scrollbar-thumb { background: var(--c-red); border-radius: 4px; }
.vouchers__track::-webkit-scrollbar-thumb:hover { background: var(--c-red-dark); }

.voucher-card {
  flex: 0 0 auto;
  width: 360px;
  scroll-snap-align: start;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0,0,0,.06);
  display: grid;
  grid-template-columns: 124px 1fr;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.voucher-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.voucher-card__left {
  background: var(--c-red);
  color: #fff;
  padding: var(--s-4) var(--s-3);
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
/* Subtle dot pattern overlay for tactile feel */
.voucher-card__left::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 18% 22%, rgba(255,255,255,.12) 1px, transparent 1.5px);
  background-size: 16px 16px;
  pointer-events: none;
}
/* Half-circle notches */
.voucher-card__left::before {
  content: "";
  position: absolute;
  right: -9px;
  top: 50%;
  width: 18px; height: 18px;
  background: var(--c-gray-lightest);
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow:
    0 -38px 0 var(--c-gray-lightest),
    0 38px 0 var(--c-gray-lightest);
  z-index: 2;
}
.voucher-card__label {
  font-family: var(--font-head);
  font-size: 9px;
  letter-spacing: .22em;
  font-weight: 700;
  opacity: .85;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}
.voucher-card__prefix {
  font-family: var(--font-head);
  font-size: 10px;
  letter-spacing: .12em;
  font-weight: 600;
  text-transform: uppercase;
  opacity: .85;
  margin-top: 2px;
  position: relative;
  z-index: 1;
}
.voucher-card__main {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.02em;
  position: relative;
  z-index: 1;
}
.voucher-card__main--small {
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-top: 2px;
}
.voucher-card__shipping-icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 42px; height: 42px;
  background: rgba(255,255,255,.18);
  border: 1.5px solid rgba(255,255,255,.35);
  border-radius: 50%;
  position: relative;
  z-index: 1;
}

.voucher-card__right {
  position: relative;
  padding: var(--s-4) var(--s-4) var(--s-4) var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  min-width: 0;
}
/* Dashed perforation between halves — clearer than before */
.voucher-card__right::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px; bottom: 16px;
  border-left: 2px dashed rgba(0,0,0,.12);
}

.voucher-card__body { display: flex; flex-direction: column; gap: var(--s-2); min-width: 0; flex: 1; }
.voucher-card__headline {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--c-black);
  margin: 0;
  line-height: 1.4;
  letter-spacing: -.005em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.voucher-card__meta {
  display: flex; flex-direction: column; gap: 3px;
  font-size: 11px;
  color: var(--c-gray);
  line-height: 1.45;
}
.voucher-card__meta li { display: flex; align-items: flex-start; gap: 6px; }
.voucher-card__meta li::before {
  content: "";
  display: inline-block;
  width: 4px; height: 4px;
  background: var(--c-red);
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}

.voucher-card__action {
  display: flex;
  align-items: stretch;
  gap: var(--s-2);
  padding-top: var(--s-3);
  border-top: 1px dashed rgba(0,0,0,.1);
}
.voucher-card__code {
  flex: 1;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-red-soft);
  color: var(--c-red);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .03em;
  padding: 9px 6px;
  border: 1.5px dashed var(--c-red);
  border-radius: 6px;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.voucher-card__copy {
  padding: 9px 14px;
  font-size: 11px;
  white-space: nowrap;
  border-width: 1.5px;
  letter-spacing: .04em;
  flex-shrink: 0;
}

/* Free-shipping variant — blue instead of red */
.voucher-card--shipping .voucher-card__left { background: var(--c-blue); }
.voucher-card--shipping .voucher-card__code {
  background: var(--c-blue-soft);
  color: var(--c-blue);
  border-color: var(--c-blue);
}
.voucher-card--shipping .voucher-card__copy {
  color: var(--c-blue);
  border-color: var(--c-blue);
}
.voucher-card--shipping .voucher-card__copy:hover,
.voucher-card--shipping .voucher-card__copy.is-copied {
  background: var(--c-blue);
  color: #fff;
}
.voucher-card--shipping .voucher-card__meta li::before { background: var(--c-blue); }

/* ===== Sections ===== */
.section { padding: var(--section-y) 0; }
.section + .section { padding-top: 0; }
.section--brands { padding: var(--section-y) 0 var(--s-9); }
.section--stats { padding: var(--s-9) 0; }
.section--marketplace { padding: var(--s-9) 0 var(--section-y); }
.section--featured { padding-top: var(--s-9); }

.section__header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: var(--s-8);
  gap: var(--s-3);
  flex-wrap: wrap;
}
.section__title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
  font-weight: 800;
  letter-spacing: -.01em;
  margin: 0;
  text-transform: uppercase;
  color: var(--c-black);
  line-height: 1.2;
}
.section__sub {
  margin: var(--s-2) 0 0;
  color: var(--c-gray);
  font-size: 13px;
}
.section__dot { color: var(--c-red); margin: 0 var(--s-1); }
.section__more {
  color: var(--c-black);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  font-family: var(--font-head);
  letter-spacing: .02em;
  white-space: nowrap;
}
.section__more:hover { color: var(--c-red); }

/* ===== Brand cards ===== */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s-4);
}
.brand-card {
  display: grid;
  grid-template-rows: 88px 1fr 52px;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--c-gray-light);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.brand-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* Header — compact, all cards align */
.brand-card__head {
  background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: var(--s-2) var(--s-3);
  text-align: center;
  gap: 4px;
  min-width: 0;
  overflow: hidden;
}
.brand-card__logo-img {
  max-width: 100%;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.brand-card__name {
  font-family: var(--font-head);
  font-weight: 900;
  margin: 0;
  font-size: 18px;
  letter-spacing: -.01em;
  line-height: 1.15;
}
.brand-card__sub {
  display: block;
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-gray);
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.3;
}

/* Body — product photo dominates */
.brand-card__body {
  padding: var(--s-4) var(--s-3) var(--s-4);
  background: #fff;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  gap: 4px;
  min-height: 240px;
}
.brand-card__tag {
  font-family: var(--font-head);
  font-size: 12px; font-weight: 800; color: var(--c-black);
  margin: 0; letter-spacing: .06em; text-transform: uppercase;
  line-height: 1.3;
}
.brand-card__desc {
  font-family: var(--font-head);
  font-size: 10px; color: var(--c-gray); letter-spacing: .08em; margin: 0;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1.4;
}
.brand-card__image {
  width: 100%; flex: 1;
  display: flex; align-items: center; justify-content: center;
  min-height: 160px;
  padding: var(--s-3) 0 0;
}
.brand-card__image img { object-fit: contain; max-height: 200px; width: 100%; }

/* CTA — full-width bottom button with circular arrow */
.brand-card__cta {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--c-black);
  color: #fff;
  padding: 0 var(--s-4);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .15s ease;
  height: 100%;
}
.brand-card__cta:hover { background: var(--c-red); color: #fff; }
.brand-card__cta span[aria-hidden] {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  background: rgba(255,255,255,.18);
  border-radius: 50%;
  font-size: 14px;
  transition: background .15s ease, transform .2s ease;
}
.brand-card__cta:hover span[aria-hidden] {
  background: rgba(255,255,255,.3);
  transform: translateX(2px);
}

/* BITEC — black head, black CTA */
.brand-card--dark .brand-card__head { background: #1A1A1A; color: #fff; }
.brand-card--dark .brand-card__name { color: #fff; }
.brand-card--dark .brand-card__sub { color: rgba(255,255,255,.7); }
.brand-card--dark .brand-card__cta { background: var(--c-black); }

/* MultiPro — blue head, blue CTA */
.brand-card--blue .brand-card__head { background: linear-gradient(180deg, var(--c-blue), var(--c-blue-dark)); color: #fff; }
.brand-card--blue .brand-card__name { color: #fff; }
.brand-card--blue .brand-card__sub { color: rgba(255,255,255,.85); }
.brand-card--blue .brand-card__cta { background: var(--c-blue); }
.brand-card--blue .brand-card__cta:hover { background: var(--c-blue-dark); }

/* MAYAKA — red head, red CTA */
.brand-card--red .brand-card__head { background: linear-gradient(180deg, var(--c-red), var(--c-red-dark)); color: #fff; }
.brand-card--red .brand-card__name { color: #fff; }
.brand-card--red .brand-card__sub { color: rgba(255,255,255,.9); }
.brand-card--red .brand-card__cta { background: var(--c-red); }
.brand-card--red .brand-card__cta:hover { background: var(--c-red-dark); }

/* MK Coffee & Cook — dark head, black CTA, ivory body */
.brand-card--ivory .brand-card__head { background: #1A1A1A; color: #fff; }
.brand-card--ivory .brand-card__name { color: #fff; }
.brand-card--ivory .brand-card__sub { color: rgba(255,255,255,.7); }
.brand-card--ivory .brand-card__body { background: #F4ECDF; }
.brand-card--ivory .brand-card__cta { background: var(--c-black); }

/* UNION — blue head, blue CTA */
.brand-card--navy .brand-card__head { background: linear-gradient(180deg, var(--c-blue), var(--c-blue-dark)); color: #fff; }
.brand-card--navy .brand-card__name { color: #fff; }
.brand-card--navy .brand-card__sub { color: rgba(255,255,255,.85); }
.brand-card--navy .brand-card__cta { background: var(--c-blue); }
.brand-card--navy .brand-card__cta:hover { background: var(--c-blue-dark); }

/* When logo is uploaded onto a colored head, ensure it stays readable on top */
.brand-card--dark .brand-card__head--has-logo .brand-card__logo-img,
.brand-card--blue .brand-card__head--has-logo .brand-card__logo-img,
.brand-card--red .brand-card__head--has-logo .brand-card__logo-img,
.brand-card--ivory .brand-card__head--has-logo .brand-card__logo-img,
.brand-card--navy .brand-card__head--has-logo .brand-card__logo-img {
  max-height: 56px;
}

/* ===== Stats ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #fff;
  border: 1px solid var(--c-gray-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stats li {
  display: flex; align-items: center; gap: var(--s-4);
  padding: var(--s-6) var(--s-5);
  min-width: 0;
  position: relative;
}
.stats li + li::before {
  content: "";
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: var(--c-gray-light);
}
.stats__icon {
  width: 56px; height: 56px;
  background: var(--c-red-soft);
  border-radius: var(--radius-md);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--c-red);
  flex-shrink: 0;
}
.stats__icon svg {
  width: 26px; height: 26px;
  stroke: var(--c-red);
  stroke-width: 1.8;
  fill: none;
}
.stats > li > div { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.stats strong {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--c-black);
  display: block;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.015em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stats span {
  color: var(--c-black);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  font-family: var(--font-head);
  display: block;
}
.stats small {
  color: var(--c-gray);
  font-weight: 400;
  font-size: 12px;
  font-family: var(--font-body);
  display: block;
  line-height: 1.4;
}

/* ===== Marketplace ===== */
.marketplace {
  background: var(--c-gray-lightest);
  border: 1px solid var(--c-gray-light);
  border-radius: var(--radius-xl);
  padding: var(--s-9) var(--s-8);
  display: grid;
  grid-template-columns: 1.2fr 1.1fr 1fr;
  gap: var(--s-8);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.marketplace__title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 900;
  letter-spacing: -.01em;
  margin: 0 0 var(--s-4);
  text-transform: uppercase;
  line-height: 1.15;
}
.marketplace__lead { color: var(--c-gray); margin-bottom: var(--s-6); max-width: 380px; line-height: 1.65; }
.marketplace__benefits { display: flex; flex-direction: column; gap: var(--s-4); }
.marketplace__benefits li {
  display: flex; align-items: center; gap: var(--s-3);
  font-size: 14px;
  color: var(--c-black);
}
.marketplace__benefits strong { display: block; font-weight: 700; color: var(--c-black); font-size: 14px; font-family: var(--font-head); }
.marketplace__benefits small { color: var(--c-gray); font-size: 12px; line-height: 1.4; }
.marketplace__benefit-icon {
  width: 40px; height: 40px;
  background: #fff;
  border: 1px solid var(--c-gray-light);
  border-radius: var(--radius-md);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.marketplace__visual {
  position: relative;
  min-height: 240px;
}
.marketplace__visual img {
  position: relative; z-index: 1;
  width: 100%; height: 100%; max-height: 300px;
  object-fit: contain;
}
.marketplace__device { position: absolute; }
.marketplace__device--laptop { width: 78%; left: 0; top: 10%; }
.marketplace__device--phone { width: 30%; right: 0; bottom: 0; z-index: 2; }

/* ===== Footer ===== */
.site-footer {
  background: var(--c-black);
  color: rgba(255,255,255,.85);
  padding-top: var(--s-9);
  margin-top: var(--s-9);
}

/* TOP row — brand on left, social/marketplace strip on right */
.site-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--s-8);
  padding-bottom: var(--s-8);
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: var(--s-8);
  align-items: start;
}
.site-footer__brand { max-width: 460px; }
.site-footer__logo {
  display: inline-flex; align-items: center; gap: var(--s-3); text-decoration: none;
  color: #fff;
  margin-bottom: var(--s-4);
}
.site-footer__logo-pill {
  display: inline-flex; align-items: center;
  background: #fff;
  padding: 10px var(--s-4);
  border-radius: var(--radius-md);
  max-width: 100%;
}
.site-footer__logo-pill img {
  display: block; width: auto; height: auto;
  max-height: 44px; max-width: 200px;
  object-fit: contain;
}
.brand-text--footer .brand-name { color: #fff; }
.brand-text--footer .brand-tagline { color: rgba(255,255,255,.6); }
.site-footer__about { color: rgba(255,255,255,.7); font-size: 13.5px; line-height: 1.7; margin: 0; max-width: 420px; }

/* Connect strip (social + marketplace) — right side of top row */
.site-footer__connect {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-8);
  align-items: start;
  justify-content: end;
  justify-self: end;
}
.site-footer__connect-block { display: flex; flex-direction: column; gap: var(--s-3); }
.site-footer__connect-label {
  font-family: var(--font-head);
  font-size: 11px; color: rgba(255,255,255,.55);
  letter-spacing: .12em; text-transform: uppercase; font-weight: 700;
}

.site-footer__social { display: flex; gap: var(--s-2); }
.site-footer__social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-md);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  transition: all .15s ease;
}
.site-footer__social a:hover {
  background: var(--c-red);
  border-color: var(--c-red);
  transform: translateY(-2px);
}

.site-footer__marketplaces-list { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.mp {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px; border-radius: var(--radius-md);
  font-family: var(--font-head);
  font-size: 12px; font-weight: 700; text-decoration: none;
  letter-spacing: .03em;
  transition: transform .15s ease, box-shadow .15s ease;
}
.mp:hover { transform: translateY(-2px); box-shadow: 0 6px 14px -4px rgba(0,0,0,.4); }
.mp svg { flex-shrink: 0; }
.mp--shopee { background: #EE4D2D; color: #fff; }
.mp--shopee:hover { background: #D2421F; color: #fff; }
.mp--tokopedia { background: #03AC0E; color: #fff; }
.mp--tokopedia:hover { background: #028A0C; color: #fff; }
.mp--lazada { background: #0F1A6C; color: #fff; }
.mp--lazada:hover { background: #091248; color: #fff; }
.mp--blibli { background: #0095DA; color: #fff; }
.mp--blibli:hover { background: #007CB0; color: #fff; }
.mp--bukalapak { background: #E31E52; color: #fff; }
.mp--bukalapak:hover { background: #B11942; color: #fff; }
.mp--tiktokshop { background: #000; color: #fff; border: 1px solid rgba(255,255,255,.15); }
.mp--tiktokshop:hover { background: #1A1A1A; color: #fff; }

/* App store badges */
.site-footer__apps { margin-top: var(--s-4); display: flex; flex-direction: column; gap: var(--s-2); }
.site-footer__apps-list { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.app-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  color: #fff;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .03em;
  transition: background .15s ease, transform .15s ease;
}
.app-badge:hover { background: rgba(255,255,255,.12); color: #fff; transform: translateY(-1px); }

/* WhatsApp contact icon — green tint */
.site-footer__contact-icon--wa { background: #25D366; }

/* MIDDLE — link columns + contact */
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.5fr;
  gap: var(--s-7);
  padding-bottom: var(--s-8);
}
.site-footer__heading {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  color: #fff;
  margin: 0 0 var(--s-4);
  text-transform: uppercase;
  position: relative;
  padding-bottom: var(--s-3);
}
.site-footer__heading::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 24px; height: 2px;
  background: var(--c-red);
  border-radius: 2px;
}
.site-footer__links { display: flex; flex-direction: column; gap: var(--s-3); }
.site-footer__links a {
  color: rgba(255,255,255,.7);
  font-size: 13px;
  text-decoration: none;
  transition: color .15s ease, transform .15s ease;
  display: inline-block;
}
.site-footer__links a:hover { color: #fff; transform: translateX(2px); }

.site-footer__links--icon li {
  display: flex; gap: var(--s-3); align-items: flex-start;
  color: rgba(255,255,255,.75);
  font-size: 13px;
  line-height: 1.55;
}
.site-footer__contact-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  background: var(--c-red);
  border-radius: 6px;
  flex-shrink: 0;
  color: #fff;
}
.site-footer__links--icon a { color: rgba(255,255,255,.85); }
.site-footer__links--icon a:hover { color: #fff; transform: none; }

/* BOTTOM bar — copyright + quick links */
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: var(--s-4) 0;
  background: rgba(0,0,0,.6);
}
.site-footer__bottom-inner {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,.55);
  gap: var(--s-5);
  flex-wrap: wrap;
}
.site-footer__bottom p { margin: 0; }
.site-footer__bottom p strong { color: rgba(255,255,255,.85); font-weight: 600; }
.site-footer__bottom-links { display: flex; gap: var(--s-5); flex-wrap: wrap; }
.site-footer__bottom-links a {
  color: rgba(255,255,255,.6);
  text-decoration: none;
  font-size: 12px;
  transition: color .15s ease;
}
.site-footer__bottom-links a:hover { color: #fff; }

/* ===== Generic content pages ===== */
.content-wrap { padding: var(--s-9) 0 var(--s-12); }
.page-header { margin-bottom: var(--s-7); }
.page-title { font-family: var(--font-head); font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; margin: 0; }
.page-thumb { margin-bottom: var(--s-7); border-radius: var(--radius-lg); overflow: hidden; }
.entry-content { line-height: 1.75; color: var(--c-black); font-size: 16px; }
.entry-content h2 { font-size: 1.4rem; margin-top: 1.7em; }
.entry-content h3 { font-size: 1.2rem; margin-top: 1.4em; }
.entry-content p { margin-bottom: 1.1em; }
.entry-content ul, .entry-content ol { margin: 0 0 1.1em 1.4em; }
.entry-content ul li { list-style: disc; }
.entry-content ol li { list-style: decimal; }
.entry-content img { border-radius: var(--radius-md); }
.entry-content a { color: var(--c-red); }
.entry-content a:hover { text-decoration: underline; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6); }
.post-card {
  background: #fff; border: 1px solid var(--c-gray-light);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: box-shadow .15s ease, transform .15s ease;
}
.post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.post-card__thumb { display: block; aspect-ratio: 16/9; overflow: hidden; }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: var(--s-5) var(--s-5) var(--s-6); }
.post-card__title { font-family: var(--font-head); font-size: 17px; margin: 0 0 var(--s-2); font-weight: 700; line-height: 1.3; }
.post-card__title a { color: var(--c-black); text-decoration: none; }
.post-card__title a:hover { color: var(--c-red); }
.post-card__meta { color: var(--c-gray); font-size: 12px; margin: 0 0 var(--s-3); }
.post-card__excerpt { color: var(--c-black); font-size: 14px; line-height: 1.6; }
.post-card__more { display: inline-block; margin-top: var(--s-3); font-weight: 700; font-size: 13px; color: var(--c-red); font-family: var(--font-head); }

.pagination, .woocommerce-pagination {
  display: flex; gap: var(--s-2); justify-content: center; margin-top: var(--s-8); flex-wrap: wrap;
}
.pagination .page-numbers,
.woocommerce-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 var(--s-3);
  background: #fff; border: 1px solid var(--c-gray-light);
  border-radius: 8px; font-family: var(--font-head); font-weight: 700; font-size: 13px;
  color: var(--c-black); text-decoration: none;
}
.pagination .page-numbers.current,
.woocommerce-pagination .page-numbers.current {
  background: var(--c-red); color: #fff; border-color: var(--c-red);
}

.not-found { text-align: center; padding: var(--s-12) 0; }
.not-found__code { font-family: var(--font-head); font-size: 6rem; color: var(--c-red); margin: 0; line-height: 1; font-weight: 900; }
.not-found__title { margin: var(--s-2) 0 var(--s-4); }
.not-found__search { max-width: 480px; margin: var(--s-6) auto 0; }

/* ===== WooCommerce ===== */
.shop-wrap { padding: var(--s-8) 0 var(--s-12); }
.woocommerce-products-header__title { font-family: var(--font-head); font-size: 1.8rem; margin-bottom: var(--s-6); font-weight: 800; }
.woocommerce ul.products,
.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: var(--s-6);
  margin: 0 !important;
  padding: 0 !important;
}
.woocommerce ul.products li.product,
.products li.product {
  width: auto !important;
  margin: 0 !important;
  background: #fff;
  border: 1px solid var(--c-gray-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: var(--s-4) !important;
  transition: box-shadow .15s ease, transform .15s ease;
  list-style: none;
}
.woocommerce ul.products li.product:hover,
.products li.product:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.woocommerce ul.products li.product a img,
.products li.product a img {
  border-radius: var(--radius-md);
  margin-bottom: var(--s-3);
  aspect-ratio: 1/1; object-fit: contain;
  background: var(--c-gray-lightest);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-head);
  font-size: 14px !important; padding: 0 !important; margin: 0 0 var(--s-2) !important;
  color: var(--c-black);
  font-weight: 700;
  line-height: 1.4;
}
.woocommerce ul.products li.product .price,
.products li.product .price {
  color: var(--c-red) !important;
  font-family: var(--font-head);
  font-size: 15px !important;
  font-weight: 800;
  display: block;
  margin-bottom: var(--s-3);
}
.woocommerce ul.products li.product .price del { color: var(--c-gray) !important; font-size: 12px; font-weight: 500; opacity: .7; }
.woocommerce ul.products li.product .button,
.products li.product .button {
  background: var(--c-red) !important;
  color: #fff !important;
  border-radius: 8px !important;
  padding: 10px var(--s-3) !important;
  font-family: var(--font-head) !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  margin-top: var(--s-1) !important;
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.woocommerce ul.products li.product .button:hover { background: var(--c-red-dark) !important; }

.woocommerce span.onsale {
  background: var(--c-red) !important;
  color: #fff !important;
  border-radius: 6px !important;
  padding: 4px 10px !important;
  font-family: var(--font-head) !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  min-height: auto !important;
  min-width: auto !important;
  top: var(--s-4) !important;
  left: var(--s-4) !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}

.woocommerce div.product .product_title { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; }
.woocommerce div.product p.price,
.woocommerce div.product span.price { color: var(--c-red); font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; }
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background: var(--c-red);
  color: #fff;
  border-radius: 8px;
  padding: 12px var(--s-6);
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover { background: var(--c-red-dark); }

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-top-color: var(--c-red);
  background: var(--c-red-soft);
  border-radius: var(--radius-md);
  padding: var(--s-4) var(--s-5);
}
.woocommerce-message::before,
.woocommerce-info::before { color: var(--c-red); }

.woocommerce table.shop_table {
  border-radius: var(--radius-md); overflow: hidden; border-collapse: separate;
}
.woocommerce table.shop_table th { background: var(--c-gray-lightest); font-family: var(--font-head); }

.search-form { display: flex; gap: var(--s-2); }
.search-form input.search-field {
  flex: 1; padding: 12px var(--s-4); border: 1px solid var(--c-gray-light);
  border-radius: var(--radius-md); font-family: inherit; font-size: 14px;
}
.search-form input.search-field:focus { outline: none; border-color: var(--c-red); }

/* Image helpers */
.hero__visual--has-image { background: rgba(255,255,255,.04); border-radius: var(--radius-xl); padding: var(--s-4); }
.marketplace__visual--has-image { display: flex; align-items: center; justify-content: center; }
.brand-card__image--has-image img { width: 100%; }

/* ============================================================
   Responsive breakpoints
   - 1200px : large tablet / small laptop
   - 1024px : tablet landscape
   - 768px  : tablet portrait & mobile
   - 480px  : small phone
   ============================================================ */

@media (max-width: 1200px) {
  :root { --container-pad: 28px; --section-y: 72px; }
  .header-inner { gap: var(--s-6); }
  .hero__inner { gap: var(--s-9); padding-top: var(--s-12); padding-bottom: var(--s-10); }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li { padding: var(--s-5) var(--s-5); }
  .stats li + li::before { display: none; }
  .stats li:nth-child(2)::before,
  .stats li:nth-child(4)::before {
    content: ""; position: absolute; left: 0; top: 20%; bottom: 20%;
    width: 1px; background: var(--c-gray-light); display: block;
  }
  .stats li:nth-child(3)::after,
  .stats li:nth-child(4)::after {
    content: ""; position: absolute; left: 5%; right: 5%; top: 0;
    height: 1px; background: var(--c-gray-light);
  }
  .stats strong { font-size: 1.375rem; }
  .marketplace { grid-template-columns: 1fr 1fr; padding: var(--s-8) var(--s-7); gap: var(--s-7); }
  .marketplace__visual { grid-column: 1 / -1; min-height: 220px; max-height: 280px; }
}

@media (max-width: 1024px) {
  :root { --container-pad: 24px; --section-y: 64px; }
  .header-inner {
    grid-template-columns: auto 1fr;
    row-gap: var(--s-3);
    padding-top: var(--s-3); padding-bottom: var(--s-3);
    gap: var(--s-5);
  }
  .header-search {
    grid-column: 1 / -1;
    order: 3;
    max-width: none;
    margin: 0;
  }
  .header-action__label { display: none; }
  .header-actions { gap: var(--s-5); }
  .header-action__badge { left: 16px; top: -4px; }

  .hero { padding-bottom: var(--s-9); }
  .hero__inner {
    grid-template-columns: 1fr;
    padding-top: var(--s-10); padding-bottom: var(--s-9);
    gap: var(--s-6);
  }
  .hero__visual { min-height: auto; }
  .hero__products { display: none; }
  .hero__visual--has-image { padding: var(--s-2); margin-top: var(--s-3); }
  .hero__lead { font-size: 15px; }

  .trustbar { grid-template-columns: repeat(2, 1fr); padding: var(--s-5); gap: var(--s-4); }
  .trustbar li + li { border-left: 0; padding-left: 0; }
  .trustbar li { font-size: 12px; padding: var(--s-1) 0; }

  .voucher-card { width: 320px; grid-template-columns: 110px 1fr; }
  .voucher-card__main { font-size: 22px; }
  .voucher-card__main--small { font-size: 12px; }
  .vouchers { padding: var(--s-8) 0; }

  .section__header { margin-bottom: var(--s-6); }
  .post-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }
  .site-footer__top { grid-template-columns: 1fr; gap: var(--s-6); }
  .site-footer__connect { justify-self: start; gap: var(--s-7); }
  .site-footer__grid { grid-template-columns: 1fr 1fr 1fr 1fr; gap: var(--s-5); }
  .site-footer__contact { grid-column: 1 / -1; }
  .site-footer__contact .site-footer__links--icon { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--s-3); }

  .woocommerce ul.products,
  .products { grid-template-columns: repeat(3, 1fr) !important; }

  .marketplace { padding: var(--s-7) var(--s-6); }
}

@media (max-width: 768px) {
  :root { --container-pad: 20px; --section-y: 48px; }

  .site-branding, .site-branding .custom-logo-link { max-width: 180px; }
  .brand-tagline { display: none; }
  .header-action { gap: 0; padding: 6px; }
  .header-actions { gap: var(--s-3); }
  .header-action__badge { left: 16px; top: 2px; }
  .custom-logo-link img, img.custom-logo { height: 36px !important; max-height: 36px !important; max-width: 160px !important; }
  .site-footer__logo-pill { padding: var(--s-2) var(--s-3); }
  .site-footer__logo-pill img { max-height: 38px; max-width: 160px; }

  .primary-nav__toggle { display: inline-flex; }
  .primary-menu {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: var(--s-2) 0;
    border-bottom: 1px solid var(--c-gray-light);
    box-shadow: var(--shadow-md);
    z-index: 49;
  }
  .primary-menu li { width: 100%; }
  .primary-menu li a { display: block; padding: 14px var(--s-5); border-bottom: 1px solid var(--c-gray-lighter); }
  .primary-menu .current-menu-item > a::after,
  .primary-menu .current_page_item > a::after { display: none; }
  .primary-nav__inner { position: relative; padding-top: 0; padding-bottom: 0; }
  .primary-nav.is-open .primary-menu { display: flex; }

  .hero { padding-bottom: var(--s-7); }
  .hero__inner { padding-top: var(--s-8); padding-bottom: var(--s-8); gap: var(--s-5); }
  .hero__eyebrow { font-size: 10px; padding: var(--s-2) var(--s-4); letter-spacing: .16em; gap: var(--s-2); margin-bottom: var(--s-5); }
  .hero__title { font-size: clamp(1.9rem, 7vw, 2.6rem); margin-bottom: var(--s-4); }
  .hero__lead { font-size: 14px; margin-bottom: var(--s-5); }
  .hero__cta .btn { padding: 12px 20px; font-size: 12px; flex: 1; justify-content: center; min-width: 140px; }

  .trustbar { grid-template-columns: 1fr 1fr; padding: var(--s-4); gap: var(--s-3); margin-top: -20px; }
  .trustbar__icon { width: 38px; height: 38px; }
  .trustbar__text strong { font-size: 12px; }

  .vouchers { padding: var(--s-7) 0; }
  .vouchers__header { gap: var(--s-3); margin-bottom: var(--s-5); }
  .vouchers__title { font-size: 1.125rem; }
  .vouchers__hint { font-size: 12px; }

  .voucher-card { width: 300px; grid-template-columns: 100px 1fr; }
  .voucher-card__left { padding: var(--s-3) var(--s-2); }
  .voucher-card__left::before { box-shadow: 0 -30px 0 var(--c-gray-lightest), 0 30px 0 var(--c-gray-lightest); }
  .voucher-card__main { font-size: 20px; }
  .voucher-card__main--small { font-size: 11px; }
  .voucher-card__label { font-size: 8px; }
  .voucher-card__prefix { font-size: 9px; }
  .voucher-card__shipping-icon { width: 34px; height: 34px; }
  .voucher-card__right { padding: var(--s-3) var(--s-3) var(--s-3) var(--s-4); gap: var(--s-2); }
  .voucher-card__headline { font-size: 12px; -webkit-line-clamp: 2; }
  .voucher-card__meta { font-size: 10px; }
  .voucher-card__code { font-size: 11px; padding: 7px 5px; letter-spacing: .02em; }
  .voucher-card__copy { padding: 7px 11px; font-size: 10px; }

  .section { padding: var(--section-y) 0; }
  .section--brands, .section--marketplace { padding: var(--section-y) 0; }
  .section__title { font-size: 1.25rem; }
  .section__header { margin-bottom: var(--s-5); gap: var(--s-2); }
  .section__more { font-size: 12px; }

  .brand-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-3); }
  .brand-card { grid-template-rows: 76px 1fr 46px; }
  .brand-card__head { padding: var(--s-2) var(--s-3); }
  .brand-card__logo-img { max-height: 46px; }
  .brand-card__name { font-size: 15px; }
  .brand-card__sub { font-size: 9px; }
  .brand-card__body { padding: var(--s-3); min-height: 200px; }
  .brand-card__tag { font-size: 11px; }
  .brand-card__desc { font-size: 9px; }
  .brand-card__image { min-height: 120px; }
  .brand-card__cta { padding: 0 var(--s-3); font-size: 11px; }
  .brand-card__cta span[aria-hidden] { width: 22px; height: 22px; }
  .brand-card--dark .brand-card__head--has-logo .brand-card__logo-img,
  .brand-card--blue .brand-card__head--has-logo .brand-card__logo-img,
  .brand-card--red .brand-card__head--has-logo .brand-card__logo-img,
  .brand-card--ivory .brand-card__head--has-logo .brand-card__logo-img,
  .brand-card--navy .brand-card__head--has-logo .brand-card__logo-img { max-height: 44px; }

  .stats { grid-template-columns: 1fr; }
  .stats li { padding: var(--s-4) var(--s-5); gap: var(--s-3); }
  .stats li + li::before { display: none; }
  .stats li:nth-child(2)::after,
  .stats li:nth-child(3)::after,
  .stats li:nth-child(4)::after {
    content: ""; position: absolute; left: 5%; right: 5%; top: 0;
    height: 1px; background: var(--c-gray-light);
  }
  .stats__icon { width: 48px; height: 48px; }
  .stats__icon svg { width: 22px; height: 22px; }
  .stats strong { font-size: 1.25rem; }
  .stats span { font-size: 12px; }
  .stats small { font-size: 11px; }

  .marketplace { grid-template-columns: 1fr; padding: var(--s-7) var(--s-5); gap: var(--s-5); border-radius: var(--radius-lg); }
  .marketplace__visual { display: none; }
  .marketplace__title { font-size: 1.4rem; }
  .marketplace__lead { margin-bottom: var(--s-4); font-size: 14px; }
  .marketplace__benefits { gap: var(--s-3); }
  .marketplace .btn { width: 100%; justify-content: center; }

  .site-footer { padding-top: var(--s-8); }
  .site-footer__top { grid-template-columns: 1fr; gap: var(--s-5); padding-bottom: var(--s-6); margin-bottom: var(--s-6); }
  .site-footer__brand { max-width: none; }
  .site-footer__connect { grid-template-columns: 1fr; gap: var(--s-5); justify-self: start; width: 100%; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: var(--s-5); padding-bottom: var(--s-6); }
  .site-footer__contact { grid-column: 1 / -1; }
  .site-footer__contact .site-footer__links--icon { display: flex; grid-template-columns: none; }
  .site-footer__heading { margin-bottom: var(--s-3); padding-bottom: var(--s-2); }
  .site-footer__bottom { padding: var(--s-3) 0; }
  .site-footer__bottom-inner { flex-direction: column; gap: var(--s-2); text-align: center; }
  .site-footer__bottom-links { gap: var(--s-3); justify-content: center; }

  .post-grid { grid-template-columns: 1fr; }
  .woocommerce ul.products,
  .products { grid-template-columns: repeat(2, 1fr) !important; gap: var(--s-3); }

  .header-search input[type="search"] { font-size: 13px; }
  .header-search { padding: 4px 4px 4px var(--s-4); }
  .header-search__submit { padding: 9px var(--s-4); font-size: 12px; }

  .content-wrap { padding: var(--s-7) 0 var(--s-9); }
}

@media (max-width: 480px) {
  :root { --container-pad: 16px; }
  .hero__title { font-size: 1.7rem; }
  .hero__eyebrow {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    font-size: 9px;
  }
  .hero__cta { gap: var(--s-2); }
  .hero__cta .btn { flex: 1 1 100%; }

  .trustbar { grid-template-columns: 1fr; padding: var(--s-3); }

  .brand-grid { grid-template-columns: 1fr; gap: var(--s-3); }
  .brand-card { grid-template-rows: 88px 1fr 50px; }

  .woocommerce ul.products,
  .products { grid-template-columns: 1fr !important; }

  .promo-strip__voucher-code { font-size: 20px; }
  .stats strong { font-size: 1.15rem; }
  .stats li { padding: var(--s-3) var(--s-4); }

  .header-actions { gap: var(--s-2); }
  .header-action svg { width: 20px; height: 20px; }
}
