/* ============================================
   PRODUCTS PAGE CSS — SURGICRAFTS
   Primary:  #c8102e  (crimson red)
   Dark:     #1a1a2e
   Light:    #f7f8fc
============================================ */

:root {
  --pr-red:        #c8102e;
  --pr-red-dark:   #a50d24;
  --pr-red-light:  #fff1f3;
  --pr-navy:       #1a1a2e;
  --pr-text:       #2d3748;
  --pr-text-soft:  #4a5568;
  --pr-text-mute:  #718096;
  --pr-border:     #e2e8f0;
  --pr-bg:         #f7f8fc;
  --pr-white:      #ffffff;
  --pr-shadow-sm:  0 2px 8px rgba(0,0,0,.06);
  --pr-shadow:     0 4px 24px rgba(0,0,0,.09);
  --pr-shadow-lg:  0 12px 40px rgba(0,0,0,.13);
  --pr-radius:     14px;
  --pr-radius-sm:  8px;
  --pr-ease:       cubic-bezier(.4,0,.2,1);
  --pr-transition: all .28s var(--pr-ease);
}

body { font-family: 'DM Sans', sans-serif; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ══════════════════════════════════════════
   HERO SECTION
══════════════════════════════════════════ */
.products-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 0 60px;
  /* Isolate hero so nothing bleeds out */
  isolation: isolate;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1582719471384-894fbb16e074?w=1800&q=90');
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.04);
  animation: heroZoom 18s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes heroZoom {
  0%   { transform: scale(1.04) translate(0,0); }
  100% { transform: scale(1.10) translate(-1%,-1%); }
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(26,26,46,.96) 0%,
    rgba(26,26,46,.84) 40%,
    rgba(15,52,96,.68) 70%,
    rgba(200,16,46,.20) 100%);
  z-index: 1;
}

.hero-bg-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 80% 60%, rgba(200,16,46,.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(15,52,96,.3) 0%, transparent 60%);
  z-index: 2;
  pointer-events: none;
}

.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 180px;
  opacity: .5;
  z-index: 3;
  pointer-events: none;
}

.hero-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 3;
  pointer-events: none;
}

.hero-lines span {
  position: absolute;
  display: block;
  background: rgba(255,255,255,.03);
  transform: rotate(-32deg);
}

.hero-lines span:nth-child(1) { width:1px; height:140%; top:-20%; left:58%; }
.hero-lines span:nth-child(2) { width:1px; height:140%; top:-20%; left:62%; }
.hero-lines span:nth-child(3) { width:2px; height:140%; top:-20%; left:66%; background:rgba(200,16,46,.15); }

/* Hero inner */
.hero-inner {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  padding: 6px 16px 6px 10px;
  border-radius: 50px;
  margin-bottom: 24px;
  animation: fadeSlideUp .7s var(--pr-ease) both;
}

.eyebrow-dot {
  width: 8px; height: 8px;
  background: var(--pr-red);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(200,16,46,.3); }
  50%      { box-shadow: 0 0 0 8px rgba(200,16,46,.12); }
}

.hero-eyebrow span:last-child {
  font-size: .78rem; font-weight: 600;
  color: rgba(255,255,255,.85);
  letter-spacing: .5px; text-transform: uppercase;
}

.hero-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--pr-white);
  margin: 0 0 22px;
  animation: fadeSlideUp .7s .1s var(--pr-ease) both;
  letter-spacing: -.5px;
}

.hero-heading em { font-style: italic; color: rgba(255,255,255,.55); }

.hero-highlight {
  position: relative;
  display: inline-block;
  color: var(--pr-red);
}

.hero-highlight::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0; right: 0;
  height: 3px; background: var(--pr-red); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  animation: lineReveal 1s .8s var(--pr-ease) forwards;
}

@keyframes lineReveal { to { transform: scaleX(1); } }

