:root {
  --bg: #f5f4f1;
  --surface: #ffffff;
  --text: #23262b;
  --text-muted: #6b7280;
  --accent: #2f6b4f;
  --accent-soft: #e3ede7;
  --border: #e2e0da;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Arial, "Noto Sans Hebrew", sans-serif;
  line-height: 1.6;
}
a { color: var(--accent); }
header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header .brand { font-weight: 800; font-size: 1.2rem; }
header nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
}
header nav a:hover { background: var(--accent-soft); }
main {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}
h1 { font-size: 1.6rem; margin: 0 0 1.2rem; }
.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.2rem;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.product-card .img-placeholder {
  background: var(--accent-soft);
  border-radius: 10px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 0.8rem;
}
.product-card h3 { margin: 0; font-size: 1rem; }
.product-card p { margin: 0; font-size: 0.85rem; color: var(--text-muted); flex: 1; }
.price { font-weight: 800; font-size: 1.05rem; }
button {
  font: inherit;
  cursor: pointer;
  border: none;
  border-radius: 10px;
  padding: 0.6rem 1rem;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}
button:hover { opacity: 0.9; }
button.secondary { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.cart-line {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
}
.cart-line .name { flex: 1; font-weight: 700; }
.cart-line input[type="number"] {
  width: 3.5rem;
  padding: 0.3rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  text-align: center;
}
.total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.15rem;
  font-weight: 800;
  padding-top: 1rem;
}
form.checkout { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 1.5rem; }
form.checkout input, form.checkout textarea {
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
}
.notice {
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}
.empty { color: var(--text-muted); text-align: center; padding: 3rem 0; }

/* ============ additions: catalog cards, landing, upsell, admin ============ */
a.brand { text-decoration: none; color: inherit; }

