/* ==========================================================================
   MERGED STYLESHEET  (chrome.css + styles.css)
   Base: full chrome.css. Then only the rules unique to styles.css.
   Exact duplicates removed; on conflict chrome.css wins.
   ========================================================================== */

/* ══════════════════════════════════════════════════════════════════
   Swordis — SITEWIDE CHROME styles (tokens, header, search, footer,
   product card, video-testimonial modal + their mobile rules).
   Shared by every page except the homepage (which predates this split
   and keeps its own self-contained stylesheet with identical rules).
   ══════════════════════════════════════════════════════════════════ */

/* ==========================================================================
   Swordis — Homepage (clean handoff)
   Tokens → base → sections in page order.
   ========================================================================== */

:root {
  /* Neutrals (warm dark-green ink ramp) */
  --ink-900: #1a2d28;
  --ink-800: #233a34;
  --ink-700: #223330;
  --ink-600: #4a5a57;
  --ink-500: #6b7a77;
  --ink-400: #98a19f;
  --ink-300: #c5ccca;
  --ink-200: #e4e7e6;
  --ink-100: #f5f6f5;

  /* Brand greens */
  --brand-900: #01231f;
  --brand-700: #17433d;

  /* Accent orange */
  --accent-700: #a92b00;
  --accent-600: #c73100;
  --accent-500: #dc3809;
  --accent-100: #fef0ea;

  /* Status / sale */
  --ok-600: #0b8e6a;
  --ok-100: #e6f4ef;
  --sale-500: #e11d1d;

  /* Semantic */
  --bg-page: #ffffff;
  --bg-muted: var(--ink-100);
  --fg-primary: var(--ink-900);
  --fg-secondary: var(--ink-600);
  --fg-tertiary: var(--ink-500);
  /* long reading text - product description, shipping info, reviews and our replies */
  --fg-body: #32373c;
  --border: var(--ink-200);
  --border-strong: var(--ink-300);
  --footer-dark: #0b1310;
  --footer-band: #1a2d28;

  /* Type */
  --font-display: "Instrument Sans", "Instrument Sans Fallback", "Helvetica Neue", Arial, sans-serif;
  --font-ui: "Inter", "Inter Fallback", "Helvetica Neue", Arial, sans-serif;

  /* Shadow */

  /* Radius (from shared/tokens.css — used by buttons, cards, modals, PDP) */
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;
  --r-pill: 999px;
  --sh-1: 0 1px 2px rgba(15, 26, 24, .06), 0 1px 1px rgba(15, 26, 24, .04);
  --sh-2: 0 2px 8px rgba(15, 26, 24, .06), 0 1px 2px rgba(15, 26, 24, .04);
  --sh-3: 0 8px 24px rgba(15, 26, 24, .08), 0 2px 6px rgba(15, 26, 24, .04);
}

/* ── Base ─────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 24px;
  color: var(--fg-primary);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--ink-900);
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
  padding: 0;
}

input {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4,
p,
ul,
dl,
dd {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

/* Global heading scale — shared by every page of the handoff.
   Section/component classes may override; these are the defaults. */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--ink-900);
}

h1 {
  font-size: 43px;
  line-height: 51px;
}

h2 {
  font-size: 36px;
  line-height: 43px;
}

h3 {
  font-size: 26px;
  line-height: 34px;
}

h4 {
  font-size: 19px;
  line-height: 28px;
}

.ic {
  display: inline-block;
  flex-shrink: 0;
}

/* Layout containers: unified content width 1440 */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

.hp-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
  transition: background .2s, transform .12s, border-color .2s;
}

.btn--primary {
  background: var(--accent-500);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-600);
  color: #fff;
}

.btn--primary:active {
  transform: translateY(1px);
}

.btn--ghost {
  background: transparent;
  color: var(--fg-primary);
  border: 1px solid var(--border-strong);
}

.btn--ghost:hover {
  background: var(--bg-muted);
  border-color: var(--ink-400);
}

.btn--dark {
  background: var(--brand-900, #01231f);
  color: #fff;
}

.btn--dark:hover {
  background: var(--brand-800, #0d332e);
  color: #fff;
}

.btn--sm {
  height: 36px;
  padding: 0 14px;
  font-size: 15px;
}

/* Inputs */
.input {
  height: 44px;
  padding: 0 14px;
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}

.input:focus {
  outline: none;
  border-color: var(--accent-500);
  box-shadow: 0 0 0 3px var(--accent-100);
}

/* Stars */
.stars {
  display: inline-flex;
  gap: 1px;
  color: var(--accent-500);
}

.stars--lg {
  gap: 2px;
}

.stars .ic.is-off {
  color: var(--ink-300, #c8cdd1);
}

/* Placeholder block */
.ph {
  background:
    repeating-linear-gradient(135deg, rgba(15, 26, 24, .022) 0 10px, rgba(15, 26, 24, .011) 10px 20px),
    var(--ink-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-tertiary);
  font-size: 12px;
  letter-spacing: .08em;
  border-radius: 8px;
}

/* Section shell */
.section--categories {
  padding: 72px 0 40px;
}

.section--products {
  padding: 64px 0 40px;
}

.section--bespoke {
  padding: 56px 0;
}

.section--brands {
  padding: 72px 0 40px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-head-text {
  flex: 1;
  min-width: 0;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-tertiary);
  font-weight: 600;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 30px;
  line-height: 38px;
  letter-spacing: -.01em;
  color: var(--ink-900);
}

.section-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  color: var(--fg-secondary);
  flex-shrink: 0;
}

.section-action-plain {
  font-size: 15px;
  color: var(--fg-secondary);
  flex-shrink: 0;
}

.section-action:hover,
.section-action-plain:hover {
  color: var(--ink-900);
}

/* ── Announcement bar ─────────────────────────────────────────── */
.topbar {
  background: #0b1310;
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  border-bottom: 1px solid #1a2d28;
}

.topbar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  height: 30px;
}

.topbar b {
  color: #fff;
  font-weight: 600;
}

.topbar a {
  color: #fff;
}

.topbar-dot {
  opacity: .4;
}

/* ── Navbar ───────────────────────────────────────────────────── */
.navbar {
  background: var(--bg-muted);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 20;
}

.navbar-top {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

.navbar-logo img {
  height: 32px;
  width: 102px;
}

.navbar-search {
  position: relative;
  flex: 1;
  min-width: 0;
  max-width: 560px;
  transition: max-width 220ms cubic-bezier(.2, .8, .2, 1);
}

.navbar-search.is-expanded {
  max-width: 720px;
}

.navbar-search-ic {
  position: absolute;
  left: 14px;
  top: 50%;
  margin-top: -9px;
  color: var(--fg-tertiary);
  pointer-events: none;
}

.navbar-search-input {
  font-size: 15px;
  padding-left: 42px;
  padding-right: 42px;
}

.navbar-search-input::-webkit-search-cancel-button,
.navbar-search-input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.navbar-search-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-tertiary);
  background: transparent;
  cursor: pointer;
  transition: background .15s, color .15s;
}

.navbar-search-clear:hover {
  background: var(--ink-100);
  color: var(--ink-900);
}

.navbar-search-clear[hidden] {
  display: none;
}

/* takes the clear button's spot while results are loading */
.navbar-search-spinner {
  position: absolute;
  right: 14px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--accent-600) 25%, transparent);
  border-top-color: var(--accent-600);
  animation: navbar-search-spin .8s linear infinite;
  pointer-events: none;
  display: none;
}

.navbar-search.is-loading .navbar-search-spinner {
  display: block;
}

.navbar-search.is-loading .navbar-search-clear {
  display: none;
}

@keyframes navbar-search-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ── Search dropdown (matches shared SearchBar) ────────────────── */
@keyframes sr-pop {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.search-dd {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 60;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(11, 19, 16, .14);
  overflow: hidden;
  max-height: 78vh;
  overflow-y: auto;
  animation: sr-pop 160ms ease-out;
}

.search-body {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 360px;
}

/* Tablet: input is narrow, so detach the dropdown width from it and keep 2 cols */
@media (min-width: 721px) and (max-width: 1024px) {
  .search-dd {
    right: auto;
    width: min(620px, calc(100vw - 32px));
  }

  .search-body {
    grid-template-columns: 200px 1fr;
  }
}

@media (max-width: 720px) {
  .search-dd {
    max-height: calc(100vh - 140px);
  }

  .search-body {
    display: block;
    min-height: 0;
  }

  .search-side {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .search-block {
    padding: 12px 12px 10px;
  }

  .search-main {
    padding: 6px;
  }

}

.search-side {
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.search-block {
  padding: 14px 14px 10px;
  border-bottom: 1px solid var(--border);
}

.search-block:last-child {
  border-bottom: 0;
}

.search-block-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-tertiary);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.search-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.search-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--ink-100);
  color: var(--fg-primary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}

.search-cat.is-primary {
  background: var(--ink-900);
  color: #fff;
  font-weight: 600;
}

.search-cat span {
  font-size: 11px;
  opacity: .7;
  font-weight: 400;
}

.search-brands {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.search-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  cursor: pointer;
  padding: 6px 8px;
  margin: 0 -8px;
  border-radius: 6px;
  transition: background .12s;
}

.search-brand:hover {
  background: var(--ink-100);
}

.search-brand-badge {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 4px;
  background: var(--ink-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--fg-tertiary);
  font-weight: 600;
}

.search-brand-name {
  font-size: 14px;
  color: var(--fg-primary);
  flex: 1;
  min-width: 0;
}

.search-brand-count {
  font-size: 12px;
  color: var(--fg-tertiary);
}

.search-main {
  padding: 8px;
}

.search-main-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px 6px;
}

.search-main-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-tertiary);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.search-viewall {
  font-size: 13px;
  color: var(--accent-600);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.search-viewall:hover {
  color: var(--accent-700);
}

.search-result {
  display: flex;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 6px;
  cursor: pointer;
  align-items: center;
  transition: background .12s;
}

.search-result:hover,
.search-result.is-active {
  background: var(--ink-100);
}

.search-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-tertiary);
  font-size: 10px;
  letter-spacing: .04em;
  flex-shrink: 0;
  max-width: 48px;
}

.search-ph img {
  object-fit: cover;
  border-radius: 4px;
}

.search-result-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.search-result-brand {
  font-size: 12px;
  color: var(--fg-tertiary);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
}

.search-result-name {
  font-size: 14px;
  color: var(--fg-primary);
  line-height: 19px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-name mark {
  background: var(--accent-100);
  color: var(--accent-700);
  border-radius: 3px;
  padding: 0 1px;
}

.search-result-price {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
}

.search-result-now {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-900);
}

.search-result-now.is-sale {
  color: var(--sale-500);
}

.search-result-was {
  font-size: 12px;
  color: var(--fg-tertiary);
  text-decoration: line-through;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.icon-btn {
  position: relative;
  padding: 8px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  color: var(--fg-primary);
}

.icon-btn:hover {
  background: var(--ink-100);
}

/* empty cart: nothing to open */
.icon-btn--cart.is-empty {
  pointer-events: none;
  cursor: default;
}

/* Icon tooltip - css only, label from [data-tip]. Replaces Tippy.js here (46 KB of JS on every page for
   the two header labels) and matches its look: the .tippy-box theme, above the icon, 8px gap, arrow.
   Shown on hover for pointers that can hover and on keyboard focus - never on touch, where a tap
   would leave it open. ::after is the label, ::before the arrow. */
.icon-btn[data-tip]::before,
.icon-btn[data-tip]::after {
  position: absolute;
  left: 50%;
  z-index: 30;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s;
}

.icon-btn[data-tip]::after {
  content: attr(data-tip);
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  padding: 5px 9px;
  border-radius: 6px;
  background: var(--ink-900);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
}

.icon-btn[data-tip]::before {
  content: "";
  bottom: calc(100% + 1px);
  margin-left: -8px;
  border: solid transparent;
  border-width: 8px 8px 0;
  border-top-color: var(--ink-900);
}

.icon-btn[data-tip]:focus-visible::before,
.icon-btn[data-tip]:focus-visible::after {
  opacity: 1;
  visibility: visible;
}

@media (hover: hover) {

  .icon-btn[data-tip]:hover::before,
  .icon-btn[data-tip]:hover::after {
    opacity: 1;
    visibility: visible;
  }
}

.icon-btn-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent-500);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Desktop nav (primary menu) ───────────────────────────────────
   Ported from the swordis-v2 header__bottom / header__nav styles.
   WP-native menu: ul.menu > li.menu-item > a. Plain dropdowns are
   nested ul.sub-menu; 'mega-menu' / 'mega-menu-custom' items wrap
   their submenu in .navbar-mega > .container (see the menu walker).
   Panels open on .is-open, set by the [mega-menu] hover intent JS. */
.navbar-nav {
  position: relative;
  border-top: 1px solid var(--border);
  font-family: var(--font-ui);
}

.navbar-nav-inner {
  display: flex;
  align-items: center;
}

.navbar-nav .menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 32px;
}

.navbar-nav .menu>.menu-item {
  position: relative;
}

/* mega items position their panel against the full-width .navbar-nav */
.navbar-nav .menu>.mega-menu,
.navbar-nav .menu>.mega-menu-custom {
  position: static;
}

