:root {
  --red: #ef3d32;
  --red-dark: #d9342a;
  --nav: #2b2b2b;
  --nav-deep: #222222;
  --ink: #303030;
  --muted: #898989;
  --paper: #f3f3f1;
  --white: #ffffff;
  --line: #e2e2df;
  --footer: #2c2c2c;
  --footer-deep: #222222;
  --display: "Arial Narrow", "Roboto Condensed", "Oswald", Impact, sans-serif;
  --body: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
  --max: 1120px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.drawer-open {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 92px 1fr 160px;
  min-height: 58px;
  background: var(--nav);
  color: #f7f7f7;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brand-block {
  display: grid;
  place-items: center;
  background: var(--red);
}

.brand-logo {
  display: block;
  width: 28px;
  height: 52px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  min-width: 0;
}

.main-nav a {
  display: inline-flex;
  min-width: 190px;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  color: #dedede;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: #333;
  color: #fff;
}

.search-box {
  display: grid;
  grid-template-columns: 1fr 24px;
  align-items: center;
  gap: 0;
  align-self: center;
  margin-right: 18px;
  height: 30px;
  background: #3a3a3a;
}

.search-box label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #e7e7e7;
  padding: 0 9px;
  font-family: var(--body);
  font-size: 0.7rem;
}

.search-box input::placeholder {
  color: #a2a2a2;
}

.search-box span {
  color: #9f9f9f;
  font-weight: 700;
}

.cart-trigger {
  position: relative;
  grid-column: 3;
  display: grid;
  align-content: center;
  gap: 2px;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--nav-deep);
  color: #fff;
  cursor: pointer;
  padding: 0 18px 0 36px;
  text-align: left;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.cart-trigger::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 21px;
  width: 11px;
  height: 9px;
  border: 2px solid #fff;
  border-top: 0;
}

.cart-trigger span {
  color: #a8a8a8;
  font-family: var(--display);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.cart-trigger strong {
  color: #fff;
  font-size: 0.84rem;
}

.cart-trigger em {
  position: absolute;
  left: 25px;
  top: 11px;
  display: grid;
  min-width: 16px;
  height: 16px;
  place-items: center;
  background: var(--red);
  color: #fff;
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 800;
  transform-origin: center;
  transition: background 180ms ease, transform 180ms ease;
}

.cart-trigger:hover,
.cart-trigger:focus-visible {
  background: #181818;
}

.cart-trigger.has-items {
  box-shadow: inset 0 -2px 0 var(--red), 0 0 0 rgba(239, 61, 50, 0);
  animation: cartSoftWarning 2.8s ease-in-out infinite;
}

.cart-trigger.has-items::after {
  content: "Ada produk";
  position: absolute;
  right: 14px;
  bottom: -12px;
  display: inline-flex;
  min-height: 20px;
  align-items: center;
  border: 1px solid rgba(239, 61, 50, 0.32);
  border-radius: 999px;
  background: #fffdf9;
  color: var(--red);
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  padding: 0 9px;
  text-transform: none;
  box-shadow: 0 10px 24px rgba(30, 27, 22, 0.14);
  pointer-events: none;
}

.cart-trigger.has-items em {
  background: #ff4b3f;
  animation: cartBadgePulse 1.6s ease-in-out infinite;
}

.hero-section {
  position: relative;
  display: grid;
  isolation: isolate;
  min-height: 620px;
  align-items: center;
  overflow: hidden;
  background: #202321;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero-slides {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.hero-slide {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1);
  transform-origin: center;
  transition: opacity 600ms ease;
}

.hero-slide.active {
  z-index: -1;
  opacity: 1;
  animation: heroSlowZoom 18s ease-in-out infinite alternate;
}

.hero-section::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(22, 24, 24, 0.58), rgba(22, 24, 24, 0.16) 52%, rgba(22, 24, 24, 0.42)),
    linear-gradient(180deg, rgba(22, 24, 24, 0.16), rgba(22, 24, 24, 0.32));
  pointer-events: none;
}

.hero-copy {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding-top: 20px;
}

.hero-kicker,
.overline {
  margin: 0 0 10px;
  color: var(--red);
  font-family: var(--display);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.hero-copy h1,
.family-section h2,
.catalog-head h2,
.promo-tile h2,
.hot-deal h2,
.cart-header h2,
.footer-columns h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 560px;
  color: #fff;
  font-size: clamp(3.6rem, 6.8vw, 6.2rem);
  line-height: 0.86;
  text-shadow: 0 14px 50px rgba(0, 0, 0, 0.3);
}

.red-rule {
  display: block;
  width: 62px;
  height: 3px;
  margin: 22px 0 20px;
  background: var(--red);
}

.red-rule.centered {
  margin-inline: auto;
}

.hero-text {
  margin: 0 0 26px;
  color: #f2f2f2;
  font-family: var(--body);
  font-size: 1rem;
}

.hero-link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  padding: 0 18px;
  color: #fff;
  font-family: var(--display);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.hero-link:hover,
.hero-link:focus-visible {
  border-color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  display: grid;
  width: 47px;
  height: 58px;
  place-items: center;
  border: 0;
  background: rgba(34, 34, 34, 0.42);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 180ms ease, transform 180ms ease;
}

.hero-arrow:hover,
.hero-arrow:focus-visible {
  background: rgba(34, 34, 34, 0.66);
  transform: translateY(-50%) scale(1.03);
}

.hero-arrow-left {
  left: 0;
}

.hero-arrow-right {
  right: 0;
}

.hero-arrow span {
  width: 14px;
  height: 14px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
}

.hero-arrow-left span {
  transform: rotate(-45deg);
}

.hero-arrow-right span {
  transform: rotate(135deg);
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 86px;
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 9px;
  height: 9px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 180ms ease, transform 180ms ease;
}

