:root {
  --asf-bg: #f6f8f3;
  --asf-surface: #ffffff;
  --asf-ink: #17251c;
  --asf-muted: #617064;
  --asf-line: #d9e3d4;
  --asf-leaf: #27613d;
  --asf-leaf-dark: #163924;
  --asf-gold: #d59a3a;
  --asf-shadow: 0 18px 48px rgba(22, 57, 36, .12);
}

body {
  background:
    radial-gradient(circle at 12% 0%, rgba(213, 154, 58, .12), transparent 28rem),
    linear-gradient(180deg, #fbfcf8 0%, var(--asf-bg) 100%) !important;
  color: var(--asf-ink) !important;
  font-family: Inter, Arial, Helvetica, sans-serif !important;
}

.container {
  max-width: 1240px !important;
  padding-left: 22px !important;
  padding-right: 22px !important;
}

.site-header,
.header {
  background: rgba(255, 255, 255, .9) !important;
  border-bottom: 1px solid rgba(217, 227, 212, .8) !important;
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(22, 57, 36, .06);
}

.nav {
  min-height: 82px !important;
}

.menu a {
  border-radius: 999px;
  color: var(--asf-muted) !important;
  padding: 9px 12px;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.menu a:hover,
.menu a.active {
  background: #edf5ef;
  color: var(--asf-leaf) !important;
  transform: translateY(-1px);
}

.cart-link {
  background: var(--asf-leaf-dark) !important;
  box-shadow: 0 10px 24px rgba(22, 57, 36, .22);
  color: #fff !important;
}

.hero {
  background:
    linear-gradient(135deg, rgba(22, 57, 36, .98), rgba(39, 97, 61, .92)),
    #163924 !important;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  color: #fff !important;
  padding: clamp(42px, 7vw, 82px) 0 !important;
}

.hero h1,
.hero p {
  color: #fff !important;
}

h1, h2, h3,
.title {
  font-family: Arial, Helvetica, sans-serif !important;
  letter-spacing: 0 !important;
}

h1 {
  font-weight: 900 !important;
  max-width: 760px;
}

.tabs {
  gap: 8px !important;
}

.tab {
  border: 1px solid rgba(255, 255, 255, .25) !important;
  border-radius: 999px;
  min-height: 42px !important;
}

.tab.active {
  background: var(--asf-gold) !important;
  border-color: var(--asf-gold) !important;
}

.section {
  padding: clamp(28px, 5vw, 58px) 0 72px !important;
}

.layout {
  gap: 24px !important;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px) !important;
}

.grid {
  gap: 20px !important;
}

.card,
.item,
.panel,
.summary,
.empty {
  background: rgba(255, 255, 255, .96) !important;
  border: 1px solid rgba(217, 227, 212, .95) !important;
  border-radius: 14px;
  box-shadow: var(--asf-shadow);
  overflow: hidden;
}

.card {
  transition: transform .18s ease, box-shadow .18s ease;
}

.card:hover {
  box-shadow: 0 24px 60px rgba(22, 57, 36, .16);
  transform: translateY(-3px);
}

.thumb,
.media {
  background: #edf5ef !important;
  border: 0 !important;
}

.thumb img,
.media img {
  transition: transform .24s ease;
}

.card:hover .thumb img {
  transform: scale(1.035);
}

.card-body {
  gap: 12px !important;
  padding: 18px !important;
}

.kicker,
.badge {
  color: var(--asf-leaf) !important;
  font-size: 11px !important;
  letter-spacing: .06em;
}

.title {
  color: var(--asf-ink) !important;
  font-size: 1.15rem !important;
  font-weight: 900 !important;
}

.title a {
  text-decoration: none;
}

.meta,
.muted,
p {
  color: var(--asf-muted) !important;
}

.price {
  color: var(--asf-leaf-dark) !important;
  font-size: 1.16rem !important;
}

input,
select,
textarea {
  background: #fff !important;
  border: 1px solid var(--asf-line) !important;
  border-radius: 10px;
  color: var(--asf-ink);
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--asf-leaf) !important;
  box-shadow: 0 0 0 3px rgba(39, 97, 61, .12);
}

