/* ==========================================================================
   PROTECH SHOP PAGE CSS
   Clean minimalist layout with Blue Gradient accents matching reference card design
   ========================================================================== */

:root {
  --pt-shop-blue: #2563eb;
  --pt-shop-blue-hover: #1d4ed8;
  --pt-shop-blue-light: #eff6ff;
  --pt-shop-blue-gradient: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  --pt-shop-blue-gradient-hover: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  --pt-shop-blue-glow: rgba(37, 99, 235, 0.35);
  --pt-shop-bg-light: #ffffff;
  --pt-shop-bg-subtle: #f8fafc;
  --pt-shop-bg-img: #ebebeb;
  --pt-shop-text-dark: #1e293b;
  --pt-shop-text-muted: #64748b;
  --pt-shop-border: #e2e8f0;
  --pt-shop-border-card: #eaeaea;
  --pt-shop-star-gold: #f59e0b;
}

/* ════════════════════════════════════════════════
   HERO BANNER: "Simple is More"
   ════════════════════════════════════════════════ */
.shop-hero-banner {
  width: 100%;
  background: linear-gradient(135deg, #2b3036 0%, #3a4149 40%, #505862 100%);
  position: relative;
  overflow: hidden;
  padding: 36px 0;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.shop-hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 55%;
  background: radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.shop-hero-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  left: 20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.shop-hero-container {
  position: relative;
  z-index: 2;
}

.shop-hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 110px;
}

.shop-hero-text {
  max-width: 600px;
}

.shop-hero-title {
  font-family: var(--pt-font-heading);
  font-size: 42px;
  font-weight: 300;
  line-height: 1.05;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.5px;
  text-transform: none;
}

.shop-hero-title .hero-sub {
  font-weight: 300;
  display: inline-block;
  opacity: 0.95;
}

.shop-hero-scroll-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.shop-hero-scroll-btn:hover {
  background: var(--pt-shop-blue-gradient);
  border-color: var(--pt-shop-blue);
  color: #ffffff;
  transform: translateY(3px) scale(1.05);
  box-shadow: 0 8px 20px var(--pt-shop-blue-glow);
}

/* ════════════════════════════════════════════════
   PAGE HEADER / BREADCRUMB & RESULTS
   ════════════════════════════════════════════════ */
.shop-page-header {
  background: #ffffff;
  padding: 20px 0 14px;
  border-bottom: 1px solid var(--pt-shop-border);
}

.shop-breadcrumb {
  font-size: 13px;
  color: var(--pt-shop-text-muted);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.shop-breadcrumb .bc-home {
  color: var(--pt-shop-blue);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.shop-breadcrumb .bc-home:hover {
  text-decoration: underline;
  color: var(--pt-shop-blue-hover);
}

.shop-breadcrumb .bc-sep {
  color: #a1a1aa;
  font-size: 14px;
}

.shop-breadcrumb .bc-current {
  color: #71717a;
  font-weight: 400;
}

.shop-results-heading {
  font-family: var(--pt-font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--pt-shop-text-dark);
  margin: 0;
  letter-spacing: -0.2px;
  text-transform: none;
}

.shop-results-heading .count-num {
  font-weight: 800;
  color: var(--pt-shop-text-dark);
}

/* ════════════════════════════════════════════════
   LAYOUT: SIDEBAR + MAIN GRID
   ════════════════════════════════════════════════ */
.shop-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  padding-top: 24px;
  padding-bottom: 70px;
  align-items: start;
}

/* ════════════════════════════════════════════════
   SIDEBAR FILTERS (Left Column)
   ════════════════════════════════════════════════ */
.shop-sidebar {
  position: sticky;
  top: 90px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
  padding-right: 6px;
}

.shop-sidebar::-webkit-scrollbar {
  width: 4px;
}

.shop-sidebar::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--pt-shop-border);
  margin-bottom: 14px;
}

