/*
  product-style.css
  Shared stylesheet for all WheelchairDealer.in product pages
  Place at: /commode-wheelchair/product-style.css
  Reference in sub-folders as: ../product-style.css

  FONT NOTE:
  No external fonts are imported here — this matches wheelchairdealer.in which
  uses a system font stack (no Google Fonts link found in the site source).

  To verify your site's exact font: Chrome → Inspect any text → Computed tab → font-family.
  Then update --font-body and --font-heading below to match.
*/

/* ── TOKENS ─────────────────────────────────────────── */
:root {
  /* === FONT STACK (system fonts, no external load) === */
  --font-body:    'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-heading: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

  /* === BASE SIZES matching wheelchairdealer.in === */
  --fs-body:  14px;   /* body base — typical for this type of site */
  --fs-xs:    0.79rem;
  --fs-sm:    0.857rem;
  --fs-base:  1rem;
  --fs-md:    1.07rem;
  --fs-lg:    1.21rem;
  --fs-xl:    1.5rem;
  --fs-2xl:   1.85rem;

  /* === COLOURS === */
  --primary:        #1a5276;
  --primary-dark:   #154360;
  --primary-light:  #2e86c1;
  --accent:         #27ae60;
  --accent-hover:   #1e8449;
  --whatsapp:       #25d366;
  --whatsapp-hover: #1ebe5d;
  --warn:           #d35400;
  --text:           #1c2833;
  --text-muted:     #5d6d7e;
  --border:         #d5e1ed;
  --bg:             #f2f6fb;
  --bg-light:       #eaf1f8;
  --white:          #ffffff;
  --card-shadow:    0 2px 14px rgba(26,82,118,0.10);
  --radius:         10px;
}

/* ── RESET ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
  font-family: var(--font-body);
  background:  var(--bg);
  color:       var(--text);
  font-size:   var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a   { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.3;
  font-weight: 700;
}

/* ── LAYOUT ──────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.page-main { padding: 36px 0 60px; }

/* ── NAV ─────────────────────────────────────────────── */
nav {
  background: var(--primary-dark);
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 62px; position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.nav-brand       { color: var(--white); font-weight: 700; font-size: 1.05rem; line-height: 1.2; }
.nav-brand span  { display: block; font-size: 0.68rem; font-weight: 400; opacity: 0.75; letter-spacing: 0.04em; }
.nav-links       { display: flex; gap: 24px; align-items: center; }
.nav-links a     { color: rgba(255,255,255,0.88); font-size: var(--fs-sm); font-weight: 600; transition: color 0.2s; }
.nav-links a:hover { color: var(--white); }
.nav-call {
  background: var(--accent); color: var(--white) !important;
  padding: 7px 16px; border-radius: 5px; font-weight: 700 !important;
  font-size: var(--fs-sm) !important; transition: background 0.2s;
  display: inline-flex; align-items: center; gap: 7px;
}
.nav-call:hover { background: var(--accent-hover) !important; }
.nav-call i     { font-size: 0.75rem; }

/* ── BREADCRUMB ──────────────────────────────────────── */
.breadcrumb        { background: var(--white); border-bottom: 1px solid var(--border); padding: 10px 0; }
.breadcrumb .inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.breadcrumb ol     { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; list-style: none; font-size: var(--fs-xs); color: var(--text-muted); }
.breadcrumb li:not(:last-child)::after { content: '›'; margin-left: 5px; }
.breadcrumb a      { color: var(--primary-light); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb li:last-child { color: var(--text); font-weight: 600; }

/* ── PRODUCT HERO ────────────────────────────────────── */
.product-hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--card-shadow); padding: 32px; margin-bottom: 32px;
}

/* Gallery */
.gallery      { display: flex; flex-direction: column; gap: 12px; }
.gallery-main {
  border-radius: 8px; overflow: hidden; border: 1px solid var(--border);
  background: var(--bg-light); aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center; position: relative;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }

