/* ==========================================================================
   SAAMBROS - Ultra-Premium Product Cards & Grids (World-Class E-Commerce Design)
   ========================================================================== */

/* Product Grid System with Strict Viewport Adaptation */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 1600px) {
  .products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
  }
  .products-grid-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
  }
}

@media (max-width: 900px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.65rem;
  }
}

@media (max-width: 360px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.45rem;
  }
}

/* Homepage Mobile Flash Products Touch-Swipe Carousel */
@media (max-width: 768px) {
  .flash-products-carousel {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0.75rem;
    padding: 0.35rem 0.25rem 0.85rem 0.25rem;
    margin: 0 -0.25rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .flash-products-carousel::-webkit-scrollbar {
    display: none;
  }
  .flash-products-carousel .product-card {
    flex: 0 0 185px !important;
    width: 185px !important;
    min-width: 185px !important;
    max-width: 185px !important;
    scroll-snap-align: start;
  }
}

@media (max-width: 360px) {
  .flash-products-carousel .product-card {
    flex: 0 0 160px !important;
    width: 160px !important;
    min-width: 160px !important;
    max-width: 160px !important;
  }
}

/* ==========================================
   ULTRA-PREMIUM PRODUCT CARD CONTAINER
   ========================================== */
.product-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #eef2f6;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px -4px rgba(15, 23, 42, 0.1);
  border-color: #cbd5e1;
}

.product-card.product-out-of-stock {
  opacity: 0.78;
}

/* ==========================================
   IMAGE BOX (PRIMARY + SECONDARY CROSSFADE)
   ========================================== */
.product-image-box {
  position: relative;
  width: 100%;
  padding-top: 105%; /* Clean square/portrait e-commerce proportion */
  background: #f8fafc;
  overflow: hidden;
  border-bottom: 1px solid #f1f5f9;
}

.product-image-link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.product-img-primary,
.product-img-secondary {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  box-sizing: border-box;
  transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-img-primary {
  opacity: 1;
  z-index: 1;
}

.product-img-secondary {
  opacity: 0;
  z-index: 2;
}

/* Desktop Hover Transition: Only trigger on fine-pointer devices with hover */
@media (hover: hover) and (pointer: fine) {
  .product-card:hover .product-img-primary.has-secondary {
    opacity: 0;
    transform: scale(1.04);
  }
  .product-card:hover .product-img-secondary {
    opacity: 1;
    transform: scale(1.04);
  }
  .product-card:hover .product-img-primary:not(.has-secondary) {
    transform: scale(1.05);
  }
}

/* Floating Sleek Badges */
.product-badges {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 3;
  pointer-events: none;
}

.product-badge-discount {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  font-size: 0.66rem;
  font-weight: 800;
  padding: 0.16rem 0.48rem;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.35);
  letter-spacing: 0.2px;
}

