:root {
  --ink: #17110d;
  --muted: #645b54;
  --line: #f0c59f;
  --paper: #fff4e8;
  --panel: #ffffff;
  --accent: #f97316;
  --accent-strong: #c2410c;
  --gold: #ffb703;
  --rose: #111827;
  --court: #8b3a12;
  --shadow: 0 18px 45px rgba(94, 45, 12, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(139, 58, 18, 0.05) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(0deg, rgba(139, 58, 18, 0.05) 1px, transparent 1px) 0 0 / 42px 42px,
    var(--paper);
  font-family: Arial, Helvetica, sans-serif;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 5vw, 72px);
  background: rgba(255, 244, 232, 0.95);
  border-bottom: 2px solid rgba(249, 115, 22, 0.22);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--accent);
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: inset 0 -6px 0 rgba(0, 0, 0, 0.18);
  font-size: 0.72rem;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: -8px 18px;
  border-inline: 2px solid rgba(23, 17, 13, 0.45);
  transform: rotate(28deg);
}

.brand-mark::after {
  inset: 18px -8px;
  border-inline: 0;
  border-block: 2px solid rgba(23, 17, 13, 0.45);
  transform: rotate(-18deg);
}

.brand-mark span,
.brand-mark {
  z-index: 1;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 4vw, 38px);
  color: var(--muted);
  font-size: 0.95rem;
}

.main-nav a:hover {
  color: var(--ink);
}

.cart-button,
.filter-button,
.contact-form button,
.cart-header button {
  border: 0;
  cursor: pointer;
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  color: #fff;
  background: var(--ink);
  border: 2px solid rgba(249, 115, 22, 0.55);
  border-radius: 8px;
}

.cart-button strong {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  color: var(--ink);
  background: #fff;
  border-radius: 999px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  padding: clamp(40px, 8vw, 92px) clamp(18px, 5vw, 72px);
  background: var(--ink);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 84% 42%, rgba(249, 115, 22, 0.68), transparent 20%),
    linear-gradient(90deg, rgba(23, 17, 13, 0.94), rgba(113, 48, 10, 0.72) 56%, rgba(23, 17, 13, 0.22));
  pointer-events: none;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 850ms ease, transform 4200ms ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.court-lines {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.34;
  pointer-events: none;
}

.court-lines::before {
  content: "";
  position: absolute;
  right: clamp(24px, 9vw, 130px);
  top: 50%;
  width: clamp(180px, 28vw, 430px);
  aspect-ratio: 1;
  border: 3px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  transform: translateY(-50%);
}

.court-lines::after {
  content: "";
  position: absolute;
  right: 0;
  top: 22%;
  width: clamp(130px, 22vw, 320px);
  height: 56%;
  border: 3px solid rgba(255, 255, 255, 0.72);
  border-right: 0;
  border-radius: 999px 0 0 999px;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(650px, 100%);
  color: #fff;
}

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

.hero h1,
.section-heading h2,
.offer-band h2,
.contact-section h2 {
  margin: 0;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(3.6rem, 12vw, 8rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.hero p:not(.eyebrow) {
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.12rem;
  line-height: 1.65;
}

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

.primary-action,
.secondary-action,
.checkout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
}

.primary-action {
  color: #fff;
  background: var(--accent);
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 26px rgba(249, 115, 22, 0.34);
}

.primary-action.dark {
  background: var(--ink);
}

.secondary-action {
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.72);
}

.features,
.shop-section,
.offer-band,
.seo-section,
.contact-section,
.site-footer {
  padding-inline: clamp(18px, 5vw, 72px);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ink);
  border-block: 0;
}

.feature-button {
  display: grid;
  gap: 8px;
  min-height: 138px;
  align-content: center;
  position: relative;
  overflow: hidden;
  padding-block: 18px;
  padding-inline: clamp(18px, 3vw, 30px);
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(249, 115, 22, 0.12), transparent 42%),
    #fffaf4;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.feature-button::before {
  content: "";
  position: absolute;
  right: 20px;
  top: 20px;
  width: 34px;
  height: 34px;
  border: 2px solid currentColor;
  border-radius: 50%;
  opacity: 0.2;
}

.feature-button::after {
  content: ">";
  position: absolute;
  right: 31px;
  top: 24px;
  font-weight: 900;
  opacity: 0.58;
}

