/* Bright Eyewear — original storefront stylesheet for Halo 2.x */

/* ---------- tokens ---------- */
:root {
  --be-accent: #b0763a;
  --be-accent-dark: #8d5d2a;
  --be-ink: #14181d;
  --be-ink-soft: #5d6570;
  --be-line: #e4e1db;
  --be-paper: #ffffff;
  --be-surface: #f6f3ee;
  --be-surface-2: #efeade;
  --be-blush: #e6b9b1;
  --be-blush-soft: #f3ded9;
  --be-gold: #a8946a;
  --be-gold-deep: #8f7c54;
  --be-radius: 4px;
  --be-radius-lg: 10px;
  --be-container: 1840px;
  --be-shadow: 0 1px 2px rgba(20, 24, 29, 0.05), 0 8px 24px rgba(20, 24, 29, 0.06);
  --be-gutter: clamp(16px, 4vw, 40px);
  --be-font: "Inter", "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--be-font);
  font-size: 15px;
  line-height: 1.65;
  color: var(--be-ink);
  background: var(--be-paper);
}

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

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

a:hover {
  color: var(--be-accent);
}

h1,
h2,
h3,
h4 {
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(28px, 4.2vw, 46px);
}

h2 {
  font-size: clamp(22px, 2.8vw, 32px);
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--be-accent);
  outline-offset: 2px;
}

/* ---------- layout ---------- */
.be-container {
  width: 100%;
  max-width: var(--be-container);
  margin-inline: auto;
  padding-inline: var(--be-gutter);
}

.be-narrow {
  max-width: 780px;
}

.be-main {
  display: block;
}

.be-section {
  padding-block: clamp(48px, 7vw, 96px);
}

.be-section--tight {
  padding-block: clamp(28px, 4vw, 48px);
}

.be-section--band {
  background: var(--be-surface);
  border-block: 1px solid var(--be-line);
}

.be-section__foot {
  margin: clamp(24px, 4vw, 40px) 0 0;
  text-align: center;
}

/* ---------- section heading ---------- */
.be-sechead {
  max-width: 620px;
  margin: 0 0 clamp(28px, 4vw, 44px);
}

.be-home .be-sechead {
  margin-inline: auto;
  text-align: center;
}

.be-sechead__eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--be-accent);
  font-weight: 600;
}

.be-sechead__title {
  margin: 0 0 12px;
}

.be-sechead__desc {
  margin: 0;
  color: var(--be-ink-soft);
}

.be-kicker {
  display: inline-block;
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--be-accent);
}

.be-kicker--hot {
  color: #b3261e;
}

/* ---------- buttons ---------- */
.be-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 22px;
  border: 1px solid var(--be-ink);
  border-radius: 0;
  background: var(--be-ink);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease,
    transform 0.18s ease;
}

.be-btn:hover {
  background: var(--be-accent);
  border-color: var(--be-accent);
  color: #fff;
  transform: translateY(-1px);
}

.be-btn--lg {
  min-height: 50px;
  padding: 0 30px;
}

.be-btn--sm {
  min-height: 34px;
  padding: 0 14px;
  font-size: 13px;
}

.be-btn--ghost {
  background: transparent;
  color: var(--be-ink);
}

.be-btn--ghost:hover {
  background: var(--be-ink);
  color: #fff;
}

.be-btn--block {
  width: 100%;
}

.be-btnrow {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.be-btnrow--center {
  justify-content: center;
}

.be-link {
  display: inline-block;
  font-weight: 600;
  font-size: 14px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}

.be-link--arrow::after {
  content: " \2192";
}

/* ---------- header ---------- */
.be-header {
  position: relative;
  z-index: 40;
  background: var(--be-paper);
  border-bottom: 1px solid var(--be-line);
}

.be-header.is-sticky {
  position: sticky;
  top: 0;
}

.be-announce {
  background: var(--be-ink);
  color: #f2efe9;
  font-size: 13px;
}

.be-announce .be-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 36px;
}

.be-announce__tel {
  color: #f2efe9;
  font-weight: 600;
  white-space: nowrap;
}

.be-masthead__row {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  min-height: 74px;
}

