:root {
  --bg: #081d1b;
  --bg-soft: #102b27;
  --bg-elevated: #173a33;
  --panel: #102b27;
  --line: #2d5147;
  --line-soft: #2d5147;
  --text: #f1f7ff;
  --muted: #b5d0c6;
  --orange: #76dfbd;
  --orange-strong: #10634e;
  --gold: #b5f2d8;
  --green: #b5f2d8;
  --white: #ffffff;
  --shadow: 0 24px 50px rgba(0, 0, 0, 0.34);
  --container: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Aptos", "Bahnschrift", "Segoe UI Variable Display", sans-serif;
  background: var(--bg);
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.notice-bar {
  background: #061512;
  border-bottom: 1px solid #2d5147;
}

.notice-bar__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  color: #f2f2f2;
  font-size: 0.92rem;
}

.shop-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(6, 21, 18, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #2d5147;
}

.shop-header__main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 26px;
  align-items: center;
  padding: 22px 0 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand__mark {
  display: inline-grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 12px;
  color: #fff;
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  background: linear-gradient(180deg, #b5f2d8 0%, #76dfbd 100%);
}

.brand__copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand__copy strong {
  font-size: 1.8rem;
  letter-spacing: -0.04em;
}

.brand__copy small {
  color: #d7d7d7;
  font-size: 0.95rem;
}

.searchbar {
  display: flex;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #173a33;
}

.searchbar input {
  flex: 1;
  min-width: 0;
  padding: 16px 18px;
  border: 0;
  color: var(--text);
  background: transparent;
}

.searchbar input::placeholder {
  color: #9a9a9a;
}

.searchbar button {
  padding: 0 22px;
  border: 0;
  color: #061512;
  font-weight: 800;
  background: linear-gradient(180deg, #b5f2d8 0%, #b5f2d8 100%);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 16px;
}

.tool-link {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.tool-link__label {
  color: #b8b8b8;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tool-link strong {
  font-size: 1rem;
  line-height: 1.1;
}

.tool-link--cart {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
}

.tool-link--cart em {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  margin-left: 8px;
  border-radius: 999px;
  color: #061512;
  font-style: normal;
  background: var(--green);
}

.shop-header__nav {
  border-top: 1px solid #2d5147;
  border-bottom: 1px solid #2d5147;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 18px 0;
}

.main-nav a {
  color: #efefef;
  font-weight: 700;
}

.hero-banner {
  min-height: 700px;
  border-bottom: 1px solid #2d5147;
  background:
    linear-gradient(90deg, rgba(6, 21, 18, 0.88) 0%, rgba(6, 21, 18, 0.7) 45%, rgba(6, 21, 18, 0.48) 100%),
    radial-gradient(circle at 16% 18%, rgba(118, 223, 189, 0.18), transparent 18%),
    var(--hero-image) center center / cover no-repeat;
}

.hero-banner__inner {
  display: flex;
  align-items: center;
  min-height: 700px;
}

.hero-banner__copy {
  max-width: 760px;
  padding: 50px 0 72px;
}

.hero-badge,
.story-section__eyebrow,
.purchase-panel__eyebrow {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-badge {
  margin-bottom: 18px;
  color: #061512;
  background: linear-gradient(180deg, #b5f2d8 0%, #16785d 100%);
}

.hero-banner__eyebrow {
  margin: 0 0 16px;
  color: #fff;
  font-size: 1.02rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-banner h1,
.collection-hero__copy h1 {
  margin: 0 0 18px;
  font-size: clamp(2.9rem, 7vw, 5.5rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.hero-banner__text,
.collection-hero__copy p,
.story-section__copy p,
.tab-copy p,
.breadcrumb,
.form-feedback {
  color: #d2d2d2;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.hero-cta,
.buy-button,
.cart-checkout,
.newsletter__form button,
.cookie-bar button,
.product-card__button {
  border: 0;
  border-radius: 10px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(180deg, #16785d 0%, #10634e 100%);
}

.hero-cta,
.hero-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
}

.hero-link {
  border: 1px solid #2d5147;
  border-radius: 10px;
  color: #fff;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.03);
}

.benefit-strip {
  background: #081d1b;
  border-bottom: 1px solid #2d5147;
}

.benefit-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 26px 0;
}

.benefit {
  display: flex;
  gap: 14px;
}

.benefit__icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border: 1px solid #2d5147;
  border-radius: 50%;
  color: var(--orange);
  font-size: 0.84rem;
  font-weight: 900;
}

.benefit strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.08rem;
}

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

.product-section,
.category-section,
.story-section,
.newsletter,
.product-tabs {
  padding-top: 46px;
}

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

.section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.section-head a,
.purchase-price__link {
  color: var(--orange);
  font-weight: 800;
}

.product-grid,
.category-banners,
.footer__grid,
.story-section {
  display: grid;
  gap: 18px;
}

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

.product-card,
.newsletter__card,
.story-section__media,
.story-section__copy,
.cart-drawer,
.product-tabs,
.purchase-panel,
.product-stage__media,
.product-thumb,
.collection-hero {
  border: 1px solid #2d5147;
  border-radius: 14px;
  background: var(--bg-soft);
  box-shadow: var(--shadow);
}

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

.product-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  margin: 18px 18px 0;
  border-radius: 10px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.12), transparent 18%),
    radial-gradient(circle at 80% 80%, rgba(118, 223, 189, 0.16), transparent 18%),
    #061512;
}

.product-card__media img,
.product-stage__media img,
.cart-item__thumb img {
  height: 100%;
  object-fit: contain;
}

.product-card__badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 1;
  padding: 8px 11px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #16785d 0%, #10634e 100%);
}

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.product-card__brand {
  color: #9ea6b8;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.product-card__title {
  margin: 10px 0;
  min-height: 58px;
  font-size: 1.2rem;
  line-height: 1.3;
}

.product-card__description {
  min-height: 78px;
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.6;
}

.product-card__compare {
  color: #909090;
  font-size: 0.98rem;
  display: block;
  text-decoration: line-through;
}

.product-card__price,
.purchase-price__main {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: 1.24rem;
  font-weight: 900;
}

.product-card__price strong {
  color: var(--orange);
}

.product-card__installment,
.purchase-price__installment,
.purchase-price__secondary,
.story-details span,
.footer p,
.footer li,
.cart-row span,
.watching-line,
.stock-box p,
.inline-qty button,
.purchase-price__link,
.form-feedback,
.tab-copy p {
  color: var(--muted);
}

.product-card__actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
}

.product-card__button,
.product-card__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 8px;
  font-weight: 900;
}

