:root {
  --black: #050505;
  --panel: #0b0a08;
  --panel-2: #12100d;
  --gold: #c9a24a;
  --gold-2: #f0d891;
  --ivory: #f7f0df;
  --muted: #b3a98f;
  --line: rgba(201, 162, 74, 0.34);
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 12% 8%, rgba(201, 162, 74, 0.12), transparent 26rem),
    linear-gradient(110deg, rgba(255, 255, 255, 0.035), transparent 20rem),
    var(--black);
  color: var(--ivory);
  font-family: var(--sans);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(45deg, rgba(201, 162, 74, 0.04) 1px, transparent 1px);
  background-size: 82px 82px, 54px 54px;
  mask-image: linear-gradient(to bottom, #000, transparent 70%);
}

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

button,
input {
  font: inherit;
}

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

.collection-strip {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 4vw, 44px);
  min-height: 38px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--line);
  background: #030303;
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.collection-strip a {
  color: var(--gold-2);
  transition: color 180ms ease;
}

.collection-strip a:hover {
  color: var(--ivory);
}

.collection-strip a[aria-current="page"] {
  color: var(--gold-2);
}

.collection-strip a:not(:first-child) {
  color: var(--muted);
}

.collection-strip a:not(:first-child)[aria-current="page"] {
  color: var(--gold-2);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(210px, auto) 1fr auto;
  align-items: center;
  gap: clamp(16px, 2.4vw, 34px);
  padding: 18px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(201, 162, 74, 0.18);
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0;
  box-shadow: inset 0 0 0 1px rgba(240, 216, 145, 0.18);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 34px);
}

.nav-links a,
.text-button {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.nav-links a:hover,
.text-button:hover {
  color: var(--gold-2);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.text-button,
.cart-button,
.icon-button,
.swatch {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.utility-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid var(--line);
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.currency-button {
  color: var(--gold-2);
}

.cart-button span {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: #070707;
  font-size: 11px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--gold-2);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  align-items: stretch;
  gap: clamp(28px, 5vw, 78px);
  min-height: calc(100vh - 108px);
  padding: clamp(46px, 6vw, 84px) clamp(18px, 4vw, 54px) clamp(26px, 5vw, 70px);
}

.hero-copy {
  align-self: center;
  max-width: 660px;
}

.brand-line,
.section-heading p,
.color-story p,
.about-copy > p:first-child,
.newsletter > div > p,
.energy-band p {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: clamp(58px, 8vw, 126px);
  font-weight: 700;
  line-height: 0.86;
}

.hero-copy > p:not(.brand-line) {
  max-width: 580px;
  color: var(--muted);
  font-size: clamp(16px, 1.55vw, 20px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.primary-button {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #080704;
}

.secondary-button {
  background: rgba(5, 5, 5, 0.5);
  color: var(--gold-2);
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
}

.hero-media {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--panel);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 5, 5, 0.42), transparent 42%);
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.05) saturate(0.82);
}

.hero-plaque {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 1;
  display: grid;
  gap: 5px;
  min-width: 210px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.72);
}

.hero-plaque span {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-plaque strong {
  color: var(--gold-2);
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1;
}

.marquee {
  display: flex;
  gap: 34px;
  overflow: hidden;
  padding: 18px clamp(18px, 4vw, 54px);
  border-block: 1px solid var(--line);
  background: #080705;
  color: rgba(240, 216, 145, 0.76);
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 600;
  white-space: nowrap;
}

.section {
  padding: clamp(70px, 9vw, 128px) clamp(18px, 4vw, 54px);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
  margin-bottom: 34px;
}

.section-heading p {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.section-heading h2,
.color-story h2,
.about-copy h2,
.newsletter h2 {
  margin: 0;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 76px);
  line-height: 0.95;
}

.section-heading a {
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.store-home {
  border-top: 1px solid var(--line);
  background: #050505;
}

.store-entry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.store-entry {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 74, 0.26);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.25);
}

.store-entry img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.04);
  transition: transform 500ms ease;
}

.store-entry:hover img {
  transform: scale(1.035);
}

.store-entry::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 58%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.92));
}

.store-entry span,
.store-entry h3,
.store-entry p {
  position: absolute;
  z-index: 1;
  left: 22px;
  right: 22px;
}

.store-entry span {
  bottom: 108px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.store-entry h3 {
  bottom: 32px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 46px);
  line-height: 0.95;
}

.store-entry p {
  bottom: 26px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.partner-entry {
  display: block;
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(201, 162, 74, 0.16), rgba(255, 255, 255, 0.03)),
    #090805;
}

.partner-entry::after {
  display: none;
}

.partner-entry span {
  top: 26px;
  bottom: auto;
}

.partner-entry h3 {
  top: 78px;
  bottom: auto;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 74, 0.22);
  border-radius: 8px;
  background: var(--panel);
}

.product-card.wide {
  grid-column: span 1;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.05);
  transition: transform 500ms ease;
}