.be-brand {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.be-brand__img {
  max-height: 34px;
  width: auto;
}

.be-search {
  display: flex;
  align-items: center;
  flex: 0 0 clamp(180px, 18vw, 280px);
  border: 1px solid var(--be-line);
  border-radius: 999px;
  background: var(--be-surface);
  padding: 0 6px 0 16px;
}

.be-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 10px 0;
}

.be-search input:focus {
  outline: none;
}

.be-search button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: var(--be-ink);
  color: #fff;
}

.be-search button svg,
.be-tool svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* nav */
.be-nav {
  min-width: 0;
}

.be-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 22px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.be-nav__list > li {
  position: relative;
}

.be-nav__list > li > a {
  display: inline-block;
  padding: 8px 2px;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}

.be-nav__list > li > a::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 3px;
  background: var(--be-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.be-nav__list > li:hover > a::after,
.be-nav__list > li:focus-within > a::after {
  transform: scaleX(1);
}

.be-nav__toggle {
  display: none;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--be-line);
  border-radius: 999px;
  background: var(--be-paper);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
}

.be-nav__toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--be-ink);
  position: relative;
}

.be-nav__toggle em {
  font-style: normal;
}

/* flyout */
.be-flyout {
  position: absolute;
  top: calc(100% + 6px);
  left: -14px;
  min-width: 210px;
  margin: 0;
  padding: 10px;
  list-style: none;
  background: var(--be-paper);
  border: 1px solid var(--be-line);
  border-radius: var(--be-radius-lg);
  box-shadow: var(--be-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}

.be-flyout--wide {
  min-width: 250px;
}

.be-nav__list > li:hover > .be-flyout,
.be-nav__list > li:focus-within > .be-flyout,
.be-nav__list > li.is-open > .be-flyout {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.be-flyout a {
  display: block;
  padding: 8px 12px;
  border-radius: var(--be-radius);
  font-size: 14px;
}

.be-flyout a:hover {
  background: var(--be-surface);
}

/* tools */
.be-tools {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  margin-left: auto;
}

.be-tool {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
}

.be-tool:hover {
  border-color: var(--be-line);
  background: var(--be-surface);
}

.be-badge {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--be-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

.be-badge.is-zero {
  display: none;
}

.be-region {
  position: relative;
}

.be-region > button {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--be-line);
  border-radius: 999px;
  background: var(--be-paper);
  padding: 7px 12px;
  font-size: 13px;
}

.be-region__code {
  font-weight: 700;
  letter-spacing: 0.04em;
}

.be-region__list {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 140px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--be-paper);
  border: 1px solid var(--be-line);
  border-radius: var(--be-radius-lg);
  box-shadow: var(--be-shadow);
  display: none;
}

.be-region.is-open .be-region__list {
  display: block;
}

.be-region__list button {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 7px 10px;
  border-radius: var(--be-radius);
  font-size: 13px;
}

.be-region__list button:hover {
  background: var(--be-surface);
}

/* ---------- hero ---------- */
.be-hero {
  position: relative;
  overflow: hidden;
  background: var(--be-surface-2);
}

.be-hero__track {
  display: grid;
}

.be-hero__slide {
  position: relative;
  grid-area: 1 / 1;
  min-height: clamp(380px, calc(100vh - 200px), 840px);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease;
}

.be-hero__slide.is-active {
  opacity: 1;
  visibility: visible;
}

.be-hero__slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 22, 28, 0.20), rgba(18, 22, 28, 0.07));
}

.be-hero__inner {
  position: relative;
  max-width: 760px;
  margin-left: 0;
  margin-right: auto;
  color: #fff;
}

.be-hero__slide.align-right .be-hero__inner {
  margin-left: auto;
  margin-right: 0;
  text-align: right;
}

.be-hero__slide.align-center .be-hero__inner {
  max-width: 1120px;
  margin-inline: auto;
  text-align: center;
}