.hero-subtext {
  font-size: 1.05rem;
  color: rgba(255,255,255,.65);
  max-width: 500px; line-height: 1.7;
  margin: 0 0 32px;
  animation: fadeSlideUp .7s .2s var(--pr-ease) both;
}

.hero-cta-group {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 36px;
  animation: fadeSlideUp .7s .3s var(--pr-ease) both;
}

.hero-btn-primary,
.hero-btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--pr-radius-sm);
  font-size: .95rem; font-weight: 700;
  text-decoration: none; cursor: pointer;
  transition: var(--pr-transition); white-space: nowrap;
}

.hero-btn-primary {
  background: var(--pr-red); color: #fff;
  box-shadow: 0 6px 24px rgba(200,16,46,.45);
}

.hero-btn-primary:hover {
  background: var(--pr-red-dark); color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(200,16,46,.5);
}

.hero-btn-secondary {
  background: rgba(255,255,255,.1); color: #fff;
  border: 1.5px solid rgba(255,255,255,.3);
  backdrop-filter: blur(8px);
}

.hero-btn-secondary:hover {
  background: rgba(255,255,255,.2); color: #fff;
  border-color: rgba(255,255,255,.5);
  transform: translateY(-2px);
}

.hero-breadcrumb {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; color: rgba(255,255,255,.45);
  animation: fadeSlideUp .7s .4s var(--pr-ease) both;
}

.hero-breadcrumb a { color: rgba(255,255,255,.45); text-decoration: none; transition: color .2s; }
.hero-breadcrumb a:hover { color: #fff; }
.hero-breadcrumb span { color: rgba(255,255,255,.8); font-weight: 600; }
.hero-breadcrumb i { font-size: .65rem; }

/* Stats panel */
.hero-stats-panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  animation: fadeSlideLeft .8s .3s var(--pr-ease) both;
  flex-shrink: 0;
}

.stat-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(16px);
  border-radius: var(--pr-radius);
  padding: 22px 20px; text-align: center;
  transition: var(--pr-transition); min-width: 130px;
}

.stat-card:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(200,16,46,.4);
  transform: translateY(-3px);
}

.stat-icon {
  width: 40px; height: 40px;
  background: rgba(200,16,46,.2); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 10px; font-size: .9rem; color: var(--pr-red);
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 800;
  color: #fff; line-height: 1; margin-bottom: 6px;
}

.stat-label {
  font-size: .72rem; color: rgba(255,255,255,.55);
  text-transform: uppercase; letter-spacing: .8px; font-weight: 600;
}

.hero-scroll {
  position: absolute; bottom: 30px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  z-index: 10;
  animation: fadeIn 1s 1s both;
}

.hero-scroll span {
  font-size: .72rem; color: rgba(255,255,255,.4);
  text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600;
}

.scroll-arrow {
  width: 32px; height: 32px;
  border: 1.5px solid rgba(255,255,255,.25); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5); font-size: .75rem;
  animation: bounceDown 2s ease infinite;
}

@keyframes bounceDown {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(5px); }
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeSlideLeft {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ══════════════════════════════════════════
   CATEGORY NAV BAR
══════════════════════════════════════════ */
.category-nav-bar {
  background: var(--pr-white);
  border-bottom: 1px solid var(--pr-border);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  /* Ensure nothing from hero bleeds into this */
  isolation: isolate;
}

.cat-nav-inner {
  display: flex; gap: 4px; padding: 12px 0;
  overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
}

.cat-nav-inner::-webkit-scrollbar { display: none; }

.cat-nav-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 20px; border-radius: 50px;
  border: 1.5px solid transparent;
  font-size: .875rem; font-weight: 600; cursor: pointer;
  white-space: nowrap; color: var(--pr-text-soft);
  background: transparent; transition: var(--pr-transition);
}

.cat-nav-btn:hover {
  background: var(--pr-red-light); color: var(--pr-red);
  border-color: rgba(200,16,46,.2);
}