.hero-dot:hover,
.hero-dot:focus-visible,
.hero-dot.active {
  background: #fff;
  transform: scale(1.18);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 34px;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: #fff;
  font-family: var(--display);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue span {
  width: 14px;
  height: 22px;
  border: 2px solid #fff;
  border-radius: 999px;
}

.catalog-section {
  background: var(--white);
}

.catalog-head {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 112px;
  padding: 0 calc((100% - min(100% - 32px, var(--max))) / 2);
  background: #f4f4f4;
}

.api-status {
  position: absolute;
  left: calc((100% - min(100% - 32px, var(--max))) / 2 + 23px);
  bottom: 12px;
  margin: 0;
  color: #8d8d8d;
  font-family: var(--body);
  font-size: 0.78rem;
}

.api-status.is-live {
  color: #4d6f4d;
}

.api-status.is-error {
  color: var(--red);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 20px;
}

.section-title span {
  width: 3px;
  height: 33px;
  background: var(--red);
}

.catalog-head h2 {
  color: var(--ink);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  letter-spacing: 1.4px;
}

.catalog-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
}

.sort-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #7d7d7d;
  font-family: var(--display);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.sort-label select {
  height: 32px;
  border: 1px solid #d8d8d8;
  background: #fff;
  color: var(--ink);
  padding: 0 8px;
  font-family: var(--sans);
  font-size: 0.74rem;
}

.category-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 21px 0 10px;
  overflow-x: auto;
  background: var(--white);
  scrollbar-width: thin;
}

.category-item {
  position: relative;
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: #5f5f5f;
  cursor: pointer;
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.9px;
  line-height: 1;
  padding: 0 0 10px;
  text-transform: uppercase;
}

.category-item::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transform: translateX(-50%);
  transition: width 160ms ease;
}

.category-item.active,
.category-item:hover {
  color: var(--red);
}

.category-item.active::after,
.category-item:hover::after {
  width: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.red {
  background: var(--red);
  color: #fff;
}

.button.dark {
  background: #252525;
  color: #fff;
}

.button.small {
  min-height: 34px;
  padding: 0 19px;
  font-size: 0.66rem;
}

.button.tiny {
  min-height: 32px;
  padding: 0 18px;
  font-size: 0.64rem;
}

.button.full {
  width: 100%;
  min-height: 44px;
}

.button.dark.full {
  background: #252525;
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 40px 0 56px;
}

.product-card {
  position: relative;
  display: grid;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid #ded7cc;
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.product-card:hover,
.product-card:focus-within {
  border-color: #cfc5b7;
  box-shadow: 0 18px 42px rgba(30, 27, 22, 0.08);
  transform: translateY(-3px);
}

.product-card.featured {
  border: 1px solid #ded7cc;
  box-shadow: none;
}

.product-media {
  position: relative;
  display: grid;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  place-items: center;
  background: #f8f8f6;
  cursor: pointer;
}

.product-photo-stack {
  position: relative;
  width: 100%;
  height: 100%;
}

.product-photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 220ms ease, transform 220ms ease;
}

.product-photo.secondary {
  opacity: 0;
  transform: scale(1.025);
}

.product-card:hover .product-photo.primary {
  opacity: 0;
  transform: scale(1.025);
}

.product-card:hover .product-photo.secondary {
  opacity: 1;
  transform: scale(1);
}

.product-media > .shirt-art {
  width: min(74%, 230px);
}

.product-content {
  display: grid;
  align-content: end;
  justify-items: start;
  min-height: 150px;
  padding: 18px 0 68px;
  text-align: left;
}

.product-card h3 {
  margin: 4px 0 0;
  color: #1f1f1f;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: none;
}

.product-series,
.product-code {
  margin: 0;
  font-family: var(--display);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.8px;
  line-height: 1.3;
  text-transform: uppercase;
}

.product-series {
  margin-top: 12px;
  color: #b45709;
}

.product-code {
  margin-top: 5px;
  color: #888077;
}

.product-price-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.product-price-row strong {
  color: #b45709;
  font-family: var(--body);
  font-size: 1.22rem;
  font-weight: 800;
}

.product-price-row span {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  border: 1px solid #ded7cc;
  border-radius: 999px;
  background: #f7f3ec;
  color: #3f563d;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0 10px;
}

.product-card del {
  margin-top: 4px;
  color: #aaa39b;
  font-family: var(--body);
  font-size: 0.88rem;
  font-weight: 700;
}

.quick-add-button {
  position: absolute;
  right: 18px;
  bottom: 16px;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  background: #0e100d;
  color: #fff;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 800;
  padding: 0 12px 0 20px;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.product-card:hover .quick-add-button,
.quick-add-button:hover,
.quick-add-button:focus-visible {
  background: #1b1d18;
  box-shadow: 0 12px 28px rgba(14, 16, 13, 0.16);
  transform: translateY(-2px);
}

.quick-add-button:active {
  transform: translateY(0);
}

.catalog-pagination {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(100% - 32px, var(--max));
  margin: -22px auto 58px;
}

.catalog-page-numbers {
  display: flex;
  align-items: center;
  gap: 7px;
}

.catalog-page-number,
.catalog-page-arrow {
  display: inline-flex;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid #ded7cc;
  background: #fff;
  color: #38342f;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 800;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.catalog-page-number {
  width: 40px;
}

.catalog-page-arrow {
  gap: 7px;
  padding: 0 14px;
}

.catalog-page-arrow span {
  font-size: 1.35rem;
  line-height: 1;
}

.catalog-page-arrow em {
  font-style: normal;
}

.catalog-page-number:hover,
.catalog-page-number.active,
.catalog-page-arrow:hover {
  border-color: #ef3d32;
  background: #ef3d32;
  color: #fff;
}

.catalog-page-arrow:disabled {
  border-color: #e5dfd6;
  background: #f5f2ed;
  color: #b9b1a8;
  cursor: default;
}

.catalog-pagination p {
  display: none;
  margin: 0;
  color: #746e67;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 800;
}

.catalog-loading,
.catalog-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 34px 0;
  color: #746e67;
  font-family: var(--sans);
  font-size: 0.95rem;
  text-align: center;
}

.quick-add-button i {
  position: relative;
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.quick-add-button i::before,
.quick-add-button i::after {
  content: "";
  position: absolute;
  background: #fff;
}

.quick-add-button i::before {
  top: 13px;
  left: 8px;
  width: 12px;
  height: 2px;
  transform: rotate(-45deg);
}

.quick-add-button i::after {
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  background: transparent;
}

.cart-link {
  text-decoration: none;
}

.modal-open {
  overflow: hidden;
}

.variant-modal {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 16, 14, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
  backdrop-filter: blur(0);
}

.variant-modal.open {
  opacity: 1;
  pointer-events: auto;
  backdrop-filter: blur(3px);
}

.variant-panel {
  position: relative;
  width: min(100%, 720px);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border: 1px solid #ded7cc;
  border-radius: 26px;
  background: #fffdf9;
  padding: 28px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
  transform: translateY(10px) scale(0.985);
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.variant-modal.open .variant-panel {
  transform: translateY(0) scale(1);
}

.variant-close {
  position: absolute;
  top: 24px;
  right: 24px;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid #e4dacf;
  border-radius: 50%;
  background: #f7f3ec;
  color: transparent;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 1.7rem;
  line-height: 1;
  transition: background 180ms ease, transform 180ms ease;
}

.variant-close:hover,
.variant-close:focus-visible {
  background: #fff;
  transform: rotate(90deg);
}

.variant-close::before,
.variant-close::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #151611;
}

.variant-close::before {
  transform: rotate(45deg);
}

.variant-close::after {
  transform: rotate(-45deg);
}

.variant-heading {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  align-items: center;
  padding-right: 64px;
}

.variant-product-image {
  display: grid;
  width: 88px;
  height: 88px;
  overflow: hidden;
  place-items: center;
  border: 1px solid #ebe3da;
  border-radius: 18px;
  background: #fff;
}

.variant-product-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-shirt-art {
  width: 58px;
  height: 72px;
}

.variant-heading h2 {
  margin: 0;
  color: #1f1f1f;
  font-family: var(--sans);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
}

.variant-product-meta {
  margin: 0 0 4px;
  color: #b45709;
  font-family: var(--display);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.7px;
  line-height: 1.2;
  text-transform: uppercase;
}

.variant-price-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
}

.variant-price-line strong {
  color: #171813;
  font-family: var(--sans);
  font-size: 1.55rem;
  font-weight: 900;
}

.variant-price-line del {
  color: #aaa39b;
  font-family: var(--body);
  font-weight: 700;
}

.variant-price-line span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  background: #dff2df;
  color: #16723a;
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 900;
  padding: 0 14px;
}