.be-hero__title {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(34px, 4.6vw, 78px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0;
}

.be-hero__desc {
  margin: 0 auto 26px;
  max-width: 980px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
}

/* On the banner the lead line reads as part of the sentence, not as a label. */
.be-hero .be-kicker {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(16px, 1.35vw, 24px);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

/* The overlay sits on a photo, so its CTA inverts to a solid light plate. */
.be-hero .be-btn {
  background: #fff;
  border-color: #fff;
  color: var(--be-ink);
  border-radius: 0;
  min-width: 128px;
  min-height: 46px;
  padding: 0 26px;
  font-size: 16px;
  font-weight: 400;
}

.be-hero .be-btn:hover {
  background: var(--be-accent);
  border-color: var(--be-accent);
  color: #fff;
}

.be-hero__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--be-ink);
  box-shadow: var(--be-shadow);
}

.be-hero__nav svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.be-hero__nav--prev {
  left: clamp(12px, 3.4vw, 64px);
}

.be-hero__nav--next {
  right: clamp(12px, 3.4vw, 64px);
}

.be-hero__dots {
  position: absolute;
  bottom: 22px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.be-dot {
  width: 26px;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.45);
}

.be-dot.is-active {
  background: #fff;
}

/* ---------- category tiles ---------- */
.be-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 22px);
}

.be-tile {
  position: relative;
  display: block;
  padding: 18px;
  border: 1px solid var(--be-line);
  border-radius: var(--be-radius-lg);
  background: var(--be-paper);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.be-tile:hover {
  border-color: var(--be-accent);
  transform: translateY(-3px);
  box-shadow: var(--be-shadow);
}

.be-tile__img {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--be-radius);
  overflow: hidden;
  background: var(--be-surface);
  margin-bottom: 14px;
}

.be-tile__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.be-tile__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.be-tile__label {
  font-weight: 600;
  font-size: 16px;
}

.be-tile__go {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--be-gold);
  transition: background 0.18s ease, transform 0.18s ease;
}

.be-tile__go svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.be-tile:hover .be-tile__go {
  background: var(--be-gold-deep);
  transform: translateX(2px);
}

.be-tile__count {
  position: absolute;
  top: 26px;
  right: 26px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--be-surface);
  font-size: 12px;
  font-weight: 600;
  color: var(--be-ink-soft);
}

/* ---------- promo band: half colour, half photo ---------- */
.be-promo {
  background: var(--be-blush);
  color: #fff;
}

.be-promo__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.be-promo__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(360px, 38vw, 640px);
  object-fit: cover;
  border-radius: 0;
}

.be-promo__text {
  align-self: center;
  max-width: 680px;
  padding: clamp(32px, 5vw, 72px) clamp(24px, 5vw, 88px);
}

.be-promo .be-kicker {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(16px, 1.3vw, 22px);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.be-promo__text h2 {
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(30px, 4.2vw, 66px);
  font-weight: 400;
  line-height: 1.1;
}

.be-promo__text p:last-of-type {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.6;
}

.be-promo .be-btn {
  background: #fff;
  border-color: #fff;
  color: var(--be-ink);
}

.be-promo .be-btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.be-promo .be-btn:hover {
  background: var(--be-gold);
  border-color: var(--be-gold);
  color: #fff;
}

/* gold variant, text first and photo second */
.be-promo--alt {
  background: var(--be-gold);
  color: #fff;
}

.be-promo--alt .be-promo__media {
  order: 2;
}

.be-promo--alt .be-btn:hover {
  background: var(--be-ink);
  border-color: var(--be-ink);
  color: #fff;
}

/* ---------- full-bleed feature photo ---------- */
.be-feature {
  position: relative;
}

.be-feature__link {
  display: block;
  position: relative;
}

.be-feature__link img {
  display: block;
  width: 100%;
  height: clamp(320px, 58vw, 560px);
  object-fit: cover;
}

.be-feature__tag {
  position: absolute;
  left: var(--be-gutter);
  bottom: 26px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(20, 24, 29, 0.66);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.02em;
}

/* ---------- editorial photo + note ---------- */
.be-editorial__media img {
  display: block;
  width: 100%;
  height: clamp(300px, 52vw, 520px);
  object-fit: cover;
}

.be-editorial__text {
  max-width: 760px;
  padding-block: clamp(26px, 4vw, 52px);
}

.be-editorial__text h2 {
  margin: 0 0 12px;
}

.be-editorial__text p {
  margin: 0 0 22px;
  font-size: 16px;
  color: var(--be-ink-soft);
}

/* ---------- product rail ---------- */
.be-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(230px, 23%, 320px);
  gap: clamp(12px, 1.6vw, 20px);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 10px;
  scrollbar-width: thin;
}

