:root {
  --green: #126b4b;
  --green-dark: #0b5038;
  --ink: #17211b;
  --muted: #687069;
  --cream: #f4f1e9;
  --paper: #fffdf8;
  --line: rgba(23, 33, 27, .12);
  --shadow: 0 22px 60px rgba(38, 49, 40, .11);
}

* { box-sizing: border-box; }
html { background: var(--cream); color: var(--ink); }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; }

.deal-header {
  width: min(1240px, calc(100% - 40px));
  min-height: 78px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.deal-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 20px; font-weight: 750; }
.deal-brand img { width: 40px; height: 40px; object-fit: contain; }
.deal-brand strong { color: var(--green); }
.back-link { color: var(--green); font-size: 13px; font-weight: 800; text-decoration: none; }
.back-link:hover { text-decoration: underline; }

.deal-shell { width: min(1240px, calc(100% - 40px)); margin: auto; padding-bottom: 56px; }
.breadcrumbs { display: flex; align-items: center; gap: 8px; padding: 18px 2px; color: var(--muted); font-size: 12px; }
.breadcrumbs a { color: var(--green); text-decoration: none; }

.deal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(380px, .94fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.deal-visual { position: relative; min-height: 610px; display: grid; place-items: center; overflow: hidden; background: var(--paper); }
.deal-visual img { width: 100%; height: 100%; max-height: 690px; object-fit: contain; }
.deal-image-fallback { color: var(--green); font: 800 54px Georgia, serif; }
.deal-discount { position: absolute; top: 20px; left: 20px; padding: 8px 11px; border-radius: 999px; color: white; background: #d45f3b; font-size: 12px; font-weight: 850; box-shadow: 0 5px 18px rgba(101, 42, 24, .22); }

.deal-summary { display: flex; flex-direction: column; justify-content: center; padding: clamp(30px, 4vw, 58px); }
.deal-retailer { margin: 0 0 12px; color: var(--green); font-size: 11px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.deal-summary h1 { margin: 0 0 18px; font: 500 clamp(30px, 3.4vw, 48px)/1.05 Georgia, "Times New Roman", serif; letter-spacing: -.045em; }
.deal-price { display: flex; align-items: baseline; gap: 13px; margin-bottom: 18px; }
.deal-price strong { font-size: clamp(31px, 3vw, 42px); letter-spacing: -.04em; }
.deal-price del { color: #929891; font-size: 16px; }
.deal-requirements { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.deal-requirements span { padding: 7px 9px; border-radius: 8px; color: #355043; background: #eaf1eb; font-size: 11px; font-weight: 750; }
.deal-simple { margin: 0 0 20px; color: var(--muted); font-size: 13px; }
.retailer-button { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%; padding: 15px 17px; border-radius: 12px; color: white; background: var(--green); text-decoration: none; font-size: 14px; font-weight: 850; transition: .18s ease; }
.retailer-button:hover { background: var(--green-dark); transform: translateY(-1px); }
.retailer-button span { font-size: 20px; }
.deal-note { margin: 10px 2px 22px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.ended-message { display: grid; gap: 5px; padding: 14px 16px; border-radius: 12px; color: #79412d; background: #f8e9df; }
.ended-message span { font-size: 12px; }

.share-box { display: grid; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.share-box > div:first-child { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.share-kicker { margin: 0 0 3px; color: var(--green); font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.share-box h2 { margin: 0; font: 500 20px/1.1 Georgia, serif; }
.share-actions { display: flex; gap: 8px; }
.share-actions button { flex: 1; min-height: 40px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: white; font: 800 12px inherit; cursor: pointer; }
.share-actions button:hover { border-color: rgba(18, 107, 75, .45); color: var(--green); }
.share-native { color: white !important; background: var(--ink) !important; }
.share-networks { display: flex; flex-wrap: wrap; gap: 7px; }
.share-networks a { padding: 7px 9px; border-radius: 999px; color: #536059; background: #efeee8; font-size: 10px; font-weight: 800; text-decoration: none; }
.share-networks a:hover { color: var(--green); background: #e5eee7; }

.related-section { margin-top: 48px; }
.related-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.related-heading span { color: var(--green); font-size: 10px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.related-heading h2 { margin: 4px 0 0; font: 500 30px/1.1 Georgia, serif; letter-spacing: -.03em; }
.related-heading > a { color: var(--green); font-size: 12px; font-weight: 800; text-decoration: none; }
.related-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.related-card { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--paper); }
.related-image { height: 170px; display: grid; place-items: center; overflow: hidden; color: var(--green); background: var(--paper); font: 800 24px Georgia, serif; }
.related-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .2s ease; }
.related-card:hover img { transform: scale(1.025); }
.related-card > div { padding: 14px; }
.related-card p { margin: 0 0 7px; color: var(--green); font-size: 9px; font-weight: 850; text-transform: uppercase; }
.related-card h3 { min-height: 42px; margin: 0 0 10px; font-size: 13px; line-height: 1.4; }
.related-card h3 a { text-decoration: none; }
.related-card strong { font-size: 18px; }

.deal-footer { width: min(1240px, calc(100% - 40px)); margin: auto; padding: 24px 0 40px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.deal-footer a { color: var(--green); font-weight: 850; text-decoration: none; }
.deal-footer p { margin: 0; }

@media (max-width: 900px) {
  .deal-hero { grid-template-columns: 1fr; }
  .deal-visual { min-height: 420px; max-height: 540px; }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .deal-header, .deal-shell, .deal-footer { width: calc(100% - 24px); }
  .deal-header { min-height: 64px; }
  .deal-brand { font-size: 17px; }
  .deal-brand img { width: 34px; height: 34px; }
  .back-link { font-size: 11px; }
  .breadcrumbs { padding: 13px 2px; }
  .deal-hero { border-radius: 20px; }
  .deal-visual { min-height: 310px; max-height: 390px; }
  .deal-summary { padding: 24px 20px 26px; }
  .deal-summary h1 { font-size: 30px; }
  .deal-price strong { font-size: 31px; }
  .related-grid { grid-template-columns: 1fr; }
  .related-card { display: grid; grid-template-columns: 120px 1fr; }
  .related-image { height: 100%; min-height: 132px; }
  .related-card h3 { min-height: 0; }
  .deal-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
