@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter.woff2") format("woff2");
}
@font-face {
  font-family: "Epilogue";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/epilogue.woff2") format("woff2");
}

/* Variant B: Christmas gift banner, sidebar and two-card catalogue. */
:root {
  --h2-green: #77af44;
  --h2-green-dark: #417021;
  --h2-green-soft: #eef7e9;
  --slate: #263646;
  --slate-soft: #536479;
  --canvas: #f5f7f3;
  --line: #dce2d7;
  --line-strong: #bcc7b7;
}
body {
  font-family: Inter, Arial, sans-serif;
}
.page-shell {
  max-width: 1236px;
  padding: 28px;
}
.legacy-hero {
  position: relative;
  min-height: clamp(330px, calc((100vw - 56px) / 3), 390px);
  padding: 90px 32px 60px;
  color: #fff;
  background:
    linear-gradient(
      90deg,
      rgba(10, 22, 16, 0.38),
      rgba(10, 22, 16, 0.2) 43%,
      transparent 62%
    ),
    url("../img/banner-xmas-gifts.webp") center / cover no-repeat;
  background-color: #111b13;
}
.legacy-hero h1 {
  font-family: Epilogue, Inter, sans-serif;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -0.025em;
  max-width: calc(100% - 190px);
  margin: 0 0 24px;
}
.legacy-hero p {
  margin: 0;
  max-width: 520px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.65;
}
.legacy-hero p strong {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legacy-logo {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 175px;
}
.legacy-logo img {
  display: block;
  width: 100%;
  height: auto;
}
.legacy-logo:focus-visible {
  outline-color: #fff;
}
.form-wrap {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  padding: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 0;
}
.trust-panel {
  padding: 36px 25px;
  background: #fbfcfa;
  border-right: 1px solid var(--line);
}
.legacy-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}
.legacy-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
}
.legacy-benefits svg {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
}
.legacy-benefits circle {
  fill: var(--h2-green);
}
.legacy-benefits path {
  fill: none;
  stroke: #fff;
  stroke-width: 2;
}
.selection-summary {
  margin-top: 36px;
  padding-top: 26px;
}
.selection-summary h3,
.contact-block h3 {
  font-size: 18px;
  font-weight: 700;
}
.selection-list strong {
  font-size: 13px;
}
.selection-line {
  flex-wrap: wrap;
}
#selectionCount {
  color: var(--h2-green-dark);
  font-weight: 700;
}
.contact-block a {
  color: var(--h2-green-dark);
  font-size: 14px;
  font-weight: 700;
}
.request-form {
  padding: 36px 32px 0;
}
.progress-head {
  font-size: 12px;
  font-weight: 600;
}
.progress-track {
  height: 6px;
}
#productsStep > .step-title {
  display: block;
  margin-bottom: 28px;
}
#productsStep > .step-title h2,
.step-title h2 {
  font-family: Epilogue, Inter, sans-serif;
  font-size: 34px;
  font-weight: 750;
  line-height: 1.2;
}
#productsStep > .step-title p {
  margin-top: 18px;
  max-width: 65ch;
  font-size: 14px;
  line-height: 1.6;
}
.product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 16px;
  align-items: stretch;
}
.product-card {
  border: 1px solid var(--line);
  padding: 18px;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.product-card:has(.product-choice input:checked) {
  border-color: var(--h2-green-dark);
}
.product-head {
  position: static;
  display: flex;
  flex-direction: column;
  padding: 0;
  min-height: 0;
  flex: 1;
}
.product-image {
  position: static;
  order: -1;
  display: block;
  width: 100%;
  height: 174px;
  padding: 4px 30px 16px;
  background: transparent;
}
.product-choice {
  min-height: 48px;
  display: block;
}
.product-choice input {
  position: absolute;
  top: 19px;
  left: 19px;
  width: 22px;
  height: 22px;
  margin: 0;
}
.product-name {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.product-description {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.6;
}
.product-details {
  margin: 12px 0 0;
}
.product-details summary {
  color: var(--h2-green-dark);
  font-size: 14px;
  min-height: 44px;
}
.product-info {
  padding-top: 18px;
}
.price-table {
  font-size: 11px;
  border-spacing: 0;
}
.price-table caption {
  text-align: left;
  font-size: 11px;
  margin-bottom: 8px;
}
.price-table th {
  padding: 8px 0 4px;
  background: var(--canvas);
  border: 0;
  border-radius: 0;
  font-weight: 600;
}
.price-table td {
  border: 0;
  border-radius: 0;
}
.price-table .active-tier {
  background: var(--h2-green-soft);
}
.tier-button {
  font-size: 11px;
  font-weight: 500;
}
.quantity-control {
  justify-content: space-between;
  gap: 8px;
}
.quantity-control input {
  width: 100%;
}
.line-total {
  color: var(--h2-green-dark);
  font-weight: 600;
}
.product-card:has(.product-choice input:checked) .line-total {
  color: var(--h2-green-dark);
}
.contact-layout {
  display: block;
  padding: 0;
}
.contact-panel {
  padding: 0;
}
.text-button {
  color: var(--h2-green-dark);
}
.contact-panel-title {
  font-size: 18px;
}
.form-actions {
  margin-top: 28px;
  background: var(--paper);
  padding-block: 18px;
  gap: 12px;
}
.button.primary {
  background: var(--h2-green-dark);
}
.button.primary:hover:not(:disabled) {
  background: #32571a;
}
.button.primary:disabled {
  background: #e3e6dc;
}
.legal-footer {
  margin-top: 0;
  padding: 20px;
  background: #fbfcfa;
  border: 1px solid var(--line);
  border-top: 0;
}
@media (max-width: 1100px) {
  .form-wrap {
    grid-template-columns: 260px minmax(0, 1fr);
  }
  .trust-panel {
    padding-inline: 20px;
  }
  .request-form {
    padding-inline: 24px;
  }
  #productsStep > .step-title h2,
  .step-title h2 {
    font-size: 30px;
  }
}
@media (max-width: 900px) {
  .form-wrap {
    display: flex;
    flex-direction: column;
  }
  .request-form {
    order: 0;
    padding: 28px 24px 0;
  }
  .trust-panel {
    order: 1;
    border-right: 0;
    border-top: 1px solid var(--line);
    padding: 24px;
  }
  .legacy-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
  .legacy-benefits li {
    align-items: flex-start;
  }
  .selection-summary {
    margin-top: 24px;
  }
}
@media (max-width: 1000px) {
  .legacy-hero {
    padding: 96px 24px 210px;
    min-height: 490px;
    background-image:
      linear-gradient(to bottom, #111b13, transparent 26%),
      url("../img/banner-xmas-gifts.webp");
    background-size:
      100% 190px,
      auto 190px;
    background-position:
      center bottom,
      right bottom;
    background-repeat: no-repeat;
  }
  .legacy-logo {
    width: 144px;
    top: 18px;
    right: 20px;
  }
  .legacy-hero h1 {
    max-width: 100%;
    font-size: 32px;
  }
  .legacy-hero p {
    font-size: 14px;
  }
}
@media (max-width: 740px) {
  .legacy-hero {
    background-size:
      100% 190px,
      auto 190px;
  }
  .page-shell {
    padding: 16px;
  }
  #productsStep > .step-title h2,
  .step-title h2 {
    font-size: 28px;
  }
  .product-card {
    padding: 16px;
  }
  .product-image {
    width: 100%;
    height: 174px;
  }
  .product-name {
    font-size: 18px;
  }
  .product-description {
    margin-left: 0;
    font-size: 13px;
  }
  .product-info {
    padding-top: 18px;
  }
  .form-actions {
    justify-content: flex-end;
  }
  .action-summary {
    flex-basis: 100%;
  }
  .legacy-benefits {
    grid-template-columns: 1fr;
  }
  .trust-panel {
    padding-inline: 24px;
  }
  .contact-panel {
    padding: 0;
  }
}
@media (max-width: 640px) {
  .product-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .request-form {
    padding-inline: 20px;
  }
  .product-image {
    height: 190px;
  }
  .form-actions .button {
    width: 100%;
  }
  .price-table th {
    font-size: 11px;
  }
}
@media (max-width: 390px) {
  .page-shell {
    padding: 12px;
  }
  .request-form {
    padding-inline: 16px;
  }
  .legacy-hero {
    padding-inline: 20px;
  }
  .legacy-hero h1 {
    font-size: 28px;
  }
  .product-name {
    font-size: 18px;
  }
  .contact-panel {
    padding: 0;
  }
}

/* Product zoom and a selection overview that remains in view on desktop. */
.sidebar-content {
  position: sticky;
  top: 20px;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 2px 6px 2px 2px;
  scrollbar-width: thin;
  scrollbar-color: var(--h2-green-dark) transparent;
  overscroll-behavior-y: contain;
}
.image-zoom {
  position: relative;
  border: 0;
  color: var(--h2-green-dark);
  padding-bottom: 30px;
  cursor: zoom-in;
}
.image-zoom-label {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  font-size: 11px;
  line-height: 1.5;
}
.image-zoom-label svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}
.image-zoom:hover .image-zoom-label {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.image-zoom:focus-visible,
.image-dialog button:focus-visible {
  outline-color: var(--h2-green-dark);
}
@media (max-width: 900px) {
  .sidebar-content {
    position: static;
    max-height: none;
    overflow: visible;
    padding: 0;
  }
}
