/* ==========================================================
   HOMEPAGE SECTIONS — Hero / Banners / Products
   from Claude Design
   ========================================================== */

:root {
  --gold-500: #d4a24c;
  --orange-400: #f39c12;
  --red-50: #fdecea;
}

.ad * { box-sizing: border-box; }
.ad { font-family: var(--font); color: var(--ink); }
.ad a { color: inherit; text-decoration: none; }
.ad button { font-family: inherit; cursor: pointer; border: 0; background: none; }
.ad ul { list-style: none; padding: 0; margin: 0; }

/* ============ HERO ============ */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 800px 500px at 18% 50%, rgba(212, 162, 76, 0.18), transparent 60%),
    linear-gradient(135deg, #0f4d59 0%, var(--teal-600) 55%, var(--teal-500) 100%);
  color: #fff;
  overflow: hidden;
}
.hero-pattern { position: absolute; inset: 0; opacity: 0.10; pointer-events: none; }
.hero-row {
  max-width: 1320px; margin: 0 auto; padding: 80px 32px;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px;
  align-items: center; position: relative; z-index: 2;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px;
  background: rgba(212, 162, 76, 0.18);
  border: 1px solid rgba(212, 162, 76, 0.42);
  color: #fce6b8;
  border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  margin-bottom: 22px;
}
.hero-eyebrow svg { width: 16px; height: 16px; color: var(--gold-500); }
.hero h1 {
  font-size: 56px; font-weight: 700; line-height: 1.12;
  letter-spacing: -0.02em; margin: 0 0 20px; max-width: 600px;
  color: #fff;
}
.hero h1 em { color: var(--gold-500); font-style: normal; font-weight: 800; }
.hero p {
  font-size: 19px; line-height: 1.6; color: rgba(255,255,255,0.82);
  margin: 0 0 36px; max-width: 540px; font-weight: 300;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary-hero {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold-500); color: #1a1207;
  padding: 16px 32px; border-radius: var(--radius-pill);
  font-size: 16px; font-weight: 700;
  box-shadow: 0 12px 28px rgba(212, 162, 76, 0.35);
  transition: transform .15s, box-shadow .15s;
}
.btn-primary-hero:hover { transform: translateY(-1px); box-shadow: 0 16px 32px rgba(212, 162, 76, 0.45); }
.btn-primary-hero svg { width: 18px; height: 18px; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: #fff;
  padding: 16px 28px; border-radius: var(--radius-pill);
  font-size: 16px; font-weight: 600;
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }
.btn-ghost svg { width: 18px; height: 18px; }