.product-card:hover img {
  transform: scale(1.035);
}

.product-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
}

.quick-add {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid rgba(240, 216, 145, 0.7);
  background: rgba(5, 5, 5, 0.65);
  color: var(--gold-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.product-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px;
}

.product-info h3 {
  margin-bottom: 7px;
  font-size: 20px;
  line-height: 1.12;
}

.product-info p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.product-info strong {
  color: var(--gold-2);
  white-space: nowrap;
}

.split-feature {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 500px;
  border-block: 1px solid var(--line);
}

.collection-panel {
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: 500px;
  padding: clamp(26px, 4vw, 54px);
  border-right: 1px solid var(--line);
  background:
    linear-gradient(rgba(5, 5, 5, 0.5), rgba(5, 5, 5, 0.92)),
    url("assets/elite-crop-hoodie.jpg") center / cover;
}

.men-panel {
  background:
    linear-gradient(rgba(5, 5, 5, 0.45), rgba(5, 5, 5, 0.92)),
    url("assets/enclave-relaxed-hoodie.jpg") center / cover;
}

.accessory-panel {
  border-right: 0;
  background:
    linear-gradient(rgba(5, 5, 5, 0.35), rgba(5, 5, 5, 0.9)),
    url("assets/icon-snapback.jpg") center / cover;
}

.collection-panel span {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.collection-panel h2 {
  max-width: 360px;
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 64px);
  line-height: 0.96;
}

.collection-panel p {
  max-width: 330px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.color-story {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(220px, 360px) auto;
  align-items: center;
  gap: clamp(22px, 4vw, 54px);
  padding: clamp(48px, 7vw, 86px) clamp(18px, 4vw, 54px);
  background: linear-gradient(90deg, #080705, #13100b, #050505);
}

.color-copy {
  max-width: 760px;
}

.color-copy span {
  display: block;
  max-width: 560px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.hat-preview {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 74, 0.34);
  border-radius: 8px;
  background: #050505;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}

.hat-preview img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition:
    opacity 180ms ease,
    transform 300ms ease;
}

.hat-preview-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 4px;
  padding: 18px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.92) 18%);
}

.hat-preview-copy strong {
  color: var(--ivory);
  font-size: 18px;
  line-height: 1.15;
}

.hat-preview-copy span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.swim-section {
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0), rgba(201, 162, 74, 0.055) 42%, rgba(5, 5, 5, 0)),
    #050505;
}

.swim-lead {
  max-width: 780px;
  margin: -10px 0 30px;
}

.swim-lead p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.swim-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.swim-card {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 74, 0.26);
  border-radius: 8px;
  background: #0b0a08;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.26);
}

.swim-card.compact {
  min-height: 460px;
}

.swim-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.88) contrast(1.04);
  transition: transform 500ms ease;
}

.swim-card:hover img {
  transform: scale(1.035);
}

.swim-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 54%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.92));
}

.swim-card-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: grid;
  gap: 8px;
  padding: 20px;
}

.swim-card-copy span {
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid rgba(240, 216, 145, 0.42);
  color: var(--gold-2);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.swim-card-copy h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 34px;
  line-height: 0.96;
}

.swim-card-copy p {
  margin: 0;
  color: var(--gold-2);
  font-weight: 800;
}

.swim-card-copy button {
  width: fit-content;
  min-height: 38px;
  margin-top: 4px;
  padding: 0 14px;
  border: 1px solid var(--gold);
  background: rgba(5, 5, 5, 0.62);
  color: var(--gold-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.energy-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 310px) auto;
  align-items: center;
  gap: 28px;
  padding: clamp(58px, 8vw, 104px) clamp(18px, 4vw, 54px);
  border-block: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(201, 162, 74, 0.14), transparent 35%),
    linear-gradient(90deg, #080705, #13100b, #050505);
}

.energy-can {
  overflow: hidden;
  border: 1px solid rgba(201, 162, 74, 0.36);
  border-radius: 8px;
  background: #050505;
  box-shadow: var(--shadow);
}

.energy-can img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.95) contrast(1.06);
}

.energy-band h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(46px, 7vw, 104px);
  line-height: 0.86;
}