.variant-section-title,
.variant-group > span,
.variant-quantity-row > span {
  display: block;
  margin: 28px 0 14px;
  color: #8f887f;
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

.variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.variant-options button {
  display: inline-flex;
  min-width: 72px;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border: 1px solid #ded7cc;
  border-radius: 999px;
  background: #fffdf9;
  color: #1c1d19;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 1.08rem;
  font-weight: 900;
  padding: 0 22px;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.variant-options button:hover,
.variant-options button:focus-visible {
  transform: translateY(-1px);
}

.variant-options button.active {
  border-color: #0e100d;
  background: #0e100d;
  color: #fff;
  box-shadow: 0 12px 28px rgba(14, 16, 13, 0.18);
}

.variant-stock-note {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
  border: 1px solid #f0c7ad;
  border-radius: 16px;
  background: #fffaf4;
  color: #9d4b18;
  font-family: var(--sans);
  padding: 14px 16px;
}

.variant-stock-note span {
  width: 14px;
  height: 14px;
  border: 4px solid #ffd8a8;
  border-radius: 50%;
  background: #f97316;
}

.variant-quantity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 26px;
}

.variant-quantity-row > span {
  margin: 0;
}

.variant-quantity {
  display: grid;
  grid-template-columns: 44px 58px 44px;
  min-height: 50px;
  overflow: hidden;
  align-items: center;
  border: 1px solid #ded7cc;
  border-radius: 999px;
  background: #fff;
}

.variant-quantity button {
  height: 100%;
  border: 0;
  background: transparent;
  color: #6f7784;
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 900;
  transition: background 160ms ease, color 160ms ease;
}

.variant-quantity button:hover,
.variant-quantity button:focus-visible {
  background: #f7f3ec;
  color: #111827;
}

.variant-quantity strong {
  color: #111827;
  font-family: var(--sans);
  font-size: 1.18rem;
  text-align: center;
}

.variant-submit {
  display: flex;
  width: 100%;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  border: 0;
  border-radius: 18px;
  background: #ef3d32;
  color: #fff;
  cursor: pointer;
  font-family: var(--sans);
  padding: 0 26px;
  text-align: left;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.variant-submit:hover,
.variant-submit:focus-visible {
  background: var(--red-dark);
  box-shadow: 0 16px 34px rgba(239, 61, 50, 0.22);
  transform: translateY(-1px);
}

.variant-submit:active {
  transform: translateY(0);
}

.variant-submit strong,
.variant-submit em {
  display: block;
  font-size: 1.28rem;
  font-style: normal;
  font-weight: 900;
}

.variant-submit small {
  display: block;
  margin-top: 4px;
  font-family: var(--body);
  font-size: 0.9rem;
  font-weight: 600;
}

.variant-message {
  min-height: 22px;
  margin: 12px 0 0;
  color: #9d4b18;
  font-family: var(--body);
  font-size: 0.9rem;
}

.product-page {
  background: #fff;
  min-height: calc(100vh - 64px);
}

.product-page-loading {
  display: grid;
  min-height: 360px;
  place-items: center;
  padding: 80px 16px;
  color: #555;
  font-family: var(--body);
}

.product-page-hero {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 30px 0 56px;
}

.product-back-link {
  display: inline-block;
  margin-bottom: 24px;
  color: #777;
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.9px;
  text-decoration: none;
  text-transform: uppercase;
}

.product-page-main {
  display: grid;
  grid-template-columns: minmax(360px, 1.05fr) minmax(320px, 0.9fr);
  gap: 46px;
  align-items: start;
}

.product-page-gallery {
  display: grid;
  gap: 12px;
}

.product-page-image {
  display: grid;
  min-height: 520px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #ded7cc;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(232, 232, 232, 0.72)),
    #f5f5f5;
}

.product-page-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: contain;
}

.product-page-image-empty {
  color: #888;
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

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

.product-page-thumb {
  display: grid;
  min-height: 112px;
  place-items: center;
  border: 1px solid #ded7cc;
  border-radius: 6px;
  background: #f4f4f4;
  cursor: pointer;
  padding: 8px;
}

.product-page-thumb.active {
  border-color: var(--red);
}

.product-page-thumb img {
  display: block;
  width: 100%;
  max-height: 92px;
  object-fit: contain;
}

.product-page-copy {
  display: grid;
  justify-items: start;
  position: sticky;
  top: 86px;
  padding-top: 10px;
}

.product-page-kicker {
  margin: 0 0 18px;
  color: #0e3142;
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.product-page-copy h1 {
  margin: 0;
  color: #202538;
  font-family: var(--sans);
  font-size: clamp(2rem, 3.2vw, 2.85rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
}

.product-page-price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 18px 0 22px;
}

.product-page-price strong {
  color: #b45709;
  font-family: var(--body);
  font-size: 1.46rem;
  font-weight: 800;
}

.product-page-price span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  border: 1px solid #ded7cc;
  border-radius: 999px;
  background: #f7f3ec;
  color: #3f563d;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0 10px;
}

.product-page-price del {
  width: 100%;
  color: #aaa39b;
  font-family: var(--body);
  font-size: 0.96rem;
  font-weight: 700;
}

.product-add-button {
  width: min(100%, 360px);
  min-height: 52px;
  background: #0e100d;
  color: #fff;
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
  border-radius: 999px;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.product-size-picker {
  display: grid;
  width: min(100%, 420px);
  gap: 12px;
  margin-top: 14px;
  border: 1px solid #ded7cc;
  border-radius: 18px;
  background: #fffdf9;
  padding: 16px;
}

.product-size-picker[hidden] {
  display: none;
}

.product-size-picker p {
  margin: 0;
  color: #6f655a;
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 900;
}

.product-size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-size-option {
  min-width: 54px;
  min-height: 42px;
  border: 1px solid #ded7cc;
  border-radius: 999px;
  background: #fff;
  color: #1f1f1f;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 900;
  padding: 0 16px;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.product-size-option:hover,
.product-size-option:focus-visible {
  transform: translateY(-1px);
}

.product-size-option.active {
  border-color: #0e100d;
  background: #0e100d;
  color: #fff;
}

.product-add-confirm {
  width: 100%;
  margin-top: 2px;
}

.product-add-button:hover {
  background: #252525;
  box-shadow: 0 12px 28px rgba(14, 16, 13, 0.14);
  transform: translateY(-1px);
}

.product-add-message {
  min-height: 22px;
  margin: 16px 0 0;
  color: #0e3142;
  font-family: var(--body);
  font-size: 0.86rem;
}

.product-size-table {
  width: 100%;
  border-collapse: collapse;
  color: #142f41;
  font-family: var(--body);
  font-size: 0.84rem;
}

.product-size-table th,
.product-size-table td {
  border: 1px solid #173447;
  padding: 10px 12px;
  text-align: center;
}

.product-size-table th {
  background: #edf0f1;
  font-weight: 800;
}

.product-size-note {
  margin: 14px 0 0;
  color: #666;
  font-family: var(--body);
  font-size: 0.82rem;
}

.product-accordion {
  display: grid;
  gap: 10px;
  width: 100%;
  margin-top: 18px;
}

.accordion-item {
  overflow: hidden;
  border: 1px solid #ded7cc;
  border-radius: 6px;
  background: #fff;
}

.accordion-item summary {
  position: relative;
  display: grid;
  cursor: pointer;
  list-style: none;
  padding: 14px 46px 14px 16px;
}

.accordion-item summary::-webkit-details-marker {
  display: none;
}

.accordion-item summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 9px;
  height: 9px;
  border-right: 2px solid #9b4f13;
  border-bottom: 2px solid #9b4f13;
  transform: translateY(-65%) rotate(45deg);
}

.accordion-item[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}

.accordion-item summary strong {
  display: block;
  color: #1f1f1f;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
}

.accordion-item summary em {
  display: block;
  margin-top: 5px;
  color: #6d675f;
  font-family: var(--body);
  font-size: 0.82rem;
  font-style: normal;
  line-height: 1.35;
}

.accordion-body {
  display: grid;
  gap: 10px;
  border-top: 1px solid #e2dbd1;
  padding: 12px;
  background: #fffdf9;
}

.accordion-feature {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  align-items: start;
  border: 1px solid #e2dbd1;
  border-radius: 6px;
  background: #fff;
  padding: 12px;
}

.accordion-feature > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid #ded7cc;
  border-radius: 6px;
  background: #f1ece3;
}

.accordion-feature > span::before {
  content: "";
  width: 10px;
  height: 10px;
  border: 2px solid #344736;
  border-top-color: transparent;
  border-radius: 50%;
  transform: rotate(-28deg);
}

.accordion-feature strong {
  display: block;
  color: #1f1f1f;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.25;
}

.accordion-feature p {
  margin: 4px 0 0;
  color: #5f5a54;
  font-family: var(--body);
  font-size: 0.82rem;
  line-height: 1.42;
}

.product-related {
  display: grid;
  gap: 24px;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 52px 0 72px;
}

.section-title.compact h2 {
  font-size: 1.25rem;
}

.product-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.product-related-card {
  display: grid;
  gap: 10px;
  justify-items: center;
  min-height: 250px;
  padding: 22px 16px;
  background: #fff;
  text-align: center;
  text-decoration: none;
}

.product-related-card span {
  display: grid;
  min-height: 135px;
  place-items: center;
}

.product-related-card img {
  display: block;
  width: 130px;
  max-height: 135px;
  object-fit: contain;
}

.product-related-card strong {
  color: #333;
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-related-card > small {
  color: #b45709;
  font-family: var(--display);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.product-related-price {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px 7px;
}

.product-related-price em {
  color: #b45709;
  font-family: var(--body);
  font-size: 1rem;
  font-style: normal;
  font-weight: 800;
}

.product-related-price small {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  border: 1px solid #ded7cc;
  border-radius: 999px;
  background: #f7f3ec;
  color: #3f563d;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0 8px;
}

.product-related-price del {
  width: 100%;
  color: #aaa39b;
  font-family: var(--body);
  font-size: 0.82rem;
  font-weight: 700;
}

.shirt-art {
  position: relative;
  width: 126px;
  aspect-ratio: 0.77;
  margin: 0 auto;
}

.shirt-art::before {
  content: "";
  position: absolute;
  inset: 2% 0 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(0, 0, 0, 0.12)),
    var(--shirt);
  clip-path: polygon(
    22% 0,
    37% 0,
    43% 9%,
    57% 9%,
    63% 0,
    78% 0,
    100% 18%,
    83% 36%,
    75% 30%,
    75% 100%,
    25% 100%,
    25% 30%,
    17% 36%,
    0 18%
  );
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.08));
}

.shirt-art::after {
  content: "";
  position: absolute;
  left: 34%;
  top: 7%;
  width: 32%;
  height: 12%;
  border: 2px solid rgba(255, 255, 255, 0.26);
  border-top: 0;
  border-radius: 0 0 999px 999px;
}

.trail-line,
.sun-mark {
  position: absolute;
  z-index: 2;
  display: block;
}

.trail-line {
  left: 32%;
  width: 38%;
  height: 2px;
  background: var(--print);
  transform-origin: left center;
}

.trail-line.one {
  top: 47%;
  transform: rotate(-14deg);
}

.trail-line.two {
  top: 54%;
  transform: rotate(10deg);
}

.sun-mark {
  top: 43%;
  left: 50%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--line);
}