.navbar-nav .menu>.menu-item>a {
  position: relative;
  display: flex;
  align-items: center;
  padding: 11px 0;
  color: #000;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  white-space: nowrap;
  text-decoration: none;
  transition: .3s ease-in-out;
}

.navbar-nav .menu>.menu-item>a::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent-500);
  transform: scaleX(0);
  transition: .3s ease-in-out;
}

.navbar-nav .menu>.menu-item-has-children>a {
  padding-right: 22px;
}

/* chevron svg is added to parent items by swordis_arrows_in_menus() */
.navbar-nav .menu>.menu-item-has-children>a>svg {
  position: absolute;
  top: 50%;
  right: 0;
  margin-top: -8px;
  stroke: #000;
  transition: .3s ease-in-out;
}

.navbar-nav .menu>.menu-item:hover>a,
.navbar-nav .menu>.menu-item.is-open>a {
  color: var(--accent-500);
}

.navbar-nav .menu>.menu-item:hover>a::before,
.navbar-nav .menu>.menu-item.is-open>a::before {
  transform: scaleX(1);
}

.navbar-nav .menu>.menu-item:hover>a>svg,
.navbar-nav .menu>.menu-item.is-open>a>svg {
  stroke: var(--accent-500);
  transform: scaleY(-1);
}

/* Plain dropdown (2nd level) and its flyout (3rd level) */
.navbar-nav .sub-menu {
  list-style: none;
  margin: 0;
}

.navbar-nav .menu>.menu-item>.sub-menu,
.navbar-nav .menu>.menu-item>.sub-menu>.menu-item>.sub-menu {
  position: absolute;
  z-index: 30;
  width: 220px;
  padding: 8px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, .1);
  visibility: hidden;
  opacity: 0;
  transition: .3s ease-in-out;
}

.navbar-nav .menu>.menu-item>.sub-menu {
  top: calc(100% + 1px);
  left: 0;
}

/* hover bridge over the 1px gap under the nav border */
.navbar-nav .menu>.menu-item>.sub-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 1px;
}

.navbar-nav .menu>.menu-item>.sub-menu>.menu-item>.sub-menu {
  top: 0;
  left: 100%;
}

/* dropdown would overflow the viewport — anchor it to the item's right
   edge and open its flyouts to the left (.is-flip-x set by [mega-menu] JS) */
.navbar-nav .menu>.menu-item.is-flip-x>.sub-menu {
  left: auto;
  right: 0;
}

.navbar-nav .menu>.menu-item.is-flip-x>.sub-menu>.menu-item>.sub-menu {
  left: auto;
  right: 100%;
}

.navbar-nav .menu>.menu-item.is-open>.sub-menu,
.navbar-nav .menu>.menu-item:focus-within>.sub-menu,
.navbar-nav .menu>.menu-item>.sub-menu>.menu-item:hover>.sub-menu,
.navbar-nav .menu>.menu-item>.sub-menu>.menu-item:focus-within>.sub-menu {
  visibility: visible;
  opacity: 1;
}

.navbar-nav .menu>.menu-item>.sub-menu .menu-item {
  position: relative;
}

.navbar-nav .menu>.menu-item>.sub-menu .menu-item>a {
  position: relative;
  display: block;
  padding: 12px 24px 12px 12px;
  border-radius: 8px;
  color: #000;
  font-size: 16px;
  line-height: 24px;
  text-decoration: none;
  transition: .3s ease-in-out;
}

.navbar-nav .menu>.menu-item>.sub-menu .menu-item:hover>a {
  background: #f5f5f5;
  color: var(--accent-500);
}

.navbar-nav .menu>.menu-item>.sub-menu .menu-item-has-children>a>svg {
  position: absolute;
  top: 50%;
  right: 12px;
  margin-top: -8px;
  stroke: #000;
  transition: .3s ease-in-out;
}

.navbar-nav .menu>.menu-item>.sub-menu .menu-item-has-children:hover>a>svg {
  stroke: var(--accent-500);
}

/* Mega panel — full-width box under the nav, tiles in the page container */
.navbar-nav .navbar-mega {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  right: 0;
  z-index: 30;
  padding: 24px 0;
  background: #fff;
  box-shadow: 0 10px 20px 0 rgba(0, 0, 0, .08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: .3s cubic-bezier(.39, .575, .565, 1);
}

.navbar-nav .navbar-mega::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 1px;
}

.navbar-nav .menu>.menu-item.is-open>.navbar-mega,
.navbar-nav .menu>.menu-item:focus-within>.navbar-mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.navbar-nav .navbar-mega>.container>.sub-menu {
  display: flex;
  column-gap: 16px;
  margin: 0 0 24px;
  padding: 0;
}

.navbar-nav .navbar-mega>.container>.sub-menu:last-child {
  margin-bottom: 0;
}

.navbar-nav .navbar-mega>.container>.sub-menu>.menu-item {
  position: relative;
  flex: 0 1 243px;
  width: 243px;
  min-width: 0;
}

.navbar-nav .navbar-mega>.container>.sub-menu>.menu-item.coming-soon {
  pointer-events: none;
}

/* Second-level menus (Japanese / Chinese subcategories) exist in the WP
   markup but are NOT shown in the mega panel — one tile per category. */
.navbar-nav .navbar-mega .sub-menu .sub-menu {
  display: none;
}

/* default tile */
.navbar-nav .navbar-mega>.container>.sub-menu>.menu-item>a:not(.custom-link) {
  position: relative;
  display: block;
  height: 140px;
  padding: 20px 16px;
  border-radius: 4px;
  background: #f5f5f5;
  overflow: hidden;
  color: #000;
  text-decoration: none;
  transition: .3s ease-in-out;
}

.navbar-nav .navbar-mega>.container>.sub-menu>.menu-item>a:not(.custom-link):hover {
  color: var(--accent-500);
}

.navbar-nav .navbar-mega>.container>.sub-menu>.menu-item>a:not(.custom-link) span:not(.coming-soon-label) {
  display: block;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.navbar-nav .navbar-mega>.container>.sub-menu>.menu-item>a:not(.custom-link) .nav-decor,
.navbar-nav .navbar-mega>.container>.sub-menu>.menu-item>a:not(.custom-link) .nav-decor-red,
.navbar-nav .navbar-mega>.container>.sub-menu>.menu-item>a:not(.custom-link) .nav-img {
  position: absolute;
  right: 0;
  bottom: 0;
}

.navbar-nav .navbar-mega>.container>.sub-menu>.menu-item>a:not(.custom-link) .nav-decor {
  transition: .3s ease-in-out;
}

.navbar-nav .navbar-mega>.container>.sub-menu>.menu-item>a:not(.custom-link) .nav-decor-red {
  opacity: 0;
  transition: .3s ease-in-out;
}

.navbar-nav .navbar-mega>.container>.sub-menu>.menu-item>a:not(.custom-link) .nav-img {
  z-index: 1;
}

.navbar-nav .navbar-mega>.container>.sub-menu>.menu-item>a:not(.custom-link):hover .nav-decor {
  opacity: 0;
}

.navbar-nav .navbar-mega>.container>.sub-menu>.menu-item>a:not(.custom-link):hover .nav-decor-red {
  opacity: 1;
}

/* 'custom' tile — dark gradient, fades to accent on hover */
.navbar-nav .navbar-mega>.container>.sub-menu>.menu-item>a:not(.custom-link).custom {
  color: #fff;
  background: linear-gradient(194deg, #01231f 54.86%, var(--accent-500) 90.11%);
}

.navbar-nav .navbar-mega>.container>.sub-menu>.menu-item>a:not(.custom-link).custom::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: var(--accent-500);
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms ease;
}

.navbar-nav .navbar-mega>.container>.sub-menu>.menu-item>a:not(.custom-link).custom>* {
  position: relative;
  z-index: 1;
}

.navbar-nav .navbar-mega>.container>.sub-menu>.menu-item>a:not(.custom-link).custom>.nav-decor,
.navbar-nav .navbar-mega>.container>.sub-menu>.menu-item>a:not(.custom-link).custom>.nav-decor-red,
.navbar-nav .navbar-mega>.container>.sub-menu>.menu-item>a:not(.custom-link).custom>.nav-img {
  position: absolute;
}

.navbar-nav .navbar-mega>.container>.sub-menu>.menu-item>a:not(.custom-link).custom:hover {
  color: #fff;
}

.navbar-nav .navbar-mega>.container>.sub-menu>.menu-item>a:not(.custom-link).custom:hover::before {
  opacity: 1;
}

/* 'coming-soon' tile */
.navbar-nav .navbar-mega>.container>.sub-menu>.menu-item.coming-soon>a span:not(.coming-soon-label) {
  color: #595959;
}

.navbar-nav .navbar-mega .coming-soon-label {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 2;
  padding: 2px 8px;
  border-radius: 44px;
  background: rgba(8, 88, 78, .5);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  white-space: nowrap;
  transform: translateX(-50%);
}

/* 'mega-menu-custom' panel — image card + label */
.navbar-nav .navbar-mega--v2>.container>.sub-menu {
  column-gap: 20px;
}

.navbar-nav .navbar-mega--v2>.container>.sub-menu>.menu-item {
  flex: 0 1 196px;
  width: 196px;
}

.navbar-nav .navbar-mega--v2>.container>.sub-menu>.menu-item img {
  max-height: 80px;
  width: auto;
}

.navbar-nav .navbar-mega>.container>.sub-menu>.menu-item>.custom-link {
  display: block;
  color: #000;
  text-align: center;
  text-decoration: none;
}

.navbar-nav .navbar-mega .custom-link__img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 104px;
  margin-bottom: 8px;
  border-radius: 8px;
  border: 1px solid #d3d3d3;
  background: #fff;
  transition: .3s ease-in-out;
}

.navbar-nav .navbar-mega .custom-link:hover .custom-link__img {
  border-color: var(--accent-500);
}

.navbar-nav .navbar-mega .custom-link__text {
  display: block;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

/* 'View All …' button under the tiles */
.navbar-nav .navbar-mega-all {
  text-align: center;
}

.navbar-nav .navbar-mega-all-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  column-gap: 8px;
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid #d3d3d3;
  background: #fff;
  color: #000;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
  transition: .3s ease-in-out;
}

.navbar-nav .navbar-mega-all-btn svg {
  stroke: #000;
  transition: .3s ease-in-out;
}

.navbar-nav .navbar-mega-all-btn:hover {
  border-color: var(--accent-500);
  color: var(--accent-500);
}

.navbar-nav .navbar-mega-all-btn:hover svg {
  stroke: var(--accent-500);
}

/* Tippy.js tooltip theme */
.tippy-box {
  background: var(--ink-900);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  border-radius: 6px;
}

.tippy-box .tippy-arrow {
  color: var(--ink-900);
}

/* ── Product card ─────────────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.product-card {
  container: pc / inline-size;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}

.product-card:hover {
  box-shadow: var(--sh-3);
  transform: translateY(-2px);
}

.product-card-media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--ink-100);
}

.pc-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .3s ease;
}

/* hover slideshow of the gallery - main.js [card-slides] */
.pc-track {
  position: absolute;
  inset: 0;
  display: flex;
  transition: transform .45s cubic-bezier(.4, 0, .2, 1);
}

.pc-track>.pc-img {
  position: static;
  flex: 0 0 100%;
}

.pc-track.is-snapping {
  transition: none;
}

/* dots - max 5 visible, the strip slides (main.js [card-slides]) and the edge dots shrink */
.pc-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  padding: 5px 7px;
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

/* dark photo under the dots - main.js [card-slides] tone() */
.product-card-media.is-dark-bottom .pc-dot {
  background: rgba(255, 255, 255, .5);
}

.product-card-media.is-dark-bottom .pc-dot.is-active {
  background: #fff;
}

.product-card-media.is-sliding .pc-dots {
  opacity: 1;
}

.pc-dots-view {
  display: block;
  overflow: hidden;
}

.pc-dots-strip {
  display: flex;
  gap: 4px;
  transition: transform .25s ease;
}

.pc-dot {
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-400);
  transition: transform .2s ease, background-color .2s ease;
}

.pc-dot.is-active {
  background: var(--ink-900);
}

.pc-dot.is-sm {
  transform: scale(.6);
}

/* touch: horizontal swipes on the photo go to main.js [card-slides], the dots stay on as the cue */
.product-card-media:has(> .pc-track) {
  touch-action: pan-y pinch-zoom;
}