.sidebar-title {
  font-family: var(--pt-font-heading);
  font-size: 15px;
  font-weight: 800;
  color: var(--pt-shop-text-dark);
  margin: 0;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.sidebar-close-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--pt-shop-text-muted);
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s;
}

.sidebar-close-btn:hover {
  color: var(--pt-shop-blue);
  background: var(--pt-shop-blue-light);
}

/* Filter Sections */
.filter-section {
  border-bottom: 1px solid var(--pt-shop-border);
  padding: 14px 0;
}

.filter-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: var(--pt-font-heading);
  font-size: 12px;
  font-weight: 800;
  color: var(--pt-shop-text-dark);
  letter-spacing: 0.8px;
  user-select: none;
  padding: 2px 0;
  transition: color 0.2s;
}

.filter-section-head:hover {
  color: var(--pt-shop-blue);
}

.filter-toggle-icon {
  font-size: 10px;
  color: #a1a1aa;
  transition: transform 0.25s ease;
}

.filter-section.collapsed .filter-toggle-icon {
  transform: rotate(180deg);
}

.filter-section-body {
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: max-height 0.3s ease;
}

.filter-section.collapsed .filter-section-body {
  display: none;
}

.filter-meta {
  font-size: 11px;
  color: var(--pt-shop-text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.filter-reset-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.22);
  color: var(--pt-shop-blue, #2563eb);
  font-family: var(--pt-font-heading, sans-serif);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 4px;
  text-decoration: none !important;
  transition: all 0.2s ease;
  line-height: 1.3;
}

.filter-reset-link:hover {
  background: var(--pt-shop-blue-gradient, linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%));
  border-color: transparent;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}

.filter-reset-link:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Checkbox Styles */
.filter-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  color: #4b5563;
  padding: 3px 0;
  transition: color 0.2s;
  user-select: none;
}

.filter-checkbox-label:hover {
  color: var(--pt-shop-blue);
}

.filter-checkbox-label input[type="checkbox"] {
  display: none;
}

.custom-checkbox {
  width: 16px;
  height: 16px;
  border: 1.5px solid #d1d5db;
  border-radius: 2px;
  background: #ffffff;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}

.filter-checkbox-label:hover .custom-checkbox {
  border-color: var(--pt-shop-blue);
}

.filter-checkbox-label input:checked+.custom-checkbox {
  background: var(--pt-shop-blue-gradient);
  border-color: var(--pt-shop-blue);
}

.filter-checkbox-label input:checked+.custom-checkbox::after {
  content: '✓';
  font-size: 11px;
  color: #ffffff;
  font-weight: 800;
  line-height: 1;
}

.filter-label-text {
  flex: 1;
  font-size: 13px;
  line-height: 1.3;
}

.filter-count {
  color: #9ca3af;
  font-size: 12px;
}

/* ════════════════════════════════════════════════
   TOOLBAR: SORT & MOBILE FILTER
   ════════════════════════════════════════════════ */
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0 18px;
  gap: 16px;
  flex-wrap: wrap;
}

.toolbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-left: auto;
}

.mobile-filter-toggle-btn {
  display: none;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--pt-shop-border);
  color: var(--pt-shop-text-dark);
  padding: 7px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.mobile-filter-toggle-btn:hover {
  background: var(--pt-shop-blue-gradient);
  border-color: var(--pt-shop-blue);
  color: #ffffff;
}

.sort-by-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--pt-shop-border);
  padding: 4px 12px;
  border-radius: 4px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.sort-by-wrap:focus-within {
  border-color: var(--pt-shop-blue);
  box-shadow: 0 0 0 3px var(--pt-shop-blue-glow);
}

.sort-icon {
  color: #71717a;
  display: flex;
  align-items: center;
}

.sort-by-wrap label {
  font-size: 12px;
  color: #71717a;
  font-weight: 500;
  white-space: nowrap;
}

.shop-sort-select {
  background: transparent;
  border: none;
  color: var(--pt-shop-text-dark);
  padding: 5px 4px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  min-width: 130px;
}

