:root {
  color-scheme: light;
  --ink: #18201b;
  --muted: #68736d;
  --paper: #f7f3ea;
  --surface: #ffffff;
  --line: #ded8c9;
  --moss: #3d5a40;
  --moss-dark: #243828;
  --clay: #bd6747;
  --sky: #cfe3e8;
  --gold: #d7a84d;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(24, 32, 27, 0.16);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

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

button,
input,
select {
  font: inherit;
}

button {
  color: inherit;
}

.lock-scroll {
  overflow: hidden;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 16px clamp(18px, 4vw, 54px);
  color: #fff;
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(247, 243, 234, 0.94);
  box-shadow: 0 1px 0 rgba(24, 32, 27, 0.08);
  backdrop-filter: blur(12px);
}

.brand,
.nav-links,
.header-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
}

.brand-text {
  display: grid;
  gap: 1px;
  line-height: 1;
}

.brand-text strong {
  font-size: 1rem;
}

.brand-text small {
  color: inherit;
  font-size: 0.72rem;
  font-weight: 850;
  opacity: 0.88;
}

.nav-links {
  justify-content: center;
  gap: clamp(18px, 4vw, 42px);
  font-weight: 700;
  font-size: 0.92rem;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.mega-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  z-index: 30;
  display: grid;
  width: min(1040px, calc(100vw - 48px));
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 24px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.mega-menu div {
  display: grid;
  gap: 8px;
  align-content: start;
}

.mega-menu strong {
  color: var(--moss-dark);
  font-size: 0.96rem;
}

.mega-menu a {
  color: var(--muted);
  font-weight: 750;
}

.header-actions {
  gap: 10px;
}

.icon-button,
.cart-button {
  display: inline-grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  color: inherit;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  cursor: pointer;
}

.icon-button svg,
.cart-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.site-header.is-scrolled .icon-button,
.site-header.is-scrolled .cart-button {
  background: #fff;
  border-color: var(--line);
}

.cart-button {
  grid-template-columns: auto auto;
  gap: 6px;
  padding: 0 13px;
}

.cart-count {
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  color: #fff;
  background: var(--moss);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  background: #243828;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: end;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition:
    opacity 520ms ease,
    transform 900ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 22, 17, 0.78), rgba(14, 22, 17, 0.28) 48%, rgba(14, 22, 17, 0.04)),
    linear-gradient(0deg, rgba(14, 22, 17, 0.5), rgba(14, 22, 17, 0.05) 54%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - 36px));
  margin: 0 0 clamp(70px, 11vw, 126px) clamp(18px, 7vw, 96px);
  color: #fff;
}

.hero-generated-art {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.cooling-slide {
  background:
    linear-gradient(120deg, rgba(30, 63, 74, 0.94), rgba(117, 165, 170, 0.82)),
    radial-gradient(circle at 74% 34%, rgba(255, 255, 255, 0.38), transparent 28%);
}

.shelter-slide {
  background:
    linear-gradient(120deg, rgba(31, 45, 34, 0.95), rgba(111, 112, 71, 0.82)),
    radial-gradient(circle at 76% 38%, rgba(215, 168, 77, 0.42), transparent 30%);
}

.fan-visual {
  position: absolute;
  right: clamp(60px, 13vw, 190px);
  top: clamp(110px, 18vw, 210px);
  width: clamp(230px, 32vw, 430px);
  aspect-ratio: 1;
  border: 14px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  box-shadow: inset 0 0 0 26px rgba(255, 255, 255, 0.12), 0 42px 110px rgba(0, 0, 0, 0.2);
}

.fan-visual::before,
.fan-visual::after {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background:
    conic-gradient(from 20deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.08) 32%),
    radial-gradient(circle, #2d5570 0 18%, transparent 19%);
}

.fan-visual::after {
  inset: auto 38% -34%;
  height: 42%;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
}

.cooling-card,
.freight-tag {
  position: absolute;
  right: clamp(28px, 8vw, 110px);
  bottom: clamp(110px, 16vw, 190px);
  padding: 16px 20px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius);
  font-weight: 950;
  box-shadow: var(--shadow);
}

