/* ============================================================
   ShopZone – Main Stylesheet
   ============================================================ */

/* ── Rupee symbol — Unicode escape in CSS, zero encoding risk ── */
.rs::before { content: "\20B9"; }

/* ── Variables ───────────────────────────────────────────────── */
/* Dynamic theme variables (--primary, --surface, etc.) are injected
   inline by header.php from admin settings so they always win.
   Only purely static helpers live here. */
:root {
  --card-shadow: 0 2px 12px rgba(0,0,0,.09);
  --transition:  all .22s cubic-bezier(.4,0,.2,1);
}

/* ── Global ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html  { scroll-behavior: smooth; overflow-x: clip; }
body  { font-family: 'Inter', system-ui, sans-serif; background: var(--surface); color: #212121; overflow-x: clip; }
a     { text-decoration: none; color: inherit; }
img   { max-width: 100%; height: auto; }

/* ── Scrollbar ───────────────────────────────────────────────── */
::-webkit-scrollbar        { width: 6px; height: 6px; }
::-webkit-scrollbar-track  { background: #f0f0f0; }
::-webkit-scrollbar-thumb  { background: #c5c5c5; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #888; }
.scrollbar-none::-webkit-scrollbar { display: none; }
.scrollbar-none { scrollbar-width: none; }

/* ── Product Card ────────────────────────────────────────────── */
.product-card {
  background: transparent;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  transition: transform .25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-3px); }

/* ── Image area — tall portrait, no padding, no radius ── */
.product-card .img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #f5f5f5;
  display: block;
  border-radius: 0;
}
.product-card .img-wrap .img-link {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.product-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .5s ease;
  padding: 0;
  display: block;
}
.product-card:hover .img-wrap img { transform: scale(1.05); }

/* no dim overlay */
.product-card .img-wrap::after { display: none; }

/* ── Add to Cart overlay — slides up from bottom of image on hover ── */
.product-card .cart-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: rgba(0,0,0,.52);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
  z-index: 4;
}
.product-card:hover .cart-overlay { opacity: 1; transform: translateY(0); }
.product-card .cart-overlay .btn-cart {
  background: var(--button);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: .45rem 1.2rem;
  border-radius: 2px;
  letter-spacing: .04em;
  text-transform: uppercase;
  width: auto;
  border: none;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.product-card .cart-overlay .btn-cart:hover { background: var(--button-hover); color: #fff; }
.product-card .cart-overlay .btn-cart.added  { background: var(--success); color: #fff; }

/* ── Diagonal ribbon badge (top-left) ── */
.product-card .ribbon {
  position: absolute;
  top: 14px;
  left: -4px;
  background: var(--secondary);
  color: #fff;
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 10px 3px 8px;
  line-height: 1.3;
  z-index: 3;
  clip-path: polygon(0 0, 100% 0, 92% 50%, 100% 100%, 0 100%);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Action buttons (wishlist / quick view) ── */
.product-card .card-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity .25s ease, transform .25s ease;
  z-index: 5;
}
.product-card:hover .card-actions { opacity: 1; transform: translateX(0); }

.card-action-btn {
  width: 34px; height: 34px;
  background: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
  border: none;
  color: #555;
  text-decoration: none;
}
.card-action-btn:hover { background: var(--primary); color: white; transform: scale(1.1); }
.card-action-btn.active { background: #fff5f5; color: var(--sale); }
.card-action-btn.active:hover { background: var(--sale); color: white; }

/* ── Card body — minimal, left-aligned, transparent bg ── */
.product-card .card-body {
  padding: .6rem 0 .5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .2rem;
  background: transparent;
}
@media (max-width: 639px) {
  .product-card .card-body { padding: .5rem 0 .4rem; }
}
.product-card .product-name {
  font-size: .82rem;
  font-weight: 400;
  color: #222;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card .price-wrap {
  display: flex;
  align-items: center;
  gap: .35rem;
  flex-wrap: wrap;
  margin-top: .1rem;
}
.product-card .sale-price {
  font-size: .88rem;
  font-weight: 700;
  color: #111;
}
.product-card .orig-price {
  font-size: .82rem;
  color: #999;
  text-decoration: line-through;
  font-weight: 400;
}
.product-card .discount-badge {
  font-size: .72rem;
  font-weight: 700;
  color: var(--sale);
  background: none;
  padding: 0;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: .02em;
}

/* ── Add to cart (hidden in body, shown as overlay) ── */
.product-card .add-to-cart-btn { display: none; }
.btn-cart {
  display: block;
  width: 100%;
  padding: .48rem;
  background: var(--button);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  text-align: center;
  border-radius: .375rem;
  border: none;
  cursor: pointer;
  transition: background .2s;
  letter-spacing: .01em;
}
.btn-cart:hover { background: var(--button-hover); }
.btn-cart.added  { background: var(--success); }

/* Badge on cards */
.badge-new   { background: var(--primary); color: #fff; }
.badge-sale  { background: var(--sale);    color: #fff; }
.badge-flash { background: var(--secondary); color: #fff; }

/* ── Hero Slider ─────────────────────────────────────────────── */
.hero-slider {
  position: relative;
  overflow: hidden;
  border-radius: 0;
}
.slide { display: none; }
.slide.active { display: block; }/* Responsive aspect ratio: taller on mobile so text & button fit */
.hero-slide-inner {
  aspect-ratio: 16 / 9;
}
@media (min-width: 480px)  { .hero-slide-inner { aspect-ratio: 16 / 8; } }
@media (min-width: 640px)  { .hero-slide-inner { aspect-ratio: 16 / 7; } }
@media (min-width: 768px)  { .hero-slide-inner { aspect-ratio: 16 / 6; } }.slide-img {
  width: 100%;
  aspect-ratio: 16 / 6;
  object-fit: cover;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.9);
  border: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.slider-btn:hover { background: #fff; box-shadow: 0 4px 20px rgba(0,0,0,.3); }
.slider-prev { left: 16px; }
.slider-next { right: 16px; }

.slider-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.slider-dot {
  width: 8px; height: 8px;
  background: rgba(255,255,255,.6);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.slider-dot.active { background: #fff; width: 20px; border-radius: 4px; }

/* ── Hero Style 2: Split Panel ───────────────────────────────── */
.hs-style-2 { border-radius: 0; overflow: hidden; }
.hs2-slide { display: flex; width: 100%; }
.hs2-text-side {
  flex: 0 0 42%;
  background: var(--primary);
  display: flex; flex-direction: column; justify-content: center;
  padding: 2rem 2.5rem; color: #fff; min-height: 220px;
}
.hs2-img-side { flex: 1; overflow: hidden; }
.hs2-img-side img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hs2-sub {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .12em;
  color: rgba(255,255,255,.72); margin-bottom: .5rem; font-weight: 600;
}
.hs2-title {
  font-size: clamp(1.1rem, 3.5vw, 2.5rem);
  font-weight: 800; line-height: 1.2; margin-bottom: 1.25rem;
}
.hs2-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--secondary); color: #fff; font-weight: 700;
  border-radius: 999px; padding: .55rem 1.3rem; font-size: .82rem;
  transition: opacity .2s; text-decoration: none; align-self: flex-start;
}
.hs2-btn:hover { opacity: .88; }
@media (max-width: 639px) {
  .hs2-slide { flex-direction: column-reverse; }
  .hs2-text-side { padding: 1.25rem 1.25rem; flex: unset; min-height: unset; }
  .hs2-img-side { height: 200px; }
}

/* ── Hero Style 3: Boxed Slider ──────────────────────────────── */
.hs-style-3 {
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 6px 32px rgba(0,0,0,.18);
}

/* ── Hero Style 4: Fullscreen Tall ──────────────────────────── */
.hs-style-4 .hero-slide-inner { aspect-ratio: 21/8 !important; }
@media (max-width: 767px) { .hs-style-4 .hero-slide-inner { aspect-ratio: 16/9 !important; } }
.hs4-overlay {
  background: linear-gradient(to right, rgba(0,0,0,.75) 45%, rgba(0,0,0,.15)) !important;
}
.hs-style-4 .slider-dots { bottom: 22px; }
.hs-style-4 .slider-btn { background: rgba(255,255,255,.18); border: 1.5px solid rgba(255,255,255,.4); color: #fff; }
.hs-style-4 .slider-btn:hover { background: rgba(255,255,255,.35); }
.hs-style-4 .slider-btn i { color: #fff; }

/* ── Hero Style 5: Magazine Grid ─────────────────────────────── */
.hs-magazine {
  display: grid;
  grid-template-columns: 3fr 1.45fr;
  height: 440px;
  gap: 3px;
}
@media (min-width: 640px)  { .hs-magazine { height: 480px; } }
@media (min-width: 1024px) { .hs-magazine { height: 520px; } }
.hs-mag-main {
  position: relative; overflow: hidden;
  display: block; text-decoration: none;
}
.hs-mag-side { display: flex; flex-direction: column; gap: 3px; }
.hs-mag-side-item {
  position: relative; overflow: hidden; flex: 1;
  display: block; text-decoration: none;
}
.hs-mag-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .5s ease;
}
.hs-mag-main:hover .hs-mag-img,
.hs-mag-side-item:hover .hs-mag-img { transform: scale(1.05); }
.hs-mag-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.72) 30%, rgba(0,0,0,.04) 70%);
}
.hs-mag-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}
.hs-mag-text {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.75rem 1.5rem; z-index: 2; color: #fff;
}
.hs-mag-text-sm { padding: 1rem 1rem .9rem; }
.hs-mag-sub {
  font-size: .7rem; text-transform: uppercase; letter-spacing: .1em;
  color: #fde68a; margin-bottom: .3rem; font-weight: 600;
}
.hs-mag-title {
  font-size: clamp(1rem, 2.5vw, 2rem);
  font-weight: 800; line-height: 1.2; margin-bottom: .75rem;
}
.hs-mag-title-sm {
  font-size: clamp(.82rem, 1.5vw, 1.15rem);
  font-weight: 700; line-height: 1.25; margin-bottom: .45rem;
}
.hs-mag-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--secondary); color: #fff; font-weight: 700;
  border-radius: 999px; padding: .5rem 1.2rem; font-size: .8rem;
  transition: opacity .2s;
}
.hs-mag-btn-sm { padding: .35rem .85rem; font-size: .7rem; }
.hs-mag-btn:hover { opacity: .88; }
/* Banner title heading — hover colour matches button hover colour */
.hs2-title { transition: color .25s; }
.hs2-slide:hover .hs2-title { color: var(--button-hover); }
.hs-mag-title { transition: color .25s; }
.hs-mag-main:hover .hs-mag-title,
.hs-mag-side-item:hover .hs-mag-title { color: var(--button-hover); }
.slide a.block h2 { transition: color .25s; }
.slide a.block:hover h2 { color: var(--button-hover) !important; }
@media (max-width: 639px) {
  .hs-magazine { grid-template-columns: 1fr; height: auto; }
  .hs-mag-main { aspect-ratio: 16/8; display: block; }
  .hs-mag-side { display: none; }
}

/* ── Category Slider ─────────────────────────────────────────── */

/* wrapper clips overflow so shadow doesn't create scrollbar */
.cat-slider-wrap {
  overflow-x: hidden;
  overflow-y: visible;
  padding: 4px 2px 8px;
  position: relative;
}
/* scrollable flex row */
.cat-slider {
  display: flex;
  gap: 14px;
  overflow-x: scroll;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-behavior: smooth;
}
.cat-slider::-webkit-scrollbar { display: none; }

/* circular category cards */
.cat-card {
  flex: 0 0 calc((100% - 4 * 20px) / 5);
  min-width: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
  cursor: pointer;
  text-decoration: none;
  transition: transform .22s ease;
}
.cat-card:hover { transform: translateY(-6px); }

/* responsive breakpoints */
@media (max-width: 1024px) {
  .cat-card { flex: 0 0 calc((100% - 5 * 20px) / 6); }
}
@media (max-width: 768px) {
  .cat-card { flex: 0 0 calc((100% - 3 * 20px) / 4); }
}
@media (max-width: 480px) {
  .cat-card { flex: 0 0 calc((100% - 2 * 20px) / 3); }
}

/* legacy .category-card kept for any other pages */
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: 1rem .75rem;
  background: #fff;
  border-radius: .75rem;
  box-shadow: var(--card-shadow);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}
.category-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.category-card .cat-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  transition: var(--transition);
}
.category-card:hover .cat-icon { background: var(--primary); color: #fff; }
.category-card .cat-icon.cat-img { overflow: hidden; background: #f3f4f6; }
.category-card .cat-icon.cat-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.category-card:hover .cat-icon.cat-img { background: #f3f4f6; }
.category-card .cat-name { font-size: .8rem; font-weight: 600; color: #333; }

/* ── Section Headings ────────────────────────────────────────── */
/* ── Section Headings ────────────────────────────────────────── */
.section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 1.5rem;
  gap: .5rem;
}
.section-heading h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #212121;
  position: relative;
  letter-spacing: -.01em;
}
.section-heading h2::after {
  content: '';
  display: block;
  margin: 6px auto 0;
  width: 40px;
  height: 2px;
  background: var(--button);
  border-radius: 2px;
}
.section-heading-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  justify-content: center;
}
.section-heading .view-all {
  font-size: .78rem;
  color: var(--button);
  font-weight: 600;
  transition: var(--transition);
}
.section-heading .view-all:hover { text-decoration: underline; color: var(--button-hover); }
@media (max-width: 639px) {
  .section-heading h2 { font-size: 1.15rem; }
}

/* ── Filter Sidebar ──────────────────────────────────────────── */
.filter-sidebar {
  background: #fff;
  border-radius: .5rem;
  padding: 1.25rem;
  box-shadow: var(--card-shadow);
  position: sticky;
  top: 80px;
}
.filter-section { margin-bottom: 1.5rem; border-bottom: 1px solid #eee; padding-bottom: 1.5rem; }
.filter-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.filter-title { font-size: .85rem; font-weight: 700; color: #212121; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .75rem; }
.filter-option {
  display: flex; align-items: center; gap: .5rem;
  font-size: .85rem; color: #555;
  padding: .25rem 0;
  cursor: pointer;
}
.filter-option:hover { color: var(--button); }
.filter-option input[type=checkbox] { accent-color: var(--primary); }

/* Price range slider */
.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: #ddd;
  outline: none;
}
.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.3);
}

/* ── Product Images Gallery ──────────────────────────────────── */
.product-gallery-main {
  position: relative;
  overflow: hidden;
  border-radius: .5rem;
  background: #fff;
  border: 1px solid #eee;
}
.product-gallery-main img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 1.5rem;
  transition: transform .3s ease;
}
.product-gallery-main:hover img { transform: scale(1.04); }