.promo-section {
  display: grid;
  grid-template-columns: 260px 260px 1fr;
  gap: 17px;
  width: min(100% - 32px, var(--max));
  margin: 0 auto 66px;
}

.promo-tile {
  position: relative;
  display: grid;
  min-height: 250px;
  place-items: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
}

.promo-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(16, 18, 18, 0.38);
}

.lookbook-card {
  background:
    linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url("https://images.unsplash.com/photo-1519681393784-d120267933ba?auto=format&fit=crop&w=900&q=80")
      center / cover;
}

.tech-card {
  background:
    linear-gradient(rgba(0, 0, 0, 0.36), rgba(0, 0, 0, 0.36)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=900&q=80")
      center / cover;
}

.promo-tile div {
  position: relative;
  z-index: 1;
}

.promo-tile h2 {
  color: #fff;
  font-size: 2.35rem;
  line-height: 1;
}

.promo-tile p {
  margin: 4px 0 22px;
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hot-deal {
  position: relative;
  display: grid;
  grid-template-columns: minmax(250px, 0.88fr) minmax(180px, 0.6fr);
  align-items: center;
  min-height: 250px;
  border: 7px solid #ececec;
  background: #fff;
  overflow: hidden;
}

.deal-copy {
  padding: 30px 0 30px 44px;
}

.hot-deal h2 {
  color: #333;
  font-size: 1.8rem;
  line-height: 0.94;
}

.hot-deal p:not(.overline) {
  max-width: 310px;
  color: #777;
  font-family: var(--body);
  font-size: 0.82rem;
  line-height: 1.42;
}

.deal-price {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin: 8px 0 15px;
}

.deal-price strong {
  color: var(--red);
  font-family: var(--body);
  font-size: 1.3rem;
  font-weight: 400;
}

.deal-price span {
  color: #aaa;
  font-family: var(--body);
  font-size: 0.8rem;
  text-decoration: line-through;
}

.deal-actions {
  display: flex;
  gap: 8px;
}

.deal-shirt {
  width: min(82%, 185px);
  justify-self: center;
  transform: translateX(8px) rotate(-1deg);
}

.family-section {
  min-height: 650px;
  background:
    linear-gradient(90deg, rgba(22, 22, 22, 0.82), rgba(22, 22, 22, 0.4)),
    linear-gradient(180deg, rgba(22, 22, 22, 0.16), rgba(22, 22, 22, 0.62)),
    url("https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?auto=format&fit=crop&w=2400&q=80")
      center / cover;
  color: #fff;
}

.family-inner {
  display: grid;
  justify-items: center;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 72px 0 54px;
}

.family-section h2 {
  font-size: clamp(2.7rem, 5vw, 4.2rem);
  line-height: 1;
}

.family-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0 0 42px;
}

.family-tabs a {
  padding: 10px 15px;
  border: 2px solid transparent;
  color: #fff;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.family-tabs a.active {
  border-color: var(--red);
}

.family-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 21px;
  width: 100%;
}