.cat-nav-btn.active {
  background: var(--pr-red); color: #fff;
  border-color: var(--pr-red);
  box-shadow: 0 4px 14px rgba(200,16,46,.3);
}

.cat-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; height: 22px; padding: 0 6px;
  background: rgba(255,255,255,.25); border-radius: 20px;
  font-size: .7rem; font-weight: 700;
}

.cat-nav-btn:not(.active) .cat-count {
  background: var(--pr-bg); color: var(--pr-text-mute);
}

/* ══════════════════════════════════════════
   PRODUCTS SECTION
   Fully isolated so hero decorations
   cannot possibly bleed in.
══════════════════════════════════════════ */
.products-section {
  background: var(--pr-bg);
  padding: 40px 0 70px;
  position: relative;
  isolation: isolate;
  z-index: 1;
  /* Hard clip — nothing from outside enters */
  overflow: hidden;
}

/* Toolbar */
.products-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  margin-bottom: 28px; padding: 16px 20px;
  background: var(--pr-white);
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius);
  box-shadow: var(--pr-shadow-sm);
}

.results-label { font-size: .9rem; color: var(--pr-text-soft); margin: 0; font-weight: 500; }
.results-label span { font-weight: 700; color: var(--pr-red); }

.toolbar-right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.search-wrap { position: relative; display: flex; align-items: center; }

.search-wrap > i {
  position: absolute; left: 13px;
  color: var(--pr-text-mute); font-size: .85rem; pointer-events: none;
}

.search-wrap input {
  padding: 9px 36px;
  border: 1.5px solid var(--pr-border); border-radius: 50px;
  font-size: .875rem; color: var(--pr-text);
  width: 240px; background: var(--pr-bg);
  transition: var(--pr-transition);
  font-family: 'DM Sans', sans-serif;
}

.search-wrap input:focus {
  outline: none; border-color: var(--pr-red);
  background: var(--pr-white);
  box-shadow: 0 0 0 3px rgba(200,16,46,.1); width: 280px;
}

.search-wrap input::placeholder { color: var(--pr-text-mute); }

.search-clear {
  position: absolute; right: 10px;
  background: none; border: none; cursor: pointer;
  color: var(--pr-text-mute); font-size: .8rem;
  display: flex; align-items: center; padding: 4px;
  transition: color .2s;
}

.search-clear:hover { color: var(--pr-red); }

.view-toggle { display: flex; gap: 4px; }

.view-btn {
  width: 36px; height: 36px;
  border: 1.5px solid var(--pr-border); border-radius: var(--pr-radius-sm);
  background: transparent; color: var(--pr-text-mute);
  font-size: .85rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--pr-transition);
}

.view-btn:hover { border-color: var(--pr-red); color: var(--pr-red); }
.view-btn.active { background: var(--pr-red); border-color: var(--pr-red); color: #fff; }

/* ══════════════════════════════════════════
   PRODUCTS GRID
══════════════════════════════════════════ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ══════════════════════════════════════════
   PRODUCT CARD
   Clean, modern, no overflow issues.
══════════════════════════════════════════ */
.prod-card {
  background: var(--pr-white);
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius);
  overflow: hidden;              /* clip everything inside the card */
  display: flex;
  flex-direction: column;
  box-shadow: var(--pr-shadow-sm);
  transition: transform .3s var(--pr-ease), box-shadow .3s var(--pr-ease), border-color .3s;
  animation: cardIn .5s var(--pr-ease) both;
  /* Each card is its own stacking context */
  isolation: isolate;
  position: relative;
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(20px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.prod-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--pr-shadow-lg);
  border-color: rgba(200,16,46,.25);
}

/* ── IMAGE AREA ─────────────────────────────
   Fixed height, white bg, contain so the full
   instrument is always visible, no cropping.
──────────────────────────────────────────── */
.pc-img-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid #f0f0f0;
  /* Clip so the hover-scale stays inside */
  border-radius: var(--pr-radius) var(--pr-radius) 0 0;
}