.badge {
  position: absolute; top: 14px; left: 14px;
  font-size: var(--fs-xs); font-weight: 700;
  padding: 4px 12px; border-radius: 20px;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--white);
  display: inline-flex; align-items: center; gap: 5px;
}
.badge i        { font-size: 0.7rem; }
.badge-popular  { background: var(--warn); }
.badge-premium  { background: var(--primary); }
.badge-new      { background: var(--accent); }

.gallery-thumbs        { display: flex; gap: 10px; }
.gallery-thumbs button {
  flex: 1; border: 2px solid var(--border); border-radius: 6px;
  overflow: hidden; cursor: pointer; padding: 0; background: var(--bg-light);
  aspect-ratio: 1; transition: border-color 0.2s;
}
.gallery-thumbs button.active { border-color: var(--primary-light); }
.gallery-thumbs button:hover  { border-color: var(--primary); }
.gallery-thumbs img    { width: 100%; height: 100%; object-fit: cover; }

/* ── PRODUCT INFO PANEL ──────────────────────────────── */
.product-info  { display: flex; flex-direction: column; gap: 18px; }

.brand-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: #ddeefa; color: var(--primary); font-size: var(--fs-xs);
  font-weight: 700; padding: 4px 12px; border-radius: 20px; width: fit-content;
  letter-spacing: 0.02em;
}
.brand-tag::before { content: ''; width: 7px; height: 7px; background: var(--primary-light); border-radius: 50%; flex-shrink: 0; }

.product-title { font-size: var(--fs-xl); color: var(--primary-dark); font-weight: 700; }

.rating-row   { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.stars        { color: #e67e00; font-size: 1rem; letter-spacing: 1px; }
.review-count { font-size: var(--fs-sm); color: var(--text-muted); }
.review-count a { color: var(--primary-light); text-decoration: underline; }

.price-block  { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 14px 0; }
.price-label  { font-size: var(--fs-xs); color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 3px; font-weight: 600; }
.price-main   { font-size: var(--fs-2xl); font-weight: 700; color: var(--primary-dark); line-height: 1.1; }
.price-note   { font-size: var(--fs-xs); color: var(--text-muted); margin-top: 5px; }

/* Feature chips */
.feature-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  display: inline-flex; align-items: center; gap: 5px;
  background: #ddeefa; color: var(--primary);
  font-size: var(--fs-xs); font-weight: 600;
  padding: 5px 11px; border-radius: 20px; border: 1px solid #b8d4ec;
}
.chip i      { font-size: 0.72rem; flex-shrink: 0; }
.chip.green  { background: #d5f5e3; color: var(--accent); border-color: #a9dfbf; }

/* Stock badge */
.stock-badge { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-sm); font-weight: 600; color: var(--accent); }
.stock-dot   { width: 9px; height: 9px; background: var(--accent); border-radius: 50%; flex-shrink: 0; animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.45;transform:scale(1.4)} }

/* CTA buttons */
.cta-group { display: flex; flex-direction: column; gap: 10px; }

.btn-whatsapp {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--whatsapp); color: var(--white); font-weight: 700;
  font-size: var(--fs-md); padding: 13px 24px; border-radius: 7px;
  border: none; cursor: pointer; transition: background 0.2s, transform 0.15s;
  text-decoration: none; width: 100%; font-family: var(--font-body);
}
.btn-whatsapp:hover { background: var(--whatsapp-hover); transform: translateY(-1px); }
.btn-whatsapp i     { font-size: 1.15rem; flex-shrink: 0; }

.btn-call {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--white); color: var(--primary-dark); font-weight: 600;
  font-size: var(--fs-base); padding: 11px 24px; border-radius: 7px;
  border: 2px solid var(--primary); cursor: pointer; transition: all 0.2s;
  text-decoration: none; width: 100%; font-family: var(--font-body);
}
.btn-call:hover { background: var(--primary); color: var(--white); }
.btn-call i     { font-size: 0.85rem; flex-shrink: 0; }