.product-card__button {
  flex: 1;
}

.product-card__button.is-disabled,
.buy-button--disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.product-card__secondary {
  border: 1px solid #2d5147;
  color: #fff;
  background: #102b27;
}

.category-banners {
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
}

.category-banner {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  isolation: isolate;
  background: center center / cover no-repeat var(--banner-image);
}

.category-banner__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 21, 18, 0.12), rgba(6, 21, 18, 0.9)),
    linear-gradient(0deg, rgba(6, 21, 18, 0.72), rgba(6, 21, 18, 0.12)),
    radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.08), transparent 16%);
}

.category-banner__content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding: 24px;
}

.category-banner__content span {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  color: #061512;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #fff;
}

.category-banner__content strong {
  display: block;
  max-width: 10ch;
  font-size: clamp(1.35rem, 2vw, 2.35rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  word-break: break-word;
  text-wrap: balance;
}

.category-banner__content p {
  max-width: 26ch;
  margin: 0;
  color: #d4d4d4;
  font-size: 0.98rem;
  line-height: 1.5;
}

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

.story-section__media {
  min-height: 420px;
  background:
    linear-gradient(180deg, rgba(6, 21, 18, 0.18), rgba(6, 21, 18, 0.4)),
    url("https://images.ctfassets.net/ge894kijjvls/4MYuzlsA8pMx0MitCV36HP/3c00ec13cd167e86c1e3ca64dee58aa7/og_lp_flex.webp") center center / cover no-repeat;
}

.story-section__copy,
.newsletter__card,
.product-tabs,
.purchase-panel {
  padding: 26px;
}

.story-section__eyebrow,
.purchase-panel__eyebrow {
  margin-bottom: 14px;
  color: var(--orange);
  background: rgba(118, 223, 189, 0.12);
}

.story-section__copy h2,
.newsletter__card h2,
.tab-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.story-details {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.story-details strong,
.footer h3,
.footer h4,
.stock-box strong,
.spec-row strong {
  color: #fff;
}

.newsletter__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.newsletter__form {
  display: flex;
  gap: 12px;
  width: min(100%, 520px);
}

.newsletter__form input,
.freight-form input {
  flex: 1;
  min-width: 0;
  padding: 15px 16px;
  border: 1px solid #2d5147;
  border-radius: 8px;
  color: #fff;
  background: #061512;
}

.newsletter__form button {
  min-width: 150px;
}

.footer {
  margin-top: 46px;
  padding: 36px 0 42px;
  border-top: 1px solid #2d5147;
  background: #061512;
}

.footer__grid {
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
}

.footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer li {
  margin-bottom: 10px;
}

.footer a {
  color: inherit;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding-top: 18px;
  margin-top: 22px;
  border-top: 1px solid #2d5147;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumb-strip {
  border-bottom: 1px solid #2d5147;
  background: #081d1b;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 0;
  font-size: 0.98rem;
}

.breadcrumb__sep {
  color: #767676;
}

.collection-hero {
  margin-top: 26px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(6, 21, 18, 0.85) 0%, rgba(6, 21, 18, 0.66) 50%, rgba(6, 21, 18, 0.34) 100%),
    var(--hero-image) center center / cover no-repeat;
}

.collection-hero__inner {
  display: flex;
  align-items: center;
  min-height: 360px;
}

.collection-hero__copy {
  max-width: 720px;
  padding: 48px;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 24px;
  padding-top: 30px;
}

.product-gallery {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 16px;
}

.product-thumbs {
  display: grid;
  gap: 12px;
  align-content: start;
}

.product-thumb {
  padding: 8px;
  background: #061512;
}

.product-thumb.is-active {
  border-color: var(--orange);
}

.product-stage__media {
  aspect-ratio: 1 / 1;
  padding: 24px;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.08), transparent 18%),
    radial-gradient(circle at 80% 80%, rgba(118, 223, 189, 0.14), transparent 18%),
    #061512;
}