/* ════════════════════════════════════════════════
   PRODUCT GRID (4-Columns Desktop)
   ════════════════════════════════════════════════ */
.shop-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  transition: opacity 0.2s ease;
}

/* ════════════════════════════════════════════════
   PRODUCT CARD (Sharp Corners, Original Size Image)
   ════════════════════════════════════════════════ */
.shop-card {
  background: #ffffff;
  border: 1px solid var(--pt-shop-border-card);
  border-radius: 0 !important;
  /* NO BORDER RADIUS */
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s ease,
    box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, box-shadow;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  -webkit-font-smoothing: antialiased;
}

.shop-card:hover {
  transform: translateY(-8px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

/* Image Container (Centered, uncropped, full presentation matching reference) */
.shop-card-image-wrap {
  position: relative;
  margin: 0;
  background: var(--pt-shop-bg-img);
  border-radius: 0 !important;
  /* NO BORDER RADIUS */
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.shop-card-img-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  overflow: hidden;
}

.shop-card-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ebebeb;
  padding: 0;
  margin: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.shop-card-img img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 0 !important;
  display: block;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center center;
  will-change: transform;
  backface-visibility: hidden;
}

.shop-card:hover .shop-card-img img {
  transform: scale(1.05);
}

.shop-card-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #ebebeb;
}

.placeholder-mountains-svg {
  opacity: 0.6;
  width: 48px;
  height: 48px;
}

/* Top-Left Sharp Badge with Blue Gradient */
.shop-card-badge {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--pt-shop-blue-gradient);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 0 !important;
  /* NO BORDER RADIUS */
  letter-spacing: 0.2px;
  z-index: 3;
  line-height: 1.2;
}

.shop-card-badge.sale-badge {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: #ffffff !important;
}

.shop-card-badge.oos-badge {
  background: #64748b;
}

.shop-card-badge.new-badge {
  background: var(--pt-shop-blue-gradient);
}