.feature-button:hover {
  color: #fff;
  background:
    radial-gradient(circle at 86% 28%, rgba(255, 183, 3, 0.3), transparent 20%),
    linear-gradient(135deg, var(--accent), var(--accent-strong));
  transform: translateY(-3px);
}

.feature-number {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 900;
}

.feature-button:hover .feature-number,
.feature-button:hover span {
  color: rgba(255, 255, 255, 0.86);
}

.features span {
  color: var(--muted);
  line-height: 1.45;
}

.features strong {
  font-size: 1.06rem;
  text-transform: uppercase;
}

.shop-section {
  padding-top: clamp(48px, 8vw, 84px);
  padding-bottom: clamp(48px, 8vw, 84px);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 26px;
}

.section-heading h2,
.offer-band h2,
.contact-section h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.filter-button {
  min-height: 38px;
  padding: 0 14px;
  color: var(--ink);
  background: #fffaf4;
  border: 2px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.filter-button.active,
.filter-button:hover {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

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

.product-card {
  overflow: hidden;
  position: relative;
  background: var(--panel);
  border: 2px solid rgba(249, 115, 22, 0.18);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(94, 45, 12, 0.12);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(249, 115, 22, 0.58);
  box-shadow: 0 20px 44px rgba(94, 45, 12, 0.18);
}

.product-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #f4d0aa;
}

.product-info {
  display: grid;
  gap: 12px;
  padding: 16px;
}

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

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

.category {
  display: inline-flex;
  width: fit-content;
  padding: 5px 8px;
  color: #fff;
  background: var(--ink);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.price {
  font-weight: 900;
  white-space: nowrap;
}

.product-card button {
  min-height: 42px;
  color: #fff;
  background: var(--accent);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
  text-transform: uppercase;
}

.offer-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 48px;
  padding-bottom: 48px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 40%, rgba(255, 183, 3, 0.28), transparent 18%),
    linear-gradient(135deg, rgba(23, 17, 13, 0.98), rgba(194, 65, 12, 0.98)),
    var(--accent-strong);
}

.offer-band p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.55;
}

.seo-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(24px, 5vw, 56px);
  padding-top: clamp(48px, 8vw, 84px);
  padding-bottom: clamp(48px, 8vw, 84px);
  background: #fffaf4;
  border-bottom: 1px solid var(--line);
}

.seo-section h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: 0;
}

.seo-section p {
  color: var(--muted);
  line-height: 1.7;
}

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

.faq-list article {
  padding: 18px;
  background: #fff;
  border: 2px solid rgba(249, 115, 22, 0.16);
  border-radius: 8px;
}

.faq-list h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.faq-list p {
  margin: 0;
  font-size: 0.94rem;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px, 6vw, 72px);
  padding-top: clamp(48px, 8vw, 84px);
  padding-bottom: clamp(48px, 8vw, 84px);
}

.contact-section p {
  color: var(--muted);
  line-height: 1.7;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  background: #fffaf4;
  border: 2px solid rgba(249, 115, 22, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 8px;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
}

.contact-form button {
  min-height: 46px;
  color: #fff;
  background: var(--accent);
  border-radius: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: none;
  background: rgba(0, 0, 0, 0.34);
}

.cart-panel {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 40;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(420px, 100%);
  background: #fff;
  box-shadow: var(--shadow);
  transform: translateX(105%);
  transition: transform 180ms ease;
}

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

.cart-overlay.open {
  display: block;
}

.cart-header,
.cart-footer {
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h2 {
  margin: 0;
}

.cart-header button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--ink);
  background: #fff0df;
  border-radius: 8px;
}

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

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

.cart-line {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  gap: 12px;
  align-items: center;
}

.cart-line img {
  width: 68px;
  height: 78px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-line h3 {
  margin: 0 0 5px;
  font-size: 0.94rem;
}

.cart-line span {
  color: var(--muted);
  font-size: 0.88rem;
}

.cart-line button {
  color: var(--rose);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.cart-footer {
  display: grid;
  gap: 14px;
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.15rem;
}

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

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 26px;
  padding-bottom: 26px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 900;
}

@media (max-width: 980px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .seo-section,
  .faq-list {
    grid-template-columns: 1fr;
  }
}

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

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 78vh;
    align-items: end;
    background-position: 58% center;
  }

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

  .feature-button {
    min-height: auto;
    padding-block: 22px;
  }

  .section-heading,
  .offer-band,
  .site-footer {
    align-items: start;
    flex-direction: column;
  }

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

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