.purchase-panel h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.purchase-price {
  display: grid;
  gap: 6px;
}

.purchase-price__main {
  color: var(--orange);
  font-size: 2rem;
}

.purchase-price__installment {
  color: #fff;
  font-weight: 700;
}

.timer-box,
.stock-box,
.freight-form {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #102b27;
}

.timer-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 800;
}

.timer-box strong {
  font-size: 1.8rem;
}

.buy-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  margin-top: 18px;
}

.inline-qty {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  min-height: 56px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #061512;
}

.inline-qty button {
  height: 100%;
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 1.4rem;
}

.inline-qty strong {
  text-align: center;
  font-size: 1.2rem;
}

.inline-qty--disabled {
  display: grid;
  place-items: center;
}

.buy-button,
.cart-checkout {
  min-height: 56px;
}

.watching-line {
  margin: 18px 0 0;
}

.stock-bar {
  height: 12px;
  margin-top: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: #2d5147;
}

.stock-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #10634e 0%, #16785d 100%);
}

.freight-form {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
}

.freight-form small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.freight-form button {
  min-width: 120px;
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(180deg, #16785d 0%, #10634e 100%);
}

.product-tabs {
  margin-top: 26px;
}

.tab-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.tab-buttons button {
  padding: 12px 16px;
  border: 1px solid #2d5147;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  background: #102b27;
}

.tab-buttons button.is-active {
  border-color: var(--orange);
  background: rgba(118, 223, 189, 0.14);
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

.feature-list,
.story-details,
.footer ul {
  list-style: none;
}

.feature-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
}

.feature-list li,
.spec-row {
  padding: 14px 16px;
  border: 1px solid #2d5147;
  border-radius: 10px;
  background: #102b27;
}

.spec-grid {
  display: grid;
  gap: 12px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

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

.simple-empty {
  padding: 80px 0;
}

.legal-page {
  padding-top: 34px;
}

.legal-hero,
.legal-index,
.legal-copy,
.legal-note {
  border: 1px solid #2d5147;
  border-radius: 14px;
  background: var(--bg-soft);
  box-shadow: var(--shadow);
}

.legal-hero {
  padding: 28px;
}

.legal-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.legal-hero p,
.legal-section p,
.legal-section li,
.legal-note p,
.legal-index a span {
  color: var(--muted);
  line-height: 1.7;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 18px;
  color: #d6d6d6;
  font-size: 0.95rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 18px;
  margin-top: 18px;
}

.legal-index {
  position: sticky;
  top: 154px;
  align-self: start;
  padding: 24px;
}

.legal-index strong,
.legal-section h2,
.legal-note strong {
  color: #fff;
}

.legal-index nav {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.legal-index a {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border: 1px solid #2d5147;
  border-radius: 10px;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.legal-index a:hover {
  border-color: #76dfbd;
  background: rgba(255, 255, 255, 0.03);
}

.legal-copy {
  padding: 28px;
}

.legal-section + .legal-section {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid #2d5147;
}

.legal-section h2 {
  margin: 0 0 14px;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.legal-section p,
.legal-note p {
  margin: 0 0 14px;
}

.legal-section ul {
  display: grid;
  gap: 12px;
  padding-left: 20px;
  margin: 0;
}

.legal-note {
  margin-top: 28px;
  padding: 22px;
}

.purchase-price__installment,
.purchase-price__secondary,
.purchase-price__link {
  display: block;
}

.stock-box p,
.watching-line {
  margin: 0;
}

.form-feedback {
  margin: 10px 2px 0;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.56);
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 41;
  display: flex;
  flex-direction: column;
  width: min(100%, 420px);
  height: 100vh;
  padding: 22px;
  transform: translateX(100%);
  transition: transform 220ms ease;
}

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

.cart-drawer__header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.cart-drawer__header h2 {
  margin: 0;
}

.cart-drawer__close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #061512;
}

.cart-drawer__body {
  flex: 1;
  overflow: auto;
}

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

.cart-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #2d5147;
}

.cart-item__thumb {
  width: 80px;
  height: 80px;
  flex: 0 0 80px;
  overflow: hidden;
  border-radius: 10px;
  background: #061512;
}

.cart-item__content h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  line-height: 1.35;
}

.cart-item__content p {
  margin: 0;
  color: #dadada;
}

.cart-item__footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid #2d5147;
  border-radius: 999px;
}