.energy-band span {
  display: block;
  max-width: 680px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.swatches {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.swatch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(201, 162, 74, 0.3);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.swatch.active {
  border-color: var(--gold);
  color: var(--gold-2);
}

.swatch span {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(240, 216, 145, 0.5);
  border-radius: 50%;
  background: #020202;
}

.swatch:nth-child(2) span {
  background: linear-gradient(135deg, #c9a24a, #fbebbd);
}

.about-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
  padding: clamp(76px, 9vw, 124px) clamp(18px, 4vw, 54px);
}

.partner-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
  padding: clamp(76px, 9vw, 124px) clamp(18px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(201, 162, 74, 0.12), transparent 38%),
    #050505;
}

.partner-copy p,
.partner-panel > span {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.partner-copy h2 {
  max-width: 820px;
  margin: 0;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 104px);
  line-height: 0.88;
}

.partner-copy span {
  display: block;
  max-width: 680px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.partner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.partner-panel {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(201, 162, 74, 0.12), rgba(255, 255, 255, 0.02)),
    var(--panel);
  box-shadow: var(--shadow);
}

.partner-panel ol {
  display: grid;
  gap: 18px;
  margin: 0;
  padding-left: 22px;
  color: var(--ivory);
  font-size: 17px;
  line-height: 1.55;
}

.partner-panel li::marker {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 24px;
}

.about-image {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.about-copy p:not(:first-child) {
  max-width: 620px;
  margin-top: 24px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.75;
  text-transform: none;
}

.about-copy .primary-button {
  margin-top: 16px;
}

.newsletter {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 520px);
  gap: 34px;
  align-items: end;
  padding: clamp(64px, 8vw, 104px) clamp(18px, 4vw, 54px);
  border-block: 1px solid var(--line);
  background: #080705;
}

.newsletter form {
  display: grid;
  gap: 12px;
}

.newsletter label,
.search-dialog label {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.newsletter input,
.search-dialog input {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #050505;
  color: var(--ivory);
  padding: 0 16px;
  outline: none;
}

.newsletter input:focus,
.search-dialog input:focus {
  border-color: var(--gold);
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  padding: 42px clamp(18px, 4vw, 54px);
  color: var(--muted);
}

.footer p {
  margin: 16px 0 0;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 14px 22px;
  max-width: 560px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  justify-content: flex-end;
  background: rgba(0, 0, 0, 0.58);
}

.cart-drawer.open {
  display: flex;
}

.drawer-panel {
  position: relative;
  width: min(100%, 420px);
  height: 100%;
  padding: 32px;
  border-left: 1px solid var(--line);
  background: #070604;
  box-shadow: var(--shadow);
}

.drawer-panel h2,
.search-dialog h2 {
  margin-bottom: 26px;
  font-family: var(--serif);
  font-size: 44px;
}

.close-drawer,
.close-search {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  color: var(--gold-2);
  font-size: 28px;
  line-height: 1;
}

.cart-lines {
  display: grid;
  gap: 15px;
  min-height: 220px;
  color: var(--muted);
}

.cart-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(201, 162, 74, 0.16);
  color: var(--ivory);
}

.cart-line span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  color: var(--gold-2);
  font-size: 18px;
}

.checkout-button {
  width: 100%;
}

.search-dialog {
  width: min(calc(100% - 32px), 720px);
  border: 1px solid var(--line);
  background: #070604;
  color: var(--ivory);
  padding: 34px;
  box-shadow: var(--shadow);
}

.search-dialog::backdrop {
  background: rgba(0, 0, 0, 0.68);
}

.search-dialog form {
  margin: 0;
}

.search-results {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.search-result {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(201, 162, 74, 0.18);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 50;
  min-width: min(420px, calc(100% - 32px));
  padding: 14px 18px;
  border: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.92);
  color: var(--gold-2);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, calc(100% + 28px));
  transition:
    opacity 180ms ease,
    transform 240ms ease,
    visibility 180ms ease;
  visibility: hidden;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
  visibility: visible;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .nav-links,
  .header-actions {
    grid-column: 1 / -1;
    display: none;
    justify-content: start;
  }

  .site-header.open .nav-links,
  .site-header.open .header-actions {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    gap: 14px;
    padding-top: 14px;
  }

  .header-actions {
    flex-wrap: wrap;
    padding-bottom: 8px;
  }

  .hero,
  .about-band,
  .newsletter {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: 430px;
  }

  .product-grid,
  .split-feature,
  .swim-grid,
  .store-entry-grid {
    grid-template-columns: 1fr;
  }

  .collection-panel {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .color-story,
  .footer {
    align-items: flex-start;
  }

  .color-story {
    grid-template-columns: 1fr;
  }

  .energy-band,
  .partner-section {
    grid-template-columns: 1fr;
  }

  .swatches {
    justify-content: flex-start;
  }

  .footer nav {
    justify-content: start;
  }
}

@media (max-width: 620px) {
  .collection-strip {
    flex-direction: column;
    gap: 3px;
  }

  .brand {
    font-size: 11px;
    letter-spacing: 0.08em;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .hero {
    padding-top: 34px;
  }

  h1 {
    font-size: 54px;
  }

  .hero-media {
    min-height: 360px;
  }

  .hero-plaque {
    left: 16px;
    right: 16px;
    bottom: 16px;
    min-width: 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .product-card,
  .collection-panel,
  .swim-card,
  .swim-card.compact,
  .store-entry {
    min-height: 430px;
  }

  .product-info {
    flex-direction: column;
    padding: 18px;
  }

  .newsletter form {
    min-width: 0;
  }
}