@media (hover: none) {
  .pc-dots {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {

  .pc-track,
  .pc-dots-strip,
  .pc-dot {
    transition: none;
  }
}

.product-card-body {
  padding: 12px 14px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* every body row has a fixed height so all cards are the same height, whatever the content
   (no brand, no reviews, one-line title, sale price) */
.pc-brand {
  height: 24px;
  font-size: 12px;
  line-height: 24px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fg-tertiary);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pc-brand+.pc-name {
  margin-top: -4px;
}

.pc-name {
  height: 42px;
  font-size: 15px;
  line-height: 21px;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card:hover .pc-name {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--ink-400);
}

.pc-rating {
  display: flex;
  gap: 6px;
  align-items: center;
  height: 18px;
  line-height: 18px;
}

/* 10% over the 14px the card prints */
.pc-rating .stars .ic {
  width: 15.4px;
  height: 15.4px;
}

.pc-rating-count {
  font-size: 13px;
  color: var(--fg-tertiary);
}

/* one line - a SAVE badge that doesn't fit wraps out of view instead of growing the card */
.pc-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
  height: 24px;
  overflow: hidden;
}

.pc-price-now {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink-900);
}

.pc-price-now--sale {
  color: var(--sale-500);
}

.pc-price-was {
  font-size: 15px;
  color: var(--fg-tertiary);
  font-weight: 400;
  text-decoration: line-through;
}

.pc-save[hidden] {
  display: none;
}

.pc-save {
  display: inline-flex;
  align-items: center;
  align-self: center;
  height: 20px;
  padding: 0 8px;
  background: #fee2e2;
  color: #991b1b;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1;
}

/* custom katana builder card (content-product.php) - the "Custom build" flag on the image, "From" before the
   cheapest build, and the whole featured image (a brand logo with CUSTOM / PRO labels) instead of a cover crop */
.pc-flag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 4px;
  background: var(--ink-900);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1;
  pointer-events: none;
}

.pc-price-from {
  font-size: 13px;
  color: var(--fg-tertiary);
}

.product-card--builder .pc-img {
  object-fit: contain;
}

.product-card--builder .pc-add {
  gap: 6px;
}

.pc-actions {
  display: flex;
  gap: 6px;
  margin-top: auto;
}

/* both 10% taller than .btn--sm, the heart a little wider than tall - Add to cart gives up the difference.
   The product page (.pdp-fav) and the video modal (.vt-foot .pc-fav) size their hearts themselves */
.pc-add {
  flex: 1;
  height: 40px;
}

/* new product (swordis_is_new_product(): published in the last 2 months, not out of stock) - dark green tag at the
   bottom-left of the photo (top-left would cover the handle) */
.pc-new-tag {
  position: absolute;
  bottom: 8px;
  left: 8px;
  z-index: 2;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border-radius: 4px;
  background: var(--brand-700, #17433d);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1;
}

@media (max-width: 720px) {
  .pc-new-tag {
    bottom: 6px;
    left: 6px;
    height: 18px;
    padding: 0 6px;
    font-size: 10px;
  }
}

/* out of stock: Notify me opens the product page - a quiet grey button instead of the orange one */
.pc-notify {
  background: var(--ink-200);
  color: var(--ink-600);
}

.pc-notify:hover {
  background: var(--ink-300);
  color: var(--ink-700);
}

.pc-notify:active {
  transform: translateY(1px);
}

.pc-fav {
  width: 44px;
  height: 40px;
  flex: 0 0 44px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--fg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .18s ease-out, border-color .18s ease-out, color .18s ease-out, transform .18s ease-out, box-shadow .18s ease-out;
}

.pc-fav:hover {
  border-color: var(--accent-500);
  color: var(--accent-600);
  background: var(--accent-100);
  transform: translateY(-1px);
  box-shadow: 0 2px 10px rgba(240, 61, 13, .12);
}

.pc-fav:active {
  transform: translateY(0) scale(.94);
  transition-duration: 80ms;
}

.pc-fav {
  position: relative;
}

.pc-fav-ic {
  display: inline-flex;
  transition: transform .26s cubic-bezier(.2, 1.4, .4, 1);
  will-change: transform;
}

.pc-fav[data-pop="true"] .pc-fav-ic {
  animation: fav-pop .42s cubic-bezier(.2, 1.4, .4, 1);
}

@keyframes fav-pop {
  0% {
    transform: scale(1);
  }

  30% {
    transform: scale(1.35);
  }

  55% {
    transform: scale(.88);
  }

  80% {
    transform: scale(1.08);
  }

  100% {
    transform: scale(1);
  }
}

.pc-fav-burst {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
}

.pc-fav-burst .dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 50%;
  background: var(--accent-500);
  opacity: 0;
}

.pc-fav[data-pop="true"] .pc-fav-burst .dot {
  animation: fav-burst .52s cubic-bezier(.2, .8, .3, 1) forwards;
}

.pc-fav-burst .dot:nth-child(1) {
  --bx: 18px;
  --by: -18px;
}

.pc-fav-burst .dot:nth-child(2) {
  --bx: 22px;
  --by: 2px;
  background: var(--accent-600);
}

.pc-fav-burst .dot:nth-child(3) {
  --bx: 12px;
  --by: 20px;
}

.pc-fav-burst .dot:nth-child(4) {
  --bx: -12px;
  --by: 22px;
  background: var(--accent-600);
}

.pc-fav-burst .dot:nth-child(5) {
  --bx: -22px;
  --by: 4px;
}

.pc-fav-burst .dot:nth-child(6) {
  --bx: -18px;
  --by: -18px;
  background: var(--accent-600);
}

.pc-fav-burst .dot:nth-child(7) {
  --bx: 0px;
  --by: -24px;
}

.pc-fav-burst .dot:nth-child(8) {
  --bx: 0px;
  --by: 24px;
  background: var(--accent-600);
}

@keyframes fav-burst {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(.4);
  }

  60% {
    opacity: 1;
    transform: translate(var(--bx), var(--by)) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate(calc(var(--bx) * 1.35), calc(var(--by) * 1.35)) scale(.4);
  }
}

.pc-fav .pc-fav-fill {
  display: none;
}

.pc-fav.is-active {
  background: var(--accent-100);
  border-color: var(--accent-500);
  color: var(--accent-600);
}

.pc-fav.is-active .pc-fav-line {
  display: none;
}

.pc-fav.is-active .pc-fav-fill {
  display: inline-block;
}

/* narrow cards (phones, home sliders on tablets) - the heart moves onto the image so the button gets the
   full width; "Select Options" doesn't fit next to the heart there. A bare icon there, white over dark photos
   (.is-dark-top - main.js [card-slides] tone()) */
@container pc (max-width: 220px) {

  .product-card .pc-fav,
  .product-card .pc-fav:hover,
  .product-card .pc-fav.is-active {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 1;
    width: 34px;
    height: 34px;
    border-color: transparent;
    background: none;
    box-shadow: none;
    transform: none;
  }

  .product-card .pc-fav {
    color: var(--ink-900);
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, .6));
    transition: color .3s ease, filter .3s ease;
  }

  .product-card.is-dark-top .pc-fav {
    color: #fff;
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, .45));
  }

  .product-card .pc-fav:hover,
  .product-card .pc-fav.is-active {
    color: var(--accent-600);
  }

  .product-card .pc-fav:active .pc-fav-ic {
    transform: scale(.88);
  }

  .product-card .pc-fav .ic {
    width: 22px;
    height: 22px;
  }

  .product-card .pc-add {
    min-width: 0;
    padding: 0 8px;
    overflow: hidden;
  }
}

/* ── Footer ───────────────────────────────────────────────────── */
.footer-newsletter {
  background: var(--footer-band);
  color: #fff;
  padding: 40px 0;
}

.footer-newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.footer-newsletter-title {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 30px;
  line-height: 34px;
  letter-spacing: -.01em;
}

.footer-newsletter-sub {
  margin-top: 6px;
  font-size: 15px;
  opacity: .7;
}

/* footer klaviyo embed - styled like .newsletter-form above. klaviyo styles the form inline and through
   triple-class selectors (its hover rules are !important too), so everything here needs !important */
.klaviyo-form-QRsAir {
  min-width: 0;
}

.klaviyo-form-QRsAir form {
  align-items: center !important;
  gap: 10px;
  padding: 6px 6px 6px 18px !important;
  background: rgba(255, 255, 255, .12) !important;
  border: 1.5px solid rgba(255, 255, 255, .22) !important;
  border-radius: 999px !important;
  transition: border-color .15s, box-shadow .15s;
}

.klaviyo-form-QRsAir form:hover,
.klaviyo-form-QRsAir form:focus-within {
  border-color: #fff !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .12);
}

/* mail icon (#i-mail) */
.klaviyo-form-QRsAir form::before {
  content: "";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 6h18v12H3zM3 6l9 7 9-7' fill='none' stroke='rgba(255,255,255,.6)' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

.klaviyo-form-QRsAir form>div {
  min-width: 0;
}

.klaviyo-form-QRsAir [data-testid="form-row"] {
  align-items: center !important;
  gap: 10px;
}

.klaviyo-form-QRsAir .klaviyo-emailinput {
  align-self: center !important;
}

.klaviyo-form-QRsAir input[type="email"] {
  height: auto !important;
  padding: 10px 0 !important;
  font-family: inherit !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  color: #fff !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  outline: none !important;
  box-shadow: none !important;
}

.klaviyo-form-QRsAir input[type="email"]::placeholder {
  font-family: inherit !important;
  font-size: inherit !important;
  color: rgba(255, 255, 255, .5) !important;
}

.klaviyo-form-QRsAir .klaviyo-form-button {
  align-self: center !important;
  height: 40px !important;
  padding: 0 22px !important;
  background: var(--accent-500) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 999px !important;
  font-family: inherit !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  transition: background .2s, transform .12s;
}

/* one notch above klaviyo's .goXXX.goXXX.goXXX:hover */
.footer-newsletter .klaviyo-form-QRsAir button.klaviyo-form-button:hover {
  background: var(--accent-600) !important;
  color: #fff !important;
}

.klaviyo-form-QRsAir .klaviyo-form-button:active {
  transform: translateY(1px);
}

/* the sword icon klaviyo puts in the button */
.klaviyo-form-QRsAir .klaviyo-form-button svg {
  display: none;
}

.footer-main {
  background: var(--footer-dark);
  color: #fff;
  padding: 48px 0 28px;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-logo {
  height: 40px;
  width: auto;
}

.footer-tagline {
  margin: 16px 0 18px;
  font-size: 14px;
  line-height: 21px;
  color: rgba(255, 255, 255, .65);
  max-width: 280px;
}

.footer-rating {
  display: block;
  color: #fff;
  transition: transform .15s;
}

.footer-rating:hover {
  transform: translateY(-1px);
  color: #fff;
}

.footer-rating-cards {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.footer-rating-card {
  flex: 1;
  min-width: 0;
  padding: 14px 18px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  display: block;
}

.footer-rating-eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 8px;
}

.footer-rating-big {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -.01em;
  color: #fff;
}

.footer-rating-big b {
  color: var(--accent-500);
  font-weight: 500;
}

.footer-rating-big i {
  font-style: normal;
  font-family: var(--font-ui);
  font-size: 14px;
  color: rgba(255, 255, 255, .5);
  font-weight: 500;
  margin-left: 4px;
}

.footer-rating-note {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
  line-height: 1.35;
}

.footer-rating-stars {
  display: inline-flex;
  gap: 1px;
  margin-top: 8px;
}

.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .68);
  transition: color .18s, border-color .18s, background .18s;
}

.footer-social-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, .4);
  background: rgba(255, 255, 255, .06);
}

.footer-col-title {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
  font-weight: 600;
  margin-bottom: 14px;
}

.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, .8);
  transition: color .15s;
}

.footer-col-links a:hover {
  color: #fff;
}

.footer-legal {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a {
  color: inherit;
}

.footer-legal-links a:hover {
  color: #fff;
}

/* ── Video testimonial modal ──────────────────────────────────── */
.vt-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(0, 0, 0, .82);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.vt-overlay[hidden] {
  display: none;
}

.vt-nav-rail {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1250;
}

.vt-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(57, 57, 57, .6);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(32px);
  backdrop-filter: blur(32px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .15s;
}

.vt-nav-btn:hover {
  transform: scale(1.05);
}

.vt-nav-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
  transform: none;
}

.vt-nav-count {
  text-align: center;
  color: rgba(255, 255, 255, .65);
  font-size: 12px;
  letter-spacing: .08em;
  font-weight: 600;
  padding: 4px 0;
}

.vt-card {
  height: min(720px, 90vh);
  max-width: calc(100% - 96px);
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  grid-template-columns: calc(min(720px, 90vh) * 0.5625) minmax(280px, 460px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .5);
  position: relative;
}

.vt-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(57, 57, 57, .6);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(32px);
  backdrop-filter: blur(32px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vt-segs {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 7;
  gap: 4px;
  padding: 12px 12px 0;
}

.vt-seg {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .32);
  overflow: hidden;
}

.vt-seg-fill {
  display: block;
  height: 100%;
  width: 0;
  background: rgb(217, 217, 217);
  border-radius: 2px;
}

.vt-video-col {
  background: linear-gradient(180deg, #0e1714 0%, #1c2a26 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* [vt-slide] transition layers (main.js [vt-modal]) - the column isolates its own stacking so the
   outgoing snapshot sits over the incoming frame and the progress segments stay on top */
.vt-video-col {
  isolation: isolate;
}

.vt-ghost {
  position: absolute !important;
  inset: 0;
  z-index: 20;
  pointer-events: none;
}

.vt-video-col>.vt-segs {
  z-index: 21;
}

.vt-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vt-video-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 40% 50%, rgba(0, 0, 0, 0), rgba(0, 0, 0, .25) 75%);
  pointer-events: none;
}

