/* ============================================================
   Equipiva Affiliate — style.css v5
   Premium e-commerce look | USD | Google Shopping ready
   ============================================================ */

:root {
  --eq-primary:    #FF8C00;
  --eq-primary-text: #b85e00;
  --eq-primary-dk: #e07a00;
  --eq-primary-lt: #fff4e6;
  --eq-green:      #26a541;
  --eq-red:        #d0312d;
  --eq-bg:         #f5f5f5;
  --eq-white:      #ffffff;
  --eq-border:     #e8e8e8;
  --eq-text:       #1a1a1a;
  --eq-muted:      #696969;
  --eq-radius:     8px;
  --eq-shadow:     0 2px 12px rgba(0,0,0,.08);
}

/* ── Base ──────────────────────────────────────────────────── */
.eqaff-wrap {
  max-width:1200px;
  margin:0 auto;
  padding:0 20px 60px;
  font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  color:var(--eq-text);
}

/* ── Breadcrumb ────────────────────────────────────────────── */
.eqaff-breadcrumb { font-size:13px; color:var(--eq-muted); padding:14px 0; }
.eqaff-breadcrumb a { color:var(--eq-primary-text); text-decoration:none; }
.eqaff-breadcrumb a:hover { text-decoration:underline; }

/* ════════════════════════════════════════════════════════════
   SINGLE PRODUCT PAGE
   ════════════════════════════════════════════════════════════ */

/* 2-column layout: gallery | info */
.eqaff-product-main {
  display:grid;
  grid-template-columns:460px 1fr;
  gap:28px;
  background:var(--eq-white);
  border-radius:16px;
  box-shadow:0 4px 24px rgba(0,0,0,.07);
  padding:28px;
  margin-bottom:24px;
  border:1px solid var(--eq-border);
}

/* ── Gallery ───────────────────────────────────────────────── */
.eqaff-gallery { position:sticky; top:70px; align-self:start; }

.eqaff-gallery-main {
  position:relative;
  width:100%;
  aspect-ratio:1/1;
  overflow:hidden;
  border:1px solid var(--eq-border);
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f9f9f9;
}
.eqaff-gallery-main img {
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  transition:transform .35s cubic-bezier(.25,.46,.45,.94);
}
.eqaff-gallery-main:hover img { transform:scale(1.04); }

/* Share wrap — outside gallery-main, positioned relative to .eqaff-gallery
   (sticky/relative both create a containing block so absolute children work) */
.eqaff-img-share-wrap {
  position:absolute;
  top:12px;
  right:12px;
  z-index:50;
}

.eqaff-img-share-btn {
  display:flex;
  align-items:center;
  gap:6px;
  padding:7px 14px 7px 10px;
  background:rgba(255,255,255,.95);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  border:1px solid rgba(0,0,0,.1);
  border-radius:99px;
  box-shadow:0 2px 10px rgba(0,0,0,.15);
  cursor:pointer;
  color:var(--eq-text);
  font-size:13px;
  font-weight:600;
  transition:box-shadow .2s, color .2s, background .2s;
  white-space:nowrap;
}
.eqaff-img-share-btn::after { content:'Share'; }
.eqaff-img-share-btn:hover { background:#fff; box-shadow:0 4px 16px rgba(0,0,0,.22); color:var(--eq-primary); }
.eqaff-img-share-btn:focus-visible { outline:2px solid var(--eq-primary); outline-offset:2px; }

/* ── Share panel — desktop: dropdown; mobile: fixed bottom sheet ── */
.eqaff-share-panel {
  position:absolute;
  top:calc(100% + 10px);
  right:0;
  background:#fff;
  border-radius:16px;
  box-shadow:0 10px 40px rgba(0,0,0,.16), 0 2px 8px rgba(0,0,0,.08);
  padding:14px 12px 12px;
  width:236px;
  z-index:1000001;
  animation:eq-pop-in .18s cubic-bezier(.34,1.56,.64,1);
}
@keyframes eq-pop-in {
  from { opacity:0; transform:scale(.93) translateY(-8px); }
  to   { opacity:1; transform:scale(1)   translateY(0); }
}

/* Mobile bottom sheet — fixed, full-width, slides up */
@media(max-width:600px){
  /* Break the share wrap OUT of the sticky gallery stacking context so
     position:fixed children are placed relative to the viewport, not the
     sticky ancestor. Without this, the panel renders visually but touch
     events are swallowed by the stacking context and icons are unclickable. */
  .eqaff-img-share-wrap {
    position:fixed !important;
    top:auto !important;
    bottom:0 !important;
    left:0 !important;
    right:0 !important;
    z-index:1000002 !important;
    pointer-events:none; /* the wrap itself is invisible — only children receive touches */
  }
  /* Re-enable touch on the actual button */
  .eqaff-img-share-btn {
    pointer-events:auto;
    position:fixed !important;
    bottom:24px !important;
    right:16px !important;
    left:auto !important;
    top:auto !important;
  }
  .eqaff-share-panel {
    position:fixed !important;
    top:auto !important;
    bottom:0 !important;
    left:0 !important;
    right:0 !important;
    width:100% !important;
    border-radius:20px 20px 0 0 !important;
    padding:20px 16px 32px !important;
    box-shadow:0 -4px 40px rgba(0,0,0,.18) !important;
    z-index:1000001 !important;
    animation:eq-sheet-up .25s cubic-bezier(.25,.46,.45,.94) !important;
    max-height:85vh;
    overflow-y:auto;
    pointer-events:auto !important; /* always clickable */
  }
  @keyframes eq-sheet-up {
    from { transform:translateY(100%); opacity:.6; }
    to   { transform:translateY(0);    opacity:1; }
  }
  /* Drag handle pill */
  .eqaff-share-panel::before {
    content:'';
    display:block;
    width:40px;
    height:4px;
    background:#ddd;
    border-radius:2px;
    margin:0 auto 16px;
  }
  /* Share button on mobile — full pill with icon + text, same as desktop */
  .eqaff-img-share-btn::after { content:'Share'; display:inline; }
  .eqaff-img-share-btn {
    padding:8px 14px 8px 10px;
    border-radius:99px;
    width:auto;
    height:auto;
    display:flex;
    align-items:center;
    gap:6px;
    background:rgba(255,255,255,.95);
    box-shadow:0 2px 10px rgba(0,0,0,.2);
    font-size:13px;
    font-weight:600;
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
  }
  /* .eqaff-img-share-wrap position handled in the fix block above */
}

/* Dimmed backdrop behind bottom sheet on mobile */
.eqaff-share-backdrop {
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.45);
  z-index:1000000;
  animation:eq-fade-in .2s ease;
}
@keyframes eq-fade-in {
  from { opacity:0; }
  to   { opacity:1; }
}
.eqaff-share-backdrop.active { display:block; }

