:root {
  --bg: #f5f5f2;
  --panel: #ffffff;
  --panel-soft: #eef0eb;
  --ink: #111111;
  --muted: #5b5d57;
  --line: rgba(17, 17, 17, 0.08);
  --accent: #1e4d3b;
  --accent-soft: #dfeee7;
  --gold: #d5a65d;
  --danger: #c94c4c;
  --shadow: 0 18px 42px rgba(17, 17, 17, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--ink);
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 245, 242, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-shell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-size: 0.9rem;
}

.brand-text {
  font-size: 1.15rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(17, 17, 17, 0.04);
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.ghost-btn,
.cart-btn,
.primary-btn,
.secondary-btn,
.filter-btn,
.add-btn,
.checkout-btn,
.close-cart {
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ghost-btn,
.cart-btn {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.04);
  color: var(--ink);
}

.cart-btn {
  background: var(--ink);
  color: #fff;
  font-weight: 600;
}

.cart-btn span {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  margin-left: 8px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.76rem;
}

.hero {
  padding: 56px 0 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 42px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.eyebrow.dark {
  color: var(--muted);
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.hero-copy p {
  margin: 20px 0 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 600;
}

.primary-btn {
  background: var(--ink);
  color: #fff;
}

.secondary-btn {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.primary-btn:hover,
.secondary-btn:hover,
.ghost-btn:hover,
.filter-btn:hover,
.add-btn:hover,
.checkout-btn:hover,
.close-cart:hover {
  transform: translateY(-1px);
}

.hero-metrics {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-metrics li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-metrics strong {
  font-size: 1.35rem;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.85rem;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.product-showcase {
  position: relative;
  width: min(85%, 460px);
  min-height: 470px;
  background: linear-gradient(145deg, #f0f3ee, #dfe8df);
  border: 1px solid rgba(17, 17, 17, 0.05);
  border-radius: 32px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.product-showcase-main {
  padding: 22px;
}

.badge {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.88);
  color: #fff;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-figure {
  position: relative;
  width: 100%;
  height: 260px;
  margin-top: 18px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(46, 72, 61, 0.1), rgba(46, 72, 61, 0.04));
}

.shoe-figure {
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0) 18%),
    linear-gradient(135deg, #95b39a 0%, #26493d 100%);
}

.shoe-figure::before,
.shoe-figure::after {
  content: "";
  position: absolute;
  display: block;
}

.shoe-figure::before {
  width: 72%;
  height: 120px;
  left: 52%;
  top: 52%;
  transform: translate(-50%, -50%) rotate(-14deg);
  border-radius: 30% 40% 52% 48%;
  background: linear-gradient(135deg, #dfeee7, #a9b9ae);
  box-shadow: inset 0 0 0 14px rgba(30, 77, 59, 0.18);
}

.shoe-figure::after {
  width: 58%;
  height: 30px;
  left: 50%;
  top: 62%;
  transform: translateX(-50%) rotate(-14deg);
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.16);
}

.showcase-info {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
}

.showcase-info span {
  font-weight: 600;
}

.showcase-info strong {
  font-size: 1.2rem;
}

.floating-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.small-card {
  right: 0;
  top: 26px;
}

.mini-card {
  left: 30px;
  bottom: 34px;
}

.featured-strip {
  padding: 18px 0 10px;
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  border-radius: 18px;
}

.feature-item .icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  font-size: 1.2rem;
}

.feature-item strong,
.feature-item small {
  display: block;
}

.feature-item small {
  color: var(--muted);
  margin-top: 6px;
}

.catalog,
.offers,
.about {
  padding: 72px 0 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 30px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
  letter-spacing: -0.05em;
}

.left-aligned {
  justify-content: flex-start;
}

.filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.04);
  color: var(--muted);
}

.filter-btn.active {
  background: var(--ink);
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(17, 17, 17, 0.03);
}

.product-visual {
  position: relative;
  height: 220px;
  background: linear-gradient(135deg, #f0f0ee, #e7ece8);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.product-shot,
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-image {
  object-position: center;
}

.product-visual::before,
.product-visual::after {
  content: "";
  position: absolute;
  inset: auto;
}

.product-visual.running {
  background: linear-gradient(135deg, #e6efec, #d5e2dc);
}

.product-visual.training {
  background: linear-gradient(135deg, #f3efe9, #ebe5dc);
}

.product-visual.football {
  background: linear-gradient(135deg, #edf2f1, #dfe7e5);
}

.product-visual.accessories {
  background: linear-gradient(135deg, #f2f3f1, #e5e8e3);
}

.product-visual.running::before {
  width: 150px;
  height: 78px;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%) rotate(-18deg);
  border-radius: 40% 52% 42% 58%;
  background: linear-gradient(135deg, #9fb8a8, #1f574f);
  box-shadow: inset 0 0 0 14px rgba(17, 17, 17, 0.08);
}

.product-visual.training::before {
  width: 150px;
  height: 86px;
  left: 52%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
  border-radius: 30% 38% 52% 48%;
  background: linear-gradient(135deg, #dbb179, #8d6942);
  box-shadow: inset 0 0 0 12px rgba(17, 17, 17, 0.06);
}

.product-visual.football::before {
  width: 132px;
  height: 132px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #ffffff 0 18%, #dfe9e5 18% 100%);
  box-shadow: inset 0 0 0 12px rgba(17, 17, 17, 0.05);
}

.product-visual.accessories::before {
  width: 120px;
  height: 120px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 24px;
  background: linear-gradient(135deg, #dde1dc, #b0b7b1);
  box-shadow: inset 0 0 0 12px rgba(17, 17, 17, 0.06);
}

.product-info {
  padding: 18px 18px 20px;
}

.product-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.product-category {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--panel-soft);
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.badge-inside {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  backdrop-filter: blur(10px);
}

.product-rating {
  font-size: 0.8rem;
  color: var(--muted);
}

.product-name {
  margin: 16px 0 8px;
  font-size: 1.18rem;
  letter-spacing: -0.04em;
}

.product-description {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
}

.catalog-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
  padding-bottom: 20px;
}

.load-more-btn {
  min-width: 180px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.product-price {
  font-size: 1.25rem;
  font-weight: 700;
}

.product-old {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 0.9rem;
}

.add-btn {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
}

.offers {
  padding-bottom: 20px;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.offer-panel {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
}

.offer-panel.highlight {
  background: linear-gradient(135deg, #1b1b1b, #2b3730);
  color: #fff;
}

.offer-panel span {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.78;
}

.offer-panel strong {
  display: block;
  margin-top: 16px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.06em;
}

.offer-panel p {
  margin: 14px 0 0;
  color: inherit;
  opacity: 0.8;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 28px;
  align-items: center;
  padding-bottom: 72px;
}

.about-copy h2 {
  margin: 0;
  font-size: clamp(2.1rem, 3vw, 3rem);
  letter-spacing: -0.05em;
}

.about-copy p {
  color: var(--muted);
  line-height: 1.8;
  margin-top: 18px;
}

.about-points {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.about-points div {
  min-width: 120px;
}

.about-points strong {
  display: block;
  font-size: 1.6rem;
}

.about-points span {
  color: var(--muted);
}

.about-card {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #edf2ee, #dfe7dd);
  border: 1px solid var(--line);
  border-radius: 30px;
  overflow: hidden;
  padding: 32px;
}

.mini-visual {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 0;
}

.about-photo-frame {
  position: relative;
  z-index: 1;
  width: 78%;
  max-width: 300px;
  aspect-ratio: 3 / 4;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.about-floating-card {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 2;
}

.ring {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(17, 17, 17, 0.12);
}

.ring-one {
  width: 260px;
  height: 260px;
}

.ring-two {
  width: 180px;
  height: 180px;
}

.ring-three {
  width: 100px;
  height: 100px;
  background: rgba(17, 17, 17, 0.06);
}

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, calc(100% - 28px));
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(18px);
  border-left: 1px solid var(--line);
  box-shadow: -18px 0 42px rgba(17, 17, 17, 0.08);
  padding: 26px 20px 22px;
  transform: translateX(120%);
  transition: transform 0.25s ease;
  z-index: 30;
}

.cart-panel.open {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.close-cart {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.04);
  font-size: 1.6rem;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 48vh;
  overflow: auto;
  padding-right: 4px;
}

.cart-item {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.cart-thumb {
  height: 68px;
  width: 68px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #edf0ec, #dde5e0);
}

.cart-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cart-item-info strong {
  font-size: 0.96rem;
  letter-spacing: -0.04em;
}

.cart-item-info span {
  color: var(--muted);
  font-size: 0.8rem;
}

.cart-item-price {
  display: flex;
  flex-direction: column;
  align-items: end;
  justify-content: space-between;
  gap: 6px;
}

.remove-btn {
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.74rem;
}

.cart-summary {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.cart-summary div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--muted);
}

.total-row {
  color: var(--ink) !important;
  font-size: 1.05rem;
  margin-top: 12px;
}

.checkout-btn {
  width: 100%;
  margin-top: 16px;
  min-height: 54px;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}

.product-page-main {
  padding: 56px 0 80px;
}

.product-detail-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  padding: 26px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.detail-image-shell {
  position: relative;
  min-height: 560px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #eef1ee, #e0e7e2);
}

.detail-image-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-detail-info h1 {
  margin: 0;
  font-size: clamp(2.3rem, 3vw, 4rem);
  letter-spacing: -0.06em;
}

.detail-rating {
  margin-top: 16px;
  color: var(--muted);
  font-weight: 600;
}

.detail-price-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-top: 24px;
}

.detail-price-row strong {
  font-size: clamp(2rem, 3vw, 2.8rem);
  letter-spacing: -0.05em;
}

.detail-price-row span {
  color: var(--muted);
  text-decoration: line-through;
}

.detail-description {
  margin-top: 24px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.02rem;
}

.detail-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.detail-pills span {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--panel-soft);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
}

.detail-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.detail-actions .primary-btn,
.detail-actions .secondary-btn {
  min-height: 54px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 40px;
  background: rgba(255, 255, 255, 0.4);
}

.footer-shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand {
  gap: 8px;
}

.footer-links {
  display: flex;
  gap: 18px;
  color: var(--muted);
}

.footer-copy {
  color: var(--muted);
}

.checkout-main {
  padding: 56px 0 80px;
}

.checkout-head {
  max-width: 620px;
  margin-bottom: 36px;
}

.checkout-head h1 {
  margin: 0;
  font-size: clamp(2.1rem, 3vw, 3rem);
  letter-spacing: -0.05em;
}

.checkout-head p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: start;
}

.checkout-form-card,
.order-summary-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.checkout-form-card h2,
.order-summary-card h2 {
  margin: 0 0 20px;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.checkout-form-card h2 + .form-grid,
.checkout-form-card .payment-options + .form-grid {
  margin-top: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.span-2 {
  grid-column: span 2;
}

.form-group label {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
}

.form-group input,
.form-group select {
  min-height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  font: inherit;
  color: var(--ink);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
}

.payment-options {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 0.92rem;
}

.payment-option-disabled {
  cursor: not-allowed;
  opacity: 0.6;
  background: var(--panel-soft);
}

.payment-option-disabled span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.payment-option-disabled small {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.74rem;
}

.checkout-submit-btn {
  width: 100%;
  min-height: 54px;
}

.checkout-disclaimer {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}

.order-summary-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 46vh;
  overflow: auto;
  margin-bottom: 6px;
}

.summary-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
}

.summary-thumb {
  height: 56px;
  width: 56px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, #edf0ec, #dde5e0);
}

.summary-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.summary-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.summary-info strong {
  font-size: 0.9rem;
  letter-spacing: -0.03em;
}

.summary-info span {
  color: var(--muted);
  font-size: 0.78rem;
}

.summary-price {
  font-weight: 700;
  font-size: 0.92rem;
}

.checkout-empty,
.checkout-confirmation {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.checkout-empty h2,
.checkout-confirmation h2 {
  margin: 0 0 12px;
  font-size: 1.6rem;
  letter-spacing: -0.04em;
}

.checkout-empty p,
.checkout-confirmation p {
  color: var(--muted);
  margin: 0 0 24px;
}

.checkout-confirmation .checkout-disclaimer {
  margin-top: 0;
}

.confirmation-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(17, 17, 17, 0.5);
  backdrop-filter: blur(4px);
  z-index: 50;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  width: min(380px, 100%);
  background: var(--panel);
  border-radius: 24px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
}

.modal-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
}

.modal-box h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.modal-box p {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.6;
}

.modal-box .primary-btn {
  width: 100%;
  min-height: 50px;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
  z-index: 25;
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .product-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .offer-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 18px;
  }

  .detail-image-shell {
    min-height: 340px;
  }

  .product-detail-info {
    justify-content: flex-start;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--panel);
    border: 1px solid var(--line);
    border-top: none;
    border-radius: 0 0 18px 18px;
    padding: 8px 20px 16px;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 4px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: none;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 620px) {
  .nav-shell {
    flex-wrap: wrap;
    justify-content: center;
    padding: 14px 0;
  }

  .nav-actions {
    width: 100%;
    justify-content: center;
  }

  .product-grid,
  .strip-grid,
  .about-grid,
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-copy h1 {
    font-size: 2.7rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
  }

  .cart-panel {
    width: 100%;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.span-2 {
    grid-column: span 1;
  }
}