.vt-video-tap {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.vt-bigplay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  /* the green play button of the story tiles (.story-thumb-play) - shown only while paused / not started */
  background: rgba(8, 88, 78, .85);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .14);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .4);
  transition: transform .18s, background-color .18s;
}

.vt-video-tap:hover .vt-bigplay {
  transform: translate(-50%, -50%) scale(1.06);
  background: rgba(8, 88, 78, .95);
}

.vt-overlay.is-playing .vt-bigplay {
  display: none;
}

.vt-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 40px 20px 18px;
  color: #fff;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .35) 35%, rgba(0, 0, 0, .72) 100%);
}

.vt-scrub {
  height: 20px;
  display: flex;
  align-items: center;
  cursor: pointer;
  touch-action: none;
  margin-bottom: 10px;
}

.vt-scrub-track {
  position: relative;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .28);
}

.vt-scrub-fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0;
  background: #fff;
  border-radius: 2px;
}

.vt-scrub-knob {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .45);
}

.vt-controls-row {
  display: flex;
  align-items: center;
  gap: 12px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .5);
}

.vt-controls-author {
  flex: 1;
  min-width: 0;
}

.vt-controls-name {
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 21px;
}

.vt-controls-role {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, .78);
  margin-top: 2px;
  line-height: 17px;
}

.vt-controls-time {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, .88);
  flex-shrink: 0;
}

.vt-mute {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  background: rgba(57, 57, 57, .6);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(32px);
  backdrop-filter: blur(32px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vt-mute .vt-mute-off {
  display: none;
}

.vt-mute.is-muted .vt-mute-on {
  display: none;
}

.vt-mute.is-muted .vt-mute-off {
  display: inline-block;
}

/* the rail's mute is for the full-screen player (≤1024px), desktop has the one in the controls row */
@media (min-width: 1025px) {
  .vt-nav-mute {
    display: none;
  }
}

.vt-product-col {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ── Testimonials with several products (dev brief task 14, render.php) ──
   tile: "3 products" badge above the name; modal: one .vt-pp panel / .vt-mchip bar per product, the
   active one shown, stepped through with the pager (main.js [vt-modal] data-vt-pp*) */
.vt-tile-badge {
  display: flex;
  align-items: center;
  width: max-content;
  height: 20px;
  margin-bottom: 6px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .24);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}

.vt-pp {
  display: none;
}

.vt-pp.is-active {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.vt-overlay .vt-mchip:not(.is-active) {
  display: none !important;
}

.vt-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
  padding-left: 28px;
  border-top: 1px solid var(--border);
  background: #fff;
}

.vt-pager-count {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fg-tertiary);
  font-variant-numeric: tabular-nums;
}

.vt-pager-count b {
  color: var(--ink-900);
}

.vt-pager-btns {
  display: flex;
  align-self: stretch;
}

.vt-pager .vt-pager-btn {
  width: 44px;
  border-left: 1px solid var(--border);
  color: var(--ink-900);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}

.vt-pager .vt-pager-btn:hover {
  background: var(--ink-100);
}

/* full-screen player: "‹ 1/3 ›" above the product bar, where the bar shows (the same rules as .vt-mchip below) */
.vt-mpager {
  display: none;
}

@media (max-width: 1024px) {

  body:not(.vt-solo) .vt-mpager,
  body.vt-solo .vt-card--other .vt-mpager {
    position: absolute;
    right: 14px;
    bottom: 110px;
    z-index: 6;
    display: flex;
  }

  body.vt-solo .vt-card--other .vt-mpager {
    bottom: calc(174px + env(safe-area-inset-bottom, 0px));
  }

  .vt-mpager .vt-pager-btns {
    align-items: center;
    height: 28px;
    border-radius: 999px;
    background: rgba(57, 57, 57, .5);
    border: 1px solid rgba(234, 234, 234, .16);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    color: #fff;
  }

  .vt-mpager .vt-pager-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
  }

  .vt-mpager-count {
    font-size: 12px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
  }
}

/* Product/brand pages: the video testimonial modal shows ONLY the video — the
   product panel is redundant there (you're already on that product). */
body.vt-solo .vt-card {
  grid-template-columns: calc(min(720px, 90vh) * 0.5625);
}

body.vt-solo .vt-product-col {
  display: none;
}

body.vt-solo .vt-mchip {
  display: none;
}

/* ...except another product's testimonial (dev brief task 7 - same-category videos on a product page): it keeps
   its product panel, and its chip on the full-screen player, above the classic controls */
@media (min-width: 1025px) {
  body.vt-solo .vt-card--other {
    grid-template-columns: calc(min(720px, 90vh) * 0.5625) minmax(280px, 460px);
  }

  body.vt-solo .vt-card--other .vt-product-col {
    display: flex;
  }
}

/* Product panel (handoff-clean-v2/partials/vt-modal.html): product row on top, Description /
   Specifications scroll in their own area, heart + View product stay at the bottom. Desktop only
   (hidden ≤1024px). */
@media (min-width: 1025px) {
  .vt-close {
    position: fixed;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
  }
}

.vt-prow {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 28px 18px;
  border-bottom: 1px solid var(--border);
}

.vt-prow-img {
  width: 84px;
  height: 84px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--ink-100);
  display: block;
}

.vt-prow-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vt-prow-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.vt-prow-info:hover {
  color: inherit;
}

.vt-prow-info:hover .vt-prow-title {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.vt-prow-brand {
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fg-tertiary);
  font-weight: 600;
  line-height: 14px;
}

.vt-prow-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 19px;
  color: var(--ink-900);
  margin-top: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vt-prow-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 5px;
  font-size: 13px;
  line-height: 16px;
  color: var(--fg-secondary);
}

.vt-prow-meta b {
  color: var(--ink-900);
  font-weight: 600;
}

.vt-prow-price {
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  line-height: 1.15;
}

.vt-prow-now {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-900);
}

.vt-prow-now.is-sale {
  color: var(--sale-500);
}

.vt-prow-price s {
  font-size: 12px;
  color: var(--fg-tertiary);
}

.vt-tabs-wrap {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 28px;
  scrollbar-width: thin;
  scrollbar-color: var(--ink-300) transparent;
}

.vt-tabs-wrap::-webkit-scrollbar {
  width: 6px;
}

.vt-tabs-wrap::-webkit-scrollbar-thumb {
  background: var(--ink-300);
  border-radius: 3px;
}

.vt-tabs {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #fff;
  padding-top: 20px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.vt-tab {
  padding: 0 0 10px;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-secondary);
  cursor: pointer;
}

.vt-tab.is-active {
  color: var(--ink-900);
  border-bottom-color: var(--ink-900);
}

.vt-tab-pane {
  display: none;
  padding-bottom: 24px;
  font-size: 14px;
  line-height: 21px;
  color: var(--fg-secondary);
}

.vt-tab-pane.is-active {
  display: block;
}

.vt-tab-pane p+p {
  margin-top: 12px;
}

.vt-desc.is-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 6 rows */
.vt-specs-clip.is-clamped {
  max-height: 216px;
  overflow: hidden;
}

.vt-desc-more {
  margin-top: 10px;
  padding: 0;
  background: none;
  border: 0;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-900);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--ink-300);
  cursor: pointer;
}

.vt-desc-more[hidden] {
  display: none;
}

.vt-desc-more:hover {
  text-decoration-color: var(--ink-900);
}

.vt-specs {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  column-gap: 16px;
  margin: 0;
}

.vt-specs dt,
.vt-specs dd {
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  line-height: 18px;
  margin: 0;
}

.vt-specs dt {
  color: var(--fg-tertiary);
}

.vt-specs dd {
  font-weight: 500;
  color: var(--ink-900);
}

.vt-scroll-fade {
  position: sticky;
  bottom: 0;
  height: 44px;
  margin-top: -44px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 80%);
  pointer-events: none;
  transition: opacity .2s;
}

.vt-scroll-fade.is-end {
  opacity: 0;
}

.vt-foot {
  padding: 14px 28px 20px;
  background: #fff;
  display: flex;
  gap: 8px;
  border-top: 1px solid var(--border);
}

.vt-foot .pc-fav {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 8px;
}

.vt-foot-view {
  flex: 1;
  height: 44px;
  font-size: 15px;
  color: #fff;
  text-decoration: none;
  transition: background .2s;
}