.eqaff-share-panel-title {
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.7px;
  color:var(--eq-muted);
  margin-bottom:10px;
  padding-bottom:8px;
  border-bottom:1px solid var(--eq-bg);
}
@media(max-width:600px){
  .eqaff-share-panel-title { font-size:15px; text-align:center; letter-spacing:0; font-weight:700; color:var(--eq-text); text-transform:none; }
}

.eqaff-share-platforms { display:grid; grid-template-columns:repeat(3,1fr); gap:6px; }
@media(max-width:600px){
  .eqaff-share-platforms { grid-template-columns:repeat(4,1fr); gap:10px; }
}
.eqaff-sp-btn {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  padding:10px 4px 8px;
  border-radius:10px;
  border:none;
  cursor:pointer;
  text-decoration:none;
  color:var(--eq-text);
  background:var(--eq-bg);
  transition:background .15s, transform .15s, box-shadow .15s;
  min-height:62px;
}
.eqaff-sp-btn:hover { background:#ebebeb; transform:translateY(-2px); box-shadow:0 4px 12px rgba(0,0,0,.1); }
.eqaff-sp-btn:active { transform:translateY(0); }
.eqaff-sp-icon {
  width:38px;
  height:38px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  flex-shrink:0;
  transition:transform .15s;
}
@media(max-width:600px){
  .eqaff-sp-icon { width:44px; height:44px; }
  .eqaff-sp-btn  { min-height:72px; border-radius:14px; }
}
.eqaff-sp-btn:hover .eqaff-sp-icon { transform:scale(1.08); }
.eqaff-sp-whatsapp .eqaff-sp-icon { background:#25d366; }
.eqaff-sp-facebook .eqaff-sp-icon { background:#1877f2; }
.eqaff-sp-x        .eqaff-sp-icon { background:#000; }
.eqaff-sp-linkedin .eqaff-sp-icon { background:#0a66c2; }
.eqaff-sp-email    .eqaff-sp-icon { background:#ea4335; }
.eqaff-sp-copy     .eqaff-sp-icon { background:var(--eq-primary); }
.eqaff-sp-native   .eqaff-sp-icon { background:#555; }
.eqaff-sp-label { font-size:10px; font-weight:600; color:#444; text-align:center; line-height:1.2; }
@media(max-width:600px){ .eqaff-sp-label { font-size:11px; } }

/* Thumbnails */
.eqaff-gallery-thumbs { display:flex; gap:8px; margin-top:12px; flex-wrap:wrap; }
.eqaff-thumb-btn {
  width:68px; height:68px; padding:0;
  border:2px solid var(--eq-border);
  border-radius:8px;
  overflow:hidden;
  cursor:pointer;
  background:none;
  transition:border-color .2s;
}
.eqaff-thumb-btn img { width:100%; height:100%; object-fit:cover; display:block; }
.eqaff-thumb-btn:hover, .eqaff-thumb-btn.active { border-color:var(--eq-primary); }

/* ── Product Info panel ────────────────────────────────────── */
.eqaff-brand {
  font-size:11px;
  color:var(--eq-primary);
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.8px;
  margin-bottom:6px;
}
.eqaff-product-title {
  font-size:22px;
  font-weight:700;
  line-height:1.35;
  margin:0 0 12px;
  color:var(--eq-text);
}
.eqaff-rating { display:flex; align-items:center; gap:6px; margin-bottom:14px; flex-wrap:wrap; }
.eqaff-stars  { color:#f5a623; font-size:16px; }
.eqaff-rating-val {
  font-size:13px;
  background:var(--eq-green);
  color:#fff;
  padding:2px 7px;
  border-radius:4px;
  font-weight:700;
}
.eqaff-rating-count { font-size:13px; color:var(--eq-muted); }

/* ════════════════════════════════════════════════════════════
   PRICING BLOCK — Premium professional look
   ════════════════════════════════════════════════════════════ */
.eqaff-price-block {
  background:linear-gradient(135deg,#fffaf3 0%,#fff8ed 100%);
  border:1.5px solid #fde8c0;
  border-radius:14px;
  padding:20px 22px;
  margin-bottom:22px;
  box-shadow:0 4px 18px rgba(255,140,0,.08);
}

/* 🔥 OFF badge */
.eqaff-discount-badge {
  display:inline-flex;
  align-items:center;
  gap:5px;
  background:linear-gradient(90deg,#ff4e00 0%,#f7971e 100%);
  color:#fff;
  font-size:11px;
  font-weight:900;
  letter-spacing:.8px;
  text-transform:uppercase;
  padding:4px 12px 4px 9px;
  border-radius:99px;
  margin-bottom:12px;
  box-shadow:0 3px 12px rgba(255,78,0,.32);
}
.eqaff-discount-badge::before { content:'🔥'; font-size:13px; }

/* Price row */
.eqaff-price-row {
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  margin-bottom:12px;
}

/* Big selling price */
.eqaff-selling-price {
  font-size:38px;
  font-weight:900;
  color:#111;
  line-height:1;
  letter-spacing:-1.5px;
}

/* MRP column */
.eqaff-market-price {
  display:flex;
  flex-direction:column;
  gap:2px;
  padding-left:12px;
  border-left:2px solid #fde8c0;
}
.eqaff-mrp-label {
  font-size:9px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.8px;
  color:#bbb;
  line-height:1;
}
.eqaff-market-price s {
  font-size:18px;
  color:#c0c0c0;
  font-weight:500;
  text-decoration:line-through;
  text-decoration-color:#d0d0d0;
}

/* ↓ You save pill */
.eqaff-you-save {
  display:inline-flex;
  align-items:center;
  gap:6px;
  background:linear-gradient(90deg,#00b09b,#00c853);
  color:#fff;
  font-size:13px;
  font-weight:800;
  padding:6px 16px;
  border-radius:99px;
  box-shadow:0 3px 10px rgba(0,176,155,.28);
  letter-spacing:.2px;
}
.eqaff-you-save::before { content:'↓'; font-size:15px; font-weight:900; }

/* ── Key features ──────────────────────────────────────────── */
.eqaff-features { margin-bottom:20px; }
.eqaff-features h2, .eqaff-features h3 { font-size:12px; font-weight:700; color:var(--eq-muted); text-transform:uppercase; letter-spacing:.6px; margin:0 0 8px; }
.eqaff-features ul { margin:0; padding:0; list-style:none; }
.eqaff-features li { padding:6px 0 6px 22px; position:relative; font-size:14px; border-bottom:1px solid var(--eq-bg); }
.eqaff-features li::before { content:'✓'; position:absolute; left:0; color:var(--eq-green); font-weight:700; }

/* ── CTA buttons ───────────────────────────────────────────── */
.eqaff-cta-sticky { display:flex; gap:10px; margin:20px 0; flex-wrap:wrap; align-items:center; }
.eqaff-wtb-btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  background:var(--eq-primary);
  color:#fff;
  font-size:15px;
  font-weight:700;
  padding:13px 26px;
  border:none;
  border-radius:var(--eq-radius);
  cursor:pointer;
  transition:background .2s, transform .15s, box-shadow .2s;
  text-decoration:none;
  white-space:nowrap;
  box-shadow:0 4px 14px rgba(255,140,0,.3);
}
.eqaff-wtb-btn:hover { background:var(--eq-primary-dk); transform:translateY(-1px); box-shadow:0 6px 20px rgba(255,140,0,.4); }
.eqaff-view-specs-btn {
  display:inline-flex;
  align-items:center;
  padding:13px 20px;
  border:2px solid var(--eq-primary);
  color:var(--eq-primary);
  font-weight:700;
  font-size:14px;
  border-radius:var(--eq-radius);
  text-decoration:none;
  transition:all .2s;
}
.eqaff-view-specs-btn:hover { background:var(--eq-primary); color:#fff; }

/* ── Quick specs ───────────────────────────────────────────── */
.eqaff-specs-quick { margin-top:16px; }
.eqaff-specs-quick table { width:100%; border-collapse:collapse; font-size:13px; }
.eqaff-specs-quick th, .eqaff-specs-quick td { padding:7px 8px; border-bottom:1px solid var(--eq-bg); text-align:left; }
.eqaff-specs-quick th { color:var(--eq-muted); width:45%; font-weight:500; }

/* ── Community Rating Widget ───────────────────────────────── */
.eqaff-rating-widget {
  margin:20px 0 0;
  padding:16px 18px;
  background:var(--eq-primary-lt);
  border:1px solid #fde8c0;
  border-radius:12px;
}
.eqaff-rw-label { font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.6px; color:var(--eq-muted); margin-bottom:10px; }
.eqaff-rw-stars { display:flex; gap:3px; margin-bottom:8px; }
.eqaff-rw-star {
  background:none; border:none; cursor:pointer; padding:0 2px;
  font-size:30px; color:#ddd; line-height:1;
  transition:color .12s, transform .1s;
}
.eqaff-rw-star.active, .eqaff-rw-star.hover { color:#f5a623; }
.eqaff-rw-star:hover, .eqaff-rw-star:focus-visible { color:#f5a623; transform:scale(1.2); outline:none; }
.eqaff-rw-star:focus-visible { outline:2px solid var(--eq-primary); border-radius:2px; }
.eqaff-rw-meta { font-size:14px; margin-bottom:4px; }
.eqaff-rw-meta strong { font-size:20px; font-weight:700; color:var(--eq-primary); margin-right:4px; }
.eqaff-rw-meta span { color:var(--eq-muted); font-size:12px; }
.eqaff-rw-msg { font-size:13px; min-height:16px; font-weight:500; margin-top:4px; }
.eqaff-rw-msg--success { color:var(--eq-green); }
.eqaff-rw-msg--error   { color:var(--eq-red); }
.eqaff-rw-msg--info    { color:var(--eq-muted); }

/* ── Floating CTA ──────────────────────────────────────────── */
.eqaff-floating-wtb {
  position:fixed; bottom:20px; right:20px; z-index:999;
  box-shadow:0 4px 20px rgba(255,140,0,.45); border-radius:30px;
}
.eqaff-floating-wtb .eqaff-wtb-btn { border-radius:30px; padding:14px 26px; font-size:14px; }

/* ── Content sections ──────────────────────────────────────── */
.eqaff-content-body { display:grid; gap:20px; }
.eqaff-section {
  background:var(--eq-white);
  border-radius:14px;
  box-shadow:var(--eq-shadow);
  padding:26px 28px;
  border:1px solid var(--eq-border);
}
.eqaff-section h2 {
  font-size:18px;
  font-weight:700;
  margin:0 0 18px;
  padding-bottom:12px;
  border-bottom:2px solid var(--eq-bg);
}
.eqaff-description { font-size:15px; line-height:1.75; }

/* Specs table */
.eqaff-specs-table-wrap { overflow-x:auto; }
.eqaff-specs-table { width:100%; border-collapse:collapse; font-size:14px; }
.eqaff-specs-table tr:nth-child(even) { background:#fafafa; }
.eqaff-specs-table th, .eqaff-specs-table td { padding:10px 14px; text-align:left; border-bottom:1px solid var(--eq-border); }
.eqaff-specs-table th { color:var(--eq-muted); width:35%; font-weight:600; }

/* Pros/cons */
.eqaff-pros-cons { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.eqaff-pros { background:#f0fff4; border:1px solid #b7e4c7; border-radius:10px; padding:16px; }
.eqaff-cons { background:#fff5f5; border:1px solid #f5c6c6; border-radius:10px; padding:16px; }
.eqaff-pros-title { color:var(--eq-green); margin:0 0 10px; font-size:15px; }
.eqaff-cons-title { color:var(--eq-red);   margin:0 0 10px; font-size:15px; }
.eqaff-pros ul, .eqaff-cons ul { margin:0; padding:0; list-style:none; }
.eqaff-pros li, .eqaff-cons li { padding:5px 0; font-size:14px; border-bottom:1px solid rgba(0,0,0,.05); }
.eqaff-pros li::before { content:'✔ '; color:var(--eq-green); }
.eqaff-cons li::before { content:'✘ '; color:var(--eq-red); }

/* Comparison */
.eqaff-comparison-wrap { overflow-x:auto; }
.eqaff-comparison-table { width:100%; border-collapse:collapse; font-size:14px; }
.eqaff-comparison-table th, .eqaff-comparison-table td { padding:10px 14px; border:1px solid var(--eq-border); text-align:center; }
.eqaff-comparison-table th { background:var(--eq-primary); color:#fff; font-weight:600; }
.eqaff-comparison-table td.eqaff-comp-feature { text-align:left; font-weight:500; background:var(--eq-bg); }
.eqaff-comparison-table td.eqaff-ours { background:#fff4e6; font-weight:600; color:var(--eq-primary); }

/* FAQ */
.eqaff-faq { display:grid; gap:8px; }
.eqaff-faq-item { border:1px solid var(--eq-border); border-radius:10px; overflow:hidden; }
.eqaff-faq-q {
  width:100%; text-align:left; background:var(--eq-bg); border:none;
  padding:14px 16px; font-size:15px; font-weight:600; cursor:pointer;
  display:flex; justify-content:space-between; align-items:center; transition:background .15s;
}
.eqaff-faq-q:hover, .eqaff-faq-q:focus-visible { background:#ffe8c2; outline:none; }
.eqaff-faq-q[aria-expanded="true"] { background:var(--eq-primary); color:#fff; }
.eqaff-faq-icon { font-size:20px; line-height:1; flex-shrink:0; transition:transform .2s; }
.eqaff-faq-q[aria-expanded="true"] .eqaff-faq-icon { transform:rotate(45deg); }
.eqaff-faq-a { padding:14px 16px; font-size:14px; line-height:1.7; display:none; }
.eqaff-faq-a:not([hidden]) { display:block; }

/* Reviews */
.eqaff-reviews-summary {
  display:flex; align-items:center; gap:20px; padding:16px;
  background:var(--eq-primary-lt); border-radius:10px; margin-bottom:20px;
  border:1px solid #fde8c0;
}
.eqaff-reviews-big-score { font-size:52px; font-weight:700; color:var(--eq-primary); line-height:1; }
.eqaff-reviews-meta { display:flex; flex-direction:column; gap:4px; }
.eqaff-reviews-count { font-size:13px; color:var(--eq-muted); }
.eqaff-reviews-list { display:grid; gap:12px; }
.eqaff-review-card { padding:14px 16px; border:1px solid var(--eq-border); border-radius:10px; background:#fafafa; }
.eqaff-review-header { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:8px; }
.eqaff-review-author { font-size:14px; font-weight:600; }
.eqaff-review-stars  { color:#f5a623; font-size:14px; }
.eqaff-review-date   { font-size:12px; color:var(--eq-muted); margin-left:auto; }
.eqaff-review-body   { font-size:14px; line-height:1.65; color:#444; margin:0; }

/* Modal */
.eqaff-modal { display:none; position:fixed; inset:0; z-index:9999; align-items:center; justify-content:center; }
.eqaff-modal.open { display:flex; }
.eqaff-modal-overlay { position:absolute; inset:0; background:rgba(0,0,0,.55); }
.eqaff-modal-box {
  position:relative; background:var(--eq-white); border-radius:16px;
  padding:30px 26px; max-width:480px; width:90%;
  box-shadow:0 10px 50px rgba(0,0,0,.3); animation:eq-slide-up .25s ease; z-index:1;
}
@keyframes eq-slide-up { from{opacity:0;transform:translateY(20px);} to{opacity:1;transform:translateY(0);} }
.eqaff-modal-x { position:absolute; top:14px; right:16px; background:none; border:none; font-size:24px; cursor:pointer; color:var(--eq-muted); }
.eqaff-modal-title    { font-size:20px; font-weight:700; margin:0 0 4px; }
.eqaff-modal-subtitle { color:var(--eq-muted); font-size:13px; margin:0 0 20px; }
.eqaff-affiliate-links { display:grid; gap:10px; }
.eqaff-aff-link {
  display:flex; align-items:center; gap:10px; padding:14px 18px;
  color:#fff; font-weight:600; font-size:15px; text-decoration:none;
  border-radius:var(--eq-radius); transition:opacity .15s, transform .15s;
}
.eqaff-aff-link:hover { opacity:.9; transform:translateY(-1px); }
.eqaff-aff-emoji { font-size:20px; }
.eqaff-ext-arrow { margin-left:auto; opacity:.75; font-size:16px; }
.eqaff-affiliate-notice { font-size:11px; color:var(--eq-muted); margin:14px 0 0; text-align:center; }

/* ════════════════════════════════════════════════════════════
   ARCHIVE / CATEGORY PAGE
   ════════════════════════════════════════════════════════════ */
.eqaff-archive-header { margin:8px 0 20px; }
.eqaff-archive-header h1 { font-size:26px; font-weight:800; margin:0 0 8px; }
.eqaff-archive-intro { font-size:15px; color:var(--eq-muted); line-height:1.6; }

/* Category filter pills */
.eqaff-cat-filters { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:24px; }
.eqaff-cat-pill {
  padding:7px 18px;
  border:1.5px solid var(--eq-border);
  border-radius:99px;
  color:var(--eq-text);
  text-decoration:none;
  font-size:13px;
  font-weight:600;
  transition:all .18s;
  background:#fff;
}
.eqaff-cat-pill:hover { border-color:var(--eq-primary); color:var(--eq-primary); background:var(--eq-primary-lt); }
.eqaff-cat-pill.active { background:var(--eq-primary); color:#fff; border-color:var(--eq-primary); }

/* ── Product grid: 3 cols → 2 cols mobile ──────────────────── */
.eqaff-product-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

/* ── Product Card ──────────────────────────────────────────── */
.eqaff-product-card {
  background:#fff;
  border-radius:14px;
  border:1px solid var(--eq-border);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  position:relative;
  transition:box-shadow .22s ease, transform .22s ease;
}
.eqaff-product-card:hover {
  box-shadow:0 10px 36px rgba(0,0,0,.12);
  transform:translateY(-4px);
}

/* Discount ribbon — corner flag */
.eqaff-card-ribbon {
  position:absolute;
  top:12px;
  left:0;
  z-index:2;
  background:linear-gradient(90deg,#ff4e00,#f7971e);
  color:#fff;
  font-size:11px;
  font-weight:900;
  text-align:center;
  line-height:1.3;
  padding:5px 10px 5px 9px;
  border-radius:0 6px 6px 0;
  box-shadow:2px 2px 10px rgba(255,78,0,.3);
  letter-spacing:.3px;
  text-transform:uppercase;
  pointer-events:none;
}

/* Image area */
.eqaff-card-img-link {
  display:block;
  aspect-ratio:1/1;
  overflow:hidden;
  background:#f8f8f8;
}
.eqaff-card-img {
  width:100%;
  height:100%;
  object-fit:contain;
  padding:10px;
  transition:transform .35s cubic-bezier(.25,.46,.45,.94);
}
.eqaff-product-card:hover .eqaff-card-img { transform:scale(1.07); }

/* Card body */
.eqaff-card-body {
  padding:14px 16px 18px;
  display:flex;
  flex-direction:column;
  flex:1;
  gap:7px;
}

/* Title */
.eqaff-card-title {
  font-size:14px;
  font-weight:600;
  line-height:1.45;
  margin:0;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height:2.9em;
}
.eqaff-card-title a { color:var(--eq-text); text-decoration:none; }
.eqaff-card-title a:hover { color:var(--eq-primary); }

/* Rating */
.eqaff-card-rating { display:flex; align-items:center; gap:5px; }
.eqaff-card-stars  { color:#f5a623; font-size:13px; line-height:1; }
.eqaff-card-rating-val   { font-size:12px; font-weight:700; color:#333; }
.eqaff-card-rating-count { font-size:11px; color:#aaa; }

/* Price block */
.eqaff-card-price-block {
  display:flex;
  align-items:baseline;
  gap:8px;
  flex-wrap:wrap;
}
.eqaff-card-sell {
  font-size:19px;
  font-weight:800;
  color:#111;
  letter-spacing:-.3px;
}
.eqaff-card-mrp s {
  font-size:13px;
  color:#c0c0c0;
  font-weight:400;
  text-decoration:line-through;
  text-decoration-color:#d0d0d0;
}

/* View Details button — outline style, fills on hover */
.eqaff-card-btn {
  display:block;
  text-align:center;
  margin-top:auto;
  padding:10px 0;
  background:#fff;
  color:var(--eq-primary);
  border:1.5px solid var(--eq-primary);
  border-radius:8px;
  font-size:13px;
  font-weight:700;
  text-decoration:none;
  letter-spacing:.2px;
  transition:background .18s, color .18s, box-shadow .18s, transform .15s;
}
.eqaff-card-btn:hover {
  background:var(--eq-primary);
  color:#fff;
  box-shadow:0 4px 16px rgba(255,140,0,.32);
  transform:translateY(-1px);
}

.eqaff-pagination { margin-top:32px; text-align:center; }
.eqaff-pagination .nav-links { display:inline-flex; gap:6px; flex-wrap:wrap; }
.eqaff-pagination a, .eqaff-pagination span {
  padding:8px 14px; border:1.5px solid var(--eq-border); border-radius:8px;
  color:var(--eq-primary); text-decoration:none; font-size:14px; transition:all .15s;
}
.eqaff-pagination a:hover { border-color:var(--eq-primary); background:var(--eq-primary-lt); }
.eqaff-pagination .current { background:var(--eq-primary); color:#fff; border-color:var(--eq-primary); }
.eqaff-no-products { text-align:center; padding:40px; color:var(--eq-muted); font-size:16px; }

/* ════════════════════════════════════════════════════════════
   RELATED PRODUCTS SLIDER
   ════════════════════════════════════════════════════════════ */
.eqaff-related-section {
  background:#f8f8f8;
  border-top:1px solid var(--eq-border);
  padding:44px 0 52px;
  margin-top:8px;
}
.eqaff-related-inner  { max-width:1200px; margin:0 auto; padding:0 24px; }
.eqaff-related-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:22px; }
.eqaff-related-title  { font-size:20px; font-weight:800; color:#111; letter-spacing:-.3px; margin:0; }
.eqaff-related-title::after {
  content:'';
  display:block;
  width:40px;
  height:3px;
  background:var(--eq-primary);
  border-radius:2px;
  margin-top:7px;
}

/* Prev / Next arrow buttons */
.eqaff-slider-nav { display:flex; gap:8px; }
.eqaff-slider-btn {
  width:38px; height:38px; border-radius:50%;
  border:1.5px solid #ddd; background:#fff;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; color:#555;
  transition:border-color .15s, color .15s, background .15s, box-shadow .15s;
}
.eqaff-slider-btn:hover:not(:disabled) {
  border-color:var(--eq-primary);
  color:var(--eq-primary);
  box-shadow:0 2px 10px rgba(255,140,0,.22);
}
.eqaff-slider-btn:disabled { opacity:.3; cursor:default; }

/* Scroll viewport */
.eqaff-slider-viewport {
  overflow-x:scroll;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
  -ms-overflow-style:none;
  -webkit-overflow-scrolling:touch;
}
.eqaff-slider-viewport::-webkit-scrollbar { display:none; }

.eqaff-slider-track {
  display:flex;
  gap:16px;
  padding-bottom:4px;
}
.eqaff-slider-item {
  flex:0 0 230px;
  scroll-snap-align:start;
}
.eqaff-slider-item .eqaff-product-card { width:100%; height:100%; }
.eqaff-slider-item .eqaff-card-body    { padding:12px 14px 14px; }
.eqaff-slider-item .eqaff-card-title   { font-size:13px; min-height:2.7em; }
.eqaff-slider-item .eqaff-card-sell    { font-size:16px; }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */

/* Tablet */
@media(max-width:1024px){
  .eqaff-product-main { grid-template-columns:380px 1fr; }
}
@media(max-width:900px){
  .eqaff-product-main  { grid-template-columns:1fr; }
  .eqaff-gallery       { position:relative; top:auto; }
  .eqaff-product-grid  { grid-template-columns:repeat(2,1fr); gap:16px; }
  .eqaff-slider-item   { flex:0 0 200px; }
}

/* Mobile */
@media(max-width:600px){
  .eqaff-wrap          { padding:0 0 80px; max-width:100%; }
  .eqaff-breadcrumb    { padding:10px 14px; }
  .eqaff-product-main  { padding:0; gap:0; border-radius:0; box-shadow:none; border-bottom:1px solid var(--eq-border); margin-bottom:8px; }
  .eqaff-gallery       { position:relative; top:auto; }
  .eqaff-gallery-main  { border-radius:0; border-left:none; border-right:none; border-top:none; aspect-ratio:4/3; }
  .eqaff-gallery-thumbs{ padding:8px 14px; }
  .eqaff-product-info  { padding:16px 14px 0; }
  .eqaff-product-title { font-size:17px; }
  .eqaff-price-block   { margin:12px 14px 16px; padding:16px; border-radius:12px; }
  .eqaff-selling-price { font-size:30px; }
  .eqaff-cta-sticky    { flex-direction:column; gap:8px; padding:12px 14px; margin:0; background:#fff; border-top:1px solid var(--eq-bg); border-bottom:1px solid var(--eq-bg); }
  .eqaff-wtb-btn, .eqaff-view-specs-btn { width:100%; justify-content:center; padding:14px; border-radius:8px; }
  .eqaff-specs-quick   { padding:0 14px 14px; }
  .eqaff-rating-widget { margin:0; border-radius:0; border-left:none; border-right:none; }
  .eqaff-rw-star       { font-size:36px; }
  .eqaff-section       { padding:16px 14px; border-radius:0; box-shadow:none; border-bottom:1px solid var(--eq-bg); }
  .eqaff-pros-cons     { grid-template-columns:1fr; }
  .eqaff-reviews-summary{ flex-direction:column; align-items:flex-start; gap:10px; }
  .eqaff-review-date   { margin-left:0; width:100%; }
  .eqaff-floating-wtb  { right:0; bottom:0; left:0; border-radius:0; box-shadow:0 -2px 14px rgba(255,140,0,.3); }
  .eqaff-floating-wtb .eqaff-wtb-btn { border-radius:0; width:100%; padding:16px; font-size:16px; justify-content:center; }
  /* Archive */
  .eqaff-archive-header{ padding:0 14px; }
  .eqaff-cat-filters   { padding:0 14px; }
  .eqaff-product-grid  { padding:0 12px; gap:10px; grid-template-columns:repeat(2,1fr); }
  .eqaff-pagination    { padding:0 14px; }
  /* Slider */
  .eqaff-related-section { padding:28px 0 38px; }
  .eqaff-related-inner   { padding:0 14px; }
  .eqaff-related-title   { font-size:17px; }
  .eqaff-slider-item     { flex:0 0 calc(50vw - 22px); }
  .eqaff-slider-nav      { display:none; }
}

/* Small phones — keep 2 col, tighter */
@media(max-width:400px){
  .eqaff-card-body  { padding:9px 11px 12px; gap:5px; }
  .eqaff-card-title { font-size:12px; }
  .eqaff-card-sell  { font-size:14px; }
  .eqaff-card-btn   { font-size:12px; padding:8px 0; }
  .eqaff-card-ribbon{ font-size:10px; padding:4px 8px 4px 6px; }
  .eqaff-selling-price { font-size:26px; }
}

/* ============================================================
   Category Editorial + FAQ — v5.2.0
   ============================================================ */

/* Editorial content block */
.eqaff-cat-editorial {
  margin-top: 36px;
  padding: 28px 32px;
  background: var(--eq-surface, #fff);
  border-radius: var(--eq-radius, 10px);
  border: 1px solid var(--eq-border, #e8edf2);
}
.eqaff-cat-editorial-heading {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--eq-text, #1a1a2e);
  margin: 0 0 16px;
  line-height: 1.3;
}
.eqaff-cat-body-content {
  font-size: 0.97rem;
  line-height: 1.75;
  color: var(--eq-text-muted, #4a5568);
}
.eqaff-cat-body-content p   { margin: 0 0 14px; }
.eqaff-cat-body-content h3  { font-size: 1.05rem; font-weight: 700; margin: 20px 0 8px; color: var(--eq-text, #1a1a2e); }
.eqaff-cat-body-content ul,
.eqaff-cat-body-content ol  { margin: 0 0 14px; padding-left: 20px; }
.eqaff-cat-body-content li  { margin-bottom: 6px; }
.eqaff-cat-body-content strong { color: var(--eq-text, #1a1a2e); }

/* Category FAQ section */
.eqaff-cat-faq-section {
  margin-top: 28px;
  padding: 28px 32px;
  background: var(--eq-surface, #fff);
  border-radius: var(--eq-radius, 10px);
  border: 1px solid var(--eq-border, #e8edf2);
}
.eqaff-cat-faq-section .eqaff-section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--eq-text, #1a1a2e);
  margin: 0 0 20px;
}

/* Reuse product-page FAQ styles for category FAQ */
.eqaff-cat-faq .eqaff-faq-item {
  border-bottom: 1px solid var(--eq-border, #e8edf2);
}
.eqaff-cat-faq .eqaff-faq-item:last-child { border-bottom: none; }
.eqaff-cat-faq .eqaff-faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 16px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--eq-text, #1a1a2e);
  text-align: left;
  gap: 12px;
}
.eqaff-cat-faq .eqaff-faq-q:hover { color: var(--eq-accent, #1e6fa8); }
.eqaff-cat-faq .eqaff-faq-icon {
  flex-shrink: 0;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--eq-accent, #1e6fa8);
  transition: transform .2s;
}
.eqaff-cat-faq .eqaff-faq-q[aria-expanded="true"] .eqaff-faq-icon {
  transform: rotate(45deg);
}
.eqaff-cat-faq .eqaff-faq-a {
  padding: 0 0 16px;
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--eq-text-muted, #4a5568);
}
.eqaff-cat-faq .eqaff-faq-a p:last-child { margin-bottom: 0; }

/* Responsive */
@media(max-width:768px) {
  .eqaff-cat-editorial,
  .eqaff-cat-faq-section { padding: 20px 16px; margin-top: 20px; }
  .eqaff-cat-editorial-heading { font-size: 1.15rem; }
  .eqaff-cat-faq-section .eqaff-section-title { font-size: 1.1rem; }
}


/* ── Best Use Cases ─────────────────────────────────────────────────────────── */
.eqaff-use-cases-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.eqaff-use-case-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--eq-bg);
  border: 1px solid var(--eq-border);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color .15s;
}
.eqaff-use-case-item:hover { border-color: var(--eq-primary); }
.eqaff-use-case-icon {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
  min-width: 28px;
  text-align: center;
}
.eqaff-use-case-body { flex: 1; }
.eqaff-use-case-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--eq-dark);
  margin-bottom: 2px;
}
.eqaff-use-case-desc {
  margin: 0;
  font-size: 13px;
  color: var(--eq-muted);
  line-height: 1.5;
}

/* ── Buying Considerations ──────────────────────────────────────────────────── */
.eqaff-buying-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}
.eqaff-buying-card {
  background: var(--eq-bg);
  border: 1px solid var(--eq-border);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.eqaff-buying-factor {
  font-size: 14px;
  font-weight: 700;
  color: var(--eq-dark);
}
.eqaff-buying-detail {
  font-size: 13px;
  color: #555;
  line-height: 1.55;
  margin: 0;
  flex: 1;
}
.eqaff-buying-verdict {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  align-self: flex-start;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.eqaff-verdict-important   { background: #fff3cd; color: #7a5d00; border: 1px solid #ffdfa0; }
.eqaff-verdict-recommended { background: #f0fff4; color: #246b2a; border: 1px solid #b7e4c7; }
.eqaff-verdict-optional    { background: #f0f4ff; color: #2a4fa0; border: 1px solid #bbc9f5; }

/* ── Maintenance Tips ───────────────────────────────────────────────────────── */
.eqaff-maintenance-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  counter-reset: maint-counter;
}
.eqaff-maintenance-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  background: var(--eq-bg);
  border: 1px solid var(--eq-border);
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
}
.eqaff-maint-freq {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 2px 7px;
  border-radius: 20px;
  margin-top: 2px;
}
.eqaff-freq-daily    { background: #ffe4e1; color: #9c2312; border: 1px solid #f9c4be; }
.eqaff-freq-weekly   { background: #fff3cd; color: #7a5d00; border: 1px solid #ffdfa0; }
.eqaff-freq-monthly  { background: #e8f4fd; color: #1c5a8a; border: 1px solid #b3d8f5; }
.eqaff-freq-annually { background: #f0e8ff; color: #5a1c8a; border: 1px solid #d0b3f5; }
.eqaff-freq-asneeded { background: #f0fff4; color: #246b2a; border: 1px solid #b7e4c7; }
.eqaff-maint-tip { color: var(--eq-dark); }

/* ── Compatibility Information ──────────────────────────────────────────────── */
.eqaff-compat-grid {
  display: grid;
  gap: 8px;
}
.eqaff-compat-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 14px;
  background: var(--eq-bg);
  border: 1px solid var(--eq-border);
  border-radius: 8px;
}
.eqaff-compat-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.eqaff-compat-badge.compat-yes  { background: #f0fff4; color: var(--eq-green); border: 1px solid #b7e4c7; }
.eqaff-compat-badge.compat-part { background: #fff3cd; color: #7a5d00;         border: 1px solid #ffdfa0; }
.eqaff-compat-badge.compat-no   { background: #fff5f5; color: var(--eq-red);   border: 1px solid #f5c6c6; }
.eqaff-compat-badge.compat-check{ background: #f0f4ff; color: #2a4fa0;         border: 1px solid #bbc9f5; }
.eqaff-compat-body { flex: 1; }
.eqaff-compat-item {
  font-size: 14px;
  font-weight: 600;
  color: var(--eq-dark);
  display: block;
  margin-bottom: 2px;
}
.eqaff-compat-status-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 1px 6px;
  border-radius: 4px;
  margin-bottom: 4px;
}
.eqaff-compat-status-label.compat-yes  { background: #f0fff4; color: #246b2a;  border: 1px solid #b7e4c7; }
.eqaff-compat-status-label.compat-part { background: #fff3cd; color: #7a5d00;  border: 1px solid #ffdfa0; }
.eqaff-compat-status-label.compat-no   { background: #fff5f5; color: #9c2312;  border: 1px solid #f5c6c6; }
.eqaff-compat-status-label.compat-check{ background: #f0f4ff; color: #2a4fa0;  border: 1px solid #bbc9f5; }
.eqaff-compat-note {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--eq-muted);
  line-height: 1.5;
}

/* Responsive adjustments */
@media(max-width:600px) {
  .eqaff-buying-grid { grid-template-columns: 1fr; }
  .eqaff-use-cases-list { gap: 8px; }
}