.be-rail > * {
  scroll-snap-align: start;
  min-width: 0;
}

.be-bandcta {
  display: grid;
  place-items: center;
  margin-top: clamp(18px, 3vw, 30px);
  padding: clamp(16px, 3vw, 26px);
  border-radius: var(--be-radius-lg);
  background: var(--be-gold);
}

.be-btn--on-gold {
  background: var(--be-ink);
  border-color: var(--be-ink);
  color: #fff;
}

.be-btn--on-gold:hover {
  background: #fff;
  border-color: #fff;
  color: var(--be-ink);
}

/* Featured rail: the heading and its CTA live in a left column while the
   product rail scrolls beside it, so the row keeps one shared baseline. */
.be-feat {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 56px);
  align-items: start;
}

.be-feat .be-sechead {
  max-width: none;
  margin: 0 0 22px;
}

.be-home .be-feat .be-sechead {
  margin-inline: 0;
  text-align: left;
}

.be-feat__cta {
  background: var(--be-gold);
  border-color: var(--be-gold);
  color: #fff;
}

.be-feat__cta:hover {
  background: var(--be-gold-deep);
  border-color: var(--be-gold-deep);
  color: #fff;
}

.be-feat__main .be-rail {
  grid-auto-columns: clamp(230px, 31%, 360px);
}

@media (max-width: 1000px) {
  .be-feat {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* ---------- function list ---------- */
.be-funcs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--be-line);
  border: 1px solid var(--be-line);
  border-radius: var(--be-radius-lg);
  overflow: hidden;
}

.be-func {
  background: var(--be-paper);
  padding: 22px;
}

.be-func__idx {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--be-accent);
  margin-bottom: 8px;
}

.be-func h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.be-func p {
  margin: 0;
  font-size: 14px;
  color: var(--be-ink-soft);
}

/* ---------- product grid + card ---------- */
.be-grid {
  display: grid;
  grid-template-columns: repeat(var(--be-cols, 4), minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}

.be-card {
  border: 1px solid var(--be-line);
  border-radius: var(--be-radius-lg);
  background: var(--be-paper);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

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

.be-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  background: var(--be-surface);
}

.be-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.be-card__off {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--be-ink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.be-card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.be-card__cat {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--be-ink-soft);
}

.be-card__title {
  margin: 0;
  font-size: 16px;
}

.be-card__sku {
  margin: 0;
  font-size: 12px;
  color: var(--be-ink-soft);
}

.be-card__price {
  margin: 4px 0 0;
  font-weight: 700;
  font-size: 16px;
}

.be-card__price del {
  margin-left: 8px;
  font-weight: 400;
  font-size: 13px;
  color: var(--be-ink-soft);
}

.be-card__actions {
  margin-top: auto;
  padding-top: 12px;
}

/* ---------- stories ---------- */
.be-stories {
  position: relative;
}

.be-stories__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 1fr);
  gap: clamp(12px, 2vw, 22px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding-bottom: 8px;
}

.be-story {
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--be-line);
  border-radius: var(--be-radius-lg);
  background: var(--be-paper);
  overflow: hidden;
}

.be-story__img {
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--be-surface-2);
}

.be-story__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.be-story__body {
  padding: 20px;
}

.be-story__body h3 {
  font-size: 18px;
}

.be-story__body p {
  font-size: 14px;
  color: var(--be-ink-soft);
  margin: 0 0 14px;
}

/* ---------- about ---------- */
.be-about {
  padding-block: clamp(48px, 7vw, 96px);
}

.be-about__row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.be-about__row h2 {
  margin: 0;
}

.be-about img {
  border-radius: var(--be-radius-lg);
}

.be-about__text p {
  margin: 0;
  font-size: 16px;
  color: var(--be-ink-soft);
}

/* ---------- blush band (faq) ---------- */
.be-section--blush {
  background: var(--be-blush-soft);
}

/* ---------- faq ---------- */
.be-faq {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(20px, 4vw, 44px);
  align-items: start;
}

