/* =====================================================
   product.css - styles for product.html only
   ===================================================== */

body {
  background:
    radial-gradient(circle at top right, rgba(255,213,74,.14), transparent 24%),
    radial-gradient(circle at top left, rgba(20,182,125,.08), transparent 18%),
    linear-gradient(180deg, #fffdf7 0%, #fff9ef 100%);
}

/* ===== HERO ===== */
.hero {
  position: relative; overflow: hidden; border-radius: 34px; padding: 34px;
  background: #ffffff;
  color: var(--dark); box-shadow: var(--shadow); margin-bottom: 26px;
  border: 1px solid rgba(236,228,213,.9);
}
.hero::before {
  content: ""; position: absolute; inset: auto auto -90px -60px;
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,122,26,.14), transparent 70%);
}
.hero small {
  display: inline-flex; padding: 8px 14px; border-radius: 999px;
  background: #fff4e8; border: 1px solid #ffd6b5;
  color: var(--orange); font-weight: 800; margin-bottom: 14px;
}
.hero h1 { font-size: clamp(2rem, 3.6vw, 3.5rem); line-height: 1.2; margin-bottom: 10px; }
.hero p { max-width: 760px; color: #625c52; line-height: 1.9; }

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
  color: var(--muted); font-size: .9rem; margin-bottom: 20px;
}
.breadcrumbs a { color: var(--green-deep); font-weight: 700; }

/* ===== PRODUCT LAYOUT ===== */
.product-layout {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,1fr) 340px;
  gap: 24px; align-items: start;
}
.panel {
  background: rgba(255,255,255,.88); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
}

/* ===== GALLERY ===== */
.gallery { padding: 20px; position: sticky; top: 94px; }
.main-image {
  aspect-ratio: 1/1; border-radius: 24px; overflow: hidden;
  background: #fff; border: 1px solid var(--line);
}
.main-image img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-top: 12px; }
.thumb {
  border: 2px solid transparent; background: #fff;
  border-radius: 16px; overflow: hidden;
  aspect-ratio: 1/1; cursor: pointer; transition: var(--tr);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.active, .thumb:hover { border-color: var(--orange); }

/* ===== CONTENT PANEL ===== */
.content { padding: 26px; }
.brand-line {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin-bottom: 10px;
}
.brand-line .brand-name { color: var(--green-deep); font-weight: 800; }
.score {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px;
  border-radius: 999px; background: var(--surface-2);
  font-size: .85rem; font-weight: 800; color: #8f6a00;
}
.content h2 { font-size: 2rem; line-height: 1.4; margin-bottom: 10px; }

.prod-price-row {
  display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin-bottom: 18px;
}
.prod-price-row strong { font-size: 2.25rem; color: #bf3f00; }
.prod-price-row del { color: var(--muted); font-size: 1rem; }
.prod-price-row .savings {
  background: #e9fff5; color: var(--green-deep);
  padding: 7px 12px; border-radius: 999px; font-size: .82rem; font-weight: 800;
}

.lead { font-size: 1rem; line-height: 1.9; color: var(--muted); margin-bottom: 22px; }

.feature-list { display: grid; gap: 12px; list-style: none; margin-bottom: 22px; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 14px 16px; border-radius: 18px;
  background: var(--surface-2); line-height: 1.8; color: #444958;
}
.feature-list li::before {
  content: "\2713"; display: grid; place-items: center; flex-shrink: 0;
  width: 26px; height: 26px; border-radius: 50%;
  background: #e9fff5; color: var(--green-deep); font-weight: 900;
}

.meta-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.meta-box { padding: 16px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.meta-box strong { display: block; font-size: 1.1rem; margin-bottom: 4px; }
.meta-box span { font-size: .84rem; color: var(--muted); }

/* ===== BUY BOX ===== */
.buybox { padding: 24px; position: sticky; top: 94px; }
.buybox .mini-price { font-size: 1.9rem; font-weight: 900; color: #bf3f00; }
.buybox .availability { color: var(--green-deep); font-weight: 800; margin: 8px 0 18px; }
.buybox label { display: block; font-size: .9rem; font-weight: 800; margin-bottom: 8px; }
.buybox select {
  width: 100%; padding: 12px 14px; border-radius: 16px;
  border: 1px solid var(--line); background: #fff;
  margin-bottom: 16px; font-size: .95rem;
}
.action {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 14px 16px; border: none; border-radius: 999px;
  color: #fff; font-weight: 900; font-size: 1rem; cursor: pointer; transition: var(--tr);
}
.action + .action { margin-top: 12px; }
.action:hover { transform: translateY(-2px); }
.action.whatsapp { background: linear-gradient(135deg, #27d366, #14a74d); }
.action.paypal   { background: linear-gradient(135deg, #009cde, var(--paypal)); }
.action.secondary{ background: linear-gradient(135deg, var(--orange), var(--orange-deep)); }
.fine-print {
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: .84rem; line-height: 1.8;
}

/* ===== RELATED ===== */
.related { margin-top: 28px; padding: 24px; }
.related h3 { margin-bottom: 18px; font-size: 1.35rem; }
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.mini-card {
  border: 1px solid var(--line); border-radius: 22px;
  overflow: hidden; background: #fff; transition: var(--tr);
}
.mini-card:hover { transform: translateY(-5px); box-shadow: 0 16px 30px rgba(20,22,35,.08); }
.mini-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.mini-body { padding: 14px; }
.mini-body h4 { font-size: .95rem; line-height: 1.6; margin-bottom: 6px; }
.mini-body span { font-size: .9rem; font-weight: 900; color: #bf3f00; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1120px) {
  .product-layout { grid-template-columns: 1fr 1fr; }
  .buybox { grid-column: 1 / -1; position: static; }
}
@media (max-width: 800px) {
  .hero { padding: 26px 20px; }
  .product-layout { grid-template-columns: 1fr; }
  .gallery, .buybox { position: static; }
  .meta-grid, .related-grid { grid-template-columns: 1fr; }
}