/* Top-Right Floating Actions Column (Visible on Card Hover) */
.shop-card-floating-actions {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 10;
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.shop-card:hover .shop-card-floating-actions {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.shop-action-btn {
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0;
  color: #1e293b;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    color 0.25s ease;
  will-change: transform;
  line-height: 1;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
}

.shop-action-btn svg {
  display: block !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px;
  min-height: 16px;
  stroke: #1e293b !important;
  stroke-width: 2 !important;
  fill: none !important;
  color: #1e293b !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.25s ease, fill 0.25s ease, color 0.25s ease;
  pointer-events: none;
}

.shop-action-btn:hover {
  background: #0f172a !important;
  border-color: #0f172a !important;
  color: #ffffff !important;
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.3);
}

.shop-action-btn:hover svg {
  stroke: #ffffff !important;
  color: #ffffff !important;
}

.shop-action-btn.active,
.shop-action-btn.active:hover {
  background: #ffffff !important;
  border-color: #fee2e2 !important;
}

.shop-action-btn.active svg,
.shop-action-btn.active .heart-icon,
.shop-action-btn.active:hover svg,
.shop-action-btn.active:hover .heart-icon {
  stroke: #ef4444 !important;
  fill: #ef4444 !important;
  color: #ef4444 !important;
}

/* Left-Aligned Compact Card Body (Matches reference layout) */
.shop-card-body {
  padding: 10px 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  gap: 3px;
  background: #ffffff;
  flex: 1;
}

/* Category Label */
.shop-card-cat {
  font-family: var(--pt-font-body);
  font-size: 10.5px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  line-height: 1.2;
  margin: 0 0 2px 0;
  display: block;
}

/* Title (Left Aligned) */
.shop-card-title {
  font-family: var(--pt-font-heading);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--pt-shop-text-dark);
  margin: 0;
  line-height: 1.3;
  text-align: left;
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shop-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.shop-card-title a:hover {
  color: var(--pt-shop-blue);
}

/* Star Rating (Left Aligned, after title) */
.shop-card-rating,
.card-rating {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  font-size: 11px;
  color: #d1d5db;
  line-height: 1;
  margin: 1px 0;
}

.shop-card-rating .star.filled,
.card-rating .star.filled {
  color: var(--pt-shop-star-gold);
}

.shop-card-rating .star.empty,
.card-rating .star.empty {
  color: #cbd5e1;
}

.shop-card-rating-val {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  margin-left: 4px;
}

/* Price (Left Aligned - Sale Price First, Regular/Real Price Second with Low Color) */
.shop-card-price {
  font-family: var(--pt-font-heading);
  font-size: 17px;
  font-weight: 800;
  color: var(--pt-shop-text-dark);
  display: flex !important;
  align-items: baseline !important;
  justify-content: flex-start !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin: 2px 0 0;
  width: 100%;
}

.shop-card-price .woocommerce-Price-amount {
  color: var(--pt-shop-text-dark);
  font-weight: 800;
}

.shop-card-price ins {
  order: 1 !important;
  color: var(--pt-shop-blue, #2563eb) !important;
  text-decoration: none !important;
  font-size: 18.5px !important;
  font-weight: 800 !important;
  display: inline-flex !important;
  letter-spacing: -0.2px !important;
}

.shop-card-price ins .woocommerce-Price-amount {
  color: var(--pt-shop-text-dark, #0f172a) !important;
  font-weight: 800 !important;
}

.shop-card-price del {
  order: 2 !important;
  font-family: var(--pt-font-body) !important;
  color: #64748b !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-decoration: line-through !important;
  text-decoration-color: #94a3b8 !important;
  text-decoration-thickness: 1.2px !important;
  opacity: 1 !important;
  display: inline-flex !important;
  margin-left: 4px !important;
}

.shop-card-price del .woocommerce-Price-amount {
  color: #64748b !important;
  font-weight: 500 !important;
  font-size: 14px !important;
}






/* Add to Cart Button (Left Aligned, Compact) */
.shop-card-action-row {
  margin-top: 4px;
  width: 100%;
  display: flex;
  justify-content: flex-start;
}

.pt-btn-shop-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--pt-shop-blue-gradient);
  color: #ffffff;
  border: none;
  border-radius: 3px;
  padding: 6px 16px;
  font-family: var(--pt-font-body);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  text-transform: none;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.25s ease,
    box-shadow 0.25s ease,
    color 0.25s ease;
  will-change: transform, box-shadow;
  box-sizing: border-box;
}

.pt-btn-shop-cart:hover {
  background: #0f172a;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.3);
}

.pt-btn-shop-cart.disabled {
  background: #f1f5f9;
  color: #94a3b8;
  border: 1px solid var(--pt-shop-border);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ════════════════════════════════════════════════
   PAGINATION
   ════════════════════════════════════════════════ */
.shop-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  padding-bottom: 10px;
}

.shop-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 8px;
  border-radius: 4px;
  font-family: var(--pt-font-heading);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  color: #4b5563;
  background: #ffffff;
  border: 1px solid var(--pt-shop-border);
  transition: all 0.2s;
}

.shop-pagination .page-numbers:hover {
  background: var(--pt-shop-blue-light);
  border-color: var(--pt-shop-blue);
  color: var(--pt-shop-blue);
}

.shop-pagination .page-numbers.current {
  background: var(--pt-shop-blue-gradient);
  border-color: var(--pt-shop-blue);
  color: #ffffff;
  box-shadow: 0 4px 12px var(--pt-shop-blue-glow);
}

.shop-pagination .page-numbers.dots {
  border: none;
  background: transparent;
  color: #9ca3af;
}

/* ════════════════════════════════════════════════
   BESTSELLERS SECTION
   ════════════════════════════════════════════════ */
.shop-bestsellers-section {
  background: var(--pt-shop-bg-subtle);
  border-top: 1px solid var(--pt-shop-border);
  padding: 60px 0 70px;
}