.hero-trust {
  display: flex; gap: 36px; margin-top: 48px;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.14);
}
.hero-trust-item { display: flex; align-items: center; gap: 12px; }
.hero-trust-item .ic {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(212, 162, 76, 0.18); color: var(--gold-500);
  display: flex; align-items: center; justify-content: center;
}
.hero-trust-item .ic svg { width: 22px; height: 22px; }
.hero-trust-item strong { display: block; font-size: 14px; font-weight: 600; color: #fff; }
.hero-trust-item span { display: block; font-size: 12px; color: rgba(255,255,255,0.65); margin-top: 2px; }

.hero-art {
  position: relative; aspect-ratio: 1; max-width: 460px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
}
.hero-medallion { position: absolute; inset: 0; animation: spin 80s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-product-card {
  position: relative; z-index: 2; width: 60%; aspect-ratio: 0.85;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 24px; padding: 24px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px;
}
.hero-product-bottle {
  width: 100px; height: 140px;
  background: linear-gradient(180deg, #fff, #e0eef0);
  border-radius: 14px 14px 18px 18px;
  position: relative;
  box-shadow: 0 10px 24px rgba(0,0,0,0.2);
}
.hero-product-bottle::before {
  content: ""; position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  width: 50px; height: 14px; background: var(--teal-700);
  border-radius: 4px 4px 2px 2px;
}
.hero-product-bottle::after {
  content: "+"; position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 38px; height: 38px; background: var(--orange-500); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 700;
}
.hero-pill { width: 100%; text-align: center; color: #fff; font-weight: 600; font-size: 14px; }

/* ============ BANNERS ============ */
.banner-wrap { max-width: 1320px; margin: 0 auto; padding: 28px 32px; }
.banner {
  border-radius: var(--radius-lg); padding: 36px 40px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  gap: 28px; position: relative; overflow: hidden;
}
.banner-icon {
  width: 76px; height: 76px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.banner-icon svg { width: 38px; height: 38px; }
.banner-text h2 { margin: 0 0 6px; font-size: 24px; font-weight: 700; letter-spacing: -0.01em; }
.banner-text p { margin: 0; font-size: 15px; line-height: 1.6; opacity: 0.8; }
.banner-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: var(--radius-pill);
  font-size: 15px; font-weight: 700; flex-shrink: 0;
}
.banner-cta svg { width: 16px; height: 16px; }

.banner-store { background: linear-gradient(120deg, var(--teal-700) 0%, var(--teal-600) 100%); color: #fff; }
.banner-store::before {
  content: ""; position: absolute; inset-inline-start: -80px; bottom: -120px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(212,162,76,0.25), transparent 65%);
  border-radius: 50%;
}
.banner-store .banner-icon { background: rgba(212, 162, 76, 0.22); color: var(--gold-500); border: 1px solid rgba(212, 162, 76, 0.4); }
.banner-store .banner-text p { color: rgba(255,255,255,0.78); }
.banner-store .banner-cta { background: var(--gold-500); color: #1a1207; box-shadow: 0 10px 24px rgba(212, 162, 76, 0.35); }

.banner-soon { background: #fff; border: 2px dashed var(--teal-500); color: var(--ink); text-align: start; }
.banner-soon::before {
  content: ""; position: absolute; inset-inline-end: -40px; top: -60px;
  width: 220px; height: 220px;
  background: radial-gradient(circle at 30% 30%, rgba(26,123,142,0.10), transparent 60%);
  border-radius: 50%;
}
.banner-soon .banner-icon { background: var(--teal-50); color: var(--teal-600); }
.banner-soon .badge-soon {
  display: inline-block; background: var(--teal-50); color: var(--teal-700);
  padding: 4px 12px; border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  margin-bottom: 8px; text-transform: uppercase;
}
.banner-soon .banner-text p { color: var(--muted); }
.banner-soon .banner-cta { background: var(--green-600); color: #fff; box-shadow: 0 10px 22px rgba(39, 174, 96, 0.32); }
.banner-soon .banner-cta:hover { background: var(--green-500); }

.banner-affiliate { background: linear-gradient(115deg, #b8763a 0%, #d4a24c 60%, #e8c177 100%); color: #1a1207; }
.banner-affiliate::before {
  content: ""; position: absolute; inset-inline-start: 50%; top: -30px; transform: translateX(-50%);
  width: 100%; height: 100%;
  background-image: repeating-linear-gradient(45deg, transparent 0 18px, rgba(255,255,255,0.06) 18px 19px);
  pointer-events: none;
}
.banner-affiliate .banner-icon { background: rgba(26, 18, 7, 0.12); color: #1a1207; border: 1px solid rgba(26, 18, 7, 0.18); }
.banner-affiliate .banner-text p { color: rgba(26, 18, 7, 0.75); }
.banner-affiliate .banner-cta { background: #1a1207; color: #fff; box-shadow: 0 10px 22px rgba(26, 18, 7, 0.25); }

/* ============ FEATURED PRODUCTS ============ */
.section-head {
  max-width: 1320px; margin: 0 auto; padding: 56px 32px 24px;
  display: flex; align-items: end; justify-content: space-between; gap: 24px;
}
.section-head .label {
  display: inline-block; font-size: 12px; font-weight: 700;
  color: var(--teal-600); letter-spacing: 0.16em;
  text-transform: uppercase; margin-bottom: 10px;
}
.section-head h2 { margin: 0 0 6px; font-size: 36px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.section-head p { margin: 0; font-size: 15px; color: var(--muted); }
.section-head a.viewall {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--teal-600); font-size: 14px; font-weight: 600;
  padding: 10px 18px; border-radius: var(--radius-pill);
  border: 1px solid var(--line);
}
.section-head a.viewall:hover { background: var(--teal-50); border-color: var(--teal-500); }

.products-grid-new {
  max-width: 1320px; margin: 0 auto; padding: 0 32px 56px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px;
}

.pcard {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column; position: relative;
}
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--teal-500); }
.pcard-imgwrap {
  position: relative; background: linear-gradient(135deg, var(--teal-25), #fff);
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  padding: 28px; border-bottom: 1px solid var(--line-2);
}
.pcard-fav {
  position: absolute; top: 12px; inset-inline-end: 12px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: color .15s; border: 0; cursor: pointer;
}
.pcard-fav:hover { color: var(--danger); }
.pcard-fav svg { width: 18px; height: 18px; }

.pcard-badge {
  position: absolute; top: 12px; inset-inline-start: 12px;
  padding: 5px 10px; border-radius: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em; color: #fff;
}
.pcard-badge.discount { background: var(--danger); }
.pcard-badge.new { background: var(--teal-600); }
.pcard-badge.bestseller { background: var(--gold-500); color: #1a1207; }

.pcard-out {
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.7); backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center;
}
.pcard-out span {
  background: rgba(16, 35, 41, 0.92); color: #fff;
  padding: 10px 22px; border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 700;
}

.pcard-body { padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard-cat { font-size: 11.5px; font-weight: 600; color: var(--teal-600); letter-spacing: 0.06em; text-transform: uppercase; }
.pcard-title { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.4; min-height: 2.8em; }
.pcard-stock { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; margin-top: 2px; }
.pcard-stock.in { color: var(--green-600); }
.pcard-stock.low { color: var(--orange-500); }
.pcard-stock.out { color: var(--muted); }
.pcard-stock .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.pcard-foot {
  padding: 0 18px 18px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-top: auto;
}
.pcard-price { display: flex; flex-direction: column; gap: 2px; }
.pcard-price .now { font-size: 18px; font-weight: 700; color: var(--ink); }
.pcard-price .now span { font-size: 12px; font-weight: 500; color: var(--muted); margin-inline-start: 2px; }
.pcard-price .was { font-size: 12.5px; color: var(--muted); text-decoration: line-through; }

.pcard-add {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--teal-600); color: #fff;
  padding: 10px 16px; border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 600; transition: background .15s;
  border: 0; cursor: pointer;
}
.pcard-add:hover { background: var(--teal-700); }
.pcard-add svg { width: 15px; height: 15px; }
.pcard-add.disabled { background: #d4dbdd; color: var(--muted); cursor: not-allowed; pointer-events: none; }

.pviz {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  filter: drop-shadow(0 12px 18px rgba(26, 123, 142, 0.18));
}
.pviz svg { width: 70%; height: 70%; }

/* ============ MOBILE OVERRIDES ============ */
@media (max-width: 968px) {
  .hero-row { grid-template-columns: 1fr; padding: 24px 18px 28px; gap: 20px; }
  .hero h1 { font-size: 26px; line-height: 1.2; margin-bottom: 12px; }
  .hero p { font-size: 14px; margin-bottom: 16px; line-height: 1.5; }
  .hero-eyebrow { font-size: 11px; padding: 5px 12px; margin-bottom: 14px; }
  .hero-ctas { flex-direction: column; gap: 8px; }
  .hero-ctas .btn-primary-hero, .hero-ctas .btn-ghost { justify-content: center; padding: 12px 20px; font-size: 14px; }
  .hero-trust { flex-direction: column; gap: 10px; margin-top: 18px; padding-top: 16px; }
  .hero-trust-item .ic { width: 36px; height: 36px; }
  .hero-trust-item .ic svg { width: 18px; height: 18px; }
  .hero-trust-item strong { font-size: 13px; }
  .hero-trust-item span { font-size: 11px; }
  .hero-art { max-width: 220px; }

  .banner-wrap { padding: 16px; }
  .banner { grid-template-columns: 1fr; text-align: center; padding: 28px 22px; gap: 16px; }
  .banner-icon { margin: 0 auto; width: 64px; height: 64px; }
  .banner-icon svg { width: 32px; height: 32px; }
  .banner-text h2 { font-size: 19px; }
  .banner-text p { font-size: 13.5px; }
  .banner-cta { width: 100%; justify-content: center; padding: 14px; font-size: 14px; }

  .section-head { flex-direction: column; align-items: stretch; padding: 36px 18px 18px; gap: 8px; }
  .section-head h2 { font-size: 24px; }
  .section-head p { font-size: 13.5px; }
  .section-head .viewall { align-self: flex-start; }
  .products-grid-new { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); padding: 0 18px 36px; gap: 14px; }
  .pcard-imgwrap { padding: 18px; }
  .pcard-body { padding: 14px 12px 10px; }
  .pcard-title { font-size: 13.5px; min-height: 2.6em; }
  .pcard-cat { font-size: 10.5px; }
  .pcard-foot { padding: 0 12px 14px; }
  .pcard-price .now { font-size: 16px; }
  .pcard-price .was { font-size: 11.5px; }
  .pcard-add { padding: 8px 12px; font-size: 12px; }
  .pcard-add svg { width: 13px; height: 13px; }
}