.vt-foot-view:hover,
.vt-foot-view:focus {
  color: #fff;
  text-decoration: none;
  background: var(--brand-700, #17433d);
}

.vt-foot-view-ic {
  transition: transform .22s cubic-bezier(.2, .7, .2, 1);
}

.vt-foot-view:hover .vt-foot-view-ic {
  transform: translateX(3px);
}

/* ── Video testimonial modal on tablet: same full-screen player as mobile ── */
@media (min-width: 721px) and (max-width: 1024px) {
  .vt-overlay {
    padding: 0;
    background: #000;
  }

  .vt-card {
    width: 100%;
    height: 100%;
    max-width: 100%;
    grid-template-columns: 1fr;
    border-radius: 0;
    box-shadow: none;
  }

  .vt-product-col {
    display: none;
  }

  .vt-close {
    top: 28px;
    left: 14px;
    right: auto;
  }

  .vt-nav-rail {
    right: 14px;
    top: 42%;
    transform: none;
    gap: 8px;
  }

  .vt-nav-btn {
    width: 40px;
    height: 40px;
  }

  .vt-nav-count {
    display: none;
  }

  .vt-controls {
    display: none;
  }

  .vt-segs {
    display: flex;
  }

  .vt-nav-mute {
    display: flex;
    width: 40px;
    height: 40px;
  }

  body.vt-solo .vt-segs {
    display: none;
  }

  body.vt-solo .vt-mchip {
    display: none;
  }

  body.vt-solo .vt-controls {
    display: block;
    padding: 40px 16px calc(18px + env(safe-area-inset-bottom, 0px));
  }

  body.vt-solo .vt-nav-mute {
    display: none;
  }

  body.vt-solo .vt-nav-count {
    display: block;
  }

  body.vt-solo .vt-close {
    left: auto;
    right: 14px;
  }

  .vt-mchip {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 20px;
    z-index: 6;
    height: 82px;
    display: flex;
    align-items: stretch;
    background: rgba(57, 57, 57, .32);
    border: 1px solid rgba(234, 234, 234, .16);
    -webkit-backdrop-filter: blur(48px);
    backdrop-filter: blur(48px);
    border-radius: 12px;
    overflow: hidden;
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
  }

.vt-mchip:hover,
.vt-mchip:focus {
    color: var(--ink-300);
}


  .vt-mchip-img {
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    background-color: #333;
    background-size: cover;
    background-position: center;
  }

  /* a brand logo instead of a product photo - inset and whole, the chip corners would clip it */
  .vt-mchip-img--logo {
    background-origin: content-box;
    background-size: contain;
    background-repeat: no-repeat;
  }

  .vt-mchip-info {
    flex: 1;
    min-width: 0;
    padding: 10px 10px 10px 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
  }

  .vt-mchip-title {
    font-size: 13px;
    font-weight: 400;
    line-height: 17px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .vt-mchip-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .vt-mchip-price {
    font-size: 15px;
    font-weight: 600;
    line-height: 20px;
  }

  .vt-mchip-cta {
    flex-shrink: 0;
    height: 30px;
    padding: 0 12px;
    border-radius: 56px;
    background: rgba(255, 61, 0, .2);
    border: 1px solid rgba(255, 61, 0, .5);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 12.5px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
  }

  body.vt-solo .vt-card {
    grid-template-columns: 1fr;
  }

  body.vt-solo .vt-mchip {
    display: none !important;
  }

  body:not(.vt-solo) .vt-mchip {
    display: flex !important;
  }

  body.vt-solo .vt-card--other .vt-mchip {
    display: flex !important;
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }
}

/* ── Tablet chrome (721–1024px): fit nav + footer ──────────────── */
@media (min-width: 721px) and (max-width: 1024px) {
  .navbar-top {
    gap: 16px;
  }

  .navbar-search {
    max-width: 340px;
  }

  .navbar-actions {
    gap: 12px;
  }

  .navbar-nav .menu {
    gap: 14px;
  }

  .navbar-nav .menu>.menu-item>a {
    font-size: 13px;
  }

  .navbar-nav .menu>.menu-item-has-children>a {
    padding-right: 20px;
  }

  .footer-cols {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ── Responsive chrome (≤720px) ─────────────────────────────────── */
@media (max-width: 720px) {

  /* ── Base ── */
  .container,
  .hp-container {
    padding: 0 14px;
  }

  h1 {
    font-size: 30px;
    line-height: 36px;
  }

  h2 {
    font-size: 24px;
    line-height: 28px;
  }

  h3 {
    font-size: 19px;
    line-height: 26px;
  }

  h4 {
    font-size: 16px;
    line-height: 24px;
  }

  /* ── Announcement ── */
  .topbar {
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 500;
  }

  .topbar-inner {
    height: auto;
    padding: 8px 14px;
  }

  /* ── Header ── */
  .navbar-top {
    height: 56px;
    gap: 2px;
    padding: 0 8px;
  }

  .navbar-logo {
    flex: 1;
    display: flex;
    justify-content: center;
  }

  .navbar-logo img {
    height: 28px;
    width: auto;
  }

  .navbar-actions {
    margin-left: 0;
    gap: 0;
  }

  .icon-btn {
    width: 40px;
    height: 40px;
    justify-content: center;
    padding: 0;
  }

  .icon-btn-badge {
    top: 4px;
    right: 3px;
  }

  .mnav-search {
    border-top: 1px solid var(--border);
    background: #fff;
    padding: 12px 10px 14px;
  }

  .mnav-search .navbar-search {
    max-width: none;
  }

  /* ── Video testimonial modal: full-screen vertical player ── */
  .vt-overlay {
    padding: 0;
    background: #000;
  }

  .vt-card {
    width: 100%;
    height: 100%;
    max-width: 100%;
    grid-template-columns: 1fr;
    border-radius: 0;
    box-shadow: none;
  }

  .vt-product-col {
    display: none;
  }

  .vt-close {
    top: 28px;
    left: 14px;
    right: auto;
  }

  .vt-nav-rail {
    right: 14px;
    top: 42%;
    transform: none;
    gap: 8px;
  }

  .vt-nav-btn {
    width: 40px;
    height: 40px;
  }

  .vt-nav-count {
    display: none;
  }

  .vt-controls {
    display: none;
  }

  .vt-segs {
    display: flex;
  }

  .vt-nav-mute {
    display: flex;
    width: 40px;
    height: 40px;
  }

  /* Product/brand pages (vt-solo): classic player — scrubber + name + time +
     mute at the bottom, up/down + count in the rail. No segments, no chip.
     The video column fills the screen - the desktop body.vt-solo .vt-card column (min(720px, 90vh) * 0.5625)
     outranks .vt-card above and, narrower than the phone, left a strip of the card's white background on the
     right (iPhone Safari, where 90vh is short) or, wider, cut off the right of the player */
  body.vt-solo .vt-card {
    grid-template-columns: 1fr;
  }

  body.vt-solo .vt-segs {
    display: none;
  }

  body.vt-solo .vt-mchip {
    display: none;
  }

  body.vt-solo .vt-controls {
    display: block;
    padding: 40px 16px calc(18px + env(safe-area-inset-bottom, 0px));
  }

  body.vt-solo .vt-nav-mute {
    display: none;
  }

  body.vt-solo .vt-nav-count {
    display: block;
  }

  body.vt-solo .vt-close {
    left: auto;
    right: 14px;
  }

  body.vt-solo .vt-card--other .vt-mchip {
    display: flex !important;
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }

  .vt-mchip {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 20px;
    z-index: 6;
    height: 82px;
    display: flex;
    align-items: stretch;
    background: rgba(57, 57, 57, .32);
    border: 1px solid rgba(234, 234, 234, .16);
    -webkit-backdrop-filter: blur(48px);
    backdrop-filter: blur(48px);
    border-radius: 12px;
    overflow: hidden;
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
  }

  .vt-mchip-img {
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    background-color: #333;
    background-size: cover;
    background-position: center;
  }

  .vt-mchip-info {
    flex: 1;
    min-width: 0;
    padding: 10px 10px 10px 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
  }

  .vt-mchip-title {
    font-size: 13px;
    font-weight: 400;
    line-height: 17px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .vt-mchip-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .vt-mchip-price {
    font-size: 15px;
    font-weight: 600;
    line-height: 20px;
  }

  .vt-mchip-cta {
    flex-shrink: 0;
    height: 30px;
    padding: 0 12px;
    border-radius: 56px;
    background: rgba(255, 61, 0, .2);
    border: 1px solid rgba(255, 61, 0, .5);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 12.5px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
  }

  /* ── Drawer ── */
  .drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(11, 19, 16, .5);
  }

  .drawer {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #fff;
    box-shadow: 0 0 40px rgba(0, 0, 0, .18);
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform .28s cubic-bezier(.4, 0, .2, 1), visibility .28s;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .drawer.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    flex: 0 0 auto;
  }

  .drawer-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 21px;
    letter-spacing: -.005em;
    color: var(--ink-900);
  }

  .drawer-track {
    flex: 1;
    display: flex;
    width: 200%;
    height: 100%;
    overflow: hidden;
    transition: transform .28s cubic-bezier(.4, 0, .2, 1);
  }

  .drawer-track.is-drilled {
    transform: translateX(-50%);
  }

  .drawer-pane {
    width: 50%;
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .drawer-row {
    width: 100%;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 500;
    color: var(--ink-900);
    text-align: left;
    letter-spacing: -.005em;
    border-bottom: 1px solid var(--border);
  }

  .drawer-row .ic {
    color: var(--fg-tertiary);
  }

  .drawer-back {
    width: 100%;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--fg-secondary);
    font-weight: 500;
    letter-spacing: .02em;
    text-align: left;
    border-bottom: 1px solid var(--border);
  }

  .drawer-sub-title {
    padding: 15px 18px;
    font-size: 16px;
    font-weight: 700;
    color: var(--ink-900);
    letter-spacing: -.005em;
    border-bottom: 1px solid var(--border);
    background: var(--bg-muted);
  }

  .drawer-sub-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 18px;
    font-size: 16px;
    color: var(--ink-900);
    border-bottom: 1px solid var(--border);
  }

  .drawer-sub-link .ic {
    color: var(--fg-tertiary);
  }

  .drawer-sub-all {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 18px;
    font-size: 15px;
    font-weight: 600;
    color: var(--accent-600);
    border-bottom: 1px solid var(--border);
    letter-spacing: .01em;
  }

  /* ── Footer ── */
  .footer-newsletter {
    padding: 28px 0;
  }

  .footer-newsletter-inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .footer-newsletter-title {
    font-size: 24px;
    line-height: 28px;
  }

  .footer-newsletter-sub {
    font-size: 14px;
    line-height: 1.45;
  }

  .klaviyo-form-QRsAir form {
    padding: 4px 4px 4px 12px !important;
    gap: 6px;
  }

  .klaviyo-form-QRsAir [data-testid="form-row"] {
    gap: 6px;
  }

  .klaviyo-form-QRsAir input[type="email"] {
    padding: 8px 0 !important;
    font-size: 14px !important;
  }

  .klaviyo-form-QRsAir .klaviyo-form-button {
    height: 34px !important;
    padding: 0 16px !important;
    font-size: 13px !important;
  }

  .footer-main {
    padding: 22px 0;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 18px 14px;
    margin-bottom: 22px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-logo {
    height: 26px;
  }

  .footer-tagline {
    margin: 8px 0 14px;
    font-size: 13px;
    line-height: 19px;
  }

  .footer-rating-cards {
    gap: 8px;
  }

  .footer-rating-card {
    padding: 12px 14px;
  }

  .footer-rating-eyebrow {
    font-size: 10px;
  }

  .footer-rating-big {
    font-size: 26px;
  }

  .footer-rating-note {
    font-size: 12px;
  }

  .footer-social {
    margin-top: 14px;
    margin-bottom: 4px;
  }

  .footer-social-btn {
    width: 32px;
    height: 32px;
  }

  .footer-col-title {
    font-size: 11px;
    letter-spacing: .12em;
    margin-bottom: 10px;
  }

  .footer-col-links {
    gap: 7px;
  }

  .footer-col-links a {
    font-size: 13px;
  }

  .footer-legal {
    margin-top: 0;
    padding-top: 14px;
    font-size: 11px;
  }

  .footer-legal-links {
    gap: 10px;
  }
}

/* Breakpoint utilities */
@media (min-width: 721px) {
  .only-mobile {
    display: none !important;
  }
}

@media (max-width: 720px) {
  .only-desktop {
    display: none !important;
  }
}

/* Chip / pill (shared/tokens.css) */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--bg-muted, var(--ink-100));
  font-size: 14px;
  color: var(--fg-primary, var(--ink-900));
  border: 1px solid var(--border);
  cursor: pointer;
}

.chip:hover {
  border-color: var(--border-strong);
}

/* ── Select2 skin (shared — sort dropdowns on category, search, PDP reviews) ── */
.select2-container {
  min-width: 160px;
}

.select2-container .select2-selection--single {
  height: 40px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  display: flex;
  align-items: center;
  background: #fff;
  transition: border-color .14s;
}

.select2-container .select2-selection--single:hover {
  border-color: var(--ink-400);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 41px;
  padding: 0 30px 0 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-900);
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 38px;
}

.select2-dropdown {
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(11, 19, 16, .14);
  font-size: 15px;
  overflow: hidden;
}

.select2-results__option {
  padding: 10px 14px;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background: var(--ink-100);
  color: var(--ink-900);
}

.select2-container--default .select2-results__option--selected {
  background: var(--ink-100);
  font-weight: 600;
}

/* ── Mini-cart drawer (partials/mini-cart.html; js: [mini-cart]) ── */
.mcart-overlay {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(10, 15, 14, .45);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}

.mcart-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mcart-overlay[hidden] {
  display: block;
}

/* animated via opacity, never display */
.mcart {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(420px, 100vw);
  z-index: 901;
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(110%);
  transition: transform .32s cubic-bezier(.2, .7, .2, 1);
  box-shadow: -24px 0 60px -20px rgba(0, 0, 0, .35);
}

.mcart.is-open {
  transform: translateX(0);
}

.mcart-grab {
  display: none;
}

.mcart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--border);
}

.mcart-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -.01em;
  color: var(--ink-900);
}

.mcart-close {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-900);
}

.mcart-close:hover {
  background: var(--ink-100);
}

.mcart-points {
  background: var(--brand-700, #17433d);
  color: #fff;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
}

.mcart-points-ic {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mcart-points b {
  color: #9fe0a8;
  font-weight: 700;
}

.mcart-items {
  flex: 1;
  overflow-y: auto;
  padding: 8px 20px 20px;
}

.mcart-line {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.mcart-line:last-child {
  border-bottom: none;
}

.mcart-line-thumb {
  width: 72px;
  height: 72px;
  border-radius: 4px;
  background: var(--ink-100);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--fg-tertiary);
}

.mcart-line-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mcart-line-brand {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--ink-900);
  text-transform: uppercase;
  margin: 0 0 2px;
}

.mcart-line-name {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-900);
  line-height: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mcart-line-variant {
  margin: 0;
  font-size: 13px;
  color: var(--fg-secondary);
}

.mcart-line-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  min-width: 68px;
}

.mcart-line-remove {
  width: 24px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--fg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.mcart-line-remove:hover {
  color: var(--accent-500);
}

.mcart-line-price {
  text-align: right;
  line-height: 1.15;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-900);
}

.mcart-line-price.is-sale {
  color: var(--sale-500);
}

.mcart-line-was {
  font-size: 12px;
  font-weight: 400;
  color: var(--fg-tertiary);
  text-decoration: line-through;
}

.mcart-foot {
  border-top: 1px solid var(--border);
  padding: 16px 20px 18px;
  background: #fff;
}

.mcart-foot[hidden] {
  display: none;
}

.mcart-row {
  display: flex;
  justify-content: space-between;
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--fg-secondary);
}

.mcart-row--total {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 14px;
}

.mcart-actions {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 10px;
}