.pc-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;        /* ← show full product, no cropping */
  object-position: center;
  padding: 20px;              /* breathing room so nothing touches edge */
  box-sizing: border-box;
  display: block;
  transition: transform .45s var(--pr-ease);
  /* Keep it below the overlaid buttons */
  position: relative;
  z-index: 1;
}

.prod-card:hover .pc-img-wrap img {
  transform: scale(1.06);
}

/* Hover overlay — sits above the image */
.pc-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,46,.52);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .28s;
  z-index: 4;
}

.prod-card:hover .pc-img-overlay { opacity: 1; }

.pc-view-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 22px;
  background: #fff; color: #1a1a2e;
  border-radius: 50px; font-size: .84rem; font-weight: 700;
  text-decoration: none;
  transform: translateY(8px);
  transition: transform .28s var(--pr-ease), background .2s, color .2s;
}

.prod-card:hover .pc-view-btn { transform: translateY(0); }
.pc-view-btn:hover { background: var(--pr-red); color: #fff; }

/* Tag — top-left corner */
.pc-tag {
  position: absolute;
  top: 12px; left: 12px;
  font-size: .67rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .7px;
  padding: 5px 11px; border-radius: 20px;
  color: #fff; z-index: 5;
  pointer-events: none;
}

.pc-tag.best-seller { background: #b7791f; }
.pc-tag.popular     { background: #2b6cb0; }
.pc-tag.new         { background: #276749; }
.pc-tag.kit         { background: #553c9a; }

/* Category badge — bottom-left corner */
.pc-badge {
  position: absolute;
  bottom: 12px; left: 12px;
  font-size: .67rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px;
  padding: 4px 10px; border-radius: 20px;
  color: #fff; z-index: 5;
  pointer-events: none;
}

.pc-badge.surgical   { background: var(--pr-red); }
.pc-badge.dental     { background: #2b6cb0; }
.pc-badge.veterinary { background: #276749; }
.pc-badge.beauty     { background: #744210; }

/* Wishlist button — top-right corner */
.pc-wish-btn {
  position: absolute;
  top: 10px; right: 10px;
  width: 36px; height: 36px;
  background: rgba(255,255,255,.95);
  border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: .88rem;
  color: var(--pr-text-mute);
  transition: var(--pr-transition);
  z-index: 6;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}

.pc-wish-btn:hover,
.pc-wish-btn.active {
  background: var(--pr-red); color: #fff;
  transform: scale(1.12);
}

/* ── CARD BODY ─────────────────────────── */
.pc-body {
  padding: 20px;
  display: flex; flex-direction: column; gap: 8px;
  flex: 1;
  background: #fff;
}

.pc-meta {
  display: flex; align-items: center;
  justify-content: space-between; gap: 8px; flex-wrap: wrap;
}

.pc-cat {
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px;
  color: var(--pr-red);
}

.pc-sku {
  font-size: .7rem; color: var(--pr-text-mute);
  font-family: 'Courier New', monospace; font-weight: 600;
  background: var(--pr-bg); padding: 2px 7px; border-radius: 4px;
}

.pc-name {
  font-size: 1.08rem; font-weight: 700; margin: 0;
  line-height: 1.25; font-family: 'Playfair Display', serif;
}

.pc-name a { color: var(--pr-text); text-decoration: none; transition: color .2s; }
.pc-name a:hover { color: var(--pr-red); }

.pc-desc {
  font-size: .84rem; color: var(--pr-text-soft); margin: 0;
  line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.pc-features { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 2px; }

.pc-feat {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .7rem; font-weight: 600; color: var(--pr-text-soft);
  background: var(--pr-bg); border: 1px solid var(--pr-border);
  padding: 3px 8px; border-radius: 20px;
}

.pc-feat i { color: var(--pr-red); font-size: .6rem; }

.pc-actions {
  display: flex; gap: 10px;
  margin-top: auto; padding-top: 12px;
  border-top: 1px solid var(--pr-border);
}

.pc-cart-btn {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 16px;
  background: var(--pr-red); color: #fff;
  border: none; border-radius: var(--pr-radius-sm);
  font-size: .84rem; font-weight: 700; cursor: pointer;
  transition: var(--pr-transition);
  font-family: 'DM Sans', sans-serif;
}

.pc-cart-btn:hover:not(:disabled) {
  background: var(--pr-red-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(200,16,46,.3);
}

.pc-cart-btn.in-cart { background: #276749; cursor: not-allowed; }
.pc-cart-btn:disabled { cursor: not-allowed; }

.pc-detail-btn {
  width: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--pr-navy); color: #fff;
  border-radius: var(--pr-radius-sm);
  text-decoration: none; font-size: .9rem; flex-shrink: 0;
  transition: var(--pr-transition);
}

.pc-detail-btn:hover { background: #2d3a6e; transform: translateY(-1px); }

/* ── LIST VIEW ─────────────────────────── */
.products-grid.list-mode {
  grid-template-columns: 1fr;
  gap: 16px;
}

.products-grid.list-mode .prod-card {
  flex-direction: row;
  max-height: 220px;
}

.products-grid.list-mode .pc-img-wrap {
  width: 220px; height: 220px;
  flex-shrink: 0;
  border-radius: var(--pr-radius) 0 0 var(--pr-radius);
  border-bottom: none;
  border-right: 1px solid #f0f0f0;
}

.products-grid.list-mode .pc-body { padding: 18px 20px; gap: 6px; }
.products-grid.list-mode .pc-desc { -webkit-line-clamp: 3; }

/* ── No Results ─────────────────────────── */
.no-results {
  text-align: center; padding: 80px 20px;
  background: var(--pr-white);
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius); box-shadow: var(--pr-shadow-sm);
}

.no-results-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--pr-red-light);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}

.no-results-icon i { font-size: 2rem; color: var(--pr-red); }
.no-results h3 { font-size: 1.3rem; font-weight: 700; color: var(--pr-text); margin: 0 0 8px; }
.no-results p  { color: var(--pr-text-mute); font-size: .95rem; margin: 0 0 24px; }

.no-results-reset {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 24px;
  background: var(--pr-red); color: #fff;
  border: none; border-radius: var(--pr-radius-sm);
  font-size: .875rem; font-weight: 700; cursor: pointer;
  transition: var(--pr-transition);
}

.no-results-reset:hover { background: var(--pr-red-dark); transform: translateY(-1px); }

/* ══════════════════════════════════════════
   FEATURES STRIP
══════════════════════════════════════════ */
.features-strip {
  background: var(--pr-navy);
  padding: 36px 0;
  position: relative; z-index: 1;
}

.features-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }

.feature-item {
  display: flex; align-items: center; gap: 16px;
  padding: 0 32px;
  border-right: 1px solid rgba(255,255,255,.08);
  transition: var(--pr-transition);
}

.feature-item:last-child { border-right: none; }
.feature-item:first-child { padding-left: 0; }
.feature-item:hover { transform: translateY(-2px); }

.feature-icon {
  width: 48px; height: 48px;
  background: rgba(200,16,46,.15);
  border: 1px solid rgba(200,16,46,.25);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--pr-red);
  flex-shrink: 0; transition: var(--pr-transition);
}

.feature-item:hover .feature-icon {
  background: var(--pr-red); color: #fff;
  box-shadow: 0 4px 14px rgba(200,16,46,.35);
}

.feature-text { display: flex; flex-direction: column; gap: 2px; }
.feature-text strong { font-size: .9rem; font-weight: 700; color: #fff; }
.feature-text span   { font-size: .775rem; color: rgba(255,255,255,.5); }

/* ══════════════════════════════════════════
   TOAST
══════════════════════════════════════════ */
.prod-toast {
  position: fixed; bottom: 30px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--pr-navy); color: #fff;
  padding: 13px 26px; border-radius: 50px;
  display: flex; align-items: center; gap: 10px;
  font-size: .875rem; font-weight: 600;
  box-shadow: 0 10px 40px rgba(0,0,0,.25);
  z-index: 9999; opacity: 0; pointer-events: none;
  transition: all .32s var(--pr-ease);
  white-space: nowrap; max-width: 90vw;
}

.prod-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.prod-toast i { font-size: 1rem; color: #68d391; }
.prod-toast.wishlist i { color: #fc8181; }
.prod-toast.info i     { color: #90cdf4; }
.prod-toast.info       { background: #2b6cb0; }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats-panel { grid-template-columns: repeat(4,1fr); }
  .hero-subtext { max-width: 100%; }
  .products-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2,1fr); gap: 20px; }
  .feature-item  { border-right: none; padding: 0; }
  .features-strip { padding: 40px 0; }
  .hero-stats-panel { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  .products-hero { min-height: 80vh; padding: 60px 0 50px; }
  .hero-heading  { font-size: 2.4rem; }
  .hero-scroll   { display: none; }
  .hero-cta-group { flex-direction: column; }
  .hero-btn-primary, .hero-btn-secondary { justify-content: center; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .products-toolbar { flex-direction: column; align-items: stretch; gap: 12px; }
  .toolbar-right  { flex-wrap: wrap; gap: 10px; }
  .search-wrap    { flex: 1; }
  .search-wrap input { width: 100%; }
  .search-wrap input:focus { width: 100%; }

  /* ── HERO STATS: single horizontal row on mobile ── */
  .hero-stats-panel {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    width: 100%;
  }
  .stat-card {
    padding: 12px 6px;
    min-width: 0;
  }
  .stat-icon {
    width: 30px; height: 30px;
    border-radius: 8px;
    font-size: .75rem;
    margin-bottom: 6px;
  }
  .stat-number {
    font-size: 1.2rem;
    margin-bottom: 4px;
  }
  .stat-label {
    font-size: .58rem;
    letter-spacing: .3px;
  }
  /* ── END HERO STATS FIX ── */

  /* ── MOBILE IMAGE FIX ── */
  .pc-img-wrap {
    height: auto;
    aspect-ratio: 1 / 1;
    background: #ffffff;
  }
  .pc-img-wrap img {
    object-fit: contain;
    object-position: center center;
    background: #ffffff;
  }
  /* ── END MOBILE IMAGE FIX ── */
}

@media (max-width: 600px) {
  .products-grid { grid-template-columns: 1fr; }
  /* keep stats in one row even at very small screens */
  .hero-stats-panel {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }
  .stat-card    { padding: 10px 4px; }
  .stat-number  { font-size: 1.1rem; }
  .stat-label   { font-size: .55rem; }
  .stat-icon    { width: 26px; height: 26px; font-size: .68rem; }
  .products-grid.list-mode .prod-card { flex-direction: column; max-height: none; }
  .products-grid.list-mode .pc-img-wrap {
    width: 100%; height: auto;
    aspect-ratio: 1 / 1;
    border-right: none; border-bottom: 1px solid #f0f0f0;
    border-radius: var(--pr-radius) var(--pr-radius) 0 0;
    background: #ffffff;
  }
  .products-grid.list-mode .pc-img-wrap img {
    object-fit: contain;
    background: #ffffff;
  }
  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .feature-item:first-child { padding-left: 0; }
}

@media (max-width: 420px) {
  .hero-heading { font-size: 2rem; }
  .cat-nav-btn  { padding: 8px 14px; font-size: .8rem; }
  .stat-card    { padding: 8px 3px; }
  .stat-number  { font-size: 1rem; }
  .stat-label   { font-size: .52rem; letter-spacing: 0; }
  .stat-icon    { width: 24px; height: 24px; font-size: .62rem; margin-bottom: 4px; }
  /* pc-img-wrap height already handled by aspect-ratio above */
}