.cooling-card.small {
  right: clamp(130px, 20vw, 290px);
  bottom: clamp(58px, 10vw, 112px);
  color: #fff;
  background: rgba(36, 56, 40, 0.78);
}

.tent-visual {
  position: absolute;
  right: clamp(38px, 11vw, 160px);
  bottom: clamp(110px, 15vw, 180px);
  width: clamp(320px, 43vw, 620px);
  height: clamp(210px, 28vw, 380px);
  clip-path: polygon(5% 88%, 50% 8%, 95% 88%);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.92) 0 48%, rgba(215, 168, 77, 0.78) 49% 52%, rgba(255, 255, 255, 0.72) 53%),
    var(--paper);
  box-shadow: 0 42px 110px rgba(0, 0, 0, 0.25);
}

.chair-visual {
  position: absolute;
  right: clamp(270px, 34vw, 520px);
  bottom: clamp(60px, 8vw, 120px);
  width: clamp(150px, 18vw, 230px);
  height: clamp(130px, 16vw, 200px);
  border: 12px solid rgba(255, 255, 255, 0.86);
  border-top-width: 34px;
  border-radius: 12px 12px 36px 36px;
  transform: rotate(-6deg);
}

.chair-visual::before,
.chair-visual::after {
  content: "";
  position: absolute;
  bottom: -78px;
  width: 8px;
  height: 86px;
  background: rgba(255, 255, 255, 0.86);
}

.chair-visual::before {
  left: 30px;
  transform: rotate(15deg);
}

.chair-visual::after {
  right: 30px;
  transform: rotate(-15deg);
}

.freight-tag {
  right: clamp(42px, 8vw, 116px);
  bottom: clamp(56px, 9vw, 118px);
}

.hero-controls {
  position: absolute;
  right: clamp(18px, 4vw, 54px);
  bottom: 34px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-arrow,
.hero-dots button {
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.42);
  cursor: pointer;
}

.hero-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.hero-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border-radius: 50%;
}

.hero-dots button.is-active {
  width: 30px;
  border-radius: 999px;
  background: var(--clay);
  border-color: var(--clay);
}

.product-orbit-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(340px, 1.15fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(48px, 8vw, 92px) clamp(18px, 6vw, 86px);
  color: var(--ink);
  background: #f7f4ee;
  border-bottom: 1px solid var(--line);
}

.product-orbit-copy {
  max-width: 560px;
}

.product-orbit-copy h2 {
  max-width: 520px;
  font-size: clamp(2rem, 4vw, 4.1rem);
}

.product-orbit-copy p:not(.eyebrow) {
  margin: 18px 0 24px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.product-orbit {
  position: relative;
  min-height: clamp(360px, 46vw, 560px);
  overflow: hidden;
  border: 1px solid rgba(214, 198, 171, 0.72);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(238, 232, 218, 0.58)),
    #f4efe5;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  perspective: 900px;
}

.product-orbit::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 50%;
  height: 1px;
  background: rgba(84, 113, 74, 0.16);
}

.product-orbit-item {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(74px, 8vw, 118px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(214, 198, 171, 0.78);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(38, 49, 39, 0.16);
  will-change: transform, opacity;
}

.product-orbit-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd88e;
}

h1,
h2 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 680px;
  font-size: clamp(3.1rem, 6.2vw, 5.8rem);
}

h2 {
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 4rem);
}

.hero-copy {
  max-width: 610px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2vw, 1.24rem);
  line-height: 1.6;
}

.hero-actions,
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-button,
.secondary-button,
.filter {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 850;
  cursor: pointer;
}

.primary-button {
  padding: 0 24px;
  color: #fff;
  background: var(--clay);
  border: 1px solid var(--clay);
  box-shadow: 0 10px 24px rgba(189, 103, 71, 0.24);
}

.secondary-button {
  padding: 0 22px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.12);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip div {
  padding: 22px clamp(18px, 3vw, 38px);
  background: var(--surface);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip span {
  margin-top: 4px;
  color: var(--muted);
}

.section,
.newsletter,
.kit-builder {
  padding: clamp(70px, 9vw, 118px) clamp(18px, 5vw, 72px);
}

.section-heading {
  margin-bottom: 34px;
}

.catalog-section {
  background: #fff;
}

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

.catalog-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfaf6;
}