.button {
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(213, 154, 58, .18);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover {
  box-shadow: 0 14px 30px rgba(213, 154, 58, .24);
  transform: translateY(-1px);
}

.button.dark {
  background: var(--asf-leaf-dark) !important;
  box-shadow: 0 12px 26px rgba(22, 57, 36, .22);
}

.button.outline {
  border-color: var(--asf-line) !important;
  box-shadow: none;
}

.icon-button {
  aspect-ratio: 1;
  border-radius: 50% !important;
  flex: 0 0 46px;
  min-height: 46px !important;
  padding: 0 !important;
  width: 46px;
}

.icon-button svg {
  fill: currentColor;
  height: 22px;
  width: 22px;
}

.card form {
  align-items: center;
  justify-content: space-between;
}

.card form input[type=number] {
  flex: 1 1 auto;
  min-width: 0;
}

.product-page {
  background: #fff !important;
}

.product-page .header {
  box-shadow: none;
}

.product-page .product-main {
  background: #fff;
  padding: clamp(28px, 5vw, 70px) 0;
}

.product-shell {
  align-items: center;
  display: grid;
  gap: clamp(24px, 5vw, 64px);
  grid-template-columns: minmax(320px, .92fr) minmax(0, 1fr);
}

.product-media {
  background: linear-gradient(180deg, #f4f7f0, #fff) !important;
  border: 1px solid var(--asf-line) !important;
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(22, 57, 36, .12);
  overflow: hidden;
  padding: clamp(12px, 2vw, 22px);
}

.product-media img {
  aspect-ratio: 1;
  border-radius: 18px;
  object-fit: cover;
  width: 100%;
}

.product-info {
  max-width: 620px;
}

.product-info h1 {
  color: var(--asf-ink) !important;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: .95;
  margin: 10px 0 14px;
}

.product-info p {
  font-size: 1.02rem;
  max-width: 560px;
}

.product-size {
  color: var(--asf-leaf) !important;
  font-weight: 900;
  margin: 0 0 18px;
}

.product-info .price {
  font-size: 1.6rem !important;
  margin: 14px 0 18px;
}

.product-purchase {
  align-items: center;
  background: #f8faf5;
  border: 1px solid var(--asf-line);
  border-radius: 18px;
  display: inline-flex;
  gap: 10px;
  margin-top: 18px !important;
  padding: 10px;
}

.product-purchase input {
  border-radius: 999px;
  text-align: center;
}

.product-purchase .button {
  min-width: 150px;
}

.recommendations {
  margin-top: clamp(34px, 6vw, 76px);
}

.recommendation-head {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 16px;
}

.recommendation-head h2 {
  color: var(--asf-ink);
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  font-weight: 900;
}

.recommendation-head a {
  color: var(--asf-leaf);
  font-weight: 900;
  text-decoration: none;
}

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

.recommendation-card {
  background: #fff;
  border: 1px solid var(--asf-line);
  border-radius: 16px;
  box-shadow: 0 16px 42px rgba(22, 57, 36, .1);
  display: grid;
  gap: 8px;
  overflow: hidden;
  padding: 12px;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.recommendation-card:hover {
  box-shadow: 0 22px 56px rgba(22, 57, 36, .14);
  transform: translateY(-2px);
}

.recommendation-card img {
  aspect-ratio: 1;
  border-radius: 12px;
  object-fit: cover;
  width: 100%;
}

.recommendation-card span {
  color: var(--asf-ink);
  font-weight: 900;
  line-height: 1.25;
}

.recommendation-card small {
  color: var(--asf-muted);
  font-weight: 700;
}

.recommendation-card strong {
  color: var(--asf-leaf-dark);
}

.summary {
  padding: 22px !important;
}

.row,
.summary-row {
  border-color: var(--asf-line) !important;
}

.item {
  align-items: center;
  padding: 16px !important;
}

.item .thumb {
  border-radius: 12px;
}

.item-total {
  text-align: right;
}

.field label {
  color: var(--asf-ink);
  font-size: 13px;
  font-weight: 900;
}

.footer {
  background: #102719 !important;
}

@media (max-width: 980px) {
  .layout {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 620px) {
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .hero {
    padding: 34px 0 !important;
  }

  .card,
  .item,
  .summary,
  .panel {
    border-radius: 12px;
  }

  .icon-button {
    width: 100%;
  }

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

  .product-purchase {
    align-items: stretch;
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .product-purchase .button,
  .product-purchase input {
    width: 100%;
  }

  .recommendation-head {
    align-items: flex-start;
    flex-direction: column;
  }

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