/* Trust bar */
.trust-row  { display: flex; gap: 12px; flex-wrap: wrap; padding: 12px 14px; background: var(--bg); border-radius: 8px; border: 1px solid var(--border); }
.trust-item { display: flex; align-items: center; gap: 7px; font-size: var(--fs-xs); color: var(--text-muted); font-weight: 600; }
.trust-item i { font-size: 0.82rem; color: var(--primary-light); flex-shrink: 0; }

/* ── TABS ────────────────────────────────────────────── */
.tabs-section { background: var(--white); border-radius: var(--radius); box-shadow: var(--card-shadow); margin-bottom: 32px; overflow: hidden; }
.tab-nav      { display: flex; border-bottom: 2px solid var(--border); background: #f5f8fc; overflow-x: auto; }
.tab-btn {
  padding: 13px 20px; font-size: var(--fs-sm); font-weight: 600;
  color: var(--text-muted); background: none; border: none; cursor: pointer;
  border-bottom: 3px solid transparent; margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s; white-space: nowrap;
  font-family: var(--font-body);
}
.tab-btn.active             { color: var(--primary); border-bottom-color: var(--primary-light); }
.tab-btn:hover:not(.active) { color: var(--text); }
.tab-panel                  { display: none; padding: 28px; }
.tab-panel.active           { display: block; }

/* Spec table */
.spec-table    { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.spec-table tr:nth-child(even) td { background: #f5f8fc; }
.spec-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: top; line-height: 1.5; }
.spec-table td:first-child { font-weight: 600; color: var(--primary-dark); width: 38%; }

/* Features grid */
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.feature-item  { display: flex; gap: 12px; align-items: flex-start; }
.feature-icon  { width: 38px; height: 38px; background: #ddeefa; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-icon i { font-size: 0.95rem; color: var(--primary); }
.feature-text strong { display: block; font-size: var(--fs-sm); color: var(--primary-dark); margin-bottom: 2px; font-weight: 700; }
.feature-text span   { font-size: var(--fs-xs); color: var(--text-muted); line-height: 1.5; }

/* Description body */
.desc-body h3              { font-size: var(--fs-md); margin: 20px 0 7px; color: var(--primary-dark); }
.desc-body h3:first-child  { margin-top: 0; }
.desc-body p               { color: var(--text-muted); font-size: var(--fs-sm); margin-bottom: 9px; line-height: 1.7; }
.desc-body ul              { color: var(--text-muted); font-size: var(--fs-sm); margin-left: 18px; }
.desc-body ul li           { margin-bottom: 6px; line-height: 1.6; }

/* Reviews */
.reviews-summary  { margin-bottom: 22px; }
.reviews-score    { font-size: 2.6rem; font-weight: 700; color: var(--primary-dark); line-height: 1; display: flex; align-items: center; gap: 10px; }
.reviews-score i  { color: #e67e00; font-size: 1.9rem; }
.reviews-meta     { color: var(--text-muted); font-size: var(--fs-sm); margin-top: 5px; }
.reviews-list     { display: flex; flex-direction: column; gap: 14px; }
.review-card      { border: 1px solid var(--border); border-radius: 8px; padding: 16px; }
.review-header    { display: flex; justify-content: space-between; align-items: center; margin-bottom: 7px; }
.review-header strong { font-size: var(--fs-sm); color: var(--text); font-weight: 700; }
.review-stars     { color: #e67e00; font-size: 0.85rem; letter-spacing: 1px; }
.review-body      { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.7; }

/* FAQ */
.faq-item  { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 16px 0; font-size: var(--fs-base); font-weight: 600; color: var(--primary-dark);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px;
  font-family: var(--font-body);
}
.faq-icon                { font-size: 0.78rem; color: var(--primary-light); flex-shrink: 0; transition: transform 0.22s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a                   { display: none; padding-bottom: 14px; font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.72; }
.faq-item.open .faq-a    { display: block; }

/* ── RELATED PRODUCTS ────────────────────────────────── */
.section-title { font-size: var(--fs-lg); color: var(--primary-dark); margin-bottom: 18px; font-weight: 700; }
.related-grid  { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-bottom: 32px; }
.related-card  { background: var(--white); border-radius: var(--radius); box-shadow: var(--card-shadow); overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; }
.related-card:hover  { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(26,82,118,0.14); }
.related-card img    { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.related-body        { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.related-brand       { font-size: 0.7rem; color: var(--text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.related-name        { font-size: var(--fs-sm); font-weight: 600; color: var(--primary-dark); margin-bottom: 6px; line-height: 1.4; flex: 1; }
.related-price       { font-size: var(--fs-base); font-weight: 700; color: var(--primary); }
.related-cta         { display: flex; align-items: center; justify-content: center; gap: 5px; background: var(--primary); color: var(--white); font-size: var(--fs-xs); font-weight: 600; padding: 8px; margin-top: 10px; border-radius: 5px; transition: background 0.2s; font-family: var(--font-body); }
.related-cta i       { font-size: 0.68rem; }
.related-cta:hover   { background: var(--primary-dark); }

/* ── BOTTOM CTA BANNER ───────────────────────────────── */
.cta-banner      { background: var(--primary-dark); border-radius: var(--radius); padding: 32px; text-align: center; color: var(--white); }
.cta-banner h2   { font-size: var(--fs-lg); margin-bottom: 8px; color: var(--white); }
.cta-banner p    { color: rgba(255,255,255,0.78); margin-bottom: 20px; font-size: var(--fs-sm); }
.cta-banner-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-banner-btns a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; padding: 12px 26px; border-radius: 7px; font-size: var(--fs-sm); transition: background 0.2s, color 0.2s; font-family: var(--font-body); }
.cta-banner-btns a i { font-size: 0.88rem; }
.btn-wa  { background: var(--whatsapp); color: var(--white); }
.btn-wa:hover { background: var(--whatsapp-hover); }
.btn-ph  { background: var(--white); color: var(--primary-dark); }
.btn-ph:hover { background: #dce5ef; }

/* ── STICKY MOBILE BAR ───────────────────────────────── */
.sticky-bar   { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 99; background: var(--white); border-top: 2px solid var(--border); padding: 10px 16px; gap: 10px; box-shadow: 0 -4px 18px rgba(0,0,0,0.11); }
.sticky-bar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 12px; border-radius: 7px; font-weight: 700; font-size: var(--fs-sm); font-family: var(--font-body); }
.sticky-bar a i { font-size: 0.95rem; }
.sticky-wa    { background: var(--whatsapp); color: var(--white); }
.sticky-call  { background: var(--primary); color: var(--white); }

/* ── FOOTER ──────────────────────────────────────────── */
footer              { background: var(--primary-dark); color: rgba(255,255,255,0.78); padding: 40px 0 20px; }
.footer-grid        { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 28px; }
.footer-brand strong { color: var(--white); font-size: var(--fs-base); display: block; margin-bottom: 7px; font-weight: 700; }
.footer-brand p     { font-size: var(--fs-xs); line-height: 1.65; }
.footer-col h4      { color: var(--white); font-size: var(--fs-xs); font-weight: 700; margin-bottom: 12px; letter-spacing: 0.05em; text-transform: uppercase; }
.footer-col ul      { list-style: none; }
.footer-col li      { margin-bottom: 8px; }
.footer-col a       { font-size: var(--fs-xs); color: rgba(255,255,255,0.68); transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom      { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 16px; text-align: center; font-size: var(--fs-xs); color: rgba(255,255,255,0.44); }

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 900px) {
  .product-hero  { grid-template-columns: 1fr; gap: 24px; padding: 22px; }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 22px; }
  .related-grid  { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links     { display: none; }
  .related-grid  { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; }
  .product-title { font-size: 1.25rem; }
  .sticky-bar    { display: flex; }
  body           { padding-bottom: 72px; }
}