/* product card images + badge + compare price */
.img-wrap { position: relative; }
.product-img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; display: block;
  background: var(--accent-soft);
}
.product-img.tall { aspect-ratio: 1/1; }
.badge {
  position: absolute; top: 8px; inset-inline-start: 8px;
  background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700;
  padding: 3px 9px; border-radius: 999px;
}
.price-row { display: flex; align-items: baseline; gap: 8px; }
.compare { color: var(--text-muted); text-decoration: line-through; font-size: .9rem; }
.save-pill { background: #fce9d9; color: #b4562a; font-weight: 700; font-size: .78rem; padding: 2px 9px; border-radius: 999px; }

/* ---------- landing page ---------- */
.lp-hero {
  max-width: 1000px; margin: 0 auto; padding: 2rem 1.25rem 1rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center;
}
.lp-hero-media .img-placeholder.tall { aspect-ratio: 1/1; }
.lp-hero-media .product-img { aspect-ratio: 1/1; }
.stars { color: #e0a52e; font-weight: 700; font-size: .95rem; margin-bottom: .6rem; }
.stars span { color: var(--text-muted); font-weight: 400; font-size: .82rem; }
.lp-hero-copy h1 { font-size: 2rem; line-height: 1.15; margin: 0 0 .8rem; }
.lp-sub { font-size: 1.05rem; color: var(--text-muted); margin: 0 0 1.2rem; }
.lp-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 1.1rem; }
.lp-price.center { justify-content: center; }
.lp-price .price { font-size: 1.9rem; font-weight: 800; }
.cta-big {
  width: 100%; font-size: 1.1rem; padding: 1rem; border-radius: 12px; margin-bottom: 1rem;
  box-shadow: 0 6px 20px rgba(47,107,79,.28);
}
.cta-outline { background: transparent; color: var(--accent); border: 2px solid var(--accent); white-space: nowrap; }
.trust-row { display: flex; flex-wrap: wrap; gap: 1rem; list-style: none; padding: 0; margin: 0; font-size: .88rem; color: var(--text-muted); }

.lp-block { max-width: 760px; margin: 3rem auto 0; padding: 0 1.25rem; }
.lp-block h2 { font-size: 1.5rem; margin: 0 0 1rem; text-align: center; }
.lp-lead, .lp-block > .lp-lead { font-size: 1.1rem; color: var(--text-muted); text-align: center; }
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.benefit { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1.2rem; }
.benefit .b-ico { font-size: 1.6rem; }
.benefit h3 { margin: .5rem 0 .3rem; font-size: 1.05rem; }
.benefit p { margin: 0; font-size: .9rem; color: var(--text-muted); }

.why-us { background: var(--accent-soft); border-radius: 18px; padding: 2rem 1.5rem; max-width: 900px; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.why span { font-size: 1.5rem; }
.why b { display: block; margin: .3rem 0; }
.why p { margin: 0; font-size: .88rem; color: var(--text-muted); }

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.review { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1.1rem; }
.r-stars { color: #e0a52e; margin-bottom: .5rem; }
.review p { font-size: .9rem; margin: 0 0 .6rem; }
.review span { font-size: .82rem; color: var(--text-muted); }
.admin-note { background: #fdf3e3; border: 1px dashed #d9a441; color: #7a5518; border-radius: 10px; padding: .7rem 1rem; font-size: .82rem; margin-bottom: 1rem; }

.bundle-cta {
  display: flex; align-items: center; gap: 1.2rem; justify-content: space-between; flex-wrap: wrap;
  background: linear-gradient(120deg, var(--accent-soft), #fff);
  border: 1px solid var(--accent); border-radius: 16px; padding: 1.4rem 1.6rem;
}
.bundle-cta h3 { margin: 0 0 .3rem; }
.bundle-cta p { margin: 0; color: var(--text-muted); font-size: .9rem; }

.faq { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: .9rem 1.1rem; margin-bottom: .6rem; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin: .6rem 0 0; color: var(--text-muted); font-size: .92rem; }

.final-cta { text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 2rem 1.5rem; margin-bottom: 4rem; }

/* ---------- cart upsell ---------- */
#upsell { margin-top: 1.5rem; }
.upsell-title { font-weight: 700; margin-bottom: .6rem; }
.upsell-line {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  padding: .7rem 1rem; margin-bottom: .5rem;
}
.upsell-line .u-name { font-weight: 600; }
.upsell-line .u-price { color: var(--accent); font-weight: 700; margin-inline-start: 10px; }

/* ---------- admin ---------- */
.admin-login { max-width: 360px; margin: 2rem auto; text-align: center; }
.admin-login input { width: 100%; padding: .7rem; border: 1px solid var(--border); border-radius: 10px; margin: .8rem 0; font: inherit; }
.admin-login .err, .err { color: #b4472e; font-size: .85rem; }
.admin-tabs { display: flex; gap: .6rem; align-items: center; margin-bottom: 1.2rem; }
.tab { background: transparent; color: var(--text); border: 1px solid var(--border); }
.tab.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.admin-hint { background: var(--accent-soft); border-radius: 10px; padding: .7rem 1rem; font-size: .85rem; margin-bottom: 1rem; }
.admin-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1.1rem; margin-bottom: 1rem; }
.admin-card-head { display: flex; align-items: center; gap: .8rem; margin-bottom: .8rem; }
.admin-thumb { width: 54px; height: 54px; object-fit: cover; border-radius: 8px; }
.admin-thumb.empty { display: flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); font-size: .7rem; text-align: center; }
.admin-card label { display: block; font-size: .8rem; color: var(--text-muted); margin-bottom: .6rem; }
.admin-card label input { width: 100%; padding: .5rem .6rem; border: 1px solid var(--border); border-radius: 8px; font: inherit; margin-top: .2rem; }
.admin-row { display: flex; gap: .8rem; flex-wrap: wrap; align-items: end; }
.admin-row label { flex: 1; min-width: 90px; }
.chk { display: flex !important; align-items: center; gap: .4rem; }
.chk input { width: auto !important; }
.saved { font-size: .82rem; font-weight: 700; }
.saved.ok { color: var(--accent); }
.saved.bad { color: #b4472e; }
.order-meta { font-size: .85rem; color: var(--text-muted); line-height: 1.7; }
.order-items { margin: .6rem 0 0; padding-inline-start: 1.2rem; font-size: .9rem; }
.chip { font-size: .72rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; }
.chip.ok { background: #e2efe6; color: #2f6b4f; }
.chip.wait { background: #fdf0e0; color: #b4562a; }

@media (max-width: 720px) {
  .lp-hero { grid-template-columns: 1fr; }
  .benefits, .why-grid, .reviews { grid-template-columns: 1fr; }
}

/* ---------- dashboard ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1.1rem 1.2rem; }
.stat .s-label { font-size: .82rem; color: var(--text-muted); font-weight: 600; }
.stat .s-val { font-size: 1.7rem; font-weight: 800; margin: .3rem 0 .1rem; font-variant-numeric: tabular-nums; }
.stat .s-sub { font-size: .76rem; color: var(--text-muted); }
.stat.good { background: #e7f3ec; border-color: #2f6b4f; }
.stat.good .s-val { color: #2f6b4f; }
.stat.bad { background: #fbe9e2; border-color: #b4562a; }
.stat.bad .s-val { color: #b4562a; }
.expenses-box { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1.2rem; }
.expenses-box h3 { margin: 0 0 .3rem; }
.expense-form { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 1rem; }
.expense-form select, .expense-form input { padding: .55rem .7rem; border: 1px solid var(--border); border-radius: 8px; font: inherit; }
.expense-form input { flex: 1; min-width: 100px; }
.exp-line { display: flex; justify-content: space-between; padding: .55rem 0; border-bottom: 1px solid var(--border); font-size: .9rem; }
.exp-line:last-child { border-bottom: none; }
.link-del { background: none; color: #b4562a; padding: 0 .3rem; font-weight: 700; }

/* ---------- landing: honest promise block ---------- */
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.promise { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1.3rem; text-align: center; }
.promise span { font-size: 1.8rem; }
.promise b { display: block; margin: .5rem 0 .3rem; }
.promise p { margin: 0; font-size: .88rem; color: var(--text-muted); }
.reviews-soon { text-align: center; color: var(--text-muted); font-size: .9rem; margin-top: 1.2rem; background: var(--accent-soft); border-radius: 10px; padding: .8rem 1rem; }
@media (max-width: 720px) { .promise-grid { grid-template-columns: 1fr; } }

/* ============ premium polish pass ============ */
:root {
  --gold: #a9782f;
  --gold-soft: #f3e9d6;
  --shadow-sm: 0 1px 2px rgba(28,32,36,.05), 0 4px 14px rgba(28,32,36,.06);
  --shadow-md: 0 6px 24px rgba(28,32,36,.10);
}
body { background: linear-gradient(180deg, #f7f6f1 0%, #f2f4ef 100%); background-attachment: fixed; }

/* header refinement */
header { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(8px); background: rgba(255,255,255,.88); }
header .brand { display: flex; align-items: center; gap: .3rem; }

/* branded placeholder frame (looks intentional, not "missing image") */
.img-placeholder {
  background: linear-gradient(135deg, #eef3ee, #e2ede5 60%, #f3e9d6);
  border-radius: 12px; aspect-ratio: 4/3; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .3rem; color: var(--accent);
  border: 1px solid rgba(47,107,79,.12);
}
.img-placeholder.tall { aspect-ratio: 1/1; }
.ph-paw { font-size: 2.4rem; opacity: .85; }
.ph-brand { font-weight: 800; letter-spacing: .04em; color: var(--accent-deep); font-size: .9rem; }

/* product cards — lift + gold accent */
.product-card {
  transition: transform .18s ease, box-shadow .18s ease;
  box-shadow: var(--shadow-sm);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-img { box-shadow: inset 0 0 0 1px rgba(28,32,36,.05); }
.badge { box-shadow: 0 2px 8px rgba(47,107,79,.35); background: linear-gradient(135deg, #2f6b4f, #21503b); }
.price { color: var(--accent-deep); }

/* headline gets a refined feel */
h1 { letter-spacing: -.015em; }
main > h1, .lp-hero-copy h1 { background: linear-gradient(90deg, var(--ink), var(--accent-deep)); -webkit-background-clip: text; background-clip: text; }
.tagline { font-size: 1.05rem; color: var(--text-muted); }

/* landing hero — premium frame */
.lp-hero-media .product-img.tall {
  border-radius: 18px; box-shadow: var(--shadow-md), inset 0 0 0 1px rgba(28,32,36,.06);
  background: #fff;
}
.stars { letter-spacing: .05em; }
.cta-big {
  background: linear-gradient(135deg, #2f6b4f, #21503b);
  box-shadow: 0 8px 22px rgba(47,107,79,.32); transition: transform .15s ease, box-shadow .15s ease;
}
.cta-big:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(47,107,79,.4); }
.save-pill { background: linear-gradient(135deg, #f6e3cf, #efd3a8); color: #8a5a1e; box-shadow: 0 2px 8px rgba(169,120,47,.25); }

/* gold hairline accents on section headings in landing */
.lp-block h2 { position: relative; padding-bottom: .6rem; }
.lp-block h2::after {
  content: ""; position: absolute; bottom: 0; right: 50%; transform: translateX(50%);
  width: 44px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* trust row chips */
.trust-row li { background: #fff; border: 1px solid var(--border); padding: .4rem .8rem; border-radius: 999px; box-shadow: var(--shadow-sm); }

/* shipping note polish */
.shipping-note { text-align: center; color: var(--text-muted); font-size: .9rem; margin-top: 2rem; }

/* ---------- landing product gallery ---------- */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.gallery img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 16px;
  background: #fff; box-shadow: var(--shadow-sm); border: 1px solid rgba(28,32,36,.05);
}
@media (max-width: 720px) { .gallery { grid-template-columns: 1fr 1fr; gap: .6rem; } }

/* ============ brand-led homepage ============ */
.home-hero {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem; align-items: center;
  max-width: 1000px; margin: 1rem auto 0; padding: 1rem 0;
}
.brand-line {
  color: var(--gold); font-weight: 700; font-size: .82rem; letter-spacing: .06em;
  text-transform: none; margin: 0 0 .8rem;
}
.home-hero-copy h1 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); line-height: 1.12; margin: 0 0 1rem; }
.home-hero-copy .tagline { font-size: 1.05rem; color: var(--text-muted); margin: 0 0 1.4rem; max-width: 46ch; }
.home-hero .cta-big { display: inline-block; width: auto; text-align: center; text-decoration: none; padding: .9rem 1.6rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }
.hero-badges span {
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: .4rem .9rem; font-size: .82rem; font-weight: 600; color: var(--text); box-shadow: var(--shadow-sm);
}
.home-hero-media img {
  width: 100%; border-radius: 20px; object-fit: cover; aspect-ratio: 4/3;
  box-shadow: var(--shadow-md), inset 0 0 0 1px rgba(28,32,36,.05); background: #fff;
}

.values {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  max-width: 1000px; margin: 3.5rem auto 0; padding: 0;
}
.value { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1.2rem; box-shadow: var(--shadow-sm); }
.value span { font-size: 1.6rem; }
.value b { display: block; margin: .5rem 0 .2rem; font-size: .98rem; color: var(--accent-deep); }
.value p { margin: 0; font-size: .85rem; color: var(--text-muted); }

.complements { max-width: 1000px; margin: 3.5rem auto 0; }
.complements h2 { font-size: 1.4rem; margin: 0 0 .3rem; }
.comp-sub { color: var(--text-muted); margin: 0 0 1.5rem; }

@media (max-width: 760px) {
  .home-hero { grid-template-columns: 1fr; gap: 1.4rem; }
  .home-hero-media { order: -1; }
  .values { grid-template-columns: 1fr 1fr; }
}

/* homepage closing CTA */
.home-closing { max-width: 700px; margin: 4rem auto 0; text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 2.4rem 1.5rem; box-shadow: var(--shadow-sm); }
.home-closing h2 { font-size: 1.5rem; margin: 0 0 1.2rem; }
.home-closing .cta-big { display: inline-block; width: auto; text-decoration: none; padding: .9rem 1.8rem; }
