/* ============================================================
   NRG.ro Custom CSS — Light Theme
   Matching https://www.nrg.ro
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap');

/* ── icommon Icon Font ── */
@font-face {
  font-family: 'icomoon';
  src: url('/fonts/icomoon.eot?z55oyo');
  src: url('/fonts/icomoon.eot?z55oyo#iefix') format('embedded-opentype'),
       url('/fonts/icomoon.ttf?z55oyo')  format('truetype'),
       url('/fonts/icomoon.woff?z55oyo') format('woff'),
       url('/fonts/icomoon.svg?z55oyo#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 14px; scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  background-color: #f8fafc !important;
  color: #333;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ============================================================
   TOP INFO BAR
   ============================================================ */
.top-bar {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  font-size: .75rem;
  color: #666;
  padding: 5px 0;
}
.top-bar-inner {
  max-width: 1540px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.top-bar span { display: flex; align-items: center; gap: 5px; }

/* ============================================================
   HEADER  (white)
   ============================================================ */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  position: sticky;
  top: 0;
  z-index: 1100;
  box-shadow: 0 1px 4px rgba(0,0,0,.07);
}
.header-inner {
  max-width: 1540px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  height: 84px;
}

/* Logo */
.site-logo { flex-shrink: 0; padding: 10px; }
.site-logo img { height: 60px; width: auto; }

/* Header Dropdowns */
.hdr-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 220px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  border: 1px solid #e2e8f0;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease-in-out;
  z-index: 1100;
}
.hdr-dropdown a {
  display: block;
  padding: 10px 20px;
  color: #475569;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.15s;
}
.hdr-dropdown a:hover {
  background: #f8fafc;
  color: #0ea5e9;
}
.hdr-dropdown-wrap:hover .hdr-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Search */
.header-search { flex: 1; max-width: 520px; position: relative; }
.header-search input {
  width: 100%;
  height: 44px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0 44px 0 20px;
  font-size: .9rem;
  font-family: inherit;
  color: #333;
  background: #f8fafc;
  outline: none;
  transition: all .2s;
  box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.01);
}
.header-search input:focus { 
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15); 
  border-color: #0ea5e9;
  background: #fff;
}
.header-search button {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #94a3b8;
  padding: 4px;
  font-size: 1.2rem;
  transition: color 0.15s;
}
.header-search button:hover { color: #0ea5e9; }

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.hdr-btn {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  color: #444;
  font-size: 14px;
  font-weight: 500;
  transition: background .15s, color .15s;
  position: relative;
  white-space: nowrap;
}
.hdr-btn:hover { background: #f0f4ff; color: #008ce6; }
.hdr-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; }
.hdr-btn .chevron-down { width: 14px; height: 14px; margin-left: -2px; }

/* Cart badge */
.cart-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  background: #008ce6;
  color: #fff;
  border-radius: 999px;
  font-size: .6rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

.hdr-btn span {
  font-size: 1.05rem;
  font-weight: 400;
}
.chevron-down {
  width: 14px;
  color: #999;
}

/* Account Dropdown */
.hdr-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 160px;
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 1100;
  padding: 8px 0;
}
.hdr-dropdown-wrap:hover .hdr-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.hdr-dropdown-wrap:hover .chevron-down {
  color: #008ce6;
  transform: rotate(180deg);
  transition: transform 0.2s;
}
.hdr-dropdown a {
  display: block;
  padding: 10px 20px;
  color: #444;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.15s;
}
.hdr-dropdown a:hover,
.hdr-dropdown button:hover {
  background: #f8f9fa !important;
  color: #008ce6 !important;
}

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .75rem;
  color: #555;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
}
.lang-switcher:hover { background: #f0f4ff; }
.lang-switcher:hover span { color: #008ce6 !important; }
.lang-flag { width: 18px; height: 12px; border-radius: 2px; object-fit: cover; }

/* ============================================================
   NAVIGATION BAR  (deep slate)
   ============================================================ */
.site-nav {
  background: #353e47;
  border-bottom: 1px solid #1e293b;
  position: sticky;
  top: 84px;
  z-index: 1050; /* increased from 490 to beat all page elements */
  box-shadow: 0 4px 12px -4px rgba(0,0,0,0.2);
}
.nav-inner {
  max-width: 1540px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links { display: flex; align-items: center; gap: 16px; padding: 4px 0; width: 100%; }
.nav-links-right { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; flex: 1; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  color: #e2e8f0;
  font-size: 15px;
  font-weight: 500;
  border-radius: 6px;
  transition: all .2s;
  white-space: nowrap;
}
.nav-link:hover { background: rgba(255,255,255,0.05); color: #fff; }
.nav-link.active-nav { background: #0ea5e9; color: #fff; box-shadow: 0 4px 6px -1px rgba(14, 165, 233, 0.2); }
.nav-link.active-nav:hover { background: #0284c7; color: #fff; }

/* Categories mega dropdown trigger */
.nav-cat-trigger { position: relative; width: 270px; flex-shrink: 0; }
.nav-cat-trigger > .nav-link { gap: 8px; justify-content: space-between; }
.nav-cat-trigger > .nav-link svg { width: 16px; height: 16px; margin-left: auto; }


.nav-cat-trigger:hover > 




/* Phone */
.nav-phone {
  color: #64748b;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all .2s;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: max-content;
}
.nav-phone a { color: #0f172a; }
.nav-phone:hover { background: #f8fafc; color: #0ea5e9; }
.nav-phone:hover a { color: #0ea5e9; }

/* ============================================================
   PAGE WRAPPER
   ============================================================ */
.page-wrap {
  max-width: 1540px;
  margin: 0 auto;
  padding: 20px 20px 60px;
}

/* Main content + sidebar layout */
.catalog-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

/* ── SIDEBAR ── */
.sidebar {
  width: 230px;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  overflow: hidden;
}
.sidebar-heading {
  background: #008ce6;
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 10px 14px;
}
.sidebar-section { border-top: 1px solid #f0f0f0; padding: 12px 14px; }
.sidebar-section-title {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #888;
  margin-bottom: 8px;
}
.sidebar-cats { list-style: none; }
.sidebar-cats li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  font-size: .82rem;
  color: #444;
  transition: color .15s;
}
.sidebar-cats li a:hover { color: #008ce6; }
.sidebar-cats li a.active-cat { color: #008ce6; font-weight: 600; }
.sidebar-cats li a span { font-size: .72rem; color: #aaa; }

/* ── CONTENT AREA ── */
.catalog-content { flex: 1; min-width: 0; }

/* ============================================================
   PAGE HEADING / BREADCRUMB
   ============================================================ */
.page-heading {
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.page-heading h1 { font-size: 1.2rem; font-weight: 700; color: #222; }
.page-heading p { font-size: .8rem; color: #888; }

.breadcrumb {
  font-size: .75rem;
  color: #888;
  margin-bottom: 16px;
}
.breadcrumb a { color: #888; }
.breadcrumb a:hover { color: #008ce6; text-decoration: underline; }

/* ============================================================
   PRODUCT GRID
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.product-card {
  background: #f8f9fa;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow .2s, border-color .2s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
  border-color: #ccc;
}

/* Image area */
.product-card .img-wrap {
  aspect-ratio: 1 / 1;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid #f0f0f0;
}
.product-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  transition: transform .25s;
}
.product-card:hover .img-wrap img { transform: scale(1.04); }
.img-placeholder {
  font-size: .72rem;
  color: #bbb;
  text-align: center;
  padding: 20px;
}

/* Card body */
.card-body { padding: 10px 12px 12px; flex: 1; display: flex; flex-direction: column; gap: 6px; }

.card-name {
  font-size: 14px;
  font-weight: 600;
  color: #222;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-name:hover { color: #008ce6; }

.card-price {
  font-size: 15px;
  font-weight: 700;
  color: #222;
  margin-top: auto;
}
.card-price .old-price {
  font-size: .75rem;
  font-weight: 400;
  color: #aaa;
  text-decoration: line-through;
  margin-right: 4px;
}
.card-price .promo-val { color: #008ce6; }

.card-stock-labels { display:flex; flex-wrap:wrap; gap:3px; margin-top:2px; }
.stock-badge { font-size:.65rem; padding:2px 6px; border-radius:3px; font-weight:600; white-space:nowrap; }
.stock-badge.in-stock { background:#e8f5e9; color:#2e7d32; }
.stock-badge.preorder { background:#fff3e0; color:#e65100; }

/* === Modern 2026 Product Page Redesign === */
.modern-catalog-page {
  max-width: 1520px;
  margin: 0 auto;
  padding: 30px 20px 60px 20px;
}
.modern-product-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 20px;
}
@media (min-width: 992px) {
  .modern-product-layout {
    flex-direction: row;
    align-items: flex-start;
  }
  .modern-gallery-container {
    width: 50%;
    flex-shrink: 0;
    position: sticky;
    top: 20px;
  }
  .modern-info-container {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
}

.review-stars-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #64748b;
  margin-bottom: 20px;
}
.review-stars-summary .stars {
  color: #f59e0b;
  font-size: 16px;
  letter-spacing: 2px;
}

.modern-product-title {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin: 0 0 10px 0;
}

.modern-price-block {
  background: #f8fafc;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid #e2e8f0;
}
.modern-price-main {
  font-size: 32px;
  font-weight: 800;
  color: #0ea5e9;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.modern-price-old {
  font-size: 18px;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 500;
}
.modern-discount-badge {
  background: #0ea5e9;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  vertical-align: middle;
}

.modern-section {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 30px;
  margin-top: 20px;
}
.modern-section-title {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 20px 0;
  padding-bottom: 15px;
  border-bottom: 1px solid #f1f5f9;
}

.modern-specs-table {
  width: 100%;
  border-collapse: collapse;
}
.modern-specs-table tr:nth-child(even) {
  background: #f8fafc;
}
.modern-specs-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 14px;
}
.modern-specs-table td:first-child {
  font-weight: 600;
  color: #475569;
  width: 40%;
}
.modern-specs-table td:last-child {
  color: #0f172a;
  font-weight: 500;
}

.related-offers-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #e2e8f0;
}
/* Small add to cart button on cards */
.btn-add {
  margin-top: 6px;
  background: #fff;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  padding: 6px 10px;
  font-size: .78rem;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  width: 100%;
  transition: background .15s, border-color .15s, color .15s;
  font-family: inherit;
}
.btn-add:hover {
  background: #008ce6;
  border-color: #008ce6;
  color: #fff;
}
.btn-add:disabled {
  background: #f5f5f5;
  border-color: #e8e8e8;
  color: #bbb;
  cursor: not-allowed;
}

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 24px;
}

/* ── Image Gallery ── */
.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Main large image viewer */
.gallery-main {
  background: #fff;
  border: none;
  border-radius: 16px;
  box-shadow: 0 4px 20px -5px rgba(0,0,0,0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  padding: 12px;
}
.gallery-main img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  transition: opacity .15s;
}
.gallery-noimg {
  color: #bbb;
  font-size: .85rem;
  text-align: center;
  padding: 2rem;
}

/* Thumbnail strip */
.gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.thumb-btn {
  width: 72px;
  height: 72px;
  border: 2px solid transparent;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  padding: 4px;
  transition: all .2s;
  flex-shrink: 0;
}
.thumb-btn:hover { border-color: #aaa; }
.thumb-btn.active { border-color: #0ea5e9; }
.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.product-info { display: flex; flex-direction: column; gap: 12px; }
.product-sku { font-size: .75rem; color: #aaa; text-transform: uppercase; letter-spacing: .04em; }
.product-info h1 { font-size: 1.3rem; font-weight: 700; color: #222; line-height: 1.3; }

.product-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: #222;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.product-price .old { font-size: 1rem; font-weight: 400; color: #aaa; text-decoration: line-through; }
.product-price .promo-val { color: #0ea5e9; }
.product-price .promo-badge {
  background: #0ea5e9;
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.stock-badge { display: flex; align-items: center; gap: 6px; font-size: .82rem; }
.stock-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.stock-dot.green { background: #4caf50; }
.stock-dot.red { background: #0ea5e9; }

/* Modern Add to Cart Row */
.add-to-cart-row {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 1rem;
}

.qty-modern-wrapper {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  height: 54px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.qty-modern-wrapper:hover {
  border-color: #94a3b8;
}

.qty-modern-btn {
  background: transparent;
  border: none;
  width: 44px;
  height: 100%;
  font-size: 1.4rem;
  color: #475569;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.qty-modern-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.qty-modern-input {
  width: 48px;
  height: 100%;
  border: none;
  background: transparent;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  padding: 0;
  -moz-appearance: textfield; /* Firefox */
  appearance: textfield; /* Standard */
}
/* Hide native spin buttons */
.qty-modern-input::-webkit-outer-spin-button,
.qty-modern-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.btn-add-modern {
  flex: 1;
  background: #0ea5e9;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.2);
}
.btn-add-modern:hover {
  background: #0284c7;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(14, 165, 233, 0.3);
}
.btn-add-modern .cart-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* Installment Payment Banner - Premium 2026 Design */
.installment-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 18px;
  margin-top: 1rem;
  transition: all 0.3s ease;
}
.installment-banner:hover {
  background: #f0f9ff;
  border-color: #bae6fd;
}
.installment-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0ea5e9;
  background: #e0f2fe;
  border-radius: 8px;
}
.installment-icon svg { width: 18px; height: 18px; }
.installment-text {
  flex: 1;
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
}
.installment-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0ea5e9;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
  white-space: nowrap;
}
.installment-link:hover {
  border-bottom-color: #0ea5e9;
}

/* Delivery Estimation Card - Premium 2026 Design */
.delivery-estimation-card {
  position: relative;
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.03), 0 8px 10px -6px rgba(15, 23, 42, 0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 1.5rem;
  overflow: hidden;
}
.delivery-estimation-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.05), 0 8px 10px -6px rgba(15, 23, 42, 0.01);
}
.delivery-estimation-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #3b82f6, #0ea5e9, #2dd4bf);
}
.delivery-est-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.delivery-est-city {
  font-weight: 700;
  color: #0f172a;
  border-bottom: 2px dashed #cbd5e1;
  padding-bottom: 2px;
}
.delivery-est-body {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.delivery-est-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: #eff6ff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b82f6;
  position: relative;
}
.delivery-est-icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px dashed #bfdbfe;
  border-radius: 16px;
  animation: pulse-ring 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 1; }
  100% { transform: scale(1.1); opacity: 0; }
}
.delivery-est-icon svg { width: 24px; height: 24px; }
.delivery-est-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.delivery-est-title-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.delivery-est-title {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
}
.delivery-est-method {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
}
.delivery-est-date {
  font-size: 0.9rem;
  color: #334155;
  line-height: 1.5;
  background: #f1f5f9;
  padding: 10px 14px;
  border-radius: 8px;
  margin-top: 4px;
}
.delivery-est-date strong {
  color: #0f172a;
  font-weight: 800;
}
.urgency-text {
  display: inline-block;
  background: #f0f9ff;
  color: #0ea5e9;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 6px;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Trust & Logistics Card - Premium 2026 Design */
.trust-logistics-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.02), 0 2px 4px -2px rgba(15, 23, 42, 0.02);
  margin-top: 1rem;
}
.trust-logistics-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.trust-logistics-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, #e2e8f0, transparent);
}
.trust-logistics-card .trust-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.trust-logistics-card .trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.trust-logistics-card .trust-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  transition: all 0.3s ease;
}
.trust-logistics-card .trust-item:hover .trust-icon {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  transform: rotate(-5deg) scale(1.05);
}
.trust-logistics-card .trust-icon svg { width: 24px; height: 24px; }
.trust-logistics-card .trust-text {
  font-size: 1rem;
  color: #475569;
  line-height: 1.3;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 2px;
}
.trust-logistics-card .trust-text strong {
  color: #0f172a;
  font-weight: 700;
  font-size: 1rem;
}
.trust-logistics-card .trust-text-sub {
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 500;
}
@media (max-width: 600px) {
  .trust-logistics-card .trust-list { grid-template-columns: 1fr; gap: 16px; }
}

.product-desc-section {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 24px 28px;
  margin-top: 8px;
}
.product-desc-section h2 {
  font-size: 1rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #0ea5e9;
  display: inline-block;
}
.product-desc-body { font-size: .85rem; color: #555; line-height: 1.75; }
.product-desc-body p { margin-bottom: .75em; }
.product-desc-body ul { padding-left: 1.2em; }
.product-desc-body li { margin-bottom: .4em; }

/* Responsive for product detail */
@media (max-width: 860px) {
  .product-detail-grid { grid-template-columns: 1fr; }
  .thumb-btn { width: 60px; height: 60px; }
}


/* ============================================================
   CART PAGE
   ============================================================ */
.cart-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
}
.cart-table th {
  background: #f9f9f9;
  color: #666;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 10px 14px;
  border-bottom: 1px solid #e8e8e8;
  text-align: left;
}
.cart-table td {
  padding: 14px;
  border-bottom: 1px solid #f0f0f0;
  font-size: .85rem;
  color: #333;
  vertical-align: middle;
}
.cart-table tr:last-child td { border-bottom: none; }
.cart-table tr:hover td { background: #fafafa; }

.qty-input {
  width: 64px;
  height: 34px;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  text-align: center;
  font-size: .85rem;
  font-family: inherit;
}
.btn-remove {
  background: none;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  color: #999;
  font-size: .75rem;
  padding: 4px 10px;
  cursor: pointer;
  transition: background .15s, color .15s;
  font-family: inherit;
}
.btn-remove:hover { background: #ffe8e8; border-color: #0ea5e9; color: #0ea5e9; }

.checkout-bar {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}
.cart-total {
  font-size: 1.25rem;
  font-weight: 700;
  color: #008ce6;
}
.btn-checkout {
  background: #008ce6;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0 28px;
  height: 44px;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s;
}
.btn-checkout:hover { background: #0073bc; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}
.pagination nav { display: flex; align-items: center; gap: 4px; }
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-size: .8rem;
  color: #444;
  background: #fff;
  padding: 0 6px;
  transition: all .15s;
}
.pagination a:hover { background: #008ce6; border-color: #008ce6; color: #fff; }
.pagination [aria-current="page"] span,
.pagination span[aria-current="page"] { background: #008ce6; border-color: #008ce6; color: #fff; font-weight: 700; }

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #aaa;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
}
.empty-state p { font-size: .95rem; margin-top: .5rem; }

/* ============================================================
   BENEFITS BAR
   ============================================================ */
.benefits-bar {
  background: #fff;
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
  padding: 16px 0;
}
.benefits-inner {
  max-width: 1540px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 12px;
}
.benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .8rem;
}
.benefit-item strong { display: block; font-size: .82rem; font-weight: 600; color: #222; }
.benefit-item span { color: #777; font-size: .74rem; }
.benefit-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a73e8;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #1e1e1e;
  color: #aaa;
  padding: 36px 0 0;
  font-size: .8rem;
}
.footer-inner {
  max-width: 1540px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer-col h4 {
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 14px;
  padding-bottom: 6px;
  border-bottom: 2px solid #008ce6;
  display: inline-block;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 7px; }
.footer-col ul li a { color: #888; font-size: .79rem; transition: color .15s; }
.footer-col ul li a:hover { color: #008ce6; }
.footer-contact-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
  color: #888;
  font-size: .79rem;
}
.footer-contact-line svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px; }
.footer-contact-line a { color: #888; }
.footer-contact-line a:hover { color: #0ea5e9; }

.footer-socials { display: flex; gap: 10px; margin-top: 16px; }
.social-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  transition: background .15s, color .15s;
}
.social-btn:hover { background: #0ea5e9; color: #fff; }
.social-btn svg { width: 15px; height: 15px; }

.footer-newsletter { margin-top: 24px; }
.footer-newsletter h4 {
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 10px;
}
.footer-newsletter p { font-size: .76rem; color: #777; margin-bottom: 12px; }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input {
  flex: 1;
  height: 36px;
  background: #2c2c2c;
  border: 1px solid #444;
  border-radius: 4px;
  padding: 0 12px;
  color: #ddd;
  font-size: .8rem;
  font-family: inherit;
  outline: none;
}
.newsletter-form input:focus { border-color: #0ea5e9; }
.newsletter-form button {
  background: #0ea5e9;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0 14px;
  height: 36px;
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}
.newsletter-form button:hover { background: #0284c7; }

.footer-bottom {
  max-width: 1540px;
  margin: 24px auto 0;
  padding: 14px 20px;
  border-top: 1px solid #2c2c2c;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .74rem;
  color: #666;
}
.footer-payments { display: flex; align-items: center; gap: 8px; }
.footer-payments img { height: 22px; opacity: .7; filter: grayscale(60%); }
.footer-payments img:hover { opacity: 1; filter: none; }

/* ============================================================
   TOAST NOTIFICATION
   ============================================================ */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toast {
  background: #222;
  color: #fff;
  padding: 11px 18px;
  border-radius: 6px;
  font-size: .82rem;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  animation: toastIn .25s ease;
  border-left: 3px solid #0ea5e9;
}
.toast.success { border-left-color: #4caf50; }
@keyframes toastIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .catalog-layout { flex-direction: column; }
  .sidebar { width: 100%; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .product-detail-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .footer-inner { grid-template-columns: 1fr; }
  .header-inner { height: 56px; }
}

/* ════════════════════════════════════════════════════════════════
   MEGA MENU (2026 Features)
   ════════════════════════════════════════════════════════════════ */
.mega-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 270px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  z-index: 999;
}
.nav-cat-trigger:hover > .mega-menu, .nav-cat-trigger.is-home .mega-menu { display: block; }
.nav-cat-trigger.is-home .mega-menu { box-shadow: 2px 4px 10px rgba(0,0,0,.05); border-right: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; border-radius: 0; }
.mega-level1-list { list-style: none; padding: 0; margin: 0; }
.mega-level1-item { position: relative; border-bottom: 1px solid #f1f5f9; }
.mega-level1-item:last-child { border-bottom: none; }
.mega-level1-item > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  color: #0f172a;
  font-size: 14.5px;
  font-weight: 500;
  transition: all .15s;
}
.mega-level1-item > a:hover { background: #f0f9ff; color: #0ea5e9; }
.mega-level1-item:hover > a { background: #f0f9ff; color: #0ea5e9; }

/* Sub Panel */
.mega-level2-pane {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  width: 800px;
  min-height: 100%;
  background: #fff;
  border-left: 1px solid #e2e8f0;
  border-radius: 0 8px 8px 0;
  box-shadow: 10px 10px 25px rgba(0,0,0,0.08);
  padding: 30px;
  z-index: 1000;
}
.nav-cat-trigger.is-home .mega-level2-pane { top: -1px; min-height: calc(100% + 1px); border: 1px solid #e2e8f0; border-radius: 8px; }
.mega-level1-item:hover > .mega-level2-pane,
.mega-level1-item a:hover + .mega-level2-pane,
.mega-level2-pane:hover {
  display: block !important;
}

/* Columns */
.mega-level2-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.mega-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.3px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}
.mega-col h4 a { color: #0f172a; text-decoration: none; transition: color 0.15s; }
.mega-col h4 a:hover { color: #0ea5e9; }
.mega-col ul { list-style: none; padding: 0; margin: 0; }
.mega-col ul li { margin-bottom: 10px; }
.mega-col ul li a { color: #475569; font-size: 14px; text-decoration: none; transition: all .15s; }
.mega-col ul li a:hover { color: #0ea5e9; padding-left: 4px; }

/* Home Overrides */
.nav-cat-trigger.is-home > a > svg { color: #0ea5e9 !important; stroke: #00b4ff !important; fill: none !important; }
.nav-cat-trigger.is-home > a span { color: #fff !important; }

/* ════════════════════════════════════════════════════════════════
   HOMEPAGE STYLES
   ════════════════════════════════════════════════════════════════ */

/* ── Hero: Slider + Categories ── */
.home-hero {
  display: flex;
  gap: 0;
  margin-top: 10px;
  margin-bottom: 24px;
  max-width: 1540px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}
.hero-categories {
  width: 240px;
  flex-shrink: 0;
  background: #fff;
  border-radius: 8px 0 0 8px;
  border: 1px solid #e8e8e8;
  border-right: none;
  display: flex;
  flex-direction: column;
  padding: 6px 0;
}
.hero-cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 16px;
  font-size: .82rem;
  color: #333;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.hero-cat-link:hover { background: #f0f7ff; color: #008ce6; }
.hero-cat-link svg { opacity: .4; flex-shrink: 0; }
.hero-cat-link:hover svg { opacity: 1; stroke: #008ce6; }
.hero-cat-all { border-top: 1px solid #eee; margin-top: auto; font-weight: 600; color: #008ce6; }

.hero-slider-wrapper {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.slider-track { display: flex; transition: transform .4s ease-in-out; }
.slider-slide { min-width: 100%; }
.slider-slide img { width: 100%; height: auto; display: block; }
.slider-slide a { display: block; }

.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.45); color: #fff; border: none; border-radius: 50%;
  width: 36px; height: 36px; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.slider-btn:hover { background: rgba(0,0,0,.7); }
.slider-prev { left: 10px; }
.slider-next { right: 10px; }

.slider-dots {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px;
}
.slider-dot {
  width: 10px; height: 10px; border-radius: 50%; border: 2px solid rgba(255,255,255,.7);
  background: transparent; cursor: pointer; transition: background .2s;
}
.slider-dot.active { background: #fff; }

/* ── Home sections base ── */
.home-section {
  max-width: 1400px;
  margin: 0 auto 28px;
  padding: 0 16px;
}

/* ── Category Icon Boxes ── */
.cat-boxes-section { margin-top: 8px; }
.cat-boxes {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.cat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 12px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  text-decoration: none;
  width: 155px;
  transition: box-shadow .2s, transform .2s;
}
.cat-box:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); transform: translateY(-3px); }
.cat-box img { width: 70px; height: 70px; object-fit: contain; }
.cat-box-placeholder {
  width: 70px; height: 70px; background: #f0f7ff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 700; color: #008ce6;
}
.cat-box-label { font-size: .78rem; font-weight: 600; color: #333; text-align: center; }

/* ── Trust Badges ── */
.trust-section { margin-top: 0; }
.trust-badges {
  display: flex;
  gap: 0;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
}
.trust-badge {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  border-right: 1px solid #eee;
}
.trust-badge:last-child { border-right: none; }
.trust-icon { font-size: 1.5rem; }
.trust-text { display: flex; flex-direction: column; }
.trust-text strong { font-size: .78rem; color: #222; }
.trust-text span { font-size: .68rem; color: #888; }

/* ── Section headers ── */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #008ce6;
}
.section-header h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #222;
  margin: 0;
}
.section-link {
  font-size: .8rem;
  font-weight: 600;
  color: #008ce6;
  text-decoration: none;
  white-space: nowrap;
}
.section-link:hover { text-decoration: underline; }

/* ── Product carousel (horizontal scroll) ── */
.product-carousel {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}
.product-carousel::-webkit-scrollbar { height: 4px; }
.product-carousel::-webkit-scrollbar-thumb { background: #ccc; border-radius: 2px; }

/* ── Homepage product card ── */
.hp-product-card {
  min-width: 175px;
  max-width: 175px;
  background: #f8f9fa;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  scroll-snap-align: start;
  transition: box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.hp-product-card:hover { box-shadow: 0 3px 12px rgba(0,0,0,.1); }

.hp-card-img {
  display: block;
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
  background: #fff;
}
.hp-card-img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.hp-img-ph {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; font-size: 2rem; color: #ccc;
}
.hp-discount-badge {
  position: absolute; top: 6px; left: 6px;
  background: #0ea5e9; color: #fff; font-size: .65rem; font-weight: 700;
  padding: 2px 6px; border-radius: 3px;
}

.hp-card-info { padding: 8px 10px 10px; display: flex; flex-direction: column; flex: 1; gap: 4px; }
.hp-card-name {
  font-size: .75rem; color: #333; font-weight: 500; line-height: 1.3;
  text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2;
  line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hp-card-name:hover { color: #008ce6; }

.hp-card-price { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.hp-old-price { font-size: .7rem; color: #aaa; text-decoration: line-through; }
.hp-new-price { font-size: .85rem; font-weight: 700; color: #008ce6; }

.hp-card-stock { display: flex; flex-wrap: wrap; gap: 2px; }

.hp-btn-add {
  margin-top: auto;
  padding: 6px 0;
  font-size: .72rem;
  font-weight: 600;
  background: #008ce6;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background .2s;
}
.hp-btn-add:hover { background: #006db3; }

/* ── Category Showcase ── */
.category-showcase { margin-bottom: 28px; }
.showcase-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #008ce6;
}
.showcase-title-area h2 { font-size: 1.15rem; font-weight: 700; color: #222; margin: 0 0 6px; }
.showcase-subs { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.showcase-subs a {
  font-size: .75rem; color: #008ce6; text-decoration: none;
  padding: 2px 8px; background: #f0f7ff; border-radius: 3px;
  transition: background .15s;
}
.showcase-subs a:hover { background: #dbeafe; }

.showcase-body {
  display: flex;
  gap: 16px;
}
.showcase-banner {
  width: 200px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  display: block;
}
.showcase-banner img { width: 100%; height: 100%; object-fit: cover; }
.showcase-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.6), transparent);
  display: flex; align-items: flex-end; padding: 16px;
}
.showcase-banner-overlay span { color: #fff; font-weight: 700; font-size: .9rem; line-height: 1.3; }

.showcase-products {
  flex: 1;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}
.showcase-products::-webkit-scrollbar { height: 4px; }
.showcase-products::-webkit-scrollbar-thumb { background: #ccc; border-radius: 2px; }

/* ── Promo section highlight ── */
.promo-section .section-header { border-bottom-color: #0ea5e9; }
.promo-section .section-header h2 { color: #0ea5e9; }

/* ── SEO Content ── */
.seo-section { padding-top: 16px; }
.seo-content {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 28px 32px;
}
.seo-content h2 { font-size: 1.1rem; font-weight: 700; color: #222; margin: 0 0 12px; }
.seo-content p { font-size: .82rem; color: #555; line-height: 1.7; margin: 0 0 10px; }
.seo-content p:last-child { margin-bottom: 0; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .home-hero { flex-direction: column; }
  .hero-categories { width: 100%; border-radius: 8px 8px 0 0; border-right: 1px solid #e8e8e8; border-bottom: none; flex-direction: row; overflow-x: auto; padding: 0; }
  .hero-cat-link { padding: 10px 14px; white-space: nowrap; font-size: .75rem; }
  .hero-cat-link svg { display: none; }
  .hero-slider-wrapper { border-radius: 0 0 8px 8px; }
  .cat-boxes { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
  .cat-box { min-width: 120px; }
  .trust-badges { flex-direction: column; }
  .trust-badge { border-right: none; border-bottom: 1px solid #eee; }
  .trust-badge:last-child { border-bottom: none; }
  .showcase-body { flex-direction: column; }
}

/* ============================================================
   LEGACY PRODUCT TABS & REVIEWS (Magento Style)
   ============================================================ */
.legacy-tabs-container {
  margin-top: 32px;
  background: #fff;
  border-radius: 6px;
  border-bottom: 1px solid #e8e8e8;
  overflow: hidden;
}

.legacy-tabs-header {
  display: flex;
  background: #282c35;
  border-radius: 6px 6px 0 0;
}
.legacy-tab-btn {
  background: none;
  border: none;
  color: #aaa;
  font-size: .85rem;
  font-weight: 600;
  padding: 16px 24px;
  cursor: pointer;
  transition: all .2s;
  outline: none;
  border-right: 1px solid #333945;
}
.legacy-tab-btn:hover { color: #fff; background: #353a45; }
.legacy-tab-btn.active { color: #fff; background: #353a45; }
.legacy-tab-btn:last-child { border-right: none; }

.legacy-tab-content { padding: 24px; display: none; }
.legacy-tab-content.active { display: block; }

/* Specifications Table */
.legacy-specs-table { width: 100%; border-collapse: collapse; }
.legacy-specs-table tr:nth-child(odd) { background: #f9f9f9; }
.legacy-specs-table tr:nth-child(even) { background: #fff; }
.legacy-specs-table td { padding: 12px 16px; font-size: .85rem; border: none; }
.legacy-specs-table td.spec-label { width: 30%; font-weight: 700; color: #333; }
.legacy-specs-table td.spec-value { color: #666; }

/* Reviews Layout */
.legacy-reviews-grid { display: grid; grid-template-columns: 350px 1fr; gap: 40px; }
@media(max-width: 860px) { .legacy-reviews-grid { grid-template-columns: 1fr; } }

/* Review left column: Rating overview */
.rating-overview h3 { font-size: 1.1rem; color: #222; margin-bottom: 12px; }
.rating-huge-score { font-size: 3.5rem; font-weight: 700; color: #4caf50; line-height: 1; margin-bottom: 8px; }
.rating-total-stars { color: #ffb400; font-size: 1.2rem; margin-bottom: 24px; display: flex; align-items: center; gap: 8px; }
.rating-total-stars span { color: #777; font-size: .8rem; }
.star-bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: .75rem; color: #666; }
.star-bar-bg { flex: 1; height: 6px; background: #eee; border-radius: 3px; overflow: hidden; }
.star-bar-fill { height: 100%; background: #008ce6; }

/* Review right column: Form */
.review-form-box { padding-bottom: 24px; }
.review-form-box h3 { font-size: 1.1rem; color: #222; margin-bottom: 16px; }
.review-form-box h3 span { color: #008ce6; text-transform: uppercase; }
.review-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: .75rem; font-weight: 700; color: #333; margin-bottom: 6px; text-transform: uppercase; }
.form-group label span { color: #0ea5e9; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; border: 1px solid #ccc; border-radius: 4px; padding: 10px; font-size: .85rem; font-family: inherit; outline: none; transition: border .2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: #008ce6; }

.interactive-stars { display: flex; gap: 4px; cursor: pointer; color: #ccc; font-size: 1.4rem; }
.interactive-stars span:hover, .interactive-stars span.hovered, .interactive-stars span.selected { color: #ffb400; }

.submit-review-btn {
  background: #4caf50; color: #fff; border: none; font-weight: 600; padding: 10px 24px; border-radius: 4px; cursor: pointer; margin-top: 16px; font-size: .9rem;
}
.submit-review-btn:hover { background: #43a047; }
.terms-row { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: #555; margin-bottom: 16px; }

/* Review List */
.review-list-section { margin-top: 24px; border-top: 1px solid #777; padding-top: 24px; }
.review-list-section h3 { font-size: 1.25rem; color: #333; margin-bottom: 24px;  }

.review-card { display: flex; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.reviewer-avatar { width: 48px; height: 48px; border-radius: 50%; background: #888; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; flex-shrink: 0; }
.review-card-content { flex: 1; border-bottom: 1px solid #f0f0f0; padding-bottom: 16px; }
.review-card-header { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.review-card-name { font-weight: 700; color: #222; font-size: .95rem; text-transform: uppercase; }
.review-card-date { color: #999; font-size: .75rem; }
.review-card-stars { color: #ffb400; font-size: 1rem; margin-bottom: 8px; }
.review-card-title { font-weight: 700; font-size: .9rem; color: #333; margin-bottom: 8px; }
.review-card-body { font-size: .82rem; color: #555; line-height: 1.6; }
.review-card-pros { margin-top: 10px; font-size: .85rem; }
.review-card-pros strong { color: #333; }