.family-card {
  display: flex;
  min-height: 136px;
  align-items: end;
  padding: 18px;
  background-position: center;
  background-size: cover;
  color: #fff;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  box-shadow: inset 0 -70px 70px rgba(0, 0, 0, 0.55);
}

.family-green {
  background-image: url("https://images.unsplash.com/photo-1483728642387-6c3bdd6c93e5?auto=format&fit=crop&w=900&q=80");
}

.family-kiruna {
  background-image: url("https://images.unsplash.com/photo-1500534314209-a25ddb2bd429?auto=format&fit=crop&w=900&q=80");
}

.family-ovik {
  background-image: url("https://images.unsplash.com/photo-1472396961693-142e6e269027?auto=format&fit=crop&w=900&q=80");
}

.read-more {
  display: grid;
  justify-items: center;
  gap: 9px;
  margin-top: 68px;
  color: #fff;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.read-more span {
  width: 32px;
  height: 32px;
  border: 2px solid #fff;
  border-radius: 50%;
}

.site-footer {
  background: var(--footer);
  color: #aaa;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 280px minmax(250px, 1fr);
  gap: 32px;
  align-items: center;
  width: min(100% - 32px, var(--max));
  min-height: 92px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.newsletter label,
.social-strip span,
.blog-link {
  color: #777;
  font-family: var(--display);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.newsletter input {
  width: 190px;
  height: 32px;
  border: 0;
  background: #242424;
  color: #ddd;
  padding: 0 10px;
  font-family: var(--body);
  font-size: 0.72rem;
}

.newsletter button {
  height: 32px;
  border: 0;
  background: #242424;
  color: #aaa;
  cursor: pointer;
  font-size: 0;
  padding: 0 13px;
}

.newsletter button::before {
  content: ">";
  font-size: 0.86rem;
}

.social-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.social-strip a {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  background: #777;
  color: var(--footer);
  font-size: 0.72rem;
  font-weight: 900;
}

.blog-link {
  justify-self: end;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 38px;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 54px 0 62px;
}

.footer-columns h2 {
  color: #f1f1f1;
  font-size: 1rem;
  letter-spacing: 1.4px;
}

.footer-rule {
  width: 22px;
  height: 2px;
  margin: 16px 0 19px;
}

.footer-columns a {
  display: block;
  margin-bottom: 7px;
  color: #8e8e8e;
  font-family: var(--body);
  font-size: 0.8rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  gap: 34px;
  min-height: 82px;
  padding: 0 calc((100% - min(100% - 32px, var(--max))) / 2);
  background: var(--footer-deep);
  color: #8b8b8b;
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.footer-bottom strong {
  color: var(--red);
  font-size: 1.1rem;
}

.simple-footer {
  display: flex;
  justify-content: center;
  padding: 68px clamp(18px, 5vw, 72px) 60px;
  text-align: center;
}

.simple-footer-inner {
  width: min(100%, 760px);
  display: grid;
  justify-items: center;
  gap: 16px;
}

.simple-footer-mark {
  display: grid;
  place-items: center;
  width: 82px;
  height: 142px;
  color: #fff;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0;
}

.simple-footer-mark img {
  width: 72px;
  height: 136px;
  object-fit: contain;
}

.simple-footer-brand {
  color: #fff;
  font-family: var(--display);
  font-size: clamp(1.45rem, 3vw, 2.05rem);
  font-weight: 900;
  letter-spacing: 1px;
  line-height: 1;
  text-transform: uppercase;
}

.simple-footer-rule {
  width: 42px;
  height: 2px;
  background: var(--red);
}

.simple-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 26px;
  width: 100%;
  margin-top: 8px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.simple-footer-links a {
  color: #d4d0c8;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.9px;
  text-decoration: none;
  text-transform: uppercase;
}

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

.simple-footer p {
  margin: 0;
  color: #9f9a91;
  font-family: var(--body);
  font-size: 0.84rem;
  line-height: 1.5;
}

.simple-footer-meta {
  display: grid;
  gap: 6px;
  margin-top: 4px;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  justify-content: flex-end;
  background: rgba(10, 10, 9, 0.36);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease, background 260ms ease, backdrop-filter 260ms ease;
  backdrop-filter: blur(0);
}

.cart-drawer.open {
  opacity: 1;
  pointer-events: auto;
  background: rgba(10, 10, 9, 0.54);
  backdrop-filter: blur(4px);
}

.cart-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(100%, 400px);
  height: 100%;
  overflow: hidden;
  border-left: 1px solid rgba(222, 215, 204, 0.8);
  background: #fffdf9;
  opacity: 0.94;
  box-shadow: -28px 0 70px rgba(0, 0, 0, 0.2);
  transform: translateX(44px) scale(0.985);
  transform-origin: right center;
  transition: opacity 260ms ease, transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cart-drawer.open .cart-panel {
  opacity: 1;
  transform: translateX(0);
}

.cart-header,
.cart-footer {
  padding: 18px;
}

.cart-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.cart-header h2 {
  color: var(--ink);
  font-size: 1.42rem;
}

.icon-button {
  width: 40px;
  height: 40px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fffdf9;
  cursor: pointer;
  color: transparent;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  transition: background 160ms ease, transform 160ms ease;
}

.icon-button:hover,
.icon-button:focus-visible {
  background: #f7f3ec;
  transform: rotate(90deg);
}

.icon-button::before,
.icon-button::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #222;
}

.icon-button::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.icon-button::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

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

.cart-empty {
  margin: 0;
  color: #777;
  font-family: var(--body);
  font-size: 0.92rem;
  line-height: 1.5;
}

.cart-line {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}

.cart-line-top,
.cart-total-row,
.quantity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cart-line-copy {
  min-width: 0;
}

.cart-line-image {
  display: grid;
  width: 58px;
  height: 66px;
  overflow: hidden;
  place-items: center;
  border: 1px solid #ece4da;
  border-radius: 8px;
  background: #f7f3ec;
}

.cart-line-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-line-image span {
  color: #82776c;
  font-family: var(--display);
  font-weight: 900;
}

.cart-line h3 {
  margin: 0;
  color: #333;
  overflow: hidden;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
}

.cart-line small {
  display: block;
  margin-top: 3px;
  color: #82776c;
  font-family: var(--body);
  font-size: 0.78rem;
}

.cart-line strong,
.cart-total-row strong {
  color: #b45709;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 900;
  white-space: nowrap;
}

.quantity-row {
  margin-top: 10px;
}

.quantity-row span {
  color: #82776c;
  font-family: var(--body);
  font-size: 0.8rem;
  font-weight: 700;
}

.quantity-controls {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.quantity-button {
  width: 34px;
  height: 32px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #65615b;
  font-weight: 900;
}

.quantity-controls strong {
  min-width: 26px;
  color: #171813;
  font-size: 0.9rem;
  text-align: center;
}

.cart-footer {
  display: grid;
  gap: 10px;
  max-height: 62vh;
  overflow: auto;
  border-top: 1px solid var(--line);
  background: #fffdf9;
}

.cart-footer p {
  margin: 0;
  color: #777;
  font-family: var(--body);
  font-size: 0.82rem;
  line-height: 1.45;
}

.cart-checkout-toggle {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: #f97316;
  color: #fff;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.96rem;
  font-weight: 900;
}

.cart-add-more {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid #eadfd1;
  border-radius: 18px;
  background: #fffaf4;
  color: #1f1f1f;
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 900;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.cart-add-more span {
  color: #1f1f1f;
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 0;
}

.cart-add-more:hover,
.cart-add-more:focus-visible {
  border-color: #f6c99f;
  background: #fff7ed;
  box-shadow: 0 12px 28px rgba(180, 87, 9, 0.1);
  transform: translateY(-1px);
}

.cart-checkout-toggle:hover,
.cart-checkout-toggle:focus-visible {
  background: #ea580c;
}

.cart-checkout-toggle:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.cart-checkout-toggle.is-active {
  border: 1px solid #fed7aa;
  background: #fff7ed;
  color: #9a3412;
}

.checkout-form {
  display: grid;
  gap: 16px;
  margin-top: 8px;
  border: 1px solid #eadfd1;
  border-radius: 22px;
  background: #fffaf4;
  padding: 18px;
}

.checkout-form.is-collapsed {
  display: none;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.checkout-form label {
  display: grid;
  gap: 10px;
  color: #5f564e;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}

.checkout-form input,
.checkout-form select,
.checkout-form textarea {
  width: 100%;
  border: 1px solid #e3d8cb;
  border-radius: 16px;
  background: #fff;
  color: #1f1f1f;
  padding: 16px 18px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  text-transform: none;
}

.checkout-form textarea {
  min-height: 120px;
  resize: vertical;
}

.checkout-system-fields {
  display: none;
}

.checkout-system-fields.has-options {
  display: block;
}

.checkout-message {
  margin: 0;
  color: var(--red);
}

.location-results {
  display: grid;
  gap: 6px;
}

.location-results:empty {
  display: none;
}

.location-result {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: #333;
  cursor: pointer;
  padding: 8px 10px;
  text-align: left;
  font-family: var(--sans);
  font-size: 0.82rem;
  line-height: 1.35;
}

.location-result:hover,
.location-result:focus-visible {
  border-color: var(--red);
}

.selected-location,
.checkout-summary {
  margin: 0;
  color: #777;
  font-family: var(--body);
  font-size: 0.82rem;
  line-height: 1.45;
}

.checkout-summary {
  display: grid;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.checkout-summary:empty {
  display: none;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.summary-row strong {
  color: var(--red);
  font-weight: 400;
}

.checkout-page {
  min-height: calc(100vh - 58px);
  background: #fffaf4;
  padding: 42px 16px 64px;
}

.checkout-shell {
  display: grid;
  gap: 18px;
  width: min(100%, 920px);
  margin: 0 auto;
}

.checkout-page-head {
  position: relative;
  display: grid;
  gap: 10px;
  padding-right: 50px;
}

.checkout-page-head a {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 8px;
  color: #1f1f1f;
  font-family: var(--sans);
  font-weight: 900;
  text-decoration: none;
}

.checkout-page-head a span {
  font-size: 1.45rem;
  line-height: 0;
}

.checkout-exit {
  position: absolute;
  top: 0;
  right: 0;
  display: grid !important;
  width: 38px !important;
  height: 38px;
  place-items: center;
  border: 1px solid #eadfd1;
  border-radius: 50%;
  background: #fff;
  color: #1f1f1f;
  font-family: var(--sans);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.checkout-exit:hover,
.checkout-exit:focus-visible {
  background: #fff7ed;
  transform: rotate(90deg);
}

.checkout-page-head h1 {
  margin: 0;
  color: #1f1f1f;
  font-family: var(--sans);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: 0;
}

.checkout-page-head p {
  max-width: 620px;
  margin: 0;
  color: #6b6259;
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.5;
}

.checkout-summary-card,
.checkout-page-form {
  border: 1px solid #eadfd1;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(40, 34, 26, 0.07);
}

.checkout-summary-card {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.checkout-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #1f1f1f;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 900;
}

.checkout-summary-head strong {
  color: #b45709;
  font-size: 1.2rem;
}

.checkout-page-items {
  display: grid;
  gap: 10px;
}

.checkout-page-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border-top: 1px solid #f0e7dc;
  padding-top: 10px;
}

.checkout-page-item > span {
  display: grid;
  width: 54px;
  height: 62px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #eadfd1;
  border-radius: 10px;
  background: #fffaf4;
}

.checkout-page-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.checkout-page-item strong,
.checkout-page-item em {
  color: #1f1f1f;
  font-family: var(--sans);
  font-style: normal;
  font-weight: 900;
}

.checkout-page-item small {
  display: block;
  margin-top: 4px;
  color: #82776c;
  font-family: var(--body);
  font-size: 0.86rem;
}

.checkout-page-form {
  display: grid;
  gap: 20px;
  padding: clamp(18px, 4vw, 30px);
}

.checkout-page-form label {
  display: grid;
  gap: 12px;
  color: #5f564e;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 900;
}

.checkout-page-form input,
.checkout-page-form select,
.checkout-page-form textarea {
  width: 100%;
  border: 1px solid #e3d8cb;
  border-radius: 16px;
  background: #fff;
  color: #1f1f1f;
  padding: 17px 18px;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 700;
}

.checkout-page-form textarea {
  min-height: 132px;
  resize: vertical;
}

.checkout-payment-field {
  position: relative;
}

.checkout-payment-field select {
  appearance: none;
  padding-right: 48px;
  cursor: pointer;
}

.checkout-payment-field::after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: 24px;
  width: 9px;
  height: 9px;
  border-right: 2px solid #1f1f1f;
  border-bottom: 2px solid #1f1f1f;
  pointer-events: none;
  transform: rotate(45deg);
}

.checkout-page-form .button.full {
  min-height: 58px;
  border-radius: 18px;
  background: #f97316;
  font-family: var(--sans);
  font-size: 1.05rem;
  text-transform: none;
}

@keyframes heroSlowZoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.045);
  }
}

@keyframes cartSoftWarning {
  0%,
  72%,
  100% {
    box-shadow: inset 0 -2px 0 var(--red), 0 0 0 rgba(239, 61, 50, 0);
  }

  20% {
    box-shadow: inset 0 -2px 0 var(--red), 0 0 0 5px rgba(239, 61, 50, 0.1);
  }
}

@keyframes cartBadgePulse {
  0%,
  100% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.16);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 74px 1fr 140px;
  }

  .brand-block {
    grid-row: 1;
  }

  .main-nav {
    overflow-x: auto;
  }

  .main-nav a {
    min-width: 160px;
  }

  .search-box {
    display: none;
  }

  .cart-trigger {
    grid-column: 3;
  }

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

  .product-page-main {
    grid-template-columns: 1fr;
  }

  .product-page-main {
    gap: 24px;
  }

  .product-page-image {
    min-height: 390px;
  }

  .product-page-copy {
    position: static;
    padding-top: 0;
  }

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

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

  .hot-deal {
    grid-column: 1 / -1;
  }

  .footer-top,
  .footer-columns {
    grid-template-columns: 1fr 1fr;
  }

  .blog-link {
    justify-self: start;
  }
}

@media (max-width: 820px) {
  .cart-drawer {
    align-items: end;
    justify-content: center;
    padding: 0 10px 10px;
  }

  .cart-panel {
    width: 100%;
    height: min(88vh, 720px);
    border: 1px solid var(--line);
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -22px 60px rgba(0, 0, 0, 0.22);
    transform: translateY(36px) scale(0.985);
    transform-origin: center bottom;
  }

  .cart-drawer.open .cart-panel {
    transform: translateY(0);
  }

  .cart-header,
  .cart-footer {
    padding: 16px;
  }

  .cart-items {
    padding: 12px 16px;
  }

  .cart-drawer.checkout-open .cart-items {
    display: none;
  }

  .cart-drawer.checkout-open .cart-footer {
    max-height: calc(88vh - 88px);
  }

  .cart-line {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 10px;
  }

  .cart-line-image {
    width: 54px;
    height: 62px;
  }
}

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: 64px 1fr 116px;
  }

  .brand-logo {
    width: 24px;
    height: 48px;
  }

  .main-nav a {
    display: none;
    min-width: 0;
    font-size: 0.66rem;
  }

  .main-nav a:first-child {
    display: inline-flex;
    width: 100%;
  }

  .cart-trigger {
    padding: 0 10px 0 28px;
  }

  .cart-trigger span {
    display: none;
  }

  .cart-trigger::before {
    left: 10px;
  }

  .cart-trigger em {
    left: 18px;
  }

  .hero-section {
    min-height: 560px;
    background-position: center;
  }

  .hero-copy h1 {
    max-width: 340px;
    font-size: clamp(3.1rem, 15vw, 4.2rem);
  }

  .hero-arrow {
    display: none;
  }

  .catalog-head {
    display: grid;
    min-height: auto;
    padding-top: 26px;
    padding-bottom: 42px;
  }

  .api-status {
    left: 16px;
    bottom: 16px;
    width: calc(100% - 32px);
  }

  .catalog-controls {
    display: grid;
    justify-content: start;
    gap: 14px;
  }

  .category-strip {
    padding-top: 20px;
    padding-bottom: 10px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    width: min(100% - 12px, var(--max));
    padding-top: 24px;
    padding-bottom: 46px;
  }

  .catalog-pagination {
    justify-content: space-between;
    margin-top: -20px;
  }

  .catalog-page-numbers {
    display: none;
  }

  .catalog-page-arrow {
    width: 42px;
    padding: 0;
  }

  .catalog-page-arrow em {
    display: none;
  }

  .catalog-pagination p {
    display: block;
  }

  .product-page-hero {
    padding-top: 26px;
  }

  .product-page-image {
    min-height: 330px;
  }

  .product-page-thumbs,
  .product-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-page-copy {
    padding-top: 4px;
  }

  .product-card {
    min-height: 0;
    border-radius: 6px;
    padding: 4px;
  }

  .product-photo {
    transform: scale(1.15);
  }

  .product-photo.secondary {
    transform: scale(1.175);
  }

  .product-card:hover .product-photo.primary {
    transform: scale(1.175);
  }

  .product-card:hover .product-photo.secondary {
    transform: scale(1.15);
  }

  .product-content {
    min-height: 188px;
    padding: 10px 4px 48px;
  }

  .product-price-row {
    gap: 5px;
  }

  .product-price-row strong {
    font-size: 0.94rem;
  }

  .product-price-row span {
    min-height: 20px;
    padding: 0 6px;
    font-size: 0.6rem;
  }

  .product-card del {
    margin-top: 3px;
    font-size: 0.7rem;
  }

  .product-series,
  .product-code {
    font-size: 0.56rem;
    letter-spacing: 0.5px;
  }

  .product-series {
    margin-top: 8px;
  }

  .product-code {
    margin-top: 4px;
  }

  .product-card h3 {
    display: -webkit-box;
    min-height: 34px;
    overflow: hidden;
    margin-top: 3px;
    font-size: 0.86rem;
    line-height: 1.2;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .quick-add-button {
    right: 4px;
    bottom: 4px;
    left: 4px;
    min-height: 36px;
    justify-content: center;
    gap: 6px;
    border-radius: 6px;
    font-size: 0.82rem;
    padding: 0 8px;
  }

  .quick-add-button i {
    display: none;
  }

  .variant-modal {
    align-items: end;
    padding: 12px;
  }

  .variant-panel {
    width: 100%;
    max-height: calc(100vh - 24px);
    border-radius: 22px;
    padding: 22px;
  }

  .variant-close {
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
  }

  .variant-heading {
    grid-template-columns: 70px 1fr;
    gap: 14px;
    padding-right: 54px;
  }

  .variant-product-image {
    width: 70px;
    height: 70px;
    border-radius: 14px;
  }

  .variant-heading h2 {
    font-size: 1.16rem;
  }

  .variant-price-line strong {
    font-size: 1.25rem;
  }

  .variant-options button {
    min-width: 62px;
    min-height: 48px;
    font-size: 0.98rem;
    padding: 0 18px;
  }

  .variant-submit {
    min-height: 68px;
    padding: 0 20px;
  }

  .variant-submit strong,
  .variant-submit em {
    font-size: 1.05rem;
  }

  .promo-section,
  .hot-deal,
  .family-cards,
  .footer-top,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .hot-deal {
    padding-bottom: 28px;
  }

  .deal-copy {
    padding: 28px;
  }

  .deal-shirt {
    width: 150px;
  }

  .family-section {
    min-height: auto;
  }

  .footer-top {
    padding: 28px 0;
  }

  .newsletter {
    display: grid;
  }

  .newsletter input {
    width: 100%;
  }

  .social-strip {
    justify-content: start;
  }

  .footer-bottom {
    display: grid;
    gap: 10px;
    align-content: center;
    padding-top: 18px;
    padding-bottom: 18px;
  }

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