.mcart-viewcart {
  height: 48px;
  border: 1px solid var(--ink-900);
  border-radius: var(--r-md);
  background: #fff;
  color: var(--ink-900);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mcart-viewcart:hover {
  background: var(--ink-100);
}

.mcart-checkout {
  height: 48px;
  font-weight: 600;
}

@media (max-width: 720px) {

  /* bottom sheet */
  .mcart {
    top: auto;
    right: auto;
    left: 0;
    bottom: 0;
    height: auto;
    max-height: 85vh;
    width: 100vw;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -24px 60px -20px rgba(0, 0, 0, .35);
    transform: translateY(110%);
  }

  .mcart.is-open {
    transform: translateY(0);
  }

  .mcart-grab {
    display: flex;
    justify-content: center;
    padding: 8px 0 4px;
  }

  .mcart-grab span {
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background: var(--ink-200, #d6d3d0);
  }

  .mcart-line {
    grid-template-columns: 60px 1fr auto;
    gap: 10px;
    padding: 12px 0;
  }

  .mcart-line-thumb {
    width: 60px;
    height: 60px;
  }
}

/* ── Drag-scroll rails (js: [drag-scroll]) ── */
.is-drag-scroll {
  cursor: grab;
  overscroll-behavior-x: contain;
}

.is-drag-scroll.is-dragging {
  scroll-behavior: auto;
}

.is-drag-scroll.is-dragging,
.is-drag-scroll.is-dragging * {
  cursor: grabbing;
  -webkit-user-select: none;
  user-select: none;
}

/* ==========================================================================
   Homepage-only rules from styles.css (not already defined above)
   ========================================================================== */

/* ==========================================================================
   Swordis — Homepage (clean handoff)
   Tokens → base → sections in page order.
   ========================================================================== */

/* ── Base ─────────────────────────────────────────────────────── */

/* Global heading scale — shared by every page of the handoff.
   Section/component classes may override; these are the defaults. */

/* Layout containers: unified content width 1440 */

/* Buttons */

/* Inputs */

/* Stars */

/* Placeholder block */

/* Section shell */

/* ── Announcement bar ─────────────────────────────────────────── */

/* ── Navbar ───────────────────────────────────────────────────── */

/* ── Search dropdown (matches shared SearchBar) ────────────────── */

/* WP-native menu: ul.menu > li.menu-item > a, panels are nested ul.sub-menu */

/* chevron is CSS-drawn — WP menu output carries no icon markup */

/* Mega dropdown — the top-level sub-menu spans the full nav width */

/* Mega columns (first-level children) */

/* category art above each column label (theme CSS — WP menus carry no images).
   Sword Accessories (4th column) awaits its own art. */

/* Second-level menus (Japanese / Chinese subcategories) exist in the WP
   markup but are NOT shown in the mega panel — one tile per category. */

/* Tippy.js tooltip theme */

/* ── Hero banner ──────────────────────────────────────────────── */

.hero {
  background: var(--ink-900);
}

.hero-frame {
  max-width: 1800px;
  margin: 0 auto;
}

.hero-banner {
  background:
    radial-gradient(circle at 30% 40%, rgba(255, 255, 255, .05), transparent 60%),
    linear-gradient(135deg, #0f1a17 0%, #1f342d 50%, #0b1613 100%);
  overflow: hidden;
}

/* front-page.php gives the hero img width/height attributes - keep its natural ratio */
.hero-banner img {
  height: auto;
}

/* ── Categories ───────────────────────────────────────────────── */

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cat-tile {
  position: relative;
  display: flex;
  align-items: center;
  height: 89px;
  padding: 24px;
  overflow: hidden;
  border-radius: 4px;
  background: #f5f5f5;
  color: #000;
  text-decoration: none;
  transition: color .3s ease-in-out;
}

.cat-tile-decor {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
}

.cat-tile-decor > img {
  display: block;
  height: 100%;
  width: auto;
  transition: opacity .3s ease-in-out;
}

.cat-tile-decor > img:nth-child(2) {
  position: absolute;
  top: 0;
  right: 0;
  opacity: 0;
}

.cat-tile-label {
  position: relative;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.cat-tile-art {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
}

.cat-tile-art > img {
  display: block;
  height: 100%;
  width: auto;
}

@media (min-width: 1025px) {
  .cat-tile:hover {
    color: #ff3d00;
  }

  .cat-tile:hover .cat-tile-decor > img:nth-child(1) {
    opacity: 0;
  }

  .cat-tile:hover .cat-tile-decor > img:nth-child(2) {
    opacity: 1;
  }
}

@media (max-width: 1200px) {
  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 8px;
  }
}

@media (max-width: 767px) {
  .cat-grid {
    grid-template-columns: 1fr;
  }

  .cat-tile {
    height: 72px;
  }
}

/* ── Product card ─────────────────────────────────────────────── */

/* ── Custom builder ───────────────────────────────────────────── */

.custom-b {
  padding: 88px 0;
  background: #fff;
  overflow: hidden;
}

.custom-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.custom-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.custom-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--fg-tertiary);
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(11, 19, 16, .1);
  background: #fff;
  margin-bottom: 18px;
}

.custom-chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: var(--accent-500);
  box-shadow: 0 0 6px rgba(217, 119, 87, .55);
  flex-shrink: 0;
}

.custom-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 47px;
  line-height: 1.06;
  letter-spacing: -.02em;
  color: var(--ink-900);
  text-wrap: balance;
}

.custom-sub {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-secondary);
  max-width: 560px;
  text-wrap: pretty;
}

.custom-diagram {
  position: relative;
  width: 100%;
  aspect-ratio: 2010 / 370;
  max-height: 320px;
  margin-bottom: 28px;
}

.custom-diagram-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 19, 16, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 19, 16, .04) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 50%, transparent 90%);
  mask-image: radial-gradient(ellipse at center, black 50%, transparent 90%);
  pointer-events: none;
}

.custom-diagram-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .18));
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
}

.hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 99px;
  background: rgba(11, 19, 16, .85);
  border: 2px solid #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .5), 0 1px 2px rgba(0, 0, 0, .4);
  transition: background .18s, box-shadow .18s;
  z-index: 4;
}

.hotspot.is-active {
  background: var(--accent-500);
  box-shadow: 0 0 0 6px rgba(217, 119, 87, .22), 0 0 14px rgba(217, 119, 87, .55), 0 1px 2px rgba(0, 0, 0, .4);
}

.hotspot-ping {
  position: absolute;
  inset: -4px;
  border-radius: 99px;
  border: 1px solid rgba(11, 19, 16, .35);
  animation: hotspot-ping 2.2s ease-out infinite;
  pointer-events: none;
}

.hotspot.is-active .hotspot-ping {
  border-color: rgba(217, 119, 87, .6);
}

@keyframes hotspot-ping {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  80% {
    transform: scale(2.4);
    opacity: 0;
  }

  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

.hotspot-flag {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-900);
  background: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid rgba(11, 19, 16, .1);
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
  display: none;
}

.hotspot.is-active .hotspot-flag {
  display: block;
}

/* Detail panel */

.custom-panel-wrap {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  transition: max-height .35s ease, opacity .25s ease, margin-top .35s ease;
}

.custom-panel-wrap.is-open {
  max-height: 600px;
  opacity: 1;
  margin-top: 8px;
}

.custom-panel {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: stretch;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid rgba(11, 19, 16, .08);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(11, 19, 16, .04);
}

.custom-panel-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-700);
  font-weight: 700;
  margin-bottom: 8px;
}

.custom-panel-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--ink-900);
}

.custom-panel-desc {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-secondary);
  max-width: 480px;
  text-wrap: pretty;
}

.custom-panel-swatches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  min-height: 140px;
  align-self: center;
}

.swatch-tile {
  position: relative;
  border: 1px solid rgba(11, 19, 16, .1);
  border-radius: 6px;
  overflow: hidden;
  background: #efedea;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .35s, transform .35s, box-shadow .35s;
}

.swatch-tile.is-current {
  border-color: rgba(11, 19, 16, .5);
  transform: scale(1.03);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .1);
}

.swatch-tile-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .82;
}

.swatch-tile.is-current .swatch-tile-img {
  opacity: 1;
}

.swatch-tile-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 19, 16, .6) 0%, rgba(11, 19, 16, 0) 55%);
}

.swatch-tile-chip {
  width: 62%;
  height: 62%;
  border-radius: 4px;
  opacity: .72;
  box-shadow: 0 2px 6px rgba(11, 19, 16, .08);
}

.swatch-tile.is-current .swatch-tile-chip {
  opacity: 1;
  box-shadow: 0 8px 18px rgba(11, 19, 16, .18);
}

.swatch-tile-label {
  position: absolute;
  left: 8px;
  bottom: 8px;
  right: 8px;
  font-size: 11px;
  letter-spacing: .08em;
  font-weight: 700;
  color: var(--ink-900);
  text-align: center;
}

.swatch-tile--img .swatch-tile-label {
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .45);
}

/* CTA counter-line */

.custom-cta {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

.custom-cta-line {
  display: flex;
  align-items: baseline;
  gap: 32px;
  border-bottom: 1px solid rgba(11, 19, 16, .15);
  padding: 0 8px 18px;
  max-width: 680px;
  width: 100%;
}

.custom-cta-stat {
  display: flex;
  align-items: center;
  gap: 12px;
}

.custom-cta-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 45px;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--ink-900);
}

.custom-cta-caption {
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--fg-tertiary);
  line-height: 1.4;
}

.custom-cta-link {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -.01em;
  color: var(--ink-900);
  transition: color .25s;
}

.custom-cta-link:hover {
  color: var(--accent-700);
}

.custom-cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 99px;
  background: var(--accent-500);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  transition: background .25s, box-shadow .25s, transform .25s;
}

.custom-cta-link:hover .custom-cta-arrow {
  background: var(--ink-900);
  transform: translateX(4px);
  box-shadow: 0 8px 22px rgba(11, 19, 16, .22);
}

/* ── Bespoke teaser ───────────────────────────────────────────── */

.bespoke {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
  background: linear-gradient(135deg, #f7f4ee 0%, #ebe4d4 100%);
  border-radius: 12px;
  padding: 56px 64px;
  position: relative;
  overflow: hidden;
}

.bespoke-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: .18em;
  margin-bottom: 14px;
}

.bespoke-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 43px;
  line-height: 47px;
  letter-spacing: -.01em;
  color: var(--ink-900);
}

.bespoke-sub {
  margin: 16px 0 28px;
  font-size: 17px;
  line-height: 26px;
  color: var(--fg-secondary);
  max-width: 480px;
}

.bespoke-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.bespoke-btn {
  padding: 0 24px;
  height: 47px;
}

.bespoke-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Bespoke photo: smith at the forge */
.bespoke-shot {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0;
  padding: 14px;
  background: #e3d9c8;
  border-radius: 12px;
}

.bespoke-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% center;
  border-radius: 6px;
}

/* Tablet: two even columns, tighter padding and type */
@media (min-width: 721px) and (max-width: 1024px) {
  .bespoke { grid-template-columns: 1fr 1fr; gap: 32px; padding: 40px; }
  .bespoke-title { font-size: 32px; line-height: 37px; }
  .bespoke-sub { font-size: 15.5px; line-height: 24px; margin: 12px 0 22px; }
  .bespoke-btn { padding: 0 18px; height: 44px; font-size: 14px; }
  .bespoke-actions { gap: 10px; }
  .bespoke-shot { padding: 10px; aspect-ratio: 4 / 5; }
}

/* Mobile: eyebrow + title, then the photo, then text and buttons side by side full width */
@media (max-width: 720px) {
  .section--bespoke { padding: 32px 0; }
  .bespoke { grid-template-columns: 1fr; gap: 0; padding: 24px 16px; }
  .bespoke-text { display: contents; }
  .bespoke-eyebrow { order: 1; padding: 0 4px; }
  .bespoke-title { order: 2; padding: 0 4px; margin-bottom: 18px; }
  .bespoke-media { order: 3; }
  .bespoke-sub { order: 4; padding: 0 4px; }
  .bespoke-actions { order: 5; }
  .bespoke-shot { padding: 8px; aspect-ratio: 3 / 2; border-radius: 10px; }
  .bespoke-photo { border-radius: 5px; }
  .bespoke-eyebrow { margin-bottom: 10px; }
  .bespoke-title { font-size: 27px; line-height: 31px; }
  .bespoke-sub { font-size: 15px; line-height: 23px; margin: 18px 0 20px; }
  .bespoke-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .bespoke-btn { justify-content: center; padding: 0 12px; height: 46px; font-size: 14px; white-space: nowrap; }
}

/* ── Featured brands ──────────────────────────────────────────── */

.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.brand-card {
  display: grid;
  grid-template-columns: 35% 1fr;
  min-height: 96px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  transition: border-color .18s;
}

.brand-card:hover {
  border-color: var(--ink-400);
}

.brand-card-logo {
  background: var(--ink-100);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-card-logo img {
  width: auto;
  height: 100%;
  object-fit: contain;
}

.brand-card-meta {
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-card-name {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-900);
  margin-bottom: 4px;
  letter-spacing: -.005em;
}

.brand-card-count {
  font-size: 13px;
  color: var(--fg-tertiary);
}

/* tablet + mobile - logo capped at 64px, centred in the logo area (the whole card on mobile) */
@media (max-width: 1024px) {
  .brand-card-logo img {
    height: auto;
    max-width: 100%;
    max-height: 64px;
  }
}

/* ── Stories ──────────────────────────────────────────────────── */

.stories {
  padding: 96px 0 64px;
  background: #0b1310;
  color: #fff;
}

.stories-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.stories-title {
  font-size: 36px;
  line-height: 43px;
  color: #fff;
}

.slider-arrows {
  display: flex;
  gap: 8px;
}

.slider-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink-900);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-arrow:disabled,
.slider-arrow.swiper-button-disabled {
  color: var(--ink-400);
  opacity: .5;
  cursor: default;
  pointer-events: none;
}

/* Swiper carousel — layout is owned by Swiper (slidesPerView: 'auto');
   slide width lives on .story-thumb, offsets are set in js: [stories]. */

.stories-rail {
  overflow: hidden;
}

.story-thumb {
  position: relative;
  width: 320px;
  aspect-ratio: 9 / 16;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(165deg, #17433d 0%, #01231f 100%);
  color: #fff;
  text-align: left;
  display: block;
  scroll-snap-align: start;
}

.story-thumb-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.story-thumb-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .2s ease;
  pointer-events: none;
}

.story-thumb.is-playing .story-thumb-video {
  opacity: 1;
}

.story-thumb-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(0, 0, 0, .12), transparent 60%);
  pointer-events: none;
}

.story-thumb-play {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -28px 0 0 -28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(8, 88, 78, .85);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .14);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
  transition: opacity .2s ease;
}

.story-thumb.is-playing .story-thumb-play,
.story-thumb.is-vt-playing .story-thumb-play {
  opacity: 0;
}

.story-thumb-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 44px 14px 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .75) 100%);
  transition: opacity .2s ease;
  display: block;
}

.story-thumb.is-playing .story-thumb-caption {
  opacity: 0;
}

.story-thumb-author {
  display: block;
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  color:#fff;
}

.story-thumb-role {
  display: block;
  font-size: 12px;
  opacity: .7;
  margin-top: 2px;
  color:#fff;

}