.be-faq__list {
  margin: 0;
  border-top: 1px solid var(--be-line);
}

.be-faq__list dt {
  border-bottom: 1px solid var(--be-line);
}

.be-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 4px;
  border: 0;
  background: transparent;
  text-align: left;
  font-weight: 600;
  font-size: 16px;
}

.be-faq__q i {
  flex: none;
  position: relative;
  width: 14px;
  height: 14px;
}

.be-faq__q i::before,
.be-faq__q i::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--be-accent);
  transition: transform 0.2s ease;
}

.be-faq__q i::before {
  width: 14px;
  height: 2px;
}

.be-faq__q i::after {
  width: 2px;
  height: 14px;
}

.be-faq__q[aria-expanded="true"] i::after {
  transform: scaleY(0);
}

.be-faq__a {
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.24s ease;
}

.be-faq__a.is-open {
  max-height: 320px;
}

.be-faq__a p {
  margin: 0 0 18px;
  padding-right: 40px;
  color: var(--be-ink-soft);
}

.be-faq__help {
  padding: 26px;
  border-radius: var(--be-radius-lg);
  background: var(--be-ink);
  color: #f2efe9;
}

.be-faq__help h3 {
  color: #fff;
  font-size: 19px;
}

.be-faq__help p {
  color: #c9c4bb;
  margin: 0 0 18px;
}

.be-faq__help .be-btn {
  background: #fff;
  border-color: #fff;
  color: var(--be-ink);
}

/* ---------- blog cards ---------- */
.be-posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(14px, 2vw, 24px);
}

.be-posts--one {
  grid-template-columns: minmax(0, 620px);
  justify-content: center;
}

.be-postcard {
  border: 1px solid var(--be-line);
  border-radius: var(--be-radius-lg);
  background: var(--be-paper);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.be-postcard__media {
  aspect-ratio: 3 / 2;
  background: var(--be-surface);
  display: block;
}

.be-postcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.be-postcard__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.be-postcard__date {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--be-ink-soft);
}

.be-postcard__body h3 {
  margin: 0;
  font-size: 18px;
}

.be-postcard__body p {
  margin: 0;
  font-size: 14px;
  color: var(--be-ink-soft);
}

.be-postcard__body .be-link {
  margin-top: 8px;
  align-self: flex-start;
}

/* ---------- newsletter ---------- */
.be-news {
  padding-block: clamp(40px, 6vw, 72px);
  background: var(--be-gold);
  color: #fff;
}

.be-news__row {
  display: grid;
  gap: clamp(16px, 3vw, 28px);
  justify-items: center;
  text-align: center;
}

.be-news__row h2 {
  margin: 0 0 6px;
  color: #fff;
}

.be-news__row p {
  margin: 0;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.86);
}

.be-news__form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  width: min(560px, 100%);
}

.be-news__form input {
  flex: 1 1 220px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  background: #fff;
}

.be-news__note {
  flex-basis: 100%;
  margin: 0;
  font-size: 13px;
  color: #fff;
}

/* ---------- footer ---------- */
.be-footer {
  border-top: 1px solid var(--be-line);
  padding-block: clamp(40px, 6vw, 72px) 0;
  background: var(--be-paper);
}

.be-footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(20px, 3vw, 40px);
  padding-bottom: clamp(28px, 4vw, 44px);
}

.be-footer__col h4 {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.be-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.be-footer__col a {
  font-size: 14px;
  color: var(--be-ink-soft);
}

.be-footer__col p {
  margin: 0;
  font-size: 14px;
  color: var(--be-ink-soft);
}

.be-footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 22px;
  border-top: 1px solid var(--be-line);
}

.be-footer__bar p {
  margin: 0;
  font-size: 13px;
  color: var(--be-ink-soft);
}

.be-footer__pay {
  display: flex;
  gap: 6px;
}

.be-footer__pay span {
  padding: 4px 9px;
  border: 1px solid var(--be-line);
  border-radius: var(--be-radius);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--be-ink-soft);
}

