/* Product / information pages (layouts/product.njk) — Figma "Desktop - 10/11/12". */
.page-product main { background: #e8e9ed; }

/* Hero: photo with blue overlay */
.pd-hero {
  position: relative; color: #fff; text-align: center;
  background: linear-gradient(rgba(0, 92, 230, .78), rgba(0, 70, 200, .82)), var(--hero-bg) center / cover no-repeat;
  padding-block: clamp(56px, 7vw, 100px) clamp(120px, 12vw, 170px);
}
.pd-hero h1 { font-size: clamp(2rem, 1.2rem + 2.8vw, 3.25rem); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.pd-hero h1 span { display: block; font-size: .92em; }
.pd-hero-text { max-width: 50rem; margin: 30px auto 0; font-size: clamp(1rem, .9rem + .4vw, 1.25rem); line-height: 1.35; opacity: .95; }
.pd-hero-actions { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 34px; }
.pd-hero-actions .btn { font-size: 1.1rem; }

/* Four highlight cards overlapping the hero, tied together by thin connector lines */
.pd-hl-wrap { position: relative; margin-top: clamp(-120px, -9vw, -80px); }
.pd-hl-wrap::before { content: ""; position: absolute; inset: 40% var(--gutter) -40px; border: 1px solid var(--blue); border-top: 0; pointer-events: none; }
.pd-hl { list-style: none; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 22px); padding-inline: clamp(0px, 3vw, 40px); }
.pd-hl-card { position: relative; background: #e8e9ed; border-radius: var(--radius); box-shadow: 4px 8px 14px rgba(0, 0, 0, .22); padding: 24px 16px 30px; text-align: center; }
.pd-hl-card::after { content: ""; position: absolute; left: 50%; top: 100%; height: 40px; border-left: 1px solid var(--blue); }
.pd-hl-ico { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(180deg, var(--blue-deep), var(--violet)); color: #fff; }
.pd-hl-card h2 { margin-top: 16px; font-size: clamp(1.05rem, .95rem + .35vw, 1.3rem); font-weight: 500; color: var(--navy); line-height: 1.2; }
.pd-hl-card p { margin-top: 12px; font-size: .9rem; color: var(--navy); font-weight: 300; }

/* Features: alternating text cards + illustration boxes over blue blobs */
.pd-features { position: relative; overflow: hidden; padding-top: clamp(80px, 9vw, 130px); }
.pd-blob { position: absolute; border-radius: 50%; background: var(--blue); pointer-events: none; }
.pd-blob.b1 { width: 62vw; height: 62vw; max-width: 56.25rem; max-height: 900px; right: -22vw; top: 6%; }
.pd-blob.b2 { width: 70vw; height: 70vw; max-width: 61.25rem; max-height: 980px; left: -42vw; top: 38%; }
.pd-blob.b3 { width: 60vw; height: 60vw; max-width: 53.75rem; max-height: 860px; right: -30vw; bottom: -6%; }
.pd-features .container { position: relative; }
.pd-head { max-width: 47.5rem; margin-bottom: clamp(36px, 5vw, 60px); }
.pd-head h2 { font-size: clamp(1.7rem, 1.1rem + 2vw, 2.6rem); font-weight: 700; color: var(--navy); line-height: 1.15; }
.pd-head p { margin-top: 14px; font-size: clamp(1.05rem, .95rem + .4vw, 1.35rem); color: var(--text); line-height: 1.3; max-width: 35rem; }
.pd-rows { display: grid; gap: clamp(24px, 3vw, 32px); }
.pd-row { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; }
.pd-row.is-flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); }
.pd-row.is-flip .pd-img { order: -1; }
.pd-text { background: #e8e9ed; border: 1.5px solid var(--blue); border-radius: 0 0 60px 0; box-shadow: 0 4px 6px rgba(0, 0, 0, .18); padding: clamp(22px, 3vw, 34px) clamp(22px, 4vw, 70px) clamp(26px, 3vw, 36px); color: var(--text); }
.pd-row.is-flip .pd-text { border-radius: 60px 0 0 0; }
.pd-text h3 { font-size: clamp(1.1rem, 1rem + .4vw, 1.4rem); font-weight: 500; color: #444; line-height: 1.25; }
.pd-text > p { margin-top: 10px; line-height: 1.5; }
.pd-text ul { list-style: disc; margin-top: 10px; padding-left: 20px; display: grid; gap: 6px; line-height: 1.45; font-size: clamp(.92rem, .88rem + .15vw, 1rem); }
.pd-text b { color: #333; font-weight: 600; }
.pd-img { background: #e6e6e6; border: 1.5px solid var(--acc); border-radius: 6px; box-shadow: 3px 4px 8px rgba(0, 0, 0, .25); aspect-ratio: 4 / 3.1; display: grid; place-items: center; overflow: hidden; max-width: 23.75rem; width: 100%; justify-self: center; }
.pd-img img { width: 100%; height: 100%; object-fit: contain; padding: 6%; mix-blend-mode: multiply; }
.pd-img img[src$="billing.webp"], .pd-img img[src$="purchase.webp"], .pd-img img[src$="inventory.webp"], .pd-img img[src$="whatsapp.webp"],
.pd-img img[src$="gst.webp"], .pd-img img[src$="breakage.webp"], .pd-img img[src$="import.webp"] { padding: 0; object-fit: cover; }

.page-product .testimonials { background: #e8e9ed; }
.page-product .review-card, .page-product .metric, .page-product .cta-card { background: #e8e9ed; }

@media (max-width: 960px) {
  .pd-hl { grid-template-columns: repeat(2, 1fr); padding-inline: 0; }
  .pd-hl-wrap::before, .pd-hl-card::after { display: none; }
  /* tablets keep text + picture side by side, just with a narrower picture */
  .pd-row { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; }
  .pd-row.is-flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
  .pd-text, .pd-row.is-flip .pd-text { border-radius: 0 0 40px 0; }
  .pd-blob { opacity: .9; }
}
@media (max-width: 640px) {
  .pd-row, .pd-row.is-flip { grid-template-columns: minmax(0, 1fr); }
  .pd-row .pd-img, .pd-row.is-flip .pd-img { order: -1; max-width: 21.25rem; }
}
@media (max-width: 520px) {
  .pd-hl { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pd-hl-card { padding: 18px 10px 20px; }
  .pd-hero-actions .btn { flex: 1 1 100%; justify-content: center; }
}