.story-thumb-progress {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .25);
  overflow: hidden;
  opacity: 0;
  transition: opacity .2s;
}

.story-thumb.is-playing .story-thumb-progress {
  opacity: 1;
}

.story-thumb-progress-fill {
  display: block;
  width: 0;
  height: 100%;
  background: #fff;
  border-radius: 2px;
}

/* ── Reviews section ──────────────────────────────────────────── */

.reviews {
  padding: 72px 0 40px;
  background: var(--bg-muted);
}

.reviews-head {
  text-align: center;
  margin-bottom: 48px;
}

.reviews-head .eyebrow {
  margin-bottom: 20px;
}

.reviews-score {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 20px;
}

.reviews-score-num {
  font-family: var(--font-display);
  font-size: 94px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--ink-900);
}

.reviews-score-side {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.reviews-score-count {
  font-size: 15px;
  color: var(--fg-secondary);
}

.reviews-score-count b {
  color: var(--ink-900);
  font-weight: 600;
}

.reviews-readall a {
  font-size: 15px;
  color: var(--fg-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color .15s, text-decoration-color .15s;
}

.reviews-readall a:hover {
  color: var(--accent-600);
  text-decoration-thickness: 2px;
  text-decoration-color: var(--accent-500);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.review-card {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  cursor: pointer;
  transition: border-color .18s, box-shadow .2s, transform .2s;
}

.review-card:hover {
  border-color: var(--ink-400);
  box-shadow: var(--sh-3);
  transform: translateY(-2px);
}

.review-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.review-card-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-900);
}

.review-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--ok-600);
  font-weight: 600;
  letter-spacing: .04em;
}

.review-card-product {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.review-card-product-img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--ink-200);
  flex-shrink: 0;
  display: block;
}

.review-card-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-card-product-title {
  font-size: 13px;
  color: var(--fg-secondary);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-card-text {
  font-size: 15px;
  line-height: 24px;
  color: var(--ink-800);
}

.review-readmore {
  color: var(--fg-secondary);
  font-weight: 500;
}

/* 'Swordis Team replied' - the reply itself is in the review modal */
.review-card-reply {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-600);
}

/* store reply below a review - product page review cards + review modal (product-reviews.php, review-modal.js):
   indented, a thread line curving from the review into the Swordis avatar */
.review-reply {
  position: relative;
  margin: 24px 0 0;
  padding-left: 30px;
  font-size: 14px;
  line-height: 22px;
  color: var(--fg-body);
  overflow-wrap: anywhere;
}

.review-reply::before {
  content: "";
  position: absolute;
  left: 8px;
  top: -10px;
  width: 14px;
  height: 22px;
  border-left: 1px solid var(--ink-300);
  border-bottom: 1px solid var(--ink-300);
  border-bottom-left-radius: 8px;
}

.review-reply-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.review-reply-avatar {
  flex-shrink: 0;
  color: var(--accent-600);
}

.review-reply-head b {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-900);
}

.review-reply-badge {
  padding: 1px 6px;
  border-radius: var(--r-xs);
  background: var(--accent-600);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
}

.review-reply-head i {
  font-style: normal;
  font-size: 13px;
  color: var(--fg-tertiary);
}

.review-reply .review-reply-text p {
  margin: 0;
}

.review-reply .review-reply-text p + p {
  margin-top: 8px;
}

.review-thumbs {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
  overflow: hidden;
}

.review-thumb {
  height: 63px;
  border-radius: 4px;
  flex-shrink: 0;
  background: var(--ink-200);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--fg-tertiary);
  opacity: .9;
}

.review-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.review-thumb--video video,
.review-thumb--video img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.review-thumb-play {
  position: relative;
  z-index: 1;
}

.review-thumb--wide {
  width: 94px;
}

.review-thumb--sq {
  width: 63px;
}

.review-thumb--vert {
  width: 42px;
}

.review-thumb--video {
  width: 63px;
  color: rgba(255, 255, 255, .55);
  background: linear-gradient(135deg, #2a2a28 0%, #0f0f0e 100%);
}

.review-thumb-play {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(8, 88, 78, .85);
  border: 1px solid rgba(255, 255, 255, .18);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .4);
  transition: transform .18s, background-color .18s;
}

.review-thumb--video:hover .review-thumb-play {
  transform: scale(1.12);
  background: rgb(8, 88, 78);
}

.review-card-foot {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--fg-tertiary);
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

/* WordPress integration (not in the handoff): product links, media thumbs
   as review modal buttons (woocommerce/swordis/reviews/home-reviews.php) */
.review-card-product,
.review-featured-m-product {
  color: inherit;
  text-decoration: none;
}

.review-card-product:hover .review-card-product-title {
  color: var(--ink-900);
  text-decoration: underline;
}

.review-thumb {
  overflow: hidden;
}

button.review-thumb {
  padding: 0;
  border: 0;
  cursor: pointer;
}

.review-featured-m,
.review-compact-m {
  cursor: pointer;
}

.review-featured-m .review-card-foot {
  justify-content: flex-end;
}

.review-compact-m-img {
  overflow: hidden;
}

.review-compact-m-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Footer ───────────────────────────────────────────────────── */

/* ── Video testimonial modal ──────────────────────────────────── */

/* Video testimonial modal shows ONLY the video (product panel hidden). */

/* ── Review expand modal ──────────────────────────────────────── */

.rv-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(0, 0, 0, .82);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.rv-overlay[hidden] {
  display: none;
}

.rv-card {
  width: min(1000px, 100%);
  max-height: 92vh;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: minmax(0, 1fr);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .5);
  position: relative;
}

.rv-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: var(--ink-900);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rv-gallery {
  background: #1a1a1a;
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 480px;
}

.rv-gallery-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  position: relative;
}

.rv-gallery-frame {
  overflow: hidden;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1 / 1;
  max-height: 100%;
  background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
  border-radius: 4px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Real media: the frame hugs the file's own aspect — the image fills the
   stage on its long axis (native format, no crop, no letterbox bands). */

.rv-gallery-frame--media {
  aspect-ratio: auto;
  width: auto;
  max-width: 100%;
  background: transparent;
}

.rv-gallery-frame img,
.rv-gallery-frame video {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(70vh, 640px);
  object-fit: contain;
  border-radius: 4px;
}

.rv-gallery-frame--media {
  cursor: pointer;
}

.rv-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: var(--ink-900);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rv-gallery-arrow--prev {
  left: 12px;
}

.rv-gallery-arrow--next {
  right: 12px;
}

.rv-gallery-arrow:disabled {
  opacity: .4;
  cursor: default;
}

.rv-gallery-strip {
  padding: 16px 20px;
  display: flex;
  gap: 8px;
  justify-content: center;
  background: rgba(0, 0, 0, .3);
}

.rv-strip-thumb {
  position: relative;
  overflow: hidden;
  padding: 0;
  height: 44px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .08);
  border: 2px solid transparent;
  font-size: 10px;
  color: rgba(255, 255, 255, .5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rv-strip-thumb img,
.rv-strip-thumb video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.rv-strip-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 10px;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .7);
  pointer-events: none;
}

.rv-strip-thumb.is-active {
  border-color: #fff;
}

.rv-strip-thumb--wide {
  width: 60px;
}

.rv-strip-thumb--square {
  width: 44px;
}

.rv-strip-thumb--vertical {
  width: 28px;
}

/* head, product box + ratings stay put - a long review scrolls inside .rv-text */
.rv-content {
  padding: 40px 40px 32px;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rv-head,
.rv-product {
  flex-shrink: 0;
}

.rv-head-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.rv-name {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink-900);
}

.rv-head-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--fg-tertiary);
}

.rv-product {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
  transition: border-color .18s, box-shadow .18s;
}

.rv-product:hover {
  border-color: var(--ink-400);
  box-shadow: 0 4px 12px -4px rgba(10, 15, 14, .12);
}

/* square photo; brand leads the title (2-line clamp); price + arrow share the bottom line.
   A 1-line title leaves the gap above the price; 2 lines keep a 4px gap and fill the 88px card. */
.rv-product-img {
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  background-color: var(--ink-100);
}

.rv-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: darken;
}

.rv-product-info {
  flex: 1;
  min-width: 0;
  height: 88px;
  box-sizing: border-box;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 4px;
}

.rv-product-title {
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: var(--ink-800);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rv-product-brand {
  font-weight: 600;
  color: var(--ink-900);
  margin-right: .35em;
}

.rv-product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rv-product-price {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--ink-900);
}

.rv-product-arrow {
  display: flex;
  color: var(--fg-tertiary);
}

.rv-text {
  flex: 0 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
  font-size: 15px;
  line-height: 24px;
  color: var(--ink-800);
  scrollbar-width: thin;
  scrollbar-color: var(--ink-300) transparent;
}

.rv-text p+p {
  margin-top: 10px;
}

/* aspect ratings, pinned to the bottom */
.rv-subs {
  flex-shrink: 0;
  margin: auto 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  gap: 24px;
  font-size: 14px;
}

.rv-subs b {
  font-weight: 600;
  color: var(--ink-900);
}

/* Body state while a modal is open */

body.modal-open {
  overflow: hidden;
}

/* ==========================================================================
   RESPONSIVE — mobile design at ≤720px (matches the prototype mobile pages)
   ========================================================================== */

/* Breakpoint utilities */

/* Elements that exist on both breakpoints but are styled per breakpoint */

.mnav-btn {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-900);
  border-radius: 999px;
}

.mnav-btn[data-msearch-toggle] {
  margin-left: 8px;
}

/* Tablet (721–1024px): homepage product rows become a horizontal slider so
   cards stay large instead of squeezing 5-up. ~3.2 cards per view (peek). */

@media (min-width: 721px) and (max-width: 1024px) {
  .product-grid {
    display: flex;
    gap: 16px;
    align-items: stretch;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 10px;
  }

  .product-grid::-webkit-scrollbar {
    display: none;
  }

  .product-grid>.product-card {
    flex: 0 0 calc((100% - 2 * 16px) / 3.2);
    width: calc((100% - 2 * 16px) / 3.2);
    scroll-snap-align: start;
  }
}

/* ── Video testimonial modal on tablet: same full-screen player as mobile ── */