.product-badge-flash {
  background: linear-gradient(135deg, #FF6600 0%, #f59e0b 100%);
  color: white;
  font-size: 0.66rem;
  font-weight: 800;
  padding: 0.16rem 0.48rem;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(255, 102, 0, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

/* Quick View & Wishlist Floating Action Buttons */
.product-card-actions {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateX(6px);
  transition: all 0.24s ease;
  z-index: 3;
}

.product-card:hover .product-card-actions {
  opacity: 1;
  transform: translateX(0);
}

.card-action-btn {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 0.85rem;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.card-action-btn:hover {
  background: var(--primary-orange);
  color: white;
  transform: scale(1.1);
  border-color: var(--primary-orange);
}

.card-action-btn.wishlist-btn:hover {
  background: #fff1f2;
  color: #e11d48;
  border-color: #fecdd3;
  transform: scale(1.1);
}

.card-action-btn.wishlist-btn.in-wishlist {
  background: #fff1f2 !important;
  color: #e11d48 !important;
  border: 1.5px solid #fecdd3 !important;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25);
}

.card-action-btn.wishlist-btn.in-wishlist i {
  font-weight: 900 !important;
}

/* Mobile Touch Support: Keep product card actions visible on touch viewports */
@media (max-width: 992px) {
  .product-card-actions {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================
   PRODUCT CARD BODY
   ========================================== */
.product-card-body {
  padding: 0.75rem 0.85rem 0.85rem 0.85rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  box-sizing: border-box;
}

.product-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  margin-bottom: 0.25rem;
}

.product-card-category {
  font-size: 0.66rem;
  text-transform: uppercase;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-stock-tag {
  font-size: 0.62rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  white-space: nowrap;
}

.product-stock-tag.in-stock {
  color: #10b981;
}

.product-stock-tag.out-of-stock {
  color: #ef4444;
}

.product-card-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 0.35rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.4rem;
  transition: color 0.15s;
}

.product-card-title:hover {
  color: var(--primary-orange);
}

/* Rating */
.product-card-rating {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: #f59e0b;
  margin-bottom: 0.45rem;
}

.product-card-rating .rating-stars {
  display: inline-flex;
  gap: 0.1rem;
  font-size: 0.72rem;
}

.product-card-rating .rating-score {
  font-weight: 800;
  color: #0f172a;
  font-size: 0.75rem;
}

.product-card-rating .rating-count {
  color: #94a3b8;
  font-size: 0.7rem;
}

/* Pricing */
.product-card-pricing {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin-top: auto;
  margin-bottom: 0.65rem;
}

.price-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.product-current-price {
  font-size: 1.18rem;
  font-weight: 900;
  color: var(--primary-orange);
  font-family: var(--font-heading);
  letter-spacing: -0.3px;
  line-height: 1;
}

.product-old-price {
  font-size: 0.78rem;
  color: #94a3b8;
  text-decoration: line-through;
}

/* ==========================================
   ACTION BUTTONS: BUY NOW + ADD TO CART
   ========================================== */
.product-card-actions-row {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.btn-card-buy {
  flex: 1;
  min-width: 0;
  background: linear-gradient(135deg, #FF6600 0%, #ff5200 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.5rem 0.6rem;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 3px 8px rgba(255, 102, 0, 0.25);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-card-buy:hover:not(.disabled) {
  background: linear-gradient(135deg, #e65c00 0%, #d94e00 100%);
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(255, 102, 0, 0.38);
}

.btn-card-buy.disabled {
  background: #e2e8f0 !important;
  color: #94a3b8 !important;
  box-shadow: none !important;
  cursor: not-allowed;
}

.btn-card-cart {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-card-cart:hover:not(.disabled) {
  background: var(--primary-orange);
  color: #ffffff;
  border-color: var(--primary-orange);
  transform: translateY(-1px);
}

.btn-card-cart.disabled {
  background: #f1f5f9 !important;
  color: #cbd5e1 !important;
  border-color: #e2e8f0 !important;
  cursor: not-allowed;
}

/* Responsive Mobile Sizing Refinement */
@media (max-width: 768px) {
  .product-card {
    border-radius: 12px;
  }
  .product-card-body {
    padding: 0.55rem 0.6rem 0.65rem 0.6rem;
  }
  .product-card-meta {
    margin-bottom: 0.18rem;
  }
  .product-card-category {
    font-size: 0.6rem;
  }
  .product-stock-tag {
    font-size: 0.58rem;
  }
  .product-card-title {
    font-size: 0.8rem;
    height: 2.15rem;
    margin-bottom: 0.2rem;
    line-height: 1.3;
  }
  .product-card-rating {
    font-size: 0.68rem;
    margin-bottom: 0.3rem;
  }
  .product-card-rating .rating-stars {
    font-size: 0.65rem;
  }
  .product-current-price {
    font-size: 1.02rem;
  }
  .product-old-price {
    font-size: 0.72rem;
  }
  .btn-card-buy {
    font-size: 0.74rem;
    padding: 0.45rem 0.4rem;
    border-radius: 8px;
    gap: 0.25rem;
  }
  .btn-card-cart {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
    border-radius: 8px;
  }
}

@media (max-width: 360px) {
  .product-card-body {
    padding: 0.45rem 0.45rem 0.55rem 0.45rem;
  }
  .product-card-title {
    font-size: 0.74rem;
    height: 1.95rem;
  }
  .product-current-price {
    font-size: 0.92rem;
  }
  .product-old-price {
    font-size: 0.68rem;
  }
  .btn-card-buy {
    font-size: 0.68rem;
    padding: 0.4rem 0.25rem;
    gap: 0.2rem;
  }
  .btn-card-cart {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }
}

/* Add To Cart Button */
.btn-add-cart {
  width: 100%;
  background: var(--brand-white);
  border: 1.5px solid var(--primary-orange);
  color: var(--primary-orange);
  padding: 0.55rem 0.75rem;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
}

.btn-add-cart:hover {
  background: var(--primary-orange);
  flex-shrink: 0;
}

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */
.product-breadcrumbs-wrap {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 0.65rem 0;
  font-size: 0.82rem;
  color: #64748b;
}

.product-breadcrumbs-wrap .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.product-breadcrumbs-wrap a {
  color: #64748b;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.15s ease;
}

.product-breadcrumbs-wrap a:hover {
  color: var(--primary-orange);
}

.crumb-sep {
  color: #94a3b8;
  font-size: 0.9rem;
}

.crumb-current {
  color: #0f172a;
  font-weight: 600;
  max-width: 380px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   DESKTOP 3-COLUMN HERO PRODUCT LAYOUT
   ========================================================================== */
.product-3col-layout {
  display: grid;
  grid-template-columns: 440px minmax(340px, 1fr) 330px;
  gap: 2rem;
  align-items: start;
  margin-top: 1rem;
}

.product-media-col {
  position: sticky;
  top: 90px;
  align-self: start;
  width: 100%;
  z-index: 10;
}

/* --------------------------------------------------------------------------
   SECTION 1: PRODUCT MEDIA GALLERY (DESKTOP)
   -------------------------------------------------------------------------- */
.gallery-desktop-flex {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.gallery-thumbs-vertical {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 72px;
  flex-shrink: 0;
  max-height: 520px;
  overflow-y: auto;
  scrollbar-width: thin;
  padding: 2px 2px 2px 0;
}

.gallery-thumbs-vertical::-webkit-scrollbar {
  width: 4px;
}

.gallery-thumbs-vertical::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.thumb-btn {
  width: 68px;
  height: 68px;
  border-radius: 10px;
  border: 2px solid #e2e8f0;
  background: #ffffff;
  padding: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
  overflow: hidden;
  flex-shrink: 0;
}

.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.thumb-btn:hover {
  border-color: #fdba74;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.15);
}

.thumb-btn.active {
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 2px rgba(255, 102, 0, 0.25);
  transform: scale(1.02);
}

/* Main Image Viewport & Zoom Stage */
.gallery-main-stage {
  position: relative;
  flex: 1;
  height: 520px;
  background: radial-gradient(circle at center, #ffffff 40%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: crosshair;
  box-shadow: 0 8px 30px -8px rgba(15, 23, 42, 0.06);
  user-select: none;
}

.gallery-zoom-viewport {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.25rem;
  display: block;
  transition: transform 0.2s ease-out;
  transform-origin: center center;
}

/* Floating Badges */
.badge-gallery-discount {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.76rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
  letter-spacing: 0.3px;
}

.badge-gallery-flash {
  position: absolute;
  top: 50px;
  left: 14px;
  z-index: 5;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  box-shadow: 0 3px 10px rgba(245, 158, 11, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* Floating Wishlist Button on Gallery */
.gallery-floating-wishlist {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: #0f172a;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}

.gallery-floating-wishlist:hover {
  transform: scale(1.1);
  color: #e11d48;
  background: #ffffff;
}

.gallery-floating-wishlist.active {
  color: #e11d48;
  background: #fff1f2;
  border-color: #fecdd3;
}

/* Zoom Hover Hint */
.gallery-zoom-hint {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.85;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.gallery-main-stage:hover .gallery-zoom-hint {
  opacity: 0;
}

/* Gallery Navigation Buttons */
.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #e2e8f0;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 6;
  font-size: 0.85rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transition: all 0.2s;
}

.gallery-main-stage:hover .gallery-nav-btn {
  opacity: 1;
}

.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }

.gallery-nav-btn:hover {
  background: var(--primary-orange);
  color: #ffffff;
  border-color: var(--primary-orange);
  transform: translateY(-50%) scale(1.1);
}

/* Mobile Counter Pill */
.mobile-gallery-counter {
  display: none;
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 5;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}

/* Mobile Horizontal Thumbnails */
.gallery-thumbs-mobile {
  display: none;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.35rem 0;
  -webkit-overflow-scrolling: touch;
}

.thumb-btn-mobile {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  border: 2px solid #e2e8f0;
  background: #ffffff;
  padding: 2px;
  cursor: pointer;
  flex-shrink: 0;
  overflow: hidden;
}

.thumb-btn-mobile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.thumb-btn-mobile.active {
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 2px rgba(255, 102, 0, 0.25);
}

/* Lightbox Modal */
.product-lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(10px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.product-lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-dialog {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-image-wrap {
  max-width: 85vw;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image-wrap img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.6);
  background: #ffffff;
  padding: 1rem;
}

.lightbox-close-btn {
  position: absolute;
  top: -45px;
  right: -10px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.lightbox-close-btn:hover {
  background: #ef4444;
  transform: scale(1.1);
}

.lightbox-counter {
  margin-top: 1rem;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.lightbox-nav-btn:hover {
  background: var(--primary-orange);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev { left: -60px; }
.lightbox-next { right: -60px; }

/* ==========================================================================
   COLUMN 2: CENTER PRODUCT INFORMATION
   ========================================================================== */
.product-info-col {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.p-brand-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.p-category-link {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--primary-orange);
  background: #fff7ed;
  border: 1px solid #ffedd5;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.15s;
}

.p-category-link:hover {
  background: var(--primary-orange);
  color: #ffffff;
}

.p-brand-pill {
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  background: #f1f5f9;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
}

.p-sku-pill {
  font-size: 0.75rem;
  color: #94a3b8;
  font-family: monospace;
}

.p-title-heading {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.32;
  margin: 0;
  letter-spacing: -0.3px;
}

/* Rating Summary Line */
.p-rating-summary-bar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  flex-wrap: wrap;
}

.p-stars-display {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: #f59e0b;
  font-size: 0.9rem;
}

.p-rating-score {
  font-weight: 800;
  color: #0f172a;
  margin-left: 0.3rem;
  font-size: 0.92rem;
}

.p-meta-divider {
  color: #cbd5e1;
}

.p-rating-count-link {
  color: #0284c7;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s;
}

.p-rating-count-link:hover {
  color: var(--primary-orange);
  text-decoration: underline;
}

.p-verified-badge {
  color: #16a34a;
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.p-info-divider {
  height: 1px;
  background: #e2e8f0;
  width: 100%;
}

/* Modern Price Card */
.p-price-card {
  background: linear-gradient(135deg, #fffaf5 0%, #fff7ed 100%);
  border: 1px solid #fed7aa;
  border-radius: 14px;
  padding: 1.15rem 1.35rem;
}

.p-price-top-line {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
}

.p-discount-tag {
  color: #dc2626;
  font-size: 1.5rem;
  font-weight: 900;
  font-family: var(--font-heading);
}

.p-price-amount {
  font-size: 2.25rem;
  font-weight: 900;
  color: #0f172a;
  font-family: var(--font-heading);
  letter-spacing: -0.5px;
}

.p-price-sub-line {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  margin-top: 0.35rem;
  flex-wrap: wrap;
}

.p-mrp-text {
  color: #94a3b8;
}

.p-savings-text {
  color: #15803d;
  font-weight: 800;
  background: #dcfce7;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  font-size: 0.82rem;
}

.p-delivery-chip {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid #fed7aa;
  font-size: 0.82rem;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

/* Stock Indicator */
.p-stock-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.stock-pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7);
  animation: pulseGreen 1.8s infinite;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

.p-stock-sub {
  color: #64748b;
  font-size: 0.78rem;
}

/* Product Highlights Box */
.p-highlights-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.15rem 1.35rem;
}

.p-highlights-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.75rem 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.p-highlights-list {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.86rem;
  color: #334155;
  line-height: 1.65;
}

.p-highlights-list li {
  margin-bottom: 0.45rem;
}

.p-highlights-list li:last-child {
  margin-bottom: 0;
}

.p-short-desc {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.6;
}

.p-short-desc p {
  margin-bottom: 0.5rem;
}

.p-short-desc p:last-child {
  margin-bottom: 0;
}

.p-short-desc strong,
.p-short-desc b {
  font-weight: 800;
  color: #0f172a;
}

.p-short-desc ul,
.p-short-desc ol {
  padding-left: 1.25rem;
  margin: 0.4rem 0 0.5rem 0;
}

.p-short-desc li {
  margin-bottom: 0.25rem;
}

.p-short-desc span[style],
.p-short-desc font {
  display: inline;
}

/* ==========================================================================
   COLUMN 3: STICKY BUYING CARD (BUY BOX)
   ========================================================================== */
.product-buybox-col {
  position: relative;
}

.product-buybox-card {
  position: sticky;
  top: 90px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.buybox-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f1f5f9;
}

.buybox-price-label {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 700;
}

.buybox-price-val {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--primary-orange);
  font-family: var(--font-heading);
}

.buybox-eta-block {
  font-size: 0.82rem;
  color: #475569;
  background: #f8fafc;
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  border: 1px solid #eef2f6;
}

.buybox-delivery-status {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.buybox-delivery-eta {
  color: #64748b;
  font-size: 0.78rem;
}

.buybox-stock-status {
  font-size: 0.85rem;
  font-weight: 800;
  color: #16a34a;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Quantity Row */
.buybox-quantity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
}

.buybox-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  overflow: hidden;
  background: #f8fafc;
}

.btn-qty-minus,
.btn-qty-plus {
  width: 36px;
  height: 36px;
  border: none;
  background: #ffffff;
  color: #0f172a;
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.btn-qty-minus:hover,
.btn-qty-plus:hover {
  background: #e2e8f0;
}

.buybox-qty-input {
  width: 42px;
  height: 36px;
  border: none;
  text-align: center;
  font-weight: 800;
  font-size: 0.95rem;
  background: #f8fafc;
  color: #0f172a;
}

/* CTA Buttons */
.buybox-cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.btn-buybox-primary {
  width: 100%;
  background: linear-gradient(135deg, #FF6600 0%, #ea580c 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 0.95rem 1rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  box-shadow: 0 4px 16px rgba(255, 102, 0, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-buybox-primary:hover {
  background: linear-gradient(135deg, #e65c00 0%, #c2410c 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 102, 0, 0.45);
}

.btn-buybox-secondary {
  width: 100%;
  background: #ffffff;
  color: #0f172a;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 2px solid #0f172a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s;
}

.btn-buybox-secondary:hover {
  background: #0f172a;
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-buybox-whatsapp {
  width: 100%;
  background: #f0fdf4;
  color: #15803d;
  border: 1.5px solid #86efac;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s;
}

.btn-buybox-whatsapp:hover {
  background: #22c55e;
  color: #ffffff;
  border-color: #22c55e;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.25);
}

.btn-buybox-wishlist {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  color: #64748b;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: all 0.2s;
}

.btn-buybox-wishlist:hover,
.btn-buybox-wishlist.active {
  color: #e11d48;
  border-color: #fecdd3;
  background: #fff1f2;
}

/* EasyPaisa Card inside Buy Box */
.buybox-easypaisa-card {
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  border-radius: 12px;
  padding: 0.85rem 1rem;
}

.bb-ep-header {
  font-size: 0.82rem;
  font-weight: 800;
  color: #065f46;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.bb-ep-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  background: #ffffff;
  border-radius: 8px;
  padding: 0.5rem 0.65rem;
  border: 1px solid #dcfce7;
  margin-bottom: 0.5rem;
}

.bb-ep-cell-label {
  font-size: 0.68rem;
  color: #64748b;
  font-weight: 700;
  display: block;
}

.bb-ep-cell-val {
  font-size: 1rem;
  font-weight: 900;
  color: #047857;
  font-family: var(--font-heading);
}

.bb-ep-cell-val.text-navy {
  color: #0f172a;
}

.bb-ep-copy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #14532d;
}

.btn-bb-copy {
  background: #dcfce7;
  border: 1px solid #86efac;
  color: #15803d;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-bb-copy:hover {
  background: #16a34a;
  color: #ffffff;
}

/* Trust Badges List in Buy Box */
.buybox-trust-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: #64748b;
  border-top: 1px solid #f1f5f9;
  padding-top: 0.85rem;
}

.bb-trust-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bb-trust-row i {
  color: var(--primary-orange);
  width: 16px;
  text-align: center;
}

/* ==========================================================================
   FULL-WIDTH SECTION BELOW 3 COLUMNS: TABS & ACCORDION
   ========================================================================== */
.product-fullwidth-section {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.05);
  margin-bottom: 3.5rem;
  overflow: hidden;
}

/* Desktop Tabs Nav */
.p-tabs-nav-bar {
  display: flex;
  background: #f8fafc;
  border-bottom: 2px solid #e2e8f0;
  overflow-x: auto;
  scrollbar-width: none;
}
.p-tabs-nav-bar::-webkit-scrollbar { display: none; }

.p-tab-nav-item {
  padding: 1.15rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: #64748b;
  border: none;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  position: relative;
  white-space: nowrap;
  transition: all 0.2s;
}

.p-tab-nav-item:hover {
  color: var(--primary-orange);
  background: rgba(255, 102, 0, 0.04);
}

.p-tab-nav-item.active {
  color: var(--primary-orange);
  background: #ffffff;
}

.p-tab-nav-item.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-orange);
  border-radius: 3px 3px 0 0;
}

/* Panels Content */
.p-tab-panels-wrapper {
  padding: 2.25rem;
}

.p-tab-panel {
  display: none;
}

.p-tab-panel.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Mobile Accordion Header (Hidden on Desktop) */
.accordion-header-mobile {
  display: none;
  width: 100%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  text-align: left;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  margin-bottom: 0.5rem;
}

.accordion-header-mobile .acc-icon {
  font-size: 0.85rem;
  transition: transform 0.25s ease;
  color: #64748b;
}

.accordion-header-mobile.open .acc-icon {
  transform: rotate(180deg);
  color: var(--primary-orange);
}

.accordion-content-mobile {
  display: block;
}

/* Tab 1: Description Body */
.panel-content-body {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.75;
}

.panel-content-body p {
  margin-bottom: 1.25rem;
}

/* Rich Formatted Product Description Body */
.product-description-formatted {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.75;
  word-break: break-word;
}

.product-description-formatted p {
  margin-bottom: 1.15rem;
}

.product-description-formatted p:last-child {
  margin-bottom: 0;
}

.product-description-formatted strong,
.product-description-formatted b {
  font-weight: 800;
  color: #0f172a;
}

.product-description-formatted h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin: 1.5rem 0 0.75rem 0;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid #f1f5f9;
}

.product-description-formatted h3 {
  font-size: 1.18rem;
  font-weight: 800;
  color: #0f172a;
  margin: 1.25rem 0 0.6rem 0;
}

.product-description-formatted h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1e293b;
  margin: 1rem 0 0.5rem 0;
}

.product-description-formatted ul,
.product-description-formatted ol {
  padding-left: 1.5rem;
  margin: 0.75rem 0 1.25rem 0;
}

.product-description-formatted ul {
  list-style-type: disc;
}

.product-description-formatted ol {
  list-style-type: decimal;
}

.product-description-formatted li {
  margin-bottom: 0.45rem;
  line-height: 1.65;
}

.product-description-formatted blockquote {
  border-left: 4px solid var(--primary-orange, #f97316);
  background: #fffaf5;
  padding: 0.85rem 1.25rem;
  border-radius: 0 10px 10px 0;
  color: #475569;
  font-style: italic;
  margin: 1.25rem 0;
}

.product-description-formatted hr {
  border: none;
  border-top: 1px dashed #e2e8f0;
  margin: 1.5rem 0;
}

.product-description-formatted table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.9rem;
}

.product-description-formatted table th,
.product-description-formatted table td {
  padding: 0.65rem 0.85rem;
  border: 1px solid #e2e8f0;
  text-align: left;
}

.product-description-formatted table th {
  background: #f8fafc;
  font-weight: 800;
  color: #0f172a;
}

.feature-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.feature-mini-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.feature-mini-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #fff7ed;
  color: var(--primary-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.feature-mini-title {
  font-weight: 800;
  color: #0f172a;
  font-size: 0.92rem;
  margin-bottom: 0.25rem;
}

.feature-mini-desc {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.45;
}

/* Tab 2: Technical Specifications Table */
.specs-table-container {
  overflow-x: auto;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid #f1f5f9;
}

.specs-table tr:nth-child(even) {
  background: #f8fafc;
}

.specs-table td {
  padding: 0.95rem 1.25rem;
  font-size: 0.9rem;
}

.specs-table td.spec-prop {
  width: 30%;
  font-weight: 800;
  color: #0f172a;
  border-right: 1px solid #f1f5f9;
}

.specs-table td.spec-val {
  color: #475569;
}

/* Tab 3: What's In The Box */
.box-items-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.box-item-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.85rem 1.15rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
}

.box-item-row i {
  color: var(--primary-orange);
  font-size: 1.1rem;
}

/* Tab 4: Shipping & EasyPaisa Policy */
.policy-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.policy-block-card {
  border-radius: 14px;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
}

.policy-block-card.shipping {
  background: #f8fafc;
}

.policy-block-card.easypaisa {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.policy-block-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.policy-block-card.shipping .policy-block-title { color: #0f172a; }
.policy-block-card.easypaisa .policy-block-title { color: #065f46; }

.policy-list-items {
  padding-left: 1.25rem;
  font-size: 0.88rem;
  line-height: 1.7;
}

.policy-block-card.shipping .policy-list-items { color: #475569; }
.policy-block-card.easypaisa .policy-list-items { color: #14532d; }

/* Tab 5: Reviews System Styles */
.reviews-overview-box {
  display: grid;
  grid-template-columns: 240px 1fr 280px;
  gap: 2rem;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.75rem;
  margin-bottom: 2rem;
}

.reviews-score-summary {
  text-align: center;
  border-right: 1px solid #e2e8f0;
  padding-right: 1.5rem;
}

.score-large {
  font-size: 3.5rem;
  font-weight: 900;
  color: #0f172a;
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.score-stars {
  font-size: 1.15rem;
  color: #f59e0b;
  margin-bottom: 0.4rem;
}

.score-count {
  font-size: 0.8rem;
  color: #64748b;
}

.reviews-breakdown-bars {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.rating-bar-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.8rem;
  color: #475569;
}

.bar-star-label {
  width: 50px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #0f172a;
}

.bar-track {
  flex: 1;
  height: 9px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
  border-radius: 999px;
  transition: width 0.4s ease;
}

.bar-count-label {
  width: 70px;
  text-align: right;
  font-size: 0.75rem;
  color: #94a3b8;
}

.reviews-cta-box {
  background: #ffffff;
  border: 1px solid #fed7aa;
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
}

/* Review Form Wrapper */
.review-form-wrapper {
  margin-bottom: 2rem;
  animation: fadeIn 0.3s ease;
}

.review-form-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.06);
}

.review-form-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #f1f5f9;
}

.btn-close-form {
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 0.95rem;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.btn-close-form:hover {
  background: #ef4444;
  color: #ffffff;
}

.star-rating-selector {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.35rem;
}

.stars-flex {
  display: inline-flex;
  gap: 0.35rem;
  font-size: 1.6rem;
  color: #cbd5e1;
  cursor: pointer;
}

.star-pick.active,
.star-pick.hover-active {
  color: #f59e0b;
}

.star-label-badge {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
  background: #fef3c7;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
}

.review-upload-dropzone {
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  cursor: pointer;
  background: #f8fafc;
  transition: all 0.2s;
}

.review-upload-dropzone:hover {
  border-color: var(--primary-orange);
  background: #fff7ed;
}

.upload-icon {
  font-size: 1.75rem;
  color: var(--primary-orange);
  margin-bottom: 0.35rem;
}

.review-previews-grid {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 0.85rem;
}

.rev-preview-thumb {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.rev-preview-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-remove-thumb {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ef4444;
  color: white;
  border: none;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Review Cards List */
.reviews-grid-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.review-card-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all 0.2s;
}

.review-card-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.review-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffedd5;
  color: var(--primary-orange);
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.badge-verified-buyer {
  background: #dcfce7;
  color: #15803d;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.badge-guest-buyer {
  background: #f1f5f9;
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}

.review-body-text {
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.6;
  margin: 0;
}

.review-attached-photos {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

.review-photo-thumb {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  cursor: pointer;
}

.review-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s;
}

.review-photo-thumb:hover img {
  transform: scale(1.1);
}

.photo-zoom-icon {
  position: absolute;
  bottom: 2px;
  right: 2px;
  background: rgba(15, 23, 42, 0.7);
  color: white;
  font-size: 0.6rem;
  padding: 2px 4px;
  border-radius: 4px;
}

.review-photo-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.review-photo-modal.active {
  display: flex;
}

.review-modal-box {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  background: #ffffff;
  border-radius: 12px;
  padding: 8px;
}

.review-modal-box img {
  max-width: 100%;
  max-height: calc(85vh - 16px);
  border-radius: 8px;
  display: block;
}

.review-modal-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 34px;
  height: 34px;
  background: #ef4444;
  color: white;
  border: 2px solid white;
  border-radius: 50%;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ==========================================================================
   MOBILE STICKY PURCHASE BAR (DOCKED ABOVE MOBILE BOTTOM NAV)
   ========================================================================== */
.mobile-sticky-purchase-bar {
  display: none;
  position: fixed;
  bottom: 56px;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.1);
  z-index: 890;
  padding: 0.5rem 0.85rem;
  width: 100%;
  box-sizing: border-box;
}

.mobile-sticky-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}

.m-sticky-thumb {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.m-sticky-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.m-sticky-price {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--primary-orange);
  font-family: var(--font-heading);
  line-height: 1.1;
  white-space: nowrap;
}

.m-sticky-shipping {
  font-size: 0.65rem;
  color: #16a34a;
  font-weight: 700;
  white-space: nowrap;
}

.m-sticky-stepper {
  display: flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  overflow: hidden;
  background: #f8fafc;
  flex-shrink: 0;
}

.m-sticky-stepper button {
  width: 26px;
  height: 28px;
  border: none;
  background: #ffffff;
  color: #0f172a;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.m-sticky-stepper span {
  width: 24px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: #0f172a;
}

.m-sticky-buttons {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.btn-m-cart {
  width: 38px;
  height: 38px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
}

.btn-m-buy {
  background: linear-gradient(135deg, #FF6600 0%, #ea580c 100%);
  color: white;
  padding: 0.6rem 0.95rem;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.82rem;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(255, 102, 0, 0.35);
}

.btn-m-wa {
  width: 38px;
  height: 38px;
  background: #25D366;
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  text-decoration: none;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1200px) {
  .product-3col-layout {
    grid-template-columns: 360px minmax(320px, 1fr) 290px;
    gap: 1.5rem;
  }
  .gallery-main-stage {
    height: 440px;
  }
  .p-title-heading {
    font-size: 1.5rem;
  }
  .p-price-amount {
    font-size: 1.95rem;
  }
}

@media (max-width: 992px) {
  .product-3col-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 0.75rem;
  }

  /* Sticky Buy Box is un-sticked on tablet/mobile */
  .product-buybox-card {
    position: static;
    border-radius: 14px;
    padding: 1.25rem;
  }

  /* Show Mobile Sticky Bottom Bar */
  .mobile-sticky-purchase-bar {
    display: block;
  }

  .product-media-col {
    position: static;
  }

  /* Adjust Page Bottom Padding on mobile to not overlap sticky bar */
  body.page-product {
    padding-bottom: 5.5rem !important;
  }

  .gallery-desktop-flex {
    flex-direction: column-reverse;
  }

  .gallery-thumbs-vertical {
    display: none;
  }

  .gallery-thumbs-mobile {
    display: flex;
  }

  .gallery-main-stage {
    width: 100%;
    height: 380px;
  }

  .mobile-gallery-counter {
    display: block;
  }

  .gallery-nav-btn {
    opacity: 1;
  }

  .gallery-zoom-hint {
    display: none;
  }

  /* Turn Tabs into Accordion on Tablet/Mobile */
  .p-tabs-nav-bar {
    display: none;
  }

  .p-tab-panels-wrapper {
    padding: 1rem;
  }

  .accordion-header-mobile {
    display: flex;
  }

  .p-tab-panel {
    display: block;
  }

  .p-tab-panel .accordion-content-mobile {
    display: none;
    padding: 1rem 0.25rem 1.5rem 0.25rem;
  }

  .p-tab-panel.open .accordion-content-mobile {
    display: block;
    animation: fadeIn 0.25s ease;
  }

  .policy-cards-grid {
    grid-template-columns: 1fr;
  }

  .reviews-overview-box {
    grid-template-columns: 1fr;
    padding: 1.25rem;
    gap: 1.25rem;
  }

  .reviews-score-summary {
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
    padding-right: 0;
    padding-bottom: 1.25rem;
  }
}

@media (max-width: 600px) {
  .product-3col-layout {
    gap: 1.25rem;
  }

  .gallery-main-stage {
    height: 320px;
    border-radius: 14px;
  }

  .p-title-heading {
    font-size: 1.35rem;
  }

  .p-price-amount {
    font-size: 1.75rem;
  }

  .p-price-card {
    padding: 1rem;
  }

  .p-highlights-box {
    padding: 1rem;
  }

  .specs-table td.spec-prop {
    width: 40%;
    font-size: 0.82rem;
    padding: 0.75rem 0.85rem;
  }

  .specs-table td.spec-val {
    font-size: 0.82rem;
    padding: 0.75rem 0.85rem;
  }

  .reviews-grid-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 375px) {
  .gallery-main-stage {
    height: 280px;
  }

  .p-title-heading {
    font-size: 1.2rem;
  }

  .p-price-amount {
    font-size: 1.55rem;
  }

  .buybox-cta-group button,
  .buybox-cta-group a {
    font-size: 0.85rem;
  }

  .m-sticky-stepper {
    display: none;
  }
}

/* ==========================================================================
   SAAMBROS SHOP PAGE — PREMIUM REDESIGN STYLES
   ========================================================================== */

/* 1. Shop Page Header & Breadcrumbs */
.shop-hero-banner {
  background: #ffffff;
  border-bottom: 1px solid var(--brand-border);
  padding: 1.5rem 0;
}

.shop-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: var(--brand-muted);
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.shop-breadcrumb a {
  color: var(--brand-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.15s;
}

.shop-breadcrumb a:hover {
  color: var(--primary-orange);
}

.shop-breadcrumb-sep {
  font-size: 0.65rem;
  color: #cbd5e1;
}

.shop-breadcrumb-current {
  color: var(--brand-navy);
  font-weight: 700;
}

.shop-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.shop-page-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1.2;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.shop-page-title .title-icon {
  color: var(--primary-orange);
  font-size: 1.5rem;
}

.shop-product-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--primary-orange-light);
  color: var(--primary-orange);
  font-weight: 800;
  font-size: 0.82rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
}

/* 2. Category Navigation (Desktop Chips + Mobile Carousel) */
.shop-cat-nav-wrapper {
  margin: 1.5rem 0 1.25rem 0;
}

.shop-cat-nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.shop-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  border-radius: 50px;
  background: #ffffff;
  border: 1.5px solid var(--brand-border);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--brand-navy);
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.shop-cat-pill:hover {
  border-color: var(--primary-orange);
  color: var(--primary-orange);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 102, 0, 0.15);
}

.shop-cat-pill.active {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(255, 102, 0, 0.35);
}

.shop-cat-pill .cat-pill-count {
  font-size: 0.72rem;
  padding: 0.1rem 0.45rem;
  border-radius: 50px;
  background: #f1f5f9;
  color: var(--brand-muted);
  font-weight: 800;
}

.shop-cat-pill.active .cat-pill-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Mobile Category Carousel */
.shop-cat-nav-mobile {
  display: none;
}

@media (max-width: 768px) {
  .shop-cat-nav-desktop {
    display: none !important;
  }

  .shop-cat-nav-mobile {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0.5rem;
    padding: 0.2rem 0.25rem 0.65rem 0.25rem;
    margin: 0 -0.25rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .shop-cat-nav-mobile::-webkit-scrollbar {
    display: none;
  }

  .shop-cat-pill-m {
    flex: 0 0 auto;
    scroll-snap-align: start;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.42rem 0.8rem;
    border-radius: 50px;
    background: #ffffff;
    border: 1.5px solid var(--brand-border);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--brand-navy);
    white-space: nowrap;
    text-decoration: none;
    box-sizing: border-box;
  }

  .shop-cat-pill-m.active {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: #ffffff;
    box-shadow: 0 3px 8px rgba(255, 102, 0, 0.3);
  }

  .shop-cat-pill-m .cat-pill-count {
    font-size: 0.68rem;
    padding: 0.05rem 0.35rem;
    border-radius: 50px;
    background: #f1f5f9;
    color: var(--brand-muted);
  }

  .shop-cat-pill-m.active .cat-pill-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
  }
}

/* 3. Shop Layout (Sidebar + Main) */
.shop-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 991px) {
  .shop-layout {
    grid-template-columns: 1fr;
  }
}

/* 4. Desktop Sidebar */
.shop-sidebar {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--brand-border);
  padding: 1.5rem;
  position: sticky;
  top: 100px;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--brand-border);
}

.sidebar-header h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sidebar-clear-btn {
  font-size: 0.78rem;
  color: var(--danger-red);
  font-weight: 700;
  text-decoration: none;
  background: #fef2f2;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.sidebar-clear-btn:hover {
  background: var(--danger-red);
  color: #ffffff;
}

.filter-group {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #f1f5f9;
}

.filter-group:last-of-type {
  border-bottom: none;
  margin-bottom: 0.5rem;
  padding-bottom: 0;
}

.filter-group-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-categories-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.filter-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  color: var(--brand-slate);
  text-decoration: none;
  transition: all 0.15s;
}

.filter-cat-item:hover {
  background: #f8fafc;
  color: var(--primary-orange);
}

.filter-cat-item.active {
  background: var(--primary-orange-light);
  color: var(--primary-orange);
  font-weight: 800;
}

.filter-cat-item .item-count {
  font-size: 0.72rem;
  color: var(--brand-muted);
}

/* Price Range Form & Brackets */
.price-inputs-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.price-input-field {
  width: 100%;
  padding: 0.4rem 0.6rem;
  font-size: 0.82rem;
  border: 1.5px solid var(--brand-border);
  border-radius: var(--radius-sm);
  background: #f8fafc;
  color: var(--brand-navy);
  font-weight: 600;
  box-sizing: border-box;
}

.price-input-field:focus {
  border-color: var(--primary-orange);
  background: #ffffff;
}

.price-btn-apply {
  padding: 0.42rem 0.75rem;
  background: var(--brand-navy);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.price-btn-apply:hover {
  background: var(--primary-orange);
}

.price-brackets-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.price-bracket-link {
  font-size: 0.82rem;
  color: var(--brand-slate);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.15s;
}

.price-bracket-link:hover {
  background: #f8fafc;
  color: var(--primary-orange);
}

.price-bracket-link.active {
  color: var(--primary-orange);
  font-weight: 800;
  background: var(--primary-orange-light);
}

/* Custom Checkbox Filter Items */
.filter-checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-navy);
  cursor: pointer;
  padding: 0.25rem 0;
}

.filter-checkbox-item input[type="checkbox"] {
  accent-color: var(--primary-orange);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* Free Delivery Sidebar Banner */
.sidebar-promo-banner {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border: 1.5px dashed #fb923c;
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
  margin-top: 1.5rem;
}

.sidebar-promo-banner .promo-icon {
  font-size: 1.75rem;
  color: var(--primary-orange);
  margin-bottom: 0.4rem;
}

.sidebar-promo-banner h5 {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 0.2rem;
}

.sidebar-promo-banner p {
  font-size: 0.76rem;
  color: var(--brand-slate);
  line-height: 1.35;
  margin: 0;
}

/* 5. Shop Toolbar */
.shop-toolbar {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--brand-border);
  padding: 0.85rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.shop-toolbar-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.shop-results-count {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-navy);
}

.btn-open-filter-mobile {
  display: none;
  align-items: center;
  gap: 0.4rem;
  background: #ffffff;
  border: 1.5px solid var(--brand-border);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-navy);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-open-filter-mobile:hover {
  border-color: var(--primary-orange);
  color: var(--primary-orange);
}

.shop-active-filters {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.active-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #f1f5f9;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  font-size: 0.76rem;
  color: var(--brand-navy);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s;
}

.active-filter-pill:hover {
  background: #fee2e2;
  color: var(--danger-red);
}

.shop-toolbar-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.shop-sort-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-slate);
}

.shop-sort-select {
  background: #f8fafc;
  border: 1.5px solid var(--brand-border);
  padding: 0.42rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-navy);
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
}

.shop-sort-select:focus {
  border-color: var(--primary-orange);
  background: #ffffff;
}

/* 6. Mobile Filter Bottom Sheet / Drawer */
.shop-filter-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.shop-filter-drawer.drawer-open {
  display: block;
}

.shop-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  animation: fadeIn 0.25s forwards;
}

.shop-drawer-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 85vh;
  background: #ffffff;
  border-radius: 20px 20px 0 0;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
}

@keyframes slideUp {
  to { transform: translateY(0); }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

.shop-drawer-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--brand-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.shop-drawer-header h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.shop-drawer-close-btn {
  background: #f1f5f9;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1rem;
  color: var(--brand-slate);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.shop-drawer-close-btn:hover {
  background: #e2e8f0;
}

.shop-drawer-body {
  padding: 1.25rem 1.5rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1;
}

.shop-drawer-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--brand-border);
  display: flex;
  gap: 0.75rem;
  background: #ffffff;
  flex-shrink: 0;
}

.shop-drawer-footer .btn {
  flex: 1;
}

@media (max-width: 991px) {
  .shop-sidebar {
    display: none !important;
  }
  .btn-open-filter-mobile {
    display: inline-flex;
  }
}

/* 7. Empty State */
.shop-empty-state {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--brand-border);
  padding: 4.5rem 2rem;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.shop-empty-state .empty-icon {
  font-size: 3.5rem;
  color: #cbd5e1;
  margin-bottom: 1.25rem;
}

.shop-empty-state h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 0.5rem;
}

.shop-empty-state p {
  font-size: 0.92rem;
  color: var(--brand-muted);
  max-width: 440px;
  margin: 0 auto 1.75rem auto;
  line-height: 1.5;
}

/* 8. Pagination */
.shop-pagination-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.shop-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 0.75rem;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1.5px solid var(--brand-border);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-navy);
  text-decoration: none;
  transition: all 0.2s;
}

.shop-page-btn:hover {
  border-color: var(--primary-orange);
  color: var(--primary-orange);
}

.shop-page-btn.active {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
  color: #ffffff;
  box-shadow: 0 3px 8px rgba(255, 102, 0, 0.3);
}

.shop-page-btn.disabled {
  background: #f8fafc;
  color: #cbd5e1;
  border-color: #e2e8f0;
  cursor: not-allowed;
  pointer-events: none;
}