.catalog-card span {
  color: var(--clay);
  font-weight: 950;
}

.catalog-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.catalog-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.catalog-card ul {
  display: grid;
  gap: 7px;
  margin: 4px 0 0;
  padding: 0;
  color: var(--moss-dark);
  list-style: none;
  font-weight: 850;
}

.row-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

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

.category-tile {
  min-height: 260px;
  display: flex;
  align-items: end;
  padding: 20px;
  overflow: hidden;
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(0deg, rgba(12, 17, 14, 0.76), rgba(12, 17, 14, 0.02)),
    var(--tile-bg);
  box-shadow: var(--shadow);
}

.category-tile span {
  font-size: 1.28rem;
  font-weight: 900;
}

.tents {
  --tile-bg: linear-gradient(135deg, #47624b, #d7a84d);
}

.lights {
  --tile-bg: linear-gradient(135deg, #344239, #ffd88e);
}

.cooling {
  --tile-bg: linear-gradient(135deg, #2d5570, #cfe3e8);
}

.kitchen {
  --tile-bg: linear-gradient(135deg, #6b3131, #d7a84d);
}

.packs {
  --tile-bg: linear-gradient(135deg, #2d5570, #8aa7a8);
}

.apparel {
  --tile-bg: linear-gradient(135deg, #6b3131, #bd6747);
}

.camp {
  --tile-bg: linear-gradient(135deg, #36463b, #c6b18a);
}

.safety {
  --tile-bg: linear-gradient(135deg, #243828, #bd6747);
}

.product-section {
  background: #fff;
}

.shop-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(160px, 220px) minmax(140px, 180px);
  gap: 14px;
  align-items: end;
  margin: -8px 0 18px;
}

.search-field span,
.shop-toolbar label span {
  display: block;
}

.product-count {
  margin: 0 0 22px;
  color: var(--muted);
  font-weight: 800;
}

.upload-note {
  max-width: 760px;
  margin: -12px 0 24px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.55;
}

.filter {
  min-height: 40px;
  padding: 0 16px;
  color: var(--muted);
  background: #f6f3ed;
  border: 1px solid var(--line);
}

.filter.active {
  color: #fff;
  background: var(--moss);
  border-color: var(--moss);
}

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

.product-card {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(197, 108, 78, 0.42);
  box-shadow: 0 18px 40px rgba(38, 49, 39, 0.11);
}

.product-art {
  min-height: 230px;
  width: 100%;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.72), transparent 28%),
    linear-gradient(135deg, var(--art-a), var(--art-b));
  cursor: pointer;
}

.product-photo {
  position: relative;
  overflow: hidden;
  background: #f6f3ed;
  isolation: isolate;
}

.product-photo::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -65%;
  width: 46%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.68), transparent);
  transform: skewX(-18deg);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}

.product-card:hover .product-photo::after,
.product-photo:focus-visible::after,
.modal-art.is-swapping::after {
  animation: image-sheen 860ms ease forwards;
}

.product-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  transform: scale(1);
  transition:
    transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 220ms ease,
    filter 220ms ease;
}

.product-card:hover .product-photo img,
.product-photo:focus-visible img {
  transform: scale(1.045);
}

.product-photo.is-swapping img {
  opacity: 0.78;
  filter: saturate(1.05);
}

.product-art span {
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  color: #fff;
  background: rgba(24, 32, 27, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  filter: drop-shadow(0 16px 16px rgba(0, 0, 0, 0.18));
}

.product-meta {
  display: grid;
  gap: 10px;
}

.product-title-row {
  display: grid;
  gap: 6px;
}

.product-meta h3 {
  margin: 0;
  font-size: 1.02rem;
}

.product-meta p {
  min-height: 58px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.product-meta small {
  color: var(--clay);
  font-weight: 900;
  text-transform: uppercase;
}

.wishlist-button {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  cursor: pointer;
}

.wishlist-button svg {
  width: 18px;
  fill: none;
  stroke: var(--moss-dark);
  stroke-width: 2;
}

.wishlist-button.is-saved svg {
  fill: var(--clay);
  stroke: var(--clay);
}

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

.rating {
  color: var(--gold);
  font-weight: 900;
}

.price {
  font-weight: 900;
}

.add-button {
  min-height: 42px;
  color: #fff;
  background: var(--moss-dark);
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
}

.kit-builder {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: clamp(28px, 7vw, 86px);
  align-items: center;
  background: var(--sky);
}

.kit-copy p:not(.eyebrow) {
  max-width: 560px;
  color: #42514c;
  font-size: 1.08rem;
  line-height: 1.7;
}

.kit-panel {
  display: grid;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.kit-result {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.kit-result strong {
  color: var(--ink);
}

.kit-result button,
.coupon-row button {
  min-height: 42px;
  color: #fff;
  background: var(--moss);
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
}

label {
  display: grid;
  gap: 8px;
  color: #40504a;
  font-weight: 850;
}

select,
input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: var(--ink);
  background: #fbfaf6;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.full {
  width: 100%;
}

.story-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: 40px;
  align-items: start;
}

.story-list {
  display: grid;
  gap: 12px;
}

.story-list a {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.08rem;
  font-weight: 850;
}

.newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 30px;
  align-items: center;
  color: #fff;
  background: var(--moss-dark);
}

.signup {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.form-note {
  grid-column: 1 / -1;
  min-height: 20px;
  margin: 0;
  color: inherit;
  opacity: 0.82;
  font-weight: 800;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(13, 18, 15, 0.52);
  backdrop-filter: blur(5px);
}

.drawer,
.modal {
  position: fixed;
  z-index: 50;
  background: #fff;
  box-shadow: var(--shadow);
  visibility: hidden;
  opacity: 0;
  transition:
    transform 180ms ease,
    opacity 180ms ease,
    visibility 180ms ease;
}

.drawer.is-open,
.modal.is-open {
  visibility: visible;
  opacity: 1;
}

.cart-drawer {
  inset: 0 0 0 auto;
  width: min(460px, 100%);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto auto;
  gap: 16px;
  padding: 26px;
  transform: translateX(100%);
}

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

.drawer-head,
.cart-line,
.totals div,
.summary-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.drawer-head h2,
.checkout-form h2 {
  font-size: 2.1rem;
}

.close-button {
  min-height: 38px;
  padding: 0 14px;
  background: #f6f3ed;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
}

.cart-items {
  display: grid;
  align-content: start;
  gap: 14px;
  overflow: auto;
}

.cart-line {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.cart-line div:nth-child(2) {
  display: grid;
  flex: 1;
  gap: 4px;
}

.cart-line span {
  color: var(--muted);
}

.mini-art {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--art-a), var(--art-b));
  border-radius: var(--radius);
  font-size: 0.72rem;
  font-weight: 950;
}

.qty-controls {
  display: grid;
  grid-template-columns: 30px 24px 30px;
  align-items: center;
  text-align: center;
}

.qty-controls button {
  height: 30px;
  background: #f6f3ed;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}

.coupon-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.coupon-row button {
  padding: 0 18px;
}

.totals {
  display: grid;
  gap: 9px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.totals span {
  color: var(--muted);
}

.grand-total {
  font-size: 1.22rem;
}

.empty-state {
  padding: 26px;
  color: var(--muted);
  background: #f6f3ed;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
}

.modal {
  top: 50%;
  left: 50%;
  width: min(960px, calc(100% - 28px));
  max-height: calc(100vh - 28px);
  overflow: auto;
  border-radius: var(--radius);
  transform: translate(-50%, -46%) scale(0.98);
}

.modal.is-open {
  transform: translate(-50%, -50%) scale(1);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
}

.modal-body,
.checkout-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1fr);
  gap: 28px;
  padding: 28px;
}

.modal-art {
  min-height: 430px;
  cursor: default;
}

.modal-art img {
  animation: detail-image-in 420ms ease both;
}

.detail-gallery {
  display: grid;
  gap: 12px;
  align-self: start;
}

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

.detail-thumbs button {
  aspect-ratio: 1;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #f6f3ed;
  cursor: pointer;
}

.detail-thumbs button.is-active {
  border-color: var(--accent);
  box-shadow: 0 10px 20px rgba(197, 108, 78, 0.18);
}

.detail-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 220ms ease;
}

.detail-thumbs button:hover img {
  transform: scale(1.06);
}

@keyframes image-sheen {
  0% {
    opacity: 0;
    transform: translateX(0) skewX(-18deg);
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(360%) skewX(-18deg);
  }
}

@keyframes detail-image-in {
  from {
    opacity: 0.82;
    transform: scale(0.985);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-card,
  .product-photo img,
  .detail-thumbs img,
  .modal-art img {
    transition: none;
    animation: none;
  }

  .product-card:hover,
  .product-card:hover .product-photo img,
  .product-photo:focus-visible img,
  .detail-thumbs button:hover img {
    transform: none;
  }

  .product-photo::after {
    display: none;
  }
}

.detail-copy {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.spec-list {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.spec-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 850;
}

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

.option-block {
  display: grid;
  gap: 8px;
  margin: 16px 0;
}

.option-block div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.option-block button {
  min-height: 34px;
  padding: 0 12px;
  background: #f6f3ed;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 850;
}

.detail-price {
  font-size: 1.8rem;
}

.checkout-modal {
  width: min(1080px, calc(100% - 28px));
}

.checkout-form,
.checkout-summary {
  display: grid;
  align-content: start;
  gap: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.checkout-summary {
  padding: 22px;
  background: #f6f3ed;
  border-radius: var(--radius);
}

.paypal-panel {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fdfbf7;
}

#paypal-button-container {
  min-height: 48px;
}

.form-note[data-status="success"] {
  color: var(--moss);
  font-weight: 850;
}

.form-note[data-status="error"] {
  color: var(--clay);
  font-weight: 850;
}

.secondary-checkout {
  background: #f6f3ed;
  color: var(--moss);
  border: 1px solid var(--line);
}

.summary-list {
  display: grid;
  gap: 12px;
}

.compact {
  margin-top: 10px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  padding: 28px;
  color: #eef5ef;
  background: #111711;
}

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

  .nav-links {
    display: none;
  }

  .trust-strip,
  .category-grid,
  .catalog-grid,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shop-toolbar,
  .modal-body,
  .checkout-grid {
    grid-template-columns: 1fr;
  }

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

  .product-orbit-copy {
    max-width: 720px;
  }

  .kit-builder,
  .story-band,
  .newsletter {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand-text {
    display: none;
  }

  .hero {
    min-height: 86vh;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin: 0 16px 54px;
  }

  .hero-controls {
    right: 16px;
    bottom: 18px;
  }

  .hero-arrow {
    width: 38px;
    height: 38px;
  }

  .fan-visual {
    right: -70px;
    top: 120px;
    width: 260px;
    opacity: 0.52;
  }

  .cooling-card,
  .cooling-card.small,
  .freight-tag {
    display: none;
  }

  .tent-visual {
    right: -100px;
    bottom: 220px;
    width: 340px;
    height: 230px;
    opacity: 0.58;
  }

  .chair-visual {
    display: none;
  }

  h1 {
    font-size: 3rem;
  }

  .trust-strip,
  .category-grid,
  .catalog-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-orbit-section {
    padding: 42px 16px;
  }

  .product-orbit-copy h2 {
    font-size: 2.2rem;
  }

  .product-orbit {
    min-height: 330px;
  }

  .product-orbit-item {
    width: 76px;
  }

  .category-tile {
    min-height: 190px;
  }

  .row-heading {
    align-items: start;
    flex-direction: column;
  }

  .signup {
    grid-template-columns: 1fr;
  }

  .shop-toolbar,
  .form-grid,
  .coupon-row {
    grid-template-columns: 1fr;
  }

  .cart-drawer {
    padding: 20px;
  }

  .modal-body,
  .checkout-grid {
    padding: 22px 16px;
  }

  .modal-art {
    min-height: 250px;
  }

  .product-meta p {
    min-height: auto;
  }
}