.be-footer__social {
  display: flex;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.be-footer__social a {
  font-size: 13px;
  color: var(--be-ink-soft);
}

/* ---------- listing pages ---------- */
.be-pagehead,
.be-cathead {
  padding-block: clamp(32px, 5vw, 56px);
  background: var(--be-surface);
  border-bottom: 1px solid var(--be-line);
}

.be-pagehead--plain {
  background: var(--be-paper);
}

.be-cathead {
  background-size: cover;
  background-position: center;
}

.be-pagehead h1,
.be-cathead h1 {
  margin-bottom: 8px;
}

.be-pagehead__meta,
.be-cathead__meta {
  margin: 0;
  font-size: 14px;
  color: var(--be-ink-soft);
}

.be-byline {
  font-size: 14px;
  color: var(--be-ink-soft);
}

.be-filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.be-chiprow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.be-chip {
  display: inline-block;
  padding: 7px 15px;
  border: 1px solid var(--be-line);
  border-radius: 999px;
  background: var(--be-paper);
  font-size: 13px;
  font-weight: 600;
}

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

.be-chip.is-on {
  background: var(--be-ink);
  border-color: var(--be-ink);
  color: #fff;
}

.be-chip--sm {
  padding: 4px 11px;
  font-size: 12px;
}

.be-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  font-size: 13px;
  color: var(--be-ink-soft);
}

.be-crumbs li + li::before {
  content: "/";
  margin-right: 6px;
}

.be-empty {
  padding: 40px;
  border: 1px dashed var(--be-line);
  border-radius: var(--be-radius-lg);
  text-align: center;
  color: var(--be-ink-soft);
}

.be-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: clamp(28px, 4vw, 44px);
}

.be-pager__btn {
  padding: 9px 18px;
  border: 1px solid var(--be-line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

.be-pager__btn:hover {
  background: var(--be-ink);
  border-color: var(--be-ink);
  color: #fff;
}

.be-pager__state {
  font-size: 14px;
  color: var(--be-ink-soft);
}

/* ---------- product detail ---------- */
.be-buy {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(20px, 4vw, 52px);
  align-items: start;
}

.be-buy__gallery {
  position: relative;
  border: 1px solid var(--be-line);
  border-radius: var(--be-radius-lg);
  overflow: hidden;
  background: var(--be-surface);
}

.be-buy__gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.be-buy__off {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--be-ink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.be-buy__panel h1 {
  font-size: clamp(24px, 3vw, 36px);
  margin-bottom: 14px;
}

.be-buy__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 24px;
  margin: 0 0 20px;
}

.be-buy__price del {
  font-size: 15px;
  color: var(--be-ink-soft);
}

.be-buy__price--na {
  font-size: 18px;
  color: var(--be-ink-soft);
  font-style: italic;
}

.be-specs {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 20px;
  margin: 0 0 24px;
  padding: 18px 0;
  border-block: 1px solid var(--be-line);
  font-size: 14px;
}

.be-specs div {
  display: contents;
}

.be-specs dt {
  color: var(--be-ink-soft);
}

.be-specs dd {
  margin: 0;
}

.be-buy__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.be-qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--be-line);
  border-radius: 999px;
  overflow: hidden;
}

.be-qty button {
  width: 38px;
  height: 44px;
  border: 0;
  background: var(--be-paper);
  font-size: 17px;
}

.be-qty button:hover {
  background: var(--be-surface);
}

.be-qty input {
  width: 52px;
  height: 44px;
  border: 0;
  text-align: center;
  -moz-appearance: textfield;
}

.be-qty input::-webkit-outer-spin-button,
.be-qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.be-buy__note {
  margin: 16px 0 0;
  font-size: 12.5px;
  color: var(--be-ink-soft);
}

.be-buy__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

/* ---------- rich text ---------- */
.be-richtext {
  font-size: 16px;
  line-height: 1.75;
}

.be-richtext h2,
.be-richtext h3 {
  margin-top: 1.6em;
}

.be-richtext img {
  border-radius: var(--be-radius-lg);
}

.be-richtext table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.be-richtext th,
.be-richtext td {
  border: 1px solid var(--be-line);
  padding: 9px 12px;
  text-align: left;
}

.be-richtext blockquote {
  margin: 1.4em 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--be-accent);
  color: var(--be-ink-soft);
}