.product-thumbnail {
  width: 64px; height: 64px;
  border: 2px solid transparent;
  border-radius: .375rem;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  background: #fff;
}
.product-thumbnail.active,
.product-thumbnail:hover { border-color: var(--primary); }
.product-thumbnail img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }

/* ── Skeleton Loading ────────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: .375rem;
}
@keyframes skeleton-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skeleton-card {
  background: #fff;
  border-radius: .5rem;
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

/* ── Rating Stars ────────────────────────────────────────────── */
.star-rating { display: inline-flex; gap: 2px; cursor: pointer; }
.star        { font-size: 1.2rem; color: #e0e0e0; transition: color .15s; }
.star.active, .star.hover { color: #f59e0b; }

/* ── Order Timeline ──────────────────────────────────────────── */
.order-timeline { position: relative; padding-left: 2rem; }
.order-timeline::before {
  content: '';
  position: absolute;
  left: .6rem;
  top: 0; bottom: 0;
  width: 2px;
  background: #e5e7eb;
}
.timeline-item { position: relative; margin-bottom: 1.5rem; }
.timeline-dot {
  position: absolute;
  left: -2rem;
  top: 2px;
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 3px solid #e5e7eb;
  background: #fff;
  transition: var(--transition);
}
.timeline-dot.completed { background: var(--success); border-color: var(--success); }
.timeline-dot.active    { background: var(--primary); border-color: var(--primary); box-shadow: 0 0 0 4px rgba(40,116,240,.2); }

/* ── Breadcrumb ──────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .25rem;
  font-size: .8rem;
  color: #777;
  padding: .5rem 0;
}
.breadcrumb a { color: #777; transition: color .2s; }
.breadcrumb a:hover { color: var(--button); }
.breadcrumb .sep { color: #bbb; }
.breadcrumb .current { color: #212121; font-weight: 500; }

/* ── Qty Selector ────────────────────────────────────────────── */
.qty-selector {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: .5rem;
  overflow: hidden;
}
.qty-btn {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  background: #f7f7f7;
  border: none;
  transition: var(--transition);
}
.qty-btn:hover { background: var(--primary); color: #fff; }
.qty-input {
  width: 44px;
  text-align: center;
  font-size: .9rem;
  font-weight: 600;
  border: none;
  outline: none;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
}

/* ── Cart ────────────────────────────────────────────────────── */
.cart-item {
  background: #fff;
  border-radius: .5rem;
  box-shadow: var(--card-shadow);
  padding: 1rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: .75rem;
}
.cart-item-img {
  width: 90px; height: 90px;
  flex-shrink: 0;
  border: 1px solid #eee;
  border-radius: .375rem;
  object-fit: contain;
  padding: 4px;
  background: #fafafa;
}

/* ── Coupon ──────────────────────────────────────────────────── */
.coupon-input-wrap {
  display: flex;
  border: 1px dashed var(--primary);
  border-radius: .5rem;
  overflow: hidden;
}
.coupon-input-wrap input {
  flex: 1;
  padding: .6rem .75rem;
  font-size: .875rem;
  border: none;
  outline: none;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.coupon-apply-btn {
  padding: .6rem 1rem;
  background: var(--primary);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.coupon-apply-btn:hover { background: var(--primary-dark); }

/* ── Global: every <button>, <a>, <input> that Tailwind colours with
      bg-primary / hover:bg-primary-dark uses the admin Button Color ── */
a.bg-primary, button.bg-primary,
input[type="submit"].bg-primary, input[type="button"].bg-primary {
  background-color: var(--button) !important;
}
a.hover\:bg-primary-dark:hover, button.hover\:bg-primary-dark:hover,
input[type="submit"].hover\:bg-primary-dark:hover,
input[type="button"].hover\:bg-primary-dark:hover {
  background-color: var(--button-hover) !important;
}
/* bg-button / hover:bg-button-hover utility (used when button color differs from primary) */
.bg-button { background-color: var(--button) !important; color: #fff; }
.hover\:bg-button-hover:hover { background-color: var(--button-hover) !important; }

/* ── Button Variants ─────────────────────────────────────────── */
.btn-primary {
  background: var(--button);
  color: #fff;
  padding: .65rem 1.5rem;
  border-radius: .5rem;
  font-weight: 600;
  font-size: .9rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex; align-items: center; gap: .4rem;
}
.btn-primary:hover { background: var(--button-hover); }

.btn-secondary {
  background: var(--secondary);
  color: #fff;
  padding: .65rem 1.5rem;
  border-radius: .5rem;
  font-weight: 600;
  font-size: .9rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex; align-items: center; gap: .4rem;
}
.btn-secondary:hover { background: #e0550d; }

.btn-outline {
  background: transparent;
  color: var(--button);
  padding: .6rem 1.4rem;
  border-radius: .5rem;
  font-weight: 600;
  font-size: .9rem;
  border: 1.5px solid var(--button);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex; align-items: center; gap: .4rem;
}
.btn-outline:hover { background: var(--button); color: #fff; }

/* ── Form Controls ───────────────────────────────────────────── */
.form-input {
  width: 100%;
  padding: .65rem .9rem;
  border: 1.5px solid #ddd;
  border-radius: .5rem;
  font-size: .9rem;
  outline: none;
  transition: var(--transition);
  background: #fff;
  color: #212121;
}
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(40,116,240,.12); }
.form-input.error { border-color: var(--sale); }

.form-label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: #444;
  margin-bottom: .35rem;
}

/* ── Responsive Product Grid ─────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
}
@media (min-width: 640px)  { .product-grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1.1rem; } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); } }

/* ── Product Section Slider (4-up desktop, 2-up mobile) ─────── */
.prod-slider-wrap {
  position: relative;
}
.prod-slider-outer {
  overflow: hidden;
}
.prod-slider-track {
  display: flex;
  gap: 16px;
  transition: transform .38s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.prod-slider-track .product-card {
  flex: 0 0 calc((100% - 3 * 16px) / 4);
  min-width: 0;
}
@media (max-width: 1023px) {
  .prod-slider-track .product-card { flex: 0 0 calc((100% - 2 * 16px) / 3); }
}
@media (max-width: 639px) {
  .prod-slider-track { gap: 10px; }
  .prod-slider-track .product-card { flex: 0 0 calc((100% - 10px) / 2); }
}

/* Arrow buttons */
.prod-arrow {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: #374151;
  font-size: .7rem;
  flex-shrink: 0;
  transition: background .2s, color .2s, box-shadow .2s;
}
.prod-arrow:hover { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: 0 4px 14px rgba(40,116,240,.3); }
.prod-arrow:disabled { opacity: .3; cursor: default; pointer-events: none; }
@media (max-width: 639px) {
  .prod-arrow { display: none; }
}

/* ── Featured Products Slider ─────────────────────────────────── */
.featured-slider-wrap { position: relative; }
.featured-slider {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 2px 8px;
}
.featured-slider::-webkit-scrollbar { display: none; }
.featured-slider .product-card {
  flex: 0 0 calc((100% - 4 * 12px) / 5);
  min-width: 150px;
  scroll-snap-align: start;
}
@media (max-width: 1280px) { .featured-slider .product-card { flex: 0 0 calc((100% - 3 * 12px) / 4); } }
@media (max-width: 768px)  { .featured-slider .product-card { flex: 0 0 calc((100% - 2 * 12px) / 3); } }
@media (max-width: 480px)  { .featured-slider .product-card { flex: 0 0 calc((100% - 1 * 12px) / 2); } }

/* ── Product Section Slider (Trending / Best Sellers / New Arrivals) ── */
.pslider-wrap   { display:flex; align-items:center; gap:10px; }
.pslider-outer  { overflow:hidden; flex:1; padding:4px 0 8px; }
.pslider-track  {
  display:flex; gap:12px;
  transition:transform .35s cubic-bezier(.4,0,.2,1);
  will-change:transform;
}
.pslider-track .product-card { flex:0 0 calc((100% - 4*12px)/5); min-width:150px; }
@media (max-width:1280px) { .pslider-track .product-card { flex:0 0 calc((100% - 3*12px)/4); } }
@media (max-width:768px)  { .pslider-track .product-card { flex:0 0 calc((100% - 2*12px)/3); } }
.pslider-btn {
  width:36px; height:36px; border-radius:50%; flex-shrink:0;
  background:#fff; border:1.5px solid #e2e8f0;
  box-shadow:0 2px 8px rgba(0,0,0,.1);
  color:#374151; font-size:.72rem;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; transition:all .2s;
}
.pslider-btn:hover   { background:var(--primary); color:#fff; border-color:var(--primary); box-shadow:0 4px 14px rgba(40,116,240,.3); }
.pslider-btn:disabled { opacity:.3; cursor:default; pointer-events:none; }

/* ── Mobile slider: 2 cards, native scroll, no arrows ── */
@media (max-width:480px) {
  .pslider-btn { display:none; }
  .pslider-wrap { gap:0; }
  .pslider-outer {
    overflow:visible; overflow-x:auto; scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch; scrollbar-width:none;
    padding:4px 0 8px;
  }
  .pslider-outer::-webkit-scrollbar { display:none; }
  .pslider-track { transform:none !important; transition:none !important; }
  .pslider-track .product-card {
    flex:0 0 calc(50% - 6px); scroll-snap-align:start; min-width:0;
  }
}

/* ── Product Grid Row ────────────────────────────────────────── */
.product-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px 12px;
}
@media (max-width: 1280px) { .product-row { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 768px)  { .product-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px)  { .product-row { grid-template-columns: repeat(2, 1fr); } }

/* ── Sticky Sidebar ──────────────────────────────────────────── */
.sticky-sidebar { position: sticky; top: 80px; }

/* ── Brand Slider ────────────────────────────────────────────── */
.brand-slider-wrap {
  padding: 14px 4px 14px;
  overflow: visible;
}
.brand-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-top: 6px;
  padding-bottom: 4px;
}
.brand-slider::-webkit-scrollbar { display: none; }

.brand-card {
  flex: 0 0 110px;
  width: 110px;
  scroll-snap-align: start;
  aspect-ratio: 1 / 1;
  background: #fff;
  border: 2px solid #f0f2f5;
  border-radius: 1.25rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: border-color .22s, box-shadow .22s, transform .22s;
  padding: 14px 10px;
  position: relative;
}
.brand-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0) 60%, rgba(0,0,0,.03) 100%);
  pointer-events: none;
}
.brand-card:hover {
  border-color: var(--button);
  box-shadow: 0 8px 28px rgba(40,116,240,.2);
  transform: translateY(-4px);
}
.brand-card img {
  width: 72%;
  height: 72%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform .32s ease;
}
.brand-card:hover img { transform: scale(1.1); }
.brand-card span {
  font-size: .72rem;
  font-weight: 700;
  color: #374151;
  text-align: center;
  line-height: 1.3;
  letter-spacing: .02em;
  text-transform: uppercase;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 768px) { .brand-card { flex: 0 0 90px; width: 90px; } }
@media (max-width: 480px) { .brand-card { flex: 0 0 80px; width: 80px; } }

/* ── Cat2 Slider (Category & Brand — 10 styles) ──────────────── */
.cat2-wrapper { display:flex; align-items:center; gap:8px; }
.cat2-outer   { overflow:hidden; flex:1; padding:6px 0 12px; }
.cat2-track   { display:flex; gap:12px; transition:transform .35s cubic-bezier(.4,0,.2,1); will-change:transform; }
.cat2-arrow   { width:34px; height:34px; border-radius:50%; flex-shrink:0; border:1.5px solid #e2e8f0; background:#fff; color:#555; display:flex; align-items:center; justify-content:center; cursor:pointer; font-size:.7rem; transition:all .2s; }
.cat2-arrow:hover    { background:var(--primary); border-color:var(--primary); color:#fff; }
.cat2-arrow:disabled { opacity:.3; cursor:default; pointer-events:none; }
.cat2-card     { display:flex; flex-direction:column; align-items:center; text-decoration:none; cursor:pointer; }
.cat2-img-wrap { position:relative; overflow:hidden; display:flex; align-items:center; justify-content:center; }
.cat2-img      { object-fit:contain; display:block; }
.cat2-icon     { font-size:1.6rem; color:#fff; }
.cat2-label    { font-size:.7rem; font-weight:700; text-align:center; color:#222; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100%; }

/* ── Style 1: Large Circle ─────────────────────────────────────── */
.cat2-track.cat2-s1 { gap:20px; }
.cat2-s1 .cat2-card { flex:0 0 calc((100% - 5*20px)/6); min-width:110px; gap:.75rem; transition:transform .28s; }
.cat2-s1 .cat2-card:hover { transform:translateY(-7px); }
.cat2-s1 .cat2-img-wrap { width:148px; height:148px; border-radius:50%; background:var(--primary); box-shadow:0 6px 22px rgba(0,0,0,.18); transition:box-shadow .28s; }
.cat2-s1 .cat2-card:hover .cat2-img-wrap { box-shadow:0 14px 36px rgba(0,0,0,.26); }
.cat2-s1 .cat2-img { width:72%; height:72%; object-fit:contain; filter:brightness(0) invert(1); }
.cat2-s1 .cat2-icon { color:#fff; font-size:2.6rem; }
.cat2-s1 .cat2-label { font-size:.82rem; font-weight:600; color:#333; letter-spacing:.01em; }
@media (max-width:1280px){ .cat2-s1 .cat2-img-wrap { width:128px; height:128px; } }
@media (max-width:1024px){ .cat2-s1 .cat2-img-wrap { width:110px; height:110px; } .cat2-s1 .cat2-card { flex:0 0 calc((100% - 4*20px)/5); } }
@media (max-width:768px)  { .cat2-s1 .cat2-card { flex:0 0 calc((100% - 3*16px)/4); } .cat2-s1 .cat2-img-wrap { width:92px; height:92px; } .cat2-track.cat2-s1 { gap:16px; } }
@media (max-width:480px)  { .cat2-s1 .cat2-card { flex:0 0 calc((100% - 2*12px)/3); } .cat2-s1 .cat2-img-wrap { width:80px; height:80px; } }

/* ── Style 2: Gradient Circle ──────────────────────────────────── */
.cat2-track.cat2-s2 { gap:16px; }
.cat2-s2 .cat2-card { flex:0 0 calc((100% - 5*16px)/6); min-width:90px; gap:.6rem; transition:transform .25s; }
.cat2-s2 .cat2-card:hover { transform:translateY(-6px); }
.cat2-s2 .cat2-img-wrap { width:108px; height:108px; border-radius:50%; background:var(--primary); box-shadow:0 6px 20px rgba(0,0,0,.22); transition:box-shadow .25s; position:relative; overflow:hidden; }
.cat2-s2 .cat2-img-wrap::after { content:''; position:absolute; inset:0; background:linear-gradient(135deg,rgba(255,255,255,.18) 0%,rgba(0,0,0,.22) 100%); border-radius:50%; pointer-events:none; }
.cat2-s2 .cat2-card:hover .cat2-img-wrap { box-shadow:0 12px 30px rgba(0,0,0,.3); }
.cat2-s2 .cat2-img { width:60%; height:60%; object-fit:contain; filter:brightness(0) invert(1); position:relative; z-index:1; }
.cat2-s2 .cat2-icon { color:#fff; font-size:2.2rem; position:relative; z-index:1; }
.cat2-s2 .cat2-label { font-size:.78rem; font-weight:600; color:#333; }
@media (max-width:1024px){ .cat2-s2 .cat2-img-wrap { width:90px; height:90px; } .cat2-s2 .cat2-card { flex:0 0 calc((100% - 4*16px)/5); } }
@media (max-width:768px)  { .cat2-s2 .cat2-card { flex:0 0 calc((100% - 2*14px)/3); } .cat2-s2 .cat2-img-wrap { width:78px; height:78px; } }
@media (max-width:480px)  { .cat2-s2 .cat2-card { flex:0 0 calc((100% - 14px)/2); } }

/* ── Style 3: Square Photo Card ────────────────────────────────── */
.cat2-s3 .cat2-card { flex:0 0 calc((100% - 4*12px)/5); min-width:110px; border-radius:18px; overflow:hidden; background:#fff; box-shadow:0 3px 14px rgba(0,0,0,.1); gap:0; transition:transform .25s,box-shadow .25s; }
.cat2-s3 .cat2-card:hover { transform:translateY(-6px); box-shadow:0 12px 32px rgba(0,0,0,.15); }
.cat2-s3 .cat2-img-wrap { width:100%; aspect-ratio:1/1; background:var(--primary); overflow:hidden; display:flex; align-items:center; justify-content:center; }
.cat2-s3 .cat2-img { width:100%; height:100%; object-fit:cover; filter:none; transition:transform .35s; }
.cat2-s3 .cat2-card:hover .cat2-img { transform:scale(1.08); }
.cat2-s3 .cat2-icon { color:#fff; font-size:2.4rem; }
.cat2-s3 .cat2-label { padding:.55rem .5rem; font-size:.75rem; font-weight:600; color:#222; background:#fff; border-top:1px solid #f0f0f0; width:100%; }
@media (max-width:768px)  { .cat2-s3 .cat2-card { flex:0 0 calc((100% - 2*12px)/3); } }
@media (max-width:480px)  { .cat2-s3 .cat2-card { flex:0 0 calc((100% - 12px)/2); } }

/* ── Style 4: Horizontal Pill ──────────────────────────────────── */
.cat2-s4 .cat2-card { flex:0 0 calc((100% - 3*10px)/4); min-width:148px; flex-direction:row; align-items:center; gap:.65rem; border-radius:999px; background:#fff; border:1.5px solid #e5e7eb; padding:.5rem 1.1rem .5rem .45rem; box-shadow:0 2px 8px rgba(0,0,0,.06); transition:border-color .2s,box-shadow .2s,transform .2s; }
.cat2-s4 .cat2-card:hover { border-color:var(--primary); box-shadow:0 6px 18px rgba(0,0,0,.1); transform:translateY(-3px); }
.cat2-s4 .cat2-img-wrap { width:48px; height:48px; border-radius:50%; background:var(--primary); flex-shrink:0; }
.cat2-s4 .cat2-img { width:60%; height:60%; object-fit:contain; filter:brightness(0) invert(1); }
.cat2-s4 .cat2-icon { color:#fff; font-size:1.3rem; }
.cat2-s4 .cat2-label { font-size:.76rem; font-weight:700; color:#1a1a1a; }
@media (max-width:768px)  { .cat2-s4 .cat2-card { flex:0 0 calc((100% - 10px)/2); min-width:130px; } }

/* ── Style 5: Outline Circle (primary bg + white border ring) ───── */
.cat2-track.cat2-s5 { gap:16px; }
.cat2-s5 .cat2-card { flex:0 0 calc((100% - 5*16px)/6); min-width:90px; gap:.65rem; }
.cat2-s5 .cat2-img-wrap { width:116px; height:116px; border-radius:50%; background:var(--primary); border:3px solid rgba(255,255,255,.45); box-shadow:0 0 0 3px var(--primary),0 6px 18px rgba(0,0,0,.2); transition:box-shadow .28s,transform .28s; }
.cat2-s5 .cat2-card:hover .cat2-img-wrap { box-shadow:0 0 0 4px var(--primary),0 12px 30px rgba(0,0,0,.28); transform:translateY(-5px); }
.cat2-s5 .cat2-img { width:65%; height:65%; object-fit:contain; filter:brightness(0) invert(1); }
.cat2-s5 .cat2-icon { color:#fff; font-size:2.2rem; }
.cat2-s5 .cat2-label { font-size:.79rem; font-weight:600; color:#222; }
@media (max-width:1024px){ .cat2-s5 .cat2-img-wrap { width:96px; height:96px; } .cat2-s5 .cat2-card { flex:0 0 calc((100% - 4*16px)/5); } }
@media (max-width:768px)  { .cat2-s5 .cat2-card { flex:0 0 calc((100% - 2*14px)/3); } .cat2-s5 .cat2-img-wrap { width:84px; height:84px; } }
@media (max-width:480px)  { .cat2-s5 .cat2-card { flex:0 0 calc((100% - 14px)/2); } .cat2-s5 .cat2-img-wrap { width:74px; height:74px; } }

/* ── Style 6: Padded White Card + Primary Inner Circle ──────────── */
.cat2-s6 .cat2-card { flex:0 0 calc((100% - 4*12px)/5); min-width:100px; border-radius:20px; background:#fff; padding:.85rem .55rem .7rem; gap:.55rem; box-shadow:0 3px 14px rgba(0,0,0,.08); transition:transform .25s,box-shadow .25s; }
.cat2-s6 .cat2-card:hover { transform:translateY(-6px); box-shadow:0 12px 32px rgba(0,0,0,.13); }
.cat2-s6 .cat2-img-wrap { width:82px; height:82px; border-radius:50%; background:var(--primary); box-shadow:0 4px 12px rgba(0,0,0,.15); }
.cat2-s6 .cat2-img { width:60%; height:60%; object-fit:contain; filter:brightness(0) invert(1); }
.cat2-s6 .cat2-icon { color:#fff; font-size:2rem; }
.cat2-s6 .cat2-label { font-size:.75rem; font-weight:600; color:#333; }
@media (max-width:768px)  { .cat2-s6 .cat2-card { flex:0 0 calc((100% - 2*12px)/3); } }
@media (max-width:480px)  { .cat2-s6 .cat2-card { flex:0 0 calc((100% - 12px)/2); } }

/* ── Style 7: Portrait Banner (full-image + dark overlay + label) ── */
.cat2-s7 .cat2-card { flex:0 0 calc((100% - 4*10px)/5); min-width:110px; border-radius:16px; overflow:hidden; position:relative; aspect-ratio:2/3; background:var(--primary); box-shadow:0 5px 18px rgba(0,0,0,.18); transition:transform .28s,box-shadow .28s; }
.cat2-s7 .cat2-card:hover { transform:scale(1.04); box-shadow:0 12px 32px rgba(0,0,0,.26); }
.cat2-s7 .cat2-img-wrap { position:absolute; inset:0; width:100%; height:100%; }
.cat2-s7 .cat2-img { width:100%; height:100%; object-fit:cover; filter:none; transition:transform .4s; }
.cat2-s7 .cat2-card:hover .cat2-img { transform:scale(1.07); }
.cat2-s7 .cat2-card::after { content:''; position:absolute; inset:0; background:linear-gradient(to top,rgba(0,0,0,.82) 35%,rgba(0,0,0,.1) 70%); }
.cat2-s7 .cat2-label { position:absolute; bottom:12px; left:0; right:0; color:#fff; z-index:2; padding:0 10px; font-size:.77rem; letter-spacing:.02em; }
.cat2-s7 .cat2-icon { position:absolute; top:50%; left:50%; transform:translate(-50%,-55%); z-index:1; font-size:2.8rem; opacity:.9; color:#fff; }
@media (max-width:768px)  { .cat2-s7 .cat2-card { flex:0 0 calc((100% - 2*10px)/3); } }
@media (max-width:480px)  { .cat2-s7 .cat2-card { flex:0 0 calc((100% - 10px)/2); } }

/* ── Style 8: Ghost Ring (primary bg, animated white ring on hover) */
.cat2-track.cat2-s8 { gap:16px; }
.cat2-s8 .cat2-card { flex:0 0 calc((100% - 5*16px)/6); min-width:88px; gap:.6rem; }
.cat2-s8 .cat2-img-wrap { width:104px; height:104px; border-radius:50%; background:var(--primary); border:3px solid rgba(255,255,255,.3); box-shadow:0 4px 14px rgba(0,0,0,.18); transition:border-color .28s,transform .28s,box-shadow .28s; }
.cat2-s8 .cat2-card:hover .cat2-img-wrap { border-color:rgba(255,255,255,.85); transform:scale(1.08); box-shadow:0 10px 28px rgba(0,0,0,.28); }
.cat2-s8 .cat2-img { width:58%; height:58%; object-fit:contain; filter:brightness(0) invert(1); }
.cat2-s8 .cat2-icon { color:#fff; font-size:2rem; }
.cat2-s8 .cat2-label { font-size:.77rem; font-weight:600; color:#333; }
@media (max-width:1024px){ .cat2-s8 .cat2-img-wrap { width:88px; height:88px; } .cat2-s8 .cat2-card { flex:0 0 calc((100% - 4*16px)/5); } }
@media (max-width:768px)  { .cat2-s8 .cat2-card { flex:0 0 calc((100% - 2*14px)/3); } .cat2-s8 .cat2-img-wrap { width:78px; height:78px; } }
@media (max-width:480px)  { .cat2-s8 .cat2-card { flex:0 0 calc((100% - 14px)/2); } }

/* ── Style 9: Dark Card + Primary Inner Circle ─────────────────── */
.cat2-s9 .cat2-card { flex:0 0 calc((100% - 4*10px)/5); min-width:96px; gap:.55rem; border-radius:16px; background:#111827; padding:.9rem .55rem; transition:box-shadow .28s,transform .28s; }
.cat2-s9 .cat2-card:hover { box-shadow:0 0 0 2px var(--primary),0 10px 28px rgba(0,0,0,.5); transform:translateY(-5px); }
.cat2-s9 .cat2-img-wrap { width:72px; height:72px; border-radius:50%; background:var(--primary); box-shadow:0 4px 14px rgba(0,0,0,.3); }
.cat2-s9 .cat2-img { width:60%; height:60%; object-fit:contain; filter:brightness(0) invert(1); }
.cat2-s9 .cat2-icon { color:#fff; font-size:1.7rem; }
.cat2-s9 .cat2-label { color:#e5e7eb; font-size:.72rem; }
@media (max-width:768px)  { .cat2-s9 .cat2-card { flex:0 0 calc((100% - 2*10px)/3); } }
@media (max-width:480px)  { .cat2-s9 .cat2-card { flex:0 0 calc((100% - 10px)/2); } }

/* ── Style 10: Glass Card + Primary Inner Circle ───────────────── */
.cat2-track.cat2-s10 { gap:14px; }
.cat2-s10 .cat2-card { flex:0 0 calc((100% - 5*14px)/6); min-width:92px; gap:.55rem; border-radius:20px; background:rgba(255,255,255,.55); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); border:1px solid rgba(255,255,255,.75); box-shadow:0 4px 18px rgba(0,0,0,.1); padding:.8rem .5rem; transition:transform .25s,box-shadow .25s; }
.cat2-s10 .cat2-card:hover { transform:translateY(-6px); box-shadow:0 14px 36px rgba(0,0,0,.15); }
.cat2-s10 .cat2-img-wrap { width:78px; height:78px; border-radius:50%; background:var(--primary); box-shadow:0 4px 12px rgba(0,0,0,.2); }
.cat2-s10 .cat2-img { width:62%; height:62%; object-fit:contain; filter:brightness(0) invert(1); }
.cat2-s10 .cat2-icon { color:#fff; font-size:1.8rem; }
.cat2-s10 .cat2-label { color:#1a1a1a; font-size:.75rem; font-weight:600; }
@media (max-width:1024px){ .cat2-s10 .cat2-img-wrap { width:66px; height:66px; } .cat2-s10 .cat2-card { flex:0 0 calc((100% - 4*14px)/5); } }
@media (max-width:768px)  { .cat2-s10 .cat2-card { flex:0 0 calc((100% - 2*12px)/3); } .cat2-s10 .cat2-img-wrap { width:60px; height:60px; } }
@media (max-width:480px)  { .cat2-s10 .cat2-card { flex:0 0 calc((100% - 12px)/2); } }

/* ── cat2 image-presence overrides ─────────────────────────────── */
/* Real category photos: remove filter so they display naturally on primary bg */
.cat2-img-wrap.cat2-has-img .cat2-img { filter:none !important; object-fit:contain !important; width:80% !important; height:80% !important; }
/* Photo-fill styles (3 & 7): cover the full card area */
.cat2-s3 .cat2-has-img .cat2-img,
.cat2-s7 .cat2-has-img .cat2-img { width:100% !important; height:100% !important; object-fit:cover !important; }
/* Brand logos: white background for clean logo display */
.cat2-img-wrap.cat2-has-logo { background:#fff !important; box-shadow:0 2px 8px rgba(0,0,0,.1) !important; }
.cat2-has-logo .cat2-img { filter:none !important; object-fit:contain !important; width:68% !important; height:68% !important; }

/* ── Cat2 / Brand mobile: 3 cards, native scroll, no arrows ── */
@media (max-width:480px) {
  .cat2-arrow { display:none; }
  .cat2-wrapper { gap:0; }
  .cat2-outer { overflow:visible; overflow-x:auto; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; scrollbar-width:none; }
  .cat2-outer::-webkit-scrollbar { display:none; }
  .cat2-track { transform:none !important; transition:none !important; gap:10px !important; }
  .cat2-track .cat2-card { flex:0 0 calc(33.333% - 7px) !important; min-width:0 !important; scroll-snap-align:start; }
}

/* ── Promo Banners ───────────────────────────────────────────── */
.promo-banner {
  border-radius: .75rem;
  overflow: hidden;
  position: relative;
  min-height: 130px;
  display: flex;
  align-items: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--primary), #5a9aff);
  color: #fff;
  transition: var(--transition);
}
.promo-banner:hover { transform: scale(1.02); }

/* ── Testimonials ────────────────────────────────────────────── */
/* Legacy (keep for backward compat) */
.testimonial-card {
  background: #fff;
  border-radius: .75rem;
  padding: 1.5rem;
  box-shadow: var(--card-shadow);
  border-left: 4px solid var(--primary);
}

/* New professional testimonial section */
.testimonials-section {
  background: transparent;
  position: relative;
  overflow: hidden;
}
.testimonials-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(40,116,240,.08) 0%, transparent 70%);
  pointer-events: none;
}
.testimonials-section::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(251,100,27,.07) 0%, transparent 70%);
  pointer-events: none;
}

.testimonial-card-new {
  background: #fff;
  border-radius: 1rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 2px 12px rgba(0,0,0,.06), 0 1px 3px rgba(0,0,0,.04);
  border: 1px solid rgba(0,0,0,.05);
  transition: transform .22s ease, box-shadow .22s ease;
}
@media (max-width: 639px) {
  .testimonial-card-new { padding: 1.25rem; border-radius: .875rem; }
}
.testimonial-card-new:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(40,116,240,.12), 0 2px 8px rgba(0,0,0,.06);
}

.testimonial-quote-icon {
  width: 2.25rem;
  height: 2.25rem;
  background: var(--primary);
  color: #fff;
  border-radius: .6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .875rem;
  margin-bottom: 1rem;
  flex-shrink: 0;
  opacity: .9;
}

/* ── Testimonial Slider ──────────────────────────────────────── */
.testi-slider-outer {
  position: relative;
  overflow: hidden;
  padding: 0 0 .5rem;
}
.testi-slider {
  display: flex;
  gap: 1.5rem;
  transition: transform .45s cubic-bezier(.25,.46,.45,.94);
  will-change: transform;
}
.testi-slide {
  flex: 0 0 calc((100% - 3rem) / 3); /* 3 cards */
  min-width: 0;
}
@media (max-width: 1023px) {
  .testi-slide { flex: 0 0 calc((100% - 1.5rem) / 2); } /* 2 cards */
}
@media (max-width: 639px) {
  .testi-slide { flex: 0 0 100%; } /* 1 card */
}

/* Arrows */
.testi-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #374151;
  cursor: pointer;
  z-index: 10;
  transition: background .2s, color .2s, box-shadow .2s;
}
.testi-arrow:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(40,116,240,.3);
}
.testi-prev { left: 0; }
.testi-next { right: 0; }
/* Hide arrows on mobile — users swipe instead */
@media (max-width: 639px) {
  .testi-prev, .testi-next { display: none; }
}

/* Dots */
.testi-dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 1.75rem;
}
.testi-dot {
  width: .5rem;
  height: .5rem;
  border-radius: 9999px;
  background: #d1d5db;
  border: none;
  cursor: pointer;
  transition: background .25s, width .25s;
  padding: 0;
}
.testi-dot.active {
  background: var(--primary);
  width: 1.5rem;
}
/* Larger tap targets on mobile */
@media (max-width: 639px) {
  .testi-dots { gap: .6rem; margin-top: 1.25rem; }
  .testi-dot  { width: .65rem; height: .65rem; }
  .testi-dot.active { width: 1.75rem; }
}

/* ── Tabs ────────────────────────────────────────────────────── */
.tab-btn {
  padding: .6rem 1rem;
  font-size: .875rem;
  font-weight: 500;
  color: #666;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}
.tab-btn.active { color: var(--button); border-bottom-color: var(--button); font-weight: 700; }
.tab-btn:hover  { color: var(--button); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── Lazy Image ──────────────────────────────────────────────── */
img[data-src] { opacity: 0; transition: opacity .3s; }
img.loaded    { opacity: 1; }

/* ── Checkout Steps ──────────────────────────────────────────── */
.checkout-steps-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 480px;
  margin: 0 auto 2rem;
  padding: 0 1rem;
}
.checkout-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  flex-shrink: 0;
  color: #b0b8c9;
  font-size: .72rem;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}
.checkout-step.active { color: var(--button); }
.checkout-step.done   { color: var(--success); }
.step-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #e5e7eb;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 700;
  color: #9ca3af;
  transition: background .2s, color .2s;
}
.checkout-step.active .step-num {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(40,116,240,.15);
}
.checkout-step.done .step-num {
  background: var(--success);
  color: #fff;
}
.step-label {
  display: block;
  margin-top: .15rem;
}
.step-line {
  flex: 1;
  height: 2px;
  background: #e5e7eb;
  margin: 0 6px;
  margin-bottom: 18px;
  border-radius: 2px;
  min-width: 24px;
  transition: background .2s;
}
.step-line.done { background: var(--success); }

/* ── Search Dropdown ─────────────────────────────────────────── */
#search-dropdown, #search-dropdown-mobile {
  border: 1px solid #e5e7eb;
  border-top: none;
  border-radius: 0 0 .75rem .75rem;
}
#search-dropdown .search-section-label,
#search-dropdown-mobile .search-section-label {
  padding: .35rem 1rem;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #9ca3af;
  background: #f9fafb;
  border-bottom: 1px solid #f3f4f6;
}
#search-dropdown .search-item,
#search-dropdown-mobile .search-item {
  display: flex; align-items: center; gap: .75rem;
  padding: .55rem 1rem;
  font-size: .875rem;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: background .12s;
}
#search-dropdown .search-item:hover,
#search-dropdown-mobile .search-item:hover { background: var(--surface); }
#search-dropdown .search-item img,
#search-dropdown-mobile .search-item img {
  width: 40px; height: 40px;
  object-fit: contain;
  border-radius: .375rem;
  border: 1px solid #f3f4f6;
  flex-shrink: 0;
  background: #fff;
}
#search-dropdown .search-item-details,
#search-dropdown-mobile .search-item-details { flex: 1; min-width: 0; }
#search-dropdown .search-item-name,
#search-dropdown-mobile .search-item-name {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: .85rem;
  color: #1f2937;
}
#search-dropdown .search-item-meta,
#search-dropdown-mobile .search-item-meta {
  display: flex; align-items: center; gap: .4rem; margin-top: .1rem;
}
#search-dropdown .search-item-price,
#search-dropdown-mobile .search-item-price {
  font-size: .78rem;
  font-weight: 700;
  color: var(--button);
}
#search-dropdown .search-discount,
#search-dropdown-mobile .search-discount {
  font-size: .68rem;
  background: #dcfce7;
  color: #16a34a;
  font-weight: 600;
  padding: 0 .3rem;
  border-radius: .25rem;
}
#search-dropdown .search-item-cat,
#search-dropdown-mobile .search-item-cat {
  font-size: .7rem;
  color: #9ca3af;
}
/* Category items */
#search-dropdown .search-cat-item,
#search-dropdown-mobile .search-cat-item { gap: .6rem; }
#search-dropdown .search-cat-icon,
#search-dropdown-mobile .search-cat-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #eff6ff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: .75rem;
  color: var(--button);
}
/* See all footer */
#search-dropdown .search-see-all,
#search-dropdown-mobile .search-see-all {
  display: block;
  padding: .6rem 1rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--button);
  background: #f9fafb;
  border-top: 1px solid #f3f4f6;
  text-decoration: none;
  transition: background .12s;
}
#search-dropdown .search-see-all:hover,
#search-dropdown-mobile .search-see-all:hover { background: #eff6ff; }
/* Loading / no-results */
#search-dropdown .search-loading,
#search-dropdown-mobile .search-loading,
#search-dropdown .search-no-results,
#search-dropdown-mobile .search-no-results {
  padding: .9rem 1rem;
  font-size: .85rem;
  color: #6b7280;
  text-align: center;
}

/* ── Toast ───────────────────────────────────────────────────── */
.toast-enter  { animation: slideUp .3s ease forwards; }
.toast-leave  { animation: slideDown .3s ease forwards; }
@keyframes slideUp   { from { transform: translateY(20px); opacity:0; } to { transform: translateY(0); opacity:1; } }
@keyframes slideDown { from { transform: translateY(0);    opacity:1; } to { transform: translateY(20px); opacity:0; } }

/* ── Overlay Loader ──────────────────────────────────────────── */
.page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(255,255,255,.9);
  display: flex; align-items: center; justify-content: center;
}
.spinner {
  width: 44px; height: 44px;
  border: 4px solid #e5e7eb;
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Account Sidebar ─────────────────────────────────────────── */
.account-nav-link {
  display: flex; align-items: center; gap: .6rem;
  padding: .65rem 1rem;
  border-radius: .5rem;
  font-size: .875rem;
  color: #555;
  transition: var(--transition);
}
.account-nav-link:hover,
.account-nav-link.active { background: #eef3fd; color: var(--button); font-weight: 600; }

/* ── Utility ─────────────────────────────────────────────────── */
.text-primary  { color: var(--button); }
.bg-primary    { background: var(--primary); }
.line-clamp-2  { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.line-clamp-3  { display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }

/* ── Promotion ribbon ────────────────────────────────────────── */
.ribbon {
  position: absolute;
  top: 0; left: 0;
  background: var(--sale);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 0 0 6px 0;
  z-index: 2;
  letter-spacing: .04em;
}

/* ════════════════════════════════════════════════════════════
   PRODUCT CARD STYLES (pc-s1 to pc-s5)
   ════════════════════════════════════════════════════════════ */

/* ── Style 2: Square Image ───────────────────────────────── */
.product-card.pc-s2 .img-wrap { aspect-ratio: 1 / 1; }
.product-card.pc-s2 .img-wrap img { object-position: center; }

/* ── Style 3: Bottom Action ─────────────────────────────── */
.product-card.pc-s3 .img-wrap { aspect-ratio: 3 / 4; }
.product-card.pc-s3 .card-body { padding: .65rem 0 .5rem; gap: .3rem; }
.pc-s3-cart-btn {
  display: block; width: 100%;
  margin-top: .4rem; padding: .45rem;
  background: var(--button); color: #fff;
  border: none; border-radius: 4px;
  font-size: .75rem; font-weight: 700;
  letter-spacing: .04em; cursor: pointer;
  transition: background .2s; text-align: center;
}
.pc-s3-cart-btn:hover { background: var(--button-hover); }
.pc-s3-cart-btn.added { background: var(--success); }
.pc-s3-oos {
  display: block; text-align: center;
  font-size: .7rem; font-weight: 700;
  color: #999; letter-spacing: .04em;
  margin-top: .4rem; padding: .4rem;
  border: 1px solid #e5e7eb; border-radius: 4px;
}

/* ── Style 4: Minimal / Overlay ─────────────────────────── */
.product-card.pc-s4 { background: transparent; }
.product-card.pc-s4 .img-wrap { aspect-ratio: 3 / 4; border-radius: 8px; overflow: hidden; }
.product-card.pc-s4 .card-actions { top: 8px; right: 8px; opacity: 1; transform: none; }
.pc-s4-badge {
  position: absolute; top: 10px; left: 10px; z-index: 4;
  background: var(--sale); color: #fff;
  font-size: .6rem; font-weight: 800;
  padding: 2px 8px; border-radius: 3px;
  text-transform: uppercase; letter-spacing: .05em;
}
.pc-s4-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent 0%, rgba(0,0,0,.78) 100%);
  padding: 2.5rem .75rem .65rem;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: .5rem; z-index: 3;
  opacity: 0; transition: opacity .28s ease;
}
.product-card.pc-s4:hover .pc-s4-overlay { opacity: 1; }
.pc-s4-info { flex: 1; min-width: 0; }
.pc-s4-name {
  display: block;
  overflow: hidden; color: #fff;
  font-size: .78rem; font-weight: 600; line-height: 1.35;
  text-decoration: none;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.pc-s4-price { display: block; color: rgba(255,255,255,.9); font-size: .8rem; font-weight: 700; margin-top: 2px; }
.pc-s4-cart {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--button); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: .85rem; flex-shrink: 0;
  transition: background .2s, transform .2s;
}
.pc-s4-cart:hover { background: var(--button-hover); transform: scale(1.1); }
.pc-s4-cart.added { background: var(--success); }

/* ── Style 5: Bold Card ──────────────────────────────────── */
.product-card.pc-s5 { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 6px rgba(0,0,0,.08); }
.product-card.pc-s5 .img-wrap { aspect-ratio: 1 / 1; border-radius: 0; }
.product-card.pc-s5 .img-wrap .card-actions {
  position: absolute; top: 8px; right: 8px; z-index: 5;
  flex-direction: column; gap: 5px;
  opacity: 0; transform: translateX(8px);
  transition: opacity .22s, transform .22s;
}
.product-card.pc-s5:hover .img-wrap .card-actions { opacity: 1; transform: translateX(0); }
.product-card.pc-s5 .card-body { padding: .7rem .75rem .75rem; gap: .25rem; }
.product-card.pc-s5 .product-name { font-size: .82rem; font-weight: 600; color: #1a1a1a; }
.pc-s5-price-row { display: flex; align-items: center; gap: .4rem; margin: .15rem 0 .1rem; }
.pc-s5-price { font-size: 1rem; font-weight: 800; color: #111; }
.pc-s5-orig  { font-size: .78rem; color: #aaa; text-decoration: line-through; }
.pc-s5-cart {
  display: block; width: 100%; padding: .5rem;
  background: var(--button); color: #fff;
  border: none; border-radius: 6px;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .04em; cursor: pointer;
  margin-top: .35rem; transition: background .2s; text-align: center;
}
.pc-s5-cart:hover { background: var(--button-hover); }
.pc-s5-cart.added { background: var(--success); }
.pc-s5-oos { display: block; text-align: center; font-size: .72rem; font-weight: 700; color: #bbb; letter-spacing: .04em; margin-top: .35rem; }

/* ── Style 6: Bordered ───────────────────────────────────────── */
.product-card.pc-s6 {
  background: #fff; border-radius: 10px; overflow: hidden;
  border: 1.5px solid #e2e8f0;
  transition: border-color .22s, box-shadow .22s, transform .22s;
}
.product-card.pc-s6:hover { border-color: var(--primary); box-shadow: 0 4px 18px rgba(0,0,0,.11); transform: translateY(-3px); }
.product-card.pc-s6 .img-wrap { aspect-ratio: 4 / 5; border-radius: 0; overflow: hidden; }
.product-card.pc-s6 .img-wrap .card-actions {
  position: absolute; top: 8px; right: 8px; z-index: 5;
  flex-direction: column; gap: 5px;
  opacity: 0; transform: translateX(8px);
  transition: opacity .22s, transform .22s;
}
.product-card.pc-s6:hover .img-wrap .card-actions { opacity: 1; transform: translateX(0); }
.product-card.pc-s6 .card-body { padding: .65rem .7rem .7rem; gap: .22rem; }
.pc-s6-cart {
  display: block; width: 100%; padding: .42rem .5rem;
  background: transparent; color: var(--button);
  border: 1.5px solid var(--button); border-radius: 6px;
  font-size: .75rem; font-weight: 700; cursor: pointer;
  letter-spacing: .04em; margin-top: .35rem;
  transition: background .2s, color .2s;
}
.pc-s6-cart:hover { background: var(--button); color: #fff; }
.pc-s6-cart.added { background: var(--success); border-color: var(--success); color: #fff; }
.pc-s6-oos { display: block; text-align: center; font-size: .72rem; font-weight: 700; color: #ccc; margin-top: .35rem; }

/* ── Style 7: Color Top ──────────────────────────────────────── */
.product-card.pc-s7 { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.pc-s7-top {
  position: relative; background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1 / 1; padding: 16px; overflow: hidden;
}
.pc-s7-top img { object-fit: contain; max-height: 100%; filter: drop-shadow(0 4px 12px rgba(0,0,0,.18)); transition: transform .3s; }
.product-card.pc-s7:hover .pc-s7-top img { transform: scale(1.07); }
.pc-s7-top .card-actions { position: absolute; top: 8px; right: 8px; flex-direction: column; gap: 5px; opacity: 0; transition: opacity .22s; }
.product-card.pc-s7:hover .pc-s7-top .card-actions { opacity: 1; }
.pc-s7-body { padding: .7rem .75rem .75rem; display: flex; flex-direction: column; gap: .22rem; }
.pc-s7-body .product-name { font-size: .82rem; font-weight: 600; color: #1a1a1a; }
.pc-s7-cart {
  display: block; width: 100%; padding: .45rem;
  background: var(--button); color: #fff;
  border: none; border-radius: 6px;
  font-size: .75rem; font-weight: 700; cursor: pointer;
  letter-spacing: .04em; margin-top: .3rem;
  transition: background .2s;
}
.pc-s7-cart:hover { background: var(--button-hover); }
.pc-s7-cart.added { background: var(--success); }
.pc-s7-oos { display: block; text-align: center; font-size: .72rem; font-weight: 700; color: #ccc; margin-top: .3rem; }

/* ── Style 8: Slide Reveal ───────────────────────────────────── */
.product-card.pc-s8 { background: transparent; border-radius: 0; overflow: visible; }
.product-card.pc-s8 .img-wrap {
  aspect-ratio: 3 / 4; border-radius: 8px; overflow: hidden;
  position: relative;
}
.product-card.pc-s8 .img-wrap img { object-fit: cover; width: 100%; height: 100%; transition: transform .35s; }
.product-card.pc-s8:hover .img-wrap img { transform: scale(1.05); }
.pc-s8-badge {
  position: absolute; top: 10px; left: 10px; z-index: 5;
  background: var(--sale); color: #fff;
  font-size: .65rem; font-weight: 800; letter-spacing: .06em;
  padding: 2px 7px; border-radius: 4px;
}
.pc-s8-wishlist { position: absolute; top: 8px; right: 8px; z-index: 6; opacity: 0; transition: opacity .22s; }
.product-card.pc-s8:hover .pc-s8-wishlist { opacity: 1; }
.pc-s8-panel {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(17,24,39,.82); backdrop-filter: blur(4px);
  padding: .75rem; display: flex; flex-direction: column; gap: .3rem;
  transform: translateY(100%); transition: transform .3s cubic-bezier(.4,0,.2,1);
  border-radius: 0 0 8px 8px;
}
.product-card.pc-s8:hover .pc-s8-panel { transform: translateY(0); }
.pc-s8-name { color: #fff; font-size: .78rem; font-weight: 600; text-decoration: none; line-height: 1.3; }
.pc-s8-price { color: #fbbf24; font-size: .9rem; font-weight: 800; }
.pc-s8-cart {
  background: var(--button); color: #fff; border: none;
  border-radius: 5px; padding: .38rem .5rem;
  font-size: .72rem; font-weight: 700; cursor: pointer;
  transition: background .2s; letter-spacing: .04em;
}
.pc-s8-cart:hover { background: var(--button-hover); }
.pc-s8-cart.added { background: var(--success); }

/* ── Style 9: Float ──────────────────────────────────────────── */
.product-card.pc-s9 {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.07);
  transition: transform .28s cubic-bezier(.4,0,.2,1), box-shadow .28s;
}
.product-card.pc-s9:hover { transform: translateY(-8px); box-shadow: 0 14px 32px rgba(0,0,0,.14); }
.product-card.pc-s9 .img-wrap { aspect-ratio: 4 / 5; border-radius: 0; }
.product-card.pc-s9 .img-wrap .card-actions {
  position: absolute; top: 8px; right: 8px;
  flex-direction: column; gap: 5px;
  opacity: 0; transform: translateX(8px); transition: opacity .22s, transform .22s;
}
.product-card.pc-s9:hover .img-wrap .card-actions { opacity: 1; transform: translateX(0); }
.product-card.pc-s9 .card-body { padding: .65rem .75rem .7rem; gap: .2rem; }
.pc-s9-cart {
  display: block; width: 100%; padding: .42rem .5rem;
  background: var(--button); color: #fff;
  border: 1px solid var(--button); border-radius: 6px;
  font-size: .74rem; font-weight: 700; cursor: pointer;
  letter-spacing: .04em; margin-top: .3rem;
  transition: background .2s, color .2s, border-color .2s;
}
.pc-s9-cart:hover { background: var(--button-hover); border-color: var(--button-hover); }
.pc-s9-cart.added { background: var(--success); color: #fff; border-color: var(--success); }
.pc-s9-oos { display: block; text-align: center; font-size: .72rem; font-weight: 700; color: #ccc; margin-top: .3rem; }

/* ── Style 10: Dark ──────────────────────────────────────────── */
.product-card.pc-s10 {
  background: #111827; border-radius: 10px; overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
  transition: transform .25s, box-shadow .25s;
}
.product-card.pc-s10:hover { transform: translateY(-3px); box-shadow: 0 6px 22px rgba(0,0,0,.35); }
.product-card.pc-s10 .img-wrap { aspect-ratio: 1 / 1; background: #1f2937; border-radius: 0; }
.product-card.pc-s10 .img-wrap img { mix-blend-mode: luminosity; opacity: .9; transition: opacity .25s, transform .25s; }
.product-card.pc-s10:hover .img-wrap img { opacity: 1; transform: scale(1.04); }
.pc-s10-actions { opacity: 0; transition: opacity .22s; }
.pc-s10-actions .card-action-btn { background: rgba(255,255,255,.12); color: #e5e7eb; }
.pc-s10-actions .card-action-btn:hover { background: var(--primary); color: #fff; }
.product-card.pc-s10:hover .pc-s10-actions { opacity: 1; }
.product-card.pc-s10 .card-body { padding: .65rem .75rem .7rem; gap: .2rem; background: #111827; }
.pc-s10-name { color: #f3f4f6 !important; }
.pc-s10-price { color: #fbbf24 !important; }
.pc-s10-orig  { color: #6b7280 !important; text-decoration: line-through; }
.pc-s10-cart {
  display: block; width: 100%; padding: .42rem .5rem;
  background: var(--button); color: #fff;
  border: 1.5px solid var(--button); border-radius: 6px;
  font-size: .74rem; font-weight: 700; cursor: pointer;
  letter-spacing: .04em; margin-top: .3rem;
  transition: background .2s, color .2s, border-color .2s;
}
.pc-s10-cart:hover { background: var(--button-hover); border-color: var(--button-hover); }
.pc-s10-cart.added { background: var(--success); color: #fff; border-color: var(--success); }
.pc-s10-oos { display: block; text-align: center; font-size: .72rem; font-weight: 700; color: #4b5563; margin-top: .3rem; }

/* ── Mid-Banner Slider ───────────────────────────────────────── */
.mid-banner-slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mid-banner-outer {
  flex: 1;
  overflow: hidden;
}
.mid-banner-track {
  display: flex;
  will-change: transform;
}
.mid-banner-item {
  flex-shrink: 0;
  padding: 0 5px;
  box-sizing: border-box;
}
.mid-banner-link {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 5 / 3;
  text-decoration: none;
  transition: opacity .2s;
}
.mid-banner-link:hover { opacity: .93; }
.mid-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mid-banner-placeholder {
  position: absolute;
  inset: 0;
}
.mid-banner-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  color: #fff;
}
.mid-banner-sub {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .8;
  margin: 0 0 4px;
}
.mid-banner-title {
  font-size: .95rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 8px;
}
.mid-banner-cta {
  display: inline-block;
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.6);
  color: #fff;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
}
.mid-banner-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--nav-border, #e0e0e0);
  box-shadow: 0 2px 6px rgba(0,0,0,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  font-size: .75rem;
  color: #333;
  transition: background .18s, box-shadow .18s, opacity .18s;
  z-index: 2;
}
.mid-banner-btn:hover { background: var(--surface); box-shadow: 0 3px 10px rgba(0,0,0,.18); }

/* ── Gallery Video Cards — Professional ─────────────────────── */
.gv-card {
  background: #fff;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
  cursor: pointer;
  transition: transform .28s ease, box-shadow .28s ease;
}
.gv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(0,0,0,.13);
}
.gv-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #0f0f0f;
}
.gv-thumb-img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .4s ease, opacity .4s ease;
}
.gv-card:hover .gv-thumb-img { transform: scale(1.07); opacity: .82; }
.gv-thumb-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, rgba(0,0,0,.08) 55%);
  transition: background .3s;
}
.gv-card:hover .gv-thumb-overlay {
  background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.28) 55%);
}
.gv-play-btn {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid rgba(255,255,255,.75);
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(6px);
  transition: background .25s, border-color .25s, transform .25s;
}
.gv-card:hover .gv-play-btn {
  background: var(--button);
  border-color: var(--button);
  transform: scale(1.15);
}
.gv-play-btn i { color: #fff; font-size: .95rem; margin-left: 3px; }
.gv-duration-badge {
  position: absolute; bottom: 9px; right: 10px;
  font-size: .62rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: rgba(255,255,255,.8);
  background: rgba(0,0,0,.42);
  padding: 2px 8px;
  opacity: 0; transition: opacity .25s;
}
.gv-card:hover .gv-duration-badge { opacity: 1; }
.gv-info {
  padding: 13px 16px 15px;
  border-top: 3px solid var(--button);
  background: #fff;
}
.gv-title {
  font-weight: 700; font-size: .88rem;
  color: #111827; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 4px; transition: color .22s;
}
.gv-card:hover .gv-title { color: var(--button-hover); }
.gv-desc {
  font-size: .74rem; color: #6b7280;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 10px;
}
.gv-play-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .7rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--button); transition: color .22s;
}
.gv-card:hover .gv-play-link { color: var(--button-hover); }

/* ── Blog Cards — Professional ──────────────────────────────── */
.blog-card {
  display: flex; flex-direction: column;
  background: #fff;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  text-decoration: none;
  position: relative;
  transition: transform .28s ease, box-shadow .28s ease;
}
.blog-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--button);
  transform: scaleX(0); transform-origin: left;
  transition: transform .32s ease; z-index: 1;
}
.blog-card:hover::before { transform: scaleX(1); }
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0,0,0,.12);
}
.blog-card-thumb {
  position: relative; aspect-ratio: 16/9;
  overflow: hidden; background: #f3f4f6; flex-shrink: 0;
}
.blog-card-img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .42s ease, opacity .42s ease;
}
.blog-card:hover .blog-card-img { transform: scale(1.07); opacity: .88; }
.blog-card-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}
.blog-card-thumb-placeholder i { color: rgba(255,255,255,.35); font-size: 2.5rem; }
.blog-card-thumb-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0); transition: background .32s;
}
.blog-card:hover .blog-card-thumb-overlay { background: rgba(0,0,0,.1); }
.blog-card-badge {
  position: absolute; top: 12px; left: 0;
  font-size: .62rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: #fff;
  background: var(--button);
  padding: 3px 11px 3px 10px;
}
.blog-card-body {
  padding: 18px 20px 20px;
  display: flex; flex-direction: column; flex: 1;
  border-top: 3px solid var(--button);
}
.blog-card-meta {
  display: flex; align-items: center; gap: 6px;
  font-size: .7rem; color: #9ca3af;
  font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; margin-bottom: 10px;
}
.blog-card-meta i { color: var(--button); }
.blog-card-meta-dot { color: #d1d5db; }
.blog-card-title {
  font-weight: 800; font-size: .95rem;
  color: #111827; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 10px; transition: color .22s;
}
.blog-card:hover .blog-card-title { color: var(--button-hover); }
.blog-card-excerpt {
  font-size: .8rem; color: #6b7280; line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden;
  flex: 1; margin-bottom: 16px;
}
.blog-card-readmore {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .7rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--button);
  border-top: 1px solid #f0f4f8; padding-top: 14px;
  transition: color .22s, gap .22s;
}
.blog-card:hover .blog-card-readmore { color: var(--button-hover); gap: 10px; }

/* ── Blog mobile: horizontal scroll slider ── */
@media (max-width:640px) {
  .blog-grid {
    display:flex !important; overflow-x:auto; scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch; scrollbar-width:none;
    gap:14px; padding-bottom:8px;
  }
  .blog-grid::-webkit-scrollbar { display:none; }
  .blog-grid .blog-card {
    flex:0 0 82vw; min-width:0; scroll-snap-align:start;
  }
}

/* ── Responsive Utilities ────────────────────────────────────── */