.qty-controls button,
.remove-item {
  border: 0;
  color: #fff;
  background: transparent;
}

.remove-item {
  color: var(--orange);
  font-weight: 800;
}

.cart-drawer__footer {
  padding-top: 16px;
  border-top: 1px solid #2d5147;
}

.cart-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.cart-checkout {
  width: 100%;
}

.checkout-page {
  padding-top: 34px;
}

.checkout-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.checkout-head h1,
.checkout-success h1 {
  margin: 8px 0 10px;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.checkout-head p,
.checkout-empty p,
.checkout-note,
.payment-hint,
.field span {
  color: var(--muted);
}

.checkout-back {
  color: var(--orange);
  font-weight: 800;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 24px;
}

.checkout-panel,
.checkout-summary__box,
.checkout-success,
.checkout-empty {
  padding: 24px;
  border: 1px solid #2d5147;
  border-radius: 14px;
  background: var(--bg-soft);
  box-shadow: var(--shadow);
}

.checkout-form,
.checkout-form__group,
.checkout-items {
  display: grid;
  gap: 18px;
}

.checkout-form__group h2,
.checkout-summary__box h2 {
  margin: 0;
  font-size: 1.3rem;
}

.checkout-grid {
  display: grid;
  gap: 14px;
}

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

.field {
  display: grid;
  gap: 8px;
}

.field input,
.field select {
  width: 100%;
  min-width: 0;
  padding: 15px 16px;
  border: 1px solid #2d5147;
  border-radius: 8px;
  color: #fff;
  background: #061512;
}

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

.payment-option {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid #2d5147;
  border-radius: 12px;
  background: #102b27;
  cursor: pointer;
}

.payment-option.is-active {
  border-color: var(--orange);
  background: rgba(118, 223, 189, 0.08);
}

.payment-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.payment-option strong {
  font-size: 1.05rem;
}

.payment-option span,
.checkout-item__copy span,
.checkout-note {
  line-height: 1.5;
}

.payment-hint {
  padding: 16px 18px;
  border: 1px solid #2d5147;
  border-radius: 10px;
  background: #102b27;
}

.checkout-submit {
  min-height: 58px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(180deg, #16785d 0%, #10634e 100%);
}

.checkout-item,
.checkout-total {
  display: grid;
  gap: 12px;
  align-items: center;
}

.checkout-item {
  grid-template-columns: auto 1fr auto;
  padding-bottom: 14px;
  border-bottom: 1px solid #2d5147;
}

.checkout-item__thumb {
  width: 72px;
  height: 72px;
  overflow: hidden;
  border-radius: 10px;
  background: #061512;
}

.checkout-item__thumb img {
  height: 100%;
  object-fit: contain;
}

.checkout-item__copy {
  display: grid;
  gap: 6px;
}

.checkout-total {
  grid-template-columns: 1fr auto;
  padding-top: 10px;
}

.checkout-total--grand {
  padding-top: 16px;
  border-top: 1px solid #2d5147;
  font-size: 1.08rem;
}

.checkout-success {
  max-width: 860px;
  margin: 0 auto;
}

.checkout-success__actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.checkout-empty {
  display: grid;
  gap: 16px;
  max-width: 720px;
}

.is-hidden {
  display: none;
}

.cookie-bar {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 39;
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(calc(100% - 32px), 980px);
  padding: 18px 22px;
  border: 1px solid #2d5147;
  border-radius: 12px;
  background: rgba(6, 21, 18, 0.96);
  transform: translateX(-50%);
  box-shadow: var(--shadow);
}

.cookie-bar p {
  flex: 1;
  margin: 0;
  color: #dfdfdf;
  line-height: 1.6;
}

.cookie-bar a,
.legal-note a,
.legal-section a {
  color: var(--orange);
}

.cookie-bar button {
  min-height: 50px;
  padding: 0 18px;
}

body.has-cart-open {
  overflow: hidden;
}

@media (max-width: 1400px) {
  .category-banners {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1180px) {
  .shop-header__main,
  .benefit-strip__grid,
  .product-grid,
  .category-banners,
  .story-section,
  .footer__grid,
  .product-detail,
  .legal-layout {
    grid-template-columns: 1fr 1fr;
  }

  .shop-header__main {
    display: grid;
  }

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

  .searchbar {
    max-width: none;
  }

  .newsletter__card {
    flex-direction: column;
    align-items: stretch;
  }

  .product-detail,
  .checkout-layout,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-index {
    position: static;
  }
}

@media (max-width: 780px) {
  .container {
    width: min(calc(100% - 20px), var(--container));
  }

  .notice-bar__inner,
  .header-tools,
  .main-nav,
  .benefit-strip__grid,
  .product-grid,
  .category-banners,
  .story-section,
  .footer__grid,
  .legal-meta,
  .newsletter__form,
  .cookie-bar,
  .section-head,
  .shop-header__main,
  .tab-buttons,
  .checkout-head,
  .checkout-success__actions {
    display: flex;
    flex-direction: column;
  }

  .main-nav {
    gap: 18px;
    padding: 16px 0;
  }

  .hero-banner,
  .hero-banner__inner {
    min-height: 560px;
  }

  .hero-actions,
  .buy-row,
  .freight-form,
  .product-gallery,
  .checkout-grid--two,
  .payment-options {
    grid-template-columns: 1fr;
    display: grid;
  }

  .product-thumbs {
    grid-template-columns: repeat(4, 1fr);
  }

  .product-thumb {
    min-height: 88px;
  }

  .freight-form {
    display: grid;
  }

  .shop-header__main {
    grid-template-columns: 1fr;
  }

  .hero-banner h1,
  .collection-hero__copy h1,
  .section-head h2,
  .story-section__copy h2,
  .newsletter__card h2,
  .purchase-panel h1 {
    font-size: clamp(2.3rem, 11vw, 4rem);
  }

  .category-banner {
    min-height: 280px;
  }

  .cookie-bar {
    bottom: 12px;
    align-items: stretch;
  }

  .collection-hero__copy {
    padding: 26px;
  }
}