.be-richtext pre {
  overflow-x: auto;
  padding: 18px;
  border-radius: var(--be-radius);
  background: var(--be-ink);
  color: #f2efe9;
  font-size: 13.5px;
}

.be-richtext code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.be-comment {
  margin-top: clamp(32px, 5vw, 56px);
  padding-top: clamp(24px, 4vw, 40px);
  border-top: 1px solid var(--be-line);
}

/* ---------- cart drawer ---------- */
.be-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
}

.be-drawer[hidden] {
  display: none;
}

.be-drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(20, 24, 29, 0.42);
}

.be-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 92vw);
  display: flex;
  flex-direction: column;
  background: var(--be-paper);
  border-left: 1px solid var(--be-line);
  animation: be-slide-in 0.22s ease;
}

@keyframes be-slide-in {
  from {
    transform: translateX(24px);
    opacity: 0.4;
  }
}

.be-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--be-gutter);
  border-bottom: 1px solid var(--be-line);
}

.be-drawer__head h2 {
  margin: 0;
  font-size: 19px;
}

.be-drawer__head button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--be-line);
  border-radius: 50%;
  background: transparent;
  font-size: 20px;
  line-height: 1;
}

.be-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 18px var(--be-gutter);
}

.be-drawer__empty {
  color: var(--be-ink-soft);
  font-size: 14px;
}

.be-cart-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.be-cart-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--be-line);
  font-size: 14px;
}

.be-cart-row strong {
  grid-column: 2;
  grid-row: 1;
}

.be-cart-row span {
  color: var(--be-ink-soft);
  font-size: 13px;
}

.be-cart-row button {
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
  border: 0;
  background: transparent;
  color: var(--be-ink-soft);
  font-size: 12px;
  text-decoration: underline;
}

.be-drawer__foot {
  padding: 18px var(--be-gutter);
  border-top: 1px solid var(--be-line);
  display: grid;
  gap: 10px;
}

.be-drawer__sum {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
}

/* ---------- misc ---------- */
.be-totop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--be-line);
  border-radius: 50%;
  background: var(--be-paper);
  box-shadow: var(--be-shadow);
}

.be-totop[hidden] {
  display: none;
}

.be-totop svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--be-ink);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.be-error__box {
  text-align: center;
  padding-block: clamp(40px, 8vw, 96px);
}

.be-error__code {
  font-size: clamp(56px, 12vw, 120px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0 0 8px;
  color: var(--be-surface-2);
}

.be-error__cats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.be-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 70;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--be-ink);
  color: #fff;
  font-size: 14px;
  box-shadow: var(--be-shadow);
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .be-grid {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)) !important;
  }

  .be-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .be-buy,
  .be-promo__row,
  .be-about__row,
  .be-news__row,
  .be-promo__row,
  .be-faq {
    grid-template-columns: 1fr;
  }

  .be-promo--alt .be-promo__media {
    order: 0;
  }

  .be-search {
    display: none;
  }
}

@media (max-width: 860px) {
  .be-nav__toggle {
    display: inline-flex;
    gap: 7px;
  }

  .be-nav__list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px var(--be-gutter) 18px;
    background: var(--be-paper);
    border-bottom: 1px solid var(--be-line);
    box-shadow: var(--be-shadow);
    display: none;
  }

  .be-nav__list.is-open {
    display: flex;
  }

  .be-nav__list > li {
    border-bottom: 1px solid var(--be-line);
  }

  .be-nav__list > li > a {
    display: block;
    padding: 13px 0;
  }

  .be-flyout {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: 0;
    box-shadow: none;
    padding: 0 0 10px 14px;
    min-width: 0;
  }

  .be-nav__list > li.is-open .be-flyout,
  .be-nav__list > li:hover .be-flyout {
    display: block;
  }
}

/* The hero keeps its centred overlay and arrows until phone widths — the
   reference only collapses them once the image can no longer carry text. */
@media (max-width: 700px) {
  .be-hero__nav {
    display: none;
  }

  .be-hero__inner,
  .be-hero__slide.align-right .be-hero__inner,
  .be-hero__slide.align-center .be-hero__inner {
    max-width: none;
    margin-inline: 0;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