.shop-bestsellers-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.shop-bestsellers-header .sub-nav-tabs,
.shop-bestsellers-header .passion-filter-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.shop-bestsellers-header .sub-tab,
.shop-bestsellers-header .passion-tab {
  background: #ffffff;
  border: 1px solid var(--pt-shop-border);
  color: var(--pt-shop-text-muted);
  font-family: var(--pt-font-heading);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.shop-bestsellers-header .sub-tab.active,
.shop-bestsellers-header .sub-tab:hover,
.shop-bestsellers-header .passion-tab.active,
.shop-bestsellers-header .passion-tab:hover {
  background: var(--pt-shop-blue-gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.shop-section-title {
  font-family: var(--pt-font-heading);
  font-size: 28px;
  font-weight: 900;
  color: var(--pt-shop-text-dark);
  margin: 0 0 4px 0;
  letter-spacing: -0.3px;
  text-transform: uppercase;
}

.shop-section-sub {
  font-size: 13px;
  color: var(--pt-shop-text-muted);
}

.bestsellers-shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ════════════════════════════════════════════════
   MOBILE OVERLAY (Sidebar Drawer)
   ════════════════════════════════════════════════ */
.shop-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
}

.shop-sidebar-overlay.active {
  display: block;
}

/* ── Hide WooCommerce "View Cart" button that appears after AJAX Add to Cart ── */
.added_to_cart.wc-forward,
a.added_to_cart,
.woocommerce-message a.button,
.wc-forward {
  display: none !important;
}

/* ── Cart Added Toast Notification (Light Theme) ── */
#pt-cart-toast {
  position: fixed;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-left: 4px solid var(--pt-shop-blue, #2563eb);
  color: #0f172a;
  font-family: var(--pt-font-heading, sans-serif);
  font-size: 13px;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 6px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 999999;
  transition: top 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
  pointer-events: none;
}

#pt-cart-toast.visible {
  top: 24px;
}

#pt-cart-toast .toast-icon {
  color: var(--pt-shop-blue, #2563eb);
  font-size: 16px;
  line-height: 1;
  font-weight: bold;
}

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

/* Large screens / standard laptop: 3-column grid */
@media (max-width: 1280px) {
  .shop-layout {
    grid-template-columns: 220px 1fr;
    gap: 24px;
  }

  .shop-product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .bestsellers-shop-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .shop-hero-title {
    font-size: 38px;
  }
}

/* Tablet: Sidebar becomes drawer, 2-column grid */
@media (max-width: 860px) {
  .shop-layout {
    grid-template-columns: 1fr;
  }

  .shop-sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100vh;
    max-height: 100vh;
    background: #ffffff;
    z-index: 2100;
    padding: 24px 20px;
    box-shadow: 6px 0 30px rgba(0, 0, 0, 0.15);
    transition: left 0.3s ease;
    overflow-y: auto;
  }

  .shop-sidebar.open {
    left: 0;
  }

  .sidebar-close-btn {
    display: block;
  }

  .mobile-filter-toggle-btn {
    display: inline-flex;
  }

  .shop-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .bestsellers-shop-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .shop-hero-content {
    min-height: 100px;
  }

  .shop-hero-title {
    font-size: 32px;
  }
}

/* Mobile: 1-column */
@media (max-width: 576px) {
  .shop-hero-banner {
    padding: 30px 0;
  }

  .shop-hero-title {
    font-size: 28px;
  }

  .shop-hero-scroll-btn {
    width: 40px;
    height: 40px;
  }

  .shop-results-heading {
    font-size: 18px;
  }

  .shop-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .toolbar-left {
    justify-content: flex-start;
  }

  .toolbar-right {
    margin-left: 0;
    justify-content: space-between;
  }

  .shop-sort-select {
    min-width: 0;
    flex: 1;
  }

  .shop-product-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .bestsellers-shop-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}