@media (max-width: 720px) {
  .hero-banner {
    aspect-ratio: 4 / 5;
  }

  .section--categories {
    padding: 40px 0 24px;
  }

  .section--products {
    padding: 40px 0 24px;
  }

  .section--brands {
    padding: 40px 0 24px;
  }

  .section-head {
    gap: 10px;
    margin-bottom: 14px;
  }

  .eyebrow {
    font-size: 11px;
    margin-bottom: 4px;
  }

  .section-title {
    font-size: 24px;
    line-height: 28px;
  }

  .section-action,
  .section-action-plain {
    font-size: 12px;
    font-weight: 500;
    color: var(--ink-900);
  }

  .product-grid {
    display: flex;
    gap: 12px;
    align-items: stretch;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin: 8px -14px 0;
    padding: 4px 14px 14px;
    scroll-padding-left: 14px;
  }

  .product-grid .product-card {
    flex: 0 0 calc((100% - 12px) / 2);
    width: calc((100% - 12px) / 2);
    scroll-snap-align: start;
    border-radius: 10px;
  }

  .product-card:hover {
    box-shadow: none;
    transform: none;
  }

  .product-card-body {
    padding: 12px;
    gap: 6px;
  }

  .pc-brand {
    font-size: 11px;
    letter-spacing: .08em;
  }

  .pc-name {
    font-size: 13px;
    line-height: 17px;
    height: 34px;
    font-family: var(--font-ui);
  }

  .pc-rating {
    gap: 5px;
    font-size: 12px;
    height: 16px;
    line-height: 16px;
  }

  .pc-rating .stars .ic {
    width: 12.1px;
    height: 12.1px;
  }

  .pc-rating .stars {
    color: #f3a52b;
  }

  .pc-rating-num {
    font-size: 12px;
    color: var(--ink-800);
    font-weight: 500;
  }

  .pc-rating-count {
    font-size: 12px;
  }

  .pc-price-now {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 15px;
  }

  .pc-price-now--sale {
    color: var(--sale-500);
  }

  .pc-price-was {
    font-size: 12px;
  }

  .pc-save {
    height: 17px;
    padding: 0 6px;
    font-size: 10px;
    border-radius: 3px;
  }

  .pc-add {
    height: 42px;
    font-size: 14px;
  }

  .pc-fav {
    width: 46px;
    height: 42px;
    flex-basis: 46px;
    border-radius: 8px;
    border-color: var(--border-strong);
    color: var(--ink-700);
  }

  .custom-b {
    padding: 40px 0 32px;
  }

  .custom-container {
    padding: 0 16px;
  }

  .custom-head {
    margin-bottom: 28px;
  }

  .custom-title {
    font-size: 30px;
  }

  .custom-sub {
    font-size: 15px;
  }

  .custom-cta {
    margin-top: 32px;
  }

  .custom-cta-line {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding-bottom: 14px;
  }

  .custom-cta-stat {
    justify-content: center;
  }

  .custom-cta-num {
    font-size: 36px;
  }

  .custom-cta-caption {
    font-size: 11px;
  }

  .custom-cta-link {
    margin-left: 0;
    justify-content: center;
    font-size: 19px;
  }

  .custom-cta-arrow {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .custom-tap-hint {
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--fg-tertiary);
    font-weight: 600;
    margin-bottom: 14px;
    text-align: center;
  }

  .custom-stage-m {
    position: relative;
  }

  .custom-stage-m-inner {
    position: relative;
    width: 100%;
    height: 503px;
    margin-bottom: 24px;
  }

  .custom-stage-m-grid {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(11, 19, 16, .04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(11, 19, 16, .04) 1px, transparent 1px);
    background-size: 24px 24px;
    -webkit-mask-image: radial-gradient(ellipse at center, black 55%, transparent 92%);
    mask-image: radial-gradient(ellipse at center, black 55%, transparent 92%);
    pointer-events: none;
  }

  .custom-stage-m-img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 500px;
    height: 92px;
    max-width: none;
    transform: translate(-50%, -50%) rotate(-60deg);
    object-fit: contain;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .18));
    pointer-events: none;
    -webkit-user-select: none;
    user-select: none;
  }

  .hotspot--m {
    width: 18px;
    height: 18px;
  }

  .hotspot--m .hotspot-ping {
    inset: -5px;
  }

  .hotspot-flag-m {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--ink-900);
    background: #fff;
    padding: 4px 9px;
    border-radius: 4px;
    border: 1px solid rgba(11, 19, 16, .1);
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
  }

  .hotspot-flag-m--left {
    right: calc(100% + 14px);
  }

  .hotspot-flag-m--right {
    left: calc(100% + 14px);
  }

  .hotspot-flag-m--left::after,
  .hotspot-flag-m--right::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 10px;
    height: 1px;
    background: rgba(11, 19, 16, .18);
    transform: translateY(-50%);
  }

  .hotspot-flag-m--left::after {
    left: 100%;
  }

  .hotspot-flag-m--right::after {
    right: 100%;
  }

  .custom-sheet-backdrop {
    position: absolute;
    inset: 0;
    z-index: 8;
    background: rgba(11, 19, 16, .18);
    -webkit-backdrop-filter: blur(1px);
    backdrop-filter: blur(1px);
  }

  .custom-sheet {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 9;
    background: #fff;
    border: 1px solid rgba(11, 19, 16, .1);
    border-radius: 14px;
    padding: 14px 16px 16px;
    box-shadow: 0 14px 40px rgba(11, 19, 16, .18);
  }

  .custom-sheet-handle {
    display: block;
    width: 36px;
    height: 4px;
    border-radius: 99px;
    background: rgba(11, 19, 16, .18);
    margin: 0 auto 10px;
  }

  .custom-sheet-head {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
  }

  .custom-sheet-headtext {
    flex: 1;
    min-width: 0;
  }

  .custom-sheet-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 21px;
    line-height: 1.15;
    letter-spacing: -.01em;
    color: var(--ink-900);
  }

  .custom-sheet-sub {
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--fg-tertiary);
    font-weight: 700;
    margin-top: 3px;
  }

  .custom-sheet-close {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 99px;
    border: 1px solid rgba(11, 19, 16, .12);
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-900);
    font-size: 17px;
    line-height: 1;
  }

  .custom-sheet-desc {
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--fg-secondary);
    text-wrap: pretty;
  }

  .custom-sheet-swatches {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .custom-sheet-swatches .swatch-tile {
    aspect-ratio: 1 / .82;
    border-radius: 8px;
  }

  .custom-sheet-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
  }

  .custom-sheet-dots span {
    width: 5px;
    height: 5px;
    border-radius: 99px;
    background: rgba(11, 19, 16, .22);
    transition: all .3s ease;
  }

  .custom-sheet-dots span.is-on {
    width: 18px;
    background: var(--ink-900);
  }

  .brands-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 6px;
  }

  .brand-card {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr);
    aspect-ratio: 5 / 3;
    min-height: 0;
  }

  .brand-card-logo {
    background: var(--ink-100);
    padding: 14px;
  }

  .brand-card-meta {
    display: none;
  }

  .stories {
    padding: 40px 0 24px;
  }

  .stories-head {
    margin-bottom: 20px;
  }

  .stories-rail {
    padding-bottom: 18px;
  }

  .story-thumb {
    width: 225px;
  }

  .story-thumb-play {
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
  }

  .reviews {
    padding: 40px 0 28px;
  }

  .reviews-head {
    margin-bottom: 20px;
  }

  .reviews-head .eyebrow {
    margin-bottom: 10px;
  }

  .reviews-score {
    gap: 12px;
    margin-bottom: 0;
  }

  .reviews-score-num {
    font-size: 51px;
  }

  .reviews-score-side {
    gap: 4px;
  }

  .stars--lg .ic {
    width: 18px;
    height: 18px;
  }

  .reviews-score-count {
    font-size: 14px;
    font-weight: 500;
  }

  .reviews-m {
    margin-top: 20px;
  }

  .review-featured-m {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .review-featured-m .review-card-name {
    font-size: 14px;
  }

  .review-featured-m-product {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .review-featured-m-img {
    width: 26px;
    height: 26px;
    border-radius: 4px;
    overflow: hidden;
    background: var(--ink-100);
    flex-shrink: 0;
    display: block;
  }

  .review-featured-m-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .review-featured-m-ptext {
    min-width: 0;
    flex: 1;
    display: block;
  }

  .review-featured-m-pbrand {
    display: block;
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--fg-tertiary);
    font-weight: 600;
    line-height: 1.2;
  }

  .review-featured-m-ptitle {
    display: block;
    font-size: 12px;
    color: var(--fg-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .review-featured-m-quote {
    font-family: var(--font-display);
    font-size: 17px;
    line-height: 25px;
    color: var(--ink-900);
    letter-spacing: -.005em;
    font-weight: 500;
  }

  .review-thumb--m {
    height: 48px;
    width: 72px;
  }

  .review-thumb--m-sq {
    height: 48px;
    width: 48px;
  }

  .review-featured-m .review-thumb-play {
    width: 22px;
    height: 22px;
  }

  .review-featured-m .review-card-foot {
    font-size: 11px;
    padding-top: 8px;
  }

  .reviews-m-rail {
    display: flex;
    gap: 10px;
    margin: 12px -14px 0;
    padding: 2px 14px 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .review-compact-m {
    flex: 0 0 240px;
    width: 240px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .review-compact-m .review-card-name {
    font-size: 13px;
  }

  .review-compact-m-product {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .review-compact-m-img {
    width: 26px;
    height: 26px;
    border-radius: 4px;
    flex-shrink: 0;
    background: var(--ink-200);
    color: var(--fg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 500;
  }

  .review-compact-m-ptitle {
    font-size: 12px;
    color: var(--fg-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
  }

  .review-compact-m-text {
    font-size: 13px;
    line-height: 18px;
    color: var(--ink-800);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .review-compact-m .review-card-foot {
    font-size: 11px;
    padding-top: 8px;
    margin-top: auto;
  }

  .reviews-readall-m {
    display: flex;
    justify-content: center;
    margin-top: 14px;
  }

  .reviews-readall-m a {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-900);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    transition: text-decoration-color .15s;
  }

  .reviews-readall-m a:hover {
    color: var(--accent-600);
    text-decoration-thickness: 2px;
    text-decoration-color: var(--accent-500);
  }

  .rv-overlay {
    padding: 0;
  }

  .rv-card {
    width: 100%;
    height: 100%;
    max-height: 100%;
    grid-template-columns: 1fr;
    border-radius: 0;
    overflow-y: auto;
    display: block;
  }

  .rv-gallery {
    min-height: 0;
  }

  .rv-gallery-stage {
    padding: 24px 16px;
  }

  .rv-gallery-frame img,
  .rv-gallery-frame video {
    max-height: 55vh;
  }

  .rv-close {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border);
  }

  .rv-content {
    padding: 20px 16px 24px;
    gap: 16px;
    overflow: visible;
  }

  .rv-text {
    overflow: visible;
  }

  /* no photo / video: a short 'No Image/Video' band instead of a full square */
  .rv-gallery-frame:not(.rv-gallery-frame--media) {
    aspect-ratio: auto;
    height: 140px;
  }
}

/* ── Skeleton loading ─────────────────────────────────────────── */

/* Partial include placeholders shimmer until js/include.js swaps them in */

/* Skeleton product card (used while a JS-rendered grid boots) */

/* ── Mini-cart drawer (partials/mini-cart.html; js: [mini-cart]) ── */

/* animated via opacity, never display */

/* ── Added-to-cart toasts (js: [mini-cart] showAddToast) ── */
/* ── Product images (cards, pdp gallery + zoom, cart, mini-cart, checkout, thank you, wishlist, search, sword types) ──
   darken knocks the white photo backgrounds out onto the --ink-100 wrapper (min per channel: white -> #f4f5f7) while photos
   that already have a grey background (darker than the wrapper) stay untouched - multiply darkened those further.
   The background has to sit on the wrapper,
   not the img - the img blends with what is behind it, its own background would only darken transparent areas.
   The zoom lightbox is white: its photo darkens onto .pdp-zoom-bg, a tile of the photo's size (product.css) */

.product-card-media,
.product-widget__thumb,
.pdp-gallery-thumb,
.pdp-zoom-open,
.product__sliders-box>figure,
.cl-thumb,
.mcart-line-thumb,
.co-sum-thumb,
.co-cf-thumb,
.wl-row__media,
.search-ph,
.st-product-img {
  background-color: #f4f5f7;
}

/* match the img corners */
.pdp-zoom-open,
.product__sliders-box>figure {
  border-radius: var(--r-lg);
  overflow: hidden;
}

/* no focus ring (it comes back on the link when the zoom closes) */
.pdp-zoom-open:focus,
.pdp-zoom-open:focus-visible {
  outline: none;
}

.cl-thumb,
.search-ph {
  border-radius: 4px;
  overflow: hidden;
}

.product-card-media img,
.product-widget__thumb img,
.product__sliders-box img,
.pdp-zoom-img,
.cl-thumb img,
.mcart-line-thumb img,
.co-sum-thumb img,
.co-cf-thumb img,
.wl-row__media img,
.search-ph img,
.st-product-img img {
  mix-blend-mode: darken;
}

/* custom katana builder featured images (woocommerce/swordis/builder-products.php): brand artwork with labels, shown
   whole in every thumbnail - the cover crops of the thumbnail rules above would cut the labels off */
img.is-whole {
  object-fit: contain !important;
}

/* custom katana builds in the cart (dev brief task 17): the katana builder plugin's picture of the build
   (img.skb-cart-thumb, plugin katana-cart.css) brings its own 110px size, 1px border, radius and grey background,
   made for the old theme's cart and only undone there (.cart-item__thumb). Inside this theme's thumbnail boxes it
   fills the box like every other cart photo - the border and inset were the "uneven thumbnail borders" */
.mcart-line-thumb img.skb-cart-thumb,
.cl-thumb img.skb-cart-thumb,
.co-sum-thumb img.skb-cart-thumb {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: none;
}

/* card hover / swipe slides: once main.js [card-slides] moves the .pc-track its transform makes it a stacking context,
   and the imgs inside only blend with that (empty) layer - white came back from the 2nd photo on. The whole track
   darkens onto the --ink-100 wrapper instead */
.pc-track {
  mix-blend-mode: darken;
}

/* custom.css (loads later) paints --ink-100 on the main gallery img itself */
.product__sliders-box .product__main-slider .product__main-slide img,
.product__sliders-box>figure .pdp-zoom-open img,
.product__sliders-box>figure .woocommerce-placeholder {
  background: none;
}

/* mobile: the gallery img goes full-bleed with square corners (custom.css) */
@media (max-width: 900px) {

  .product__sliders-box .pdp-zoom-open,
  .product__sliders-box>figure {
    border-radius: 0;
  }
}

/* visually hidden, still read by screen readers and search engines (e.g. the H1 on pages whose design has no visible title) */
.sw-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* tablet: the 7 top-level items don't fit in one row at 32px gaps (820px pushed "Resources" past the edge
   and the page scrolled sideways) - tighter spacing, and the row wraps instead of overflowing if it still doesn't fit */
@media (min-width: 721px) and (max-width: 1024px) {
  .navbar-nav .menu {
    flex-wrap: wrap;
    gap: 0 16px;
  }

  .navbar-nav .menu>.menu-item>a {
    font-size: 13px;
  }

  .navbar-nav .menu>.menu-item-has-children>a {
    padding-right: 16px;
  }

  .navbar-nav .menu>.menu-item-has-children>a>svg {
    width: 12px;
    height: 12px;
    margin-top: -6px;
  }
}

@media (min-width: 721px) and (max-width: 900px) {
  .navbar-nav .menu {
    gap: 0 12px;
  }

  .navbar-nav .menu>.menu-item>a {
    font-size: 12px;
  }

  .navbar-nav .menu>.menu-item-has-children>a {
    padding-right: 14px;
  }
}

/* Custom Builder */

body .ckp-wrapper {
    max-width: 1180px;
    margin: 0 auto;
}

body .ckp-card {
  margin-bottom: 0px;
}

body .ckp-stories {
    margin-top: 0px;
}

body .ckp-start:hover {
  color: #fff;
    background: var(--brand-700);
}