:root {
  --ink: #172321;
  --muted: #66736f;
  --cream: #f7f4ec;
  --paper: #fffdf8;
  --gold: #f2c45f;
  --blue: #dceef0;
  --line: #dce2db;
  --green: #1e5147;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.55;
}
a { color: inherit; }
.site-header, .site-footer {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header { padding: 20px 0; gap: 24px; flex-wrap: wrap; }
.brand-logo { display: block; width: 260px; max-width: 100%; height: auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 1.25rem; font-weight: bold; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: white; font: 700 .7rem Arial, sans-serif; letter-spacing: .04em; }
nav { display: flex; gap: 28px; font: 600 .83rem Arial, sans-serif; }
nav a { text-decoration: none; }
nav a:hover, .post-card a:hover { color: var(--green); }
.hero { width: min(1120px, calc(100% - 48px)); margin: 54px auto 96px; display: grid; grid-template-columns: 1fr; align-items: center; }
.eyebrow { margin: 0 0 14px; color: var(--green); font: 700 .72rem Arial, sans-serif; letter-spacing: .15em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 24px; font-size: clamp(1.3rem, 6.9vw, 5.2rem); line-height: .98; letter-spacing: -.055em; font-weight: 500; white-space: nowrap; }
h1 em { color: var(--green); font-style: italic; }
.intro { max-width: 500px; color: var(--muted); font-size: 1.18rem; }
.button { display: inline-block; margin-top: 12px; padding: 14px 21px; border-radius: 3px; background: var(--green); color: white; text-decoration: none; font: 700 .78rem Arial, sans-serif; }
.button:hover { background: #123b34; }
.hero-card { position: relative; padding: 58px 44px; min-height: 330px; background: var(--gold); box-shadow: 14px 14px 0 rgba(30,81,71,.11); }
.hero-card::before { content: ''; position: absolute; inset: 16px; border: 1px solid rgba(23,35,33,.2); pointer-events: none; }
.card-label, .post-tag { font: 700 .7rem Arial, sans-serif; letter-spacing: .13em; text-transform: uppercase; }
.hero-card h2 { max-width: 300px; margin: 42px 0 16px; font-size: 2.35rem; line-height: 1.03; }
.hero-card p { max-width: 270px; color: #49524e; }
.card-arrow { position: absolute; right: 36px; bottom: 26px; font: 2.3rem Arial, sans-serif; }
.section { width: min(1120px, calc(100% - 48px)); margin: 0 auto 96px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.section-heading h2, .about h2 { margin-bottom: 20px; font-size: 3rem; line-height: 1; font-weight: 500; letter-spacing: -.04em; }
.section-heading > p { max-width: 260px; color: var(--muted); font-size: .98rem; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post-card { min-height: 285px; padding: 28px; display: flex; flex-direction: column; }
.post-card-gold { background: #f0c25a; }
.post-card-blue { background: var(--blue); }
.post-card-cream { background: var(--paper); border: 1px solid var(--line); }
.post-card h3 { margin: 34px 0 12px; font-size: 1.72rem; line-height: 1.08; font-weight: 500; }
.post-card p { color: var(--muted); }
.post-card a { margin-top: auto; font: 700 .78rem Arial, sans-serif; text-decoration: none; }
.post-card a span { margin-left: 7px; font-size: 1.1rem; }
.product-section { scroll-margin-top: 24px; }
.market-divider {
  width: 100%;
  margin: 132px 0 118px;
  padding: 34px 24px;
  border-block: 12px solid var(--gold);
  background: var(--green);
  color: white;
  text-align: center;
  box-shadow: 0 16px 0 rgba(23,35,33,.10);
}
.market-divider span {
  display: inline-block;
  padding: 11px 24px;
  border: 1px solid rgba(255,255,255,.52);
  font: 700 1rem Arial, sans-serif;
  letter-spacing: .2em;
}
.converter-section { padding: 42px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; }
.converter-section .section-heading { margin-bottom: 20px; }
.converter-form label, .converter-result label { display: block; margin-bottom: 8px; color: var(--muted); font: 700 .76rem Arial, sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.converter-controls { display: flex; gap: 10px; align-items: stretch; }
.converter-input-wrap { display: flex; flex: 1; min-width: 0; gap: 8px; }
.converter-controls input { flex: 1; min-width: 0; padding: 16px 16px; border: 1px solid var(--line); border-radius: 4px; background: white; color: var(--ink); font: 1rem Arial, sans-serif; }
.converter-controls .button { margin-top: 0; border: 0; cursor: pointer; white-space: nowrap; }
.converter-controls .button-secondary { background: var(--gold); color: var(--ink); }
.converter-controls .button-secondary:hover { background: #e6b43f; color: var(--ink); }
.converter-controls .button-clear { padding-inline: 16px; border: 1px solid var(--line); background: #f1f3ef; color: var(--ink); }
.converter-controls .button-clear:hover { background: #e3e8e1; }
.converter-result { margin-top: 20px; }
.converter-status { margin: 10px 0 0; color: var(--muted); font: .85rem Arial, sans-serif; }
.product-grid { display: block; }
.category-group + .category-group { margin-top: 36px; }
.category-heading { margin: 0 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line); color: var(--green); font: 700 .9rem Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.category-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.product-card { min-height: 360px; padding: 14px; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; box-shadow: 0 8px 22px rgba(23,35,33,.06); transition: transform .2s ease, box-shadow .2s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(23,35,33,.12); }
.product-image { position: relative; display: grid; place-items: center; height: 190px; margin: 0 0 18px; padding: 12px; overflow: hidden; border-radius: 6px; background: linear-gradient(135deg, #edf5f0, #f7f4ec); text-decoration: none; }
.product-image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.image-fallback { display: none; text-align: center; color: var(--green); font: 700 1rem Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.image-fallback small { color: var(--muted); font-size: .65rem; letter-spacing: .12em; }
.product-image.image-missing .image-fallback { display: block; }
.product-card:nth-child(4n+1) { border-top: 4px solid var(--gold); }
.product-card:nth-child(4n+2) { border-top: 4px solid #9bc8cf; }
.product-card:nth-child(4n+3) { border-top: 4px solid var(--green); }
.product-card:nth-child(4n) { border-top: 4px solid #d7a98c; }
.product-card h3 { margin: 0 0 18px; font-size: 1.25rem; line-height: 1.12; font-weight: 500; }
.product-card p { margin-bottom: 18px; color: var(--muted); font: .85rem/1.45 Arial, sans-serif; }
.product-card .product-price { margin: 8px 0 12px; color: var(--ink); font-weight: 700; }
.product-card .deal-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; margin-top: auto; padding: 11px 14px; border-radius: 4px; background: var(--green); color: white; font: 700 .76rem Arial, sans-serif; text-decoration: none; }
.product-card .deal-button:hover { background: #123b34; color: white; }
.product-card a span { margin-left: 7px; font-size: 1.1rem; }
.tips { padding: 55px 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; background: var(--green); color: white; }
.tips h2 { margin: 0; font-size: 3rem; line-height: 1; font-weight: 500; }
.tips .eyebrow { color: var(--gold); }
.tips > p { margin: 0; color: #dce9e3; font-size: 1.08rem; }
.about { max-width: 720px; text-align: center; }
.about h2 { font-size: 3.4rem; }
.about > p:not(.eyebrow):not(.disclosure) { color: var(--muted); font-size: 1.12rem; }
.disclosure { margin-top: 28px; color: var(--muted); font: .72rem Arial, sans-serif; }
.tip-bottom .hero-card { min-height: 0; padding: 34px 40px; }
.tip-bottom .hero-card h2 { max-width: none; margin: 12px 0; font-size: 2rem; }
.tip-bottom .hero-card p { max-width: 720px; margin-bottom: 0; }
.site-footer { padding: 24px 0 38px; border-top: 1px solid var(--line); color: var(--muted); font: .72rem Arial, sans-serif; }
.bottom-explore { display: table; margin: 0 auto 34px; text-align: center; max-width: calc(100% - 32px); }
@media (max-width: 760px) {
  main { display: flex; flex-direction: column; }
  main > .hero { order: 1; }
  main > #israel-deals { order: 2; }
  main > .market-divider { order: 3; }
  main > #us-deals { order: 4; }
  main > #deals { order: 5; }
  main > #tips { order: 6; }
  main > #about { order: 7; }
  main > .tip-bottom { order: 8; }
  main > #affiliate-converter { order: 9; }
  main > .bottom-explore { order: 10; align-self: center; }
  nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 40px; margin-top: 30px; }
  .hero-card { min-height: 280px; }
  .tip-bottom .hero-card { padding: 30px 28px; }
  .post-grid, .category-product-grid, .tips { grid-template-columns: 1fr; }
  .category-product-grid { gap: 8px; }
  .product-card { min-height: 88px; padding: 8px; display: grid; grid-template-columns: 76px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px; align-items: center; border-top-width: 3px; box-shadow: 0 3px 10px rgba(23,35,33,.06); }
  .product-card:hover { transform: none; }
  .product-image { grid-column: 1; grid-row: 1 / span 2; width: 76px; height: 76px; margin: 0; padding: 4px; border-radius: 5px; }
  .product-card h3 { grid-column: 2; grid-row: 1; margin: 0 0 5px; font-size: .92rem; line-height: 1.16; }
  .product-card .deal-button { grid-column: 2; grid-row: 2; justify-self: start; margin: 0; padding: 6px 10px; border-radius: 4px; font-size: .67rem; }
  .product-card a span { font-size: .9rem; }
  .tips { gap: 28px; padding: 38px 30px; }
  .section-heading { display: block; }
  .section-heading > p { padding-bottom: 18px; }
  .converter-controls { display: grid; }
  .site-header, .site-footer, .hero, .section { width: min(100% - 32px, 1120px); }
  .market-divider { margin: 82px 0 76px; padding: 26px 14px; border-block-width: 8px; }
  .market-divider span { padding: 10px 14px; font-size: .8rem; letter-spacing: .12em; }
}
