:root {
  --cream: #f6efe1;
  --cream-2: #fffaf0;
  --ink: #11162f;
  --navy: #151a47;
  --green: #007764;
  --deep-green: #003e36;
  --carrot: #ee4b2a;
  --cabbage: #00877c;
  --corn: #bd6094;
  --blueberry: #3859d8;
  --rust: #8b1f0d;
  --line: rgba(17, 22, 47, .22);
  --shadow: 0 22px 70px rgba(17, 22, 47, .14);
  --radius: 22px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 8%, rgba(238, 75, 42, .13), transparent 22rem),
    radial-gradient(circle at 85% 2%, rgba(56, 89, 216, .14), transparent 26rem),
    linear-gradient(180deg, var(--cream-2), var(--cream));
  line-height: 1.55;
}

a { color: inherit; }
img { max-width: 100%; height: auto; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: white;
  padding: .75rem 1rem;
  z-index: 10;
}
.skip-link:focus { left: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(246, 239, 225, .92);
  backdrop-filter: blur(14px);
  border-bottom: 3px solid var(--navy);
}

.nav-wrap {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand img {
  width: 146px;
  display: block;
  mix-blend-mode: multiply;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .96rem;
  font-weight: 800;
}

.site-menu a { text-decoration: none; }

.menu-toggle {
  display: none;
  border: 2px solid var(--navy);
  background: var(--cream-2);
  padding: .65rem .9rem;
  border-radius: 999px;
  font-weight: 800;
}

.section {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 84px 0;
}

.hero {
  min-height: calc(100vh - 88px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, .85fr);
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 .7rem;
  font-family: Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .78rem;
  color: var(--rust);
  font-weight: 900;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  font-size: clamp(4.4rem, 13vw, 10rem);
  line-height: .75;
  letter-spacing: -.08em;
  margin-bottom: 1.25rem;
  color: var(--navy);
}

h2 {
  font-size: clamp(2.15rem, 4.5vw, 4.4rem);
  line-height: .98;
  letter-spacing: -.045em;
  margin-bottom: 1rem;
  color: var(--navy);
}

h3 {
  font-size: 1.36rem;
  margin-bottom: .4rem;
  color: var(--navy);
}

.lead {
  font-size: clamp(1.16rem, 2vw, 1.45rem);
  color: #2d2f41;
  max-width: 680px;
}

.hero-actions,
.checkout-buttons {
  display: flex;
  gap: .85rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .85rem 1.18rem;
  border-radius: 999px;
  border: 3px solid var(--navy);
  background: var(--navy);
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 0 rgba(17, 22, 47, .18);
}

.button.secondary {
  background: var(--cream-2);
  color: var(--navy);
}

.nav-button {
  min-height: 40px;
  padding: .55rem .85rem;
}

.shipping-note,
.microcopy {
  color: #55505e;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .95rem;
  margin-top: 1rem;
}

.hero-art {
  display: grid;
  gap: 1rem;
}

.quilt-card,
.panel,
.suit-card,
.store-card,
.payment-panel,
.contact-card,
.rules-copy article,
.rule-art-grid figure {
  background: rgba(255, 250, 240, .92);
  border: 4px solid var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.quilt-card {
  padding: 1rem;
  transform: rotate(-1.5deg);
}

.quilt-card img {
  display: block;
  border-radius: 14px;
}

.produce-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .7rem;
}

.produce-row img {
  background: var(--cream-2);
  border: 3px solid var(--navy);
  border-radius: 18px;
  padding: .65rem;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.intro {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 2.6rem;
  align-items: start;
}

.panel,
.payment-panel,
.contact-card {
  padding: clamp(1.3rem, 3vw, 2.3rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.feature-grid article {
  border-top: 3px solid var(--line);
  padding-top: 1rem;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 2rem;
}

.suit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.suit-card {
  padding: 1.2rem;
  min-height: 230px;
  display: grid;
  place-items: center;
  text-align: center;
}

.suit-card img {
  height: 112px;
  object-fit: contain;
  margin-bottom: 1rem;
  mix-blend-mode: multiply;
}

.suit-card.carrot { border-color: var(--carrot); }
.suit-card.blueberry { border-color: var(--blueberry); }
.suit-card.cabbage { border-color: var(--green); }
.suit-card.corn { border-color: var(--corn); }

.rule-art-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.rule-art-grid figure {
  margin: 0;
  padding: 1rem;
}

.rule-art-grid img {
  width: 100%;
  display: block;
  border-radius: 16px;
}

figcaption {
  margin-top: .75rem;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .75rem;
}

.rules-copy {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.rules-copy article {
  padding: 1.25rem;
}

.rules-copy ul {
  margin: .5rem 0 0;
  padding-left: 1.25rem;
}

.store-card {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  overflow: hidden;
}

.product-art {
  background:
    linear-gradient(135deg, rgba(238, 75, 42, .18), transparent),
    linear-gradient(45deg, rgba(0, 119, 100, .12), transparent),
    var(--cream);
  display: grid;
  place-items: center;
  padding: 2rem;
  border-right: 4px solid var(--navy);
}

.product-art img {
  mix-blend-mode: multiply;
}

.product-info {
  padding: clamp(1.4rem, 4vw, 3rem);
}

.price {
  font-size: 2.25rem;
  font-weight: 900;
  margin-bottom: .5rem;
  color: var(--navy);
}

.price span {
  display: inline-block;
  color: #55505e;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
}

label {
  display: block;
  margin-top: 1.4rem;
  margin-bottom: .45rem;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
}

.quantity-row {
  display: flex;
  width: fit-content;
  border: 3px solid var(--navy);
  border-radius: 999px;
  overflow: hidden;
  background: white;
}

.quantity-row input,
.qty-btn {
  width: 54px;
  height: 48px;
  border: 0;
  background: white;
  text-align: center;
  font: 900 1rem Arial, Helvetica, sans-serif;
  color: var(--navy);
}

.qty-btn {
  cursor: pointer;
  font-size: 1.35rem;
}

.subtotal {
  margin-top: 1.1rem;
  padding: 1rem 0;
  border-top: 3px solid var(--line);
  border-bottom: 3px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: Arial, Helvetica, sans-serif;
}

.payment-panel {
  margin-top: 1rem;
  box-shadow: none;
}

.contact { padding-top: 40px; }

.site-footer {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  border-top: 3px solid var(--navy);
  color: #55505e;
  font-family: Arial, Helvetica, sans-serif;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }

  .site-menu {
    position: absolute;
    top: 88px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--cream-2);
    border: 3px solid var(--navy);
    border-radius: 18px;
    padding: 1rem;
    box-shadow: var(--shadow);
  }

  .site-menu.open { display: flex; }

  .hero,
  .intro,
  .store-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 60px;
  }

  .rules-copy,
  .rule-art-grid,
  .suit-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .product-art {
    border-right: 0;
    border-bottom: 4px solid var(--navy);
  }

  .site-footer {
    flex-direction: column;
  }
}


/* Version 10: corrected Buy Gadü section proportions */
.store-card {
  width: min(100%, 980px);
  margin: 0 auto;
  grid-template-columns: 340px minmax(0, 1fr);
  align-items: stretch;
}

.product-art {
  min-height: 360px;
  padding: 1.5rem;
}

.product-art img {
  width: min(82%, 255px);
  max-width: 255px;
  max-height: 255px;
  object-fit: contain;
}

.product-info {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  padding-right: clamp(1.5rem, 3vw, 2.4rem);
}

.purchase-card-back,
.product-info > img.purchase-card-back {
  position: absolute;
  top: 1.35rem;
  right: 1.35rem;
  width: 115px;
  max-width: 115px;
  height: auto;
  margin: 0;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(17, 22, 47, .16);
}

.product-info h3,
.product-info .price,
.product-info > p:first-of-type {
  max-width: calc(100% - 145px);
}

.product-info h3 {
  margin-top: 0;
}

.price {
  margin-top: .55rem;
}

.quantity-row {
  margin-bottom: 1rem;
}

.subtotal {
  margin-top: 1rem;
}

@media (max-width: 900px) {
  .store-card {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .product-art {
    min-height: auto;
    padding: 1.25rem;
  }

  .product-art img {
    width: min(60%, 220px);
    max-width: 220px;
    max-height: 220px;
  }

  .product-info {
    padding: 1.35rem;
  }

  .purchase-card-back,
  .product-info > img.purchase-card-back {
    position: static;
    width: 118px;
    max-width: 118px;
    margin: 0 0 1rem auto;
  }

  .product-info h3,
  .product-info .price,
  .product-info > p:first-of-type {
    max-width: 100%;
  }
}
