/* ============================================================
   KANHA GLOBAL EXPORTS — CLEAN PREMIUM SHOP CATALOG STYLES
   Using site font family (DM Sans), clean normal typography,
   minimalist borders, and smooth interactive card hover effects.
   ============================================================ */

/* ---------------- 1. PAGE HERO ---------------- */

.shop-hero-v2 {
  position: relative;
  overflow: hidden;
  padding: 64px 0 54px;
  background: linear-gradient(180deg, #091a24 0%, #0d2737 60%, #103348 100%);
  color: #ffffff;
  text-align: center;
  font-family: var(--font-body);
}

.shop-hero-v2::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.shop-hero-v2 .container {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.shop-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #7dd3fc;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.shop-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--kanha-green);
}

.shop-hero-v2 h1 {
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 10px;
  color: #ffffff;
  font-family: var(--font-heading);
}

.hero-br-mobile {
  display: none;
}

.shop-hero-v2 p.shop-hero-subtitle {
  font-size: 0.98rem;
  font-weight: 400;
  color: #cbd5e1;
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto 24px;
}

/* Hero Search Box */
.hero-search-container {
  max-width: 600px;
  margin: 0 auto;
}

.hero-search-box {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 5px 6px 5px 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: all 0.25s ease;
}

.hero-search-box:focus-within {
  border-color: #38bdf8;
  box-shadow: 0 10px 30px rgba(22, 118, 183, 0.28);
}

.hero-search-box svg.search-icon {
  width: 18px;
  height: 18px;
  color: #64748b;
  flex-shrink: 0;
  margin-right: 10px;
}

.hero-search-input {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  border: none;
  background: transparent;
  font-size: 0.92rem;
  font-weight: 400;
  color: #0f172a;
  outline: none;
  font-family: var(--font-body);
}

.hero-search-input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.hero-search-clear {
  display: none;
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px 8px;
  font-size: 0.82rem;
  border-radius: 50%;
}

.hero-search-clear:hover {
  color: #0f172a;
}

.hero-search-btn {
  background: var(--kanha-blue);
  color: #ffffff;
  border: none;
  font-size: 0.86rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 50px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.2s ease;
}

.hero-search-btn:hover {
  background: #0d5a8f;
}

/* Quick Search Suggestions */
.quick-search-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-top: 14px;
}

.quick-search-label {
  font-size: 0.76rem;
  color: #94a3b8;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.quick-tag-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  font-size: 0.76rem;
  font-weight: 400;
  padding: 3px 10px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.quick-tag-pill:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

/* ---------------- 2. TOP CATEGORY SLIDER BAR ---------------- */

.top-cat-bar-wrapper {
  background: #ffffff;
  border-bottom: 1px solid #e8ecf1;
  position: sticky;
  top: 74px;
  z-index: 40;
}

.top-cat-slider {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.top-cat-slider::-webkit-scrollbar {
  display: none;
}

.cat-pill-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 0.84rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 50px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-body);
  flex-shrink: 0;
}

.cat-pill-tab:hover {
  background: #f1f5f9;
  color: var(--kanha-blue);
  border-color: #cbd5e1;
}

.cat-pill-tab.active {
  background: var(--kanha-blue);
  color: #ffffff;
  border-color: var(--kanha-blue);
}

.cat-pill-count {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 1px 6px;
  border-radius: 50px;
  background: rgba(0, 0, 0, 0.06);
  color: inherit;
}

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

/* ---------------- 3. MAIN CATALOG & SIDEBAR ---------------- */

.shop-main-section {
  padding: 36px 0 70px;
  background: #fbfcfd;
  font-family: var(--font-body);
}

.shop-layout-v2 {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}

/* Sidebar */
.shop-sidebar-v2 {
  position: sticky;
  top: 140px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-card {
  background: #ffffff;
  border: 1px solid #eaedf1;
  border-radius: 12px;
  padding: 20px 16px;
  box-shadow: 0 2px 8px rgba(6, 19, 26, 0.03);
}

.sidebar-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 10px;
  font-family: var(--font-body);
}

.sidebar-cat-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 440px;
  overflow-y: auto;
  padding-right: 2px;
}

.sidebar-cat-list::-webkit-scrollbar {
  width: 3px;
}

.sidebar-cat-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.sidebar-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 400;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
}

.sidebar-cat-item:hover {
  background: #f8fafc;
  color: var(--kanha-blue);
}

.sidebar-cat-item.active {
  background: rgba(22, 118, 183, 0.08);
  color: var(--kanha-blue);
  font-weight: 600;
}

.sidebar-cat-badge {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 1px 6px;
  border-radius: 50px;
  background: #f1f5f9;
  color: #64748b;
}

.sidebar-cat-item.active .sidebar-cat-badge {
  background: var(--kanha-blue);
  color: #ffffff;
}

/* Sidebar Trade Desk Card */
.sidebar-trade-card {
  background: #081d28;
  color: #ffffff;
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
}

.sidebar-trade-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 6px;
  font-family: var(--font-body);
}

.sidebar-trade-card p {
  font-size: 0.8rem;
  font-weight: 400;
  color: #cbd5e1;
  line-height: 1.45;
  margin-bottom: 14px;
}

.sidebar-trade-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  background: #16a34a;
  color: #ffffff;
  transition: background 0.2s ease;
  font-family: var(--font-body);
}

.sidebar-trade-btn svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

.sidebar-trade-btn:hover {
  background: #15803d;
}

/* ---------------- 4. TOOLBAR ---------------- */

.shop-toolbar-v2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid #eaedf1;
  border-radius: 10px;
  padding: 12px 18px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.toolbar-heading-group h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 2px;
  font-family: var(--font-heading);
}

.toolbar-heading-group p {
  font-size: 0.82rem;
  font-weight: 400;
  color: #64748b;
  margin: 0;
}

.toolbar-actions-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sort-select-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 400;
}

.shop-sort-select {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #0f172a;
  cursor: pointer;
  outline: none;
  font-family: var(--font-body);
}

.btn-reset-filters {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
}

/* ---------------- 5. PRODUCT CARDS (CLEAN & ELEGANT WITH HOVER) ---------------- */

.product-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-card-v2 {
  background: #ffffff;
  border: 1px solid #eaedf1;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 6px rgba(6, 19, 26, 0.03);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
              border-color 0.28s ease;
  position: relative;
}

/* Enhanced Hover Effect */
.product-card-v2:hover {
  transform: translateY(-6px);
  border-color: rgba(22, 118, 183, 0.35);
  box-shadow: 0 12px 28px -4px rgba(22, 118, 183, 0.12),
              0 4px 10px -2px rgba(6, 19, 26, 0.04);
}

/* Media Box */
.card-media-v2 {
  position: relative;
  height: 210px;
  background: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
}

.card-media-v2 a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.card-media-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.product-card-v2:hover .card-media-img {
  transform: scale(1.05);
}

.card-badge-v2 {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 2;
  transition: all 0.2s ease;
}

.product-card-v2:hover .card-badge-v2 {
  background: rgba(22, 118, 183, 0.08);
  border-color: rgba(22, 118, 183, 0.25);
  color: var(--kanha-blue);
}

/* Card Body */
.card-body-v2 {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-category-sub {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--kanha-blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.card-title-v2 {
  font-size: 0.98rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.7rem;
  font-family: var(--font-body);
}

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

.product-card-v2:hover .card-title-v2 a {
  color: var(--kanha-blue);
}

.card-desc-v2 {
  font-size: 0.82rem;
  font-weight: 400;
  color: #64748b;
  line-height: 1.45;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.4rem;
}

/* Spec Chips */
.card-specs-v2 {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 14px;
}

.spec-chip-v2 {
  background: #f8fafc;
  border: 1px solid #eef2f6;
  border-radius: 4px;
  padding: 3px 7px;
  font-size: 0.72rem;
  color: #475569;
  font-weight: 400;
  transition: all 0.2s ease;
}

.product-card-v2:hover .spec-chip-v2 {
  background: #f1f5f9;
  border-color: #e2e8f0;
}

.spec-chip-label {
  color: #94a3b8;
  margin-right: 2px;
}

/* Card Actions */
.card-actions-v2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  margin-top: auto;
  gap: 6px;
}

.btn-card-quote {
  background: var(--kanha-blue);
  color: #ffffff;
  border: none;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
}

.btn-card-quote:hover {
  background: #0d5a8f;
  box-shadow: 0 3px 10px rgba(22, 118, 183, 0.3);
}

.btn-card-specs {
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 400;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
  font-family: var(--font-body);
}

.btn-card-specs:hover {
  color: var(--kanha-blue);
  transform: translateX(2px);
}

/* ---------------- 6. PAGINATION ---------------- */

.shop-pagination-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 36px;
}

.page-btn {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 0.84rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: var(--font-body);
}

.page-btn:hover:not(:disabled) {
  background: #f8fafc;
  color: var(--kanha-blue);
  border-color: var(--kanha-blue);
}

.page-btn.active {
  background: var(--kanha-blue);
  color: #ffffff;
  border-color: var(--kanha-blue);
}

.page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.page-btn.page-nav-btn {
  width: auto;
  padding: 0 12px;
}

/* Empty State */
.shop-empty-state-v2 {
  grid-column: 1 / -1;
  text-align: center;
  padding: 50px 20px;
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
}

.shop-empty-icon {
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.shop-empty-state-v2 h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 4px;
}

.shop-empty-state-v2 p {
  color: #64748b;
  font-size: 0.88rem;
  font-weight: 400;
  margin-bottom: 16px;
}

/* ---------------- 7. ASSURANCE STRIP ---------------- */

.shop-assurance-strip {
  padding: 44px 0;
  background: #ffffff;
  border-top: 1px solid #eaedf1;
  font-family: var(--font-body);
}

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

.assurance-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.assurance-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(22, 118, 183, 0.08);
  color: var(--kanha-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.assurance-text h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 2px;
}

.assurance-text p {
  font-size: 0.8rem;
  font-weight: 400;
  color: #64748b;
  line-height: 1.4;
  margin: 0;
}

/* ---------------- 8. RFQ MODAL ---------------- */

.rfq-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 29, 40, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  font-family: var(--font-body);
}

.rfq-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.rfq-modal-card {
  background: #ffffff;
  border-radius: 14px;
  max-width: 480px;
  width: 100%;
  padding: 28px 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  position: relative;
}

.rfq-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #f1f5f9;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  cursor: pointer;
  font-size: 0.85rem;
}

.rfq-modal-header {
  margin-bottom: 18px;
}

.rfq-modal-header h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 4px;
}

.rfq-modal-header p {
  font-size: 0.84rem;
  font-weight: 400;
  color: #64748b;
  margin: 0;
}

.rfq-form-group {
  margin-bottom: 12px;
}

.rfq-form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: #334155;
  margin-bottom: 4px;
}

.rfq-form-group input,
.rfq-form-group select,
.rfq-form-group textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 0.86rem;
  color: #0f172a;
  outline: none;
  font-family: var(--font-body);
}

.rfq-form-group input:focus,
.rfq-form-group select:focus,
.rfq-form-group textarea:focus {
  border-color: var(--kanha-blue);
}

.rfq-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.btn-rfq-whatsapp {
  flex: 1;
  background: #16a34a;
  color: #ffffff;
  border: none;
  padding: 10px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.86rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  font-family: var(--font-body);
}

.btn-rfq-whatsapp svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

.btn-rfq-email {
  flex: 1;
  background: var(--kanha-blue);
  color: #ffffff;
  border: none;
  padding: 10px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.86rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  font-family: var(--font-body);
}

/* ---------------- 9. RESPONSIVE BREAKPOINTS & MOBILE REFINEMENT ---------------- */

/* Desktop / Large Screens */
.sidebar-cat-toggle-icon {
  display: none;
}

@media (max-width: 1150px) {
  .product-grid-v2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* Tablet & Mobile Layout Adjustment (< 900px) */
@media (max-width: 900px) {
  .top-cat-bar-wrapper {
    top: var(--header-h, 72px);
  }

  .top-cat-slider {
    padding: 10px 14px;
    gap: 6px;
  }

  .cat-pill-tab {
    padding: 5px 12px;
    font-size: 0.8rem;
  }

  .shop-main-section {
    padding: 20px 0 50px;
  }

  .shop-layout-v2 {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  /* Reorder: Results (Products) come first on mobile! */
  .shop-results-v2 {
    order: 1;
    width: 100%;
  }

  .shop-sidebar-v2 {
    order: 2;
    width: 100%;
    position: static;
    gap: 16px;
    margin-top: 10px;
  }

  /* Mobile Collapsible Category Accordion */
  .sidebar-card {
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 4px rgba(6, 19, 26, 0.03);
  }

  .sidebar-card-title {
    cursor: pointer;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    user-select: none;
    font-size: 0.92rem;
  }

  .sidebar-cat-toggle-icon {
    display: block;
    transition: transform 0.25s ease;
    color: #64748b;
  }

  .sidebar-cat-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, margin-top 0.3s ease;
    margin-top: 0;
    padding-top: 0;
  }

  .sidebar-card.open .sidebar-card-title {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 10px;
    margin-bottom: 10px;
  }

  .sidebar-card.open .sidebar-cat-toggle-icon {
    transform: rotate(180deg);
    color: var(--kanha-blue);
  }

  .sidebar-card.open .sidebar-cat-list {
    max-height: 320px;
    overflow-y: auto;
  }

  /* Trade Desk CTA Box */
  .sidebar-trade-card {
    padding: 18px 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, #091a24 0%, #103348 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .sidebar-trade-card h4 {
    font-size: 1rem;
    margin-bottom: 4px;
  }

  .sidebar-trade-card p {
    font-size: 0.82rem;
    max-width: 480px;
    margin: 0 auto 12px;
  }

  .sidebar-trade-btn {
    width: 100%;
    max-width: 320px;
    padding: 9px 16px;
    font-size: 0.86rem;
  }
}

/* Mobile Screens (< 768px) */
@media (max-width: 768px) {
  :root {
    --pad: 14px !important;
    --pad-sm: 10px !important;
  }

  body.product-page-body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  .header-top-bar {
    padding: 6px 0;
    overflow: hidden;
  }

  .header-top-inner {
    padding: 0 10px !important;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .header-top-socials {
    display: none !important;
  }

  .header-top-contact {
    gap: 8px;
    font-size: 0.7rem;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
  }

  .top-contact-item {
    font-size: 0.7rem;
    gap: 4px;
    white-space: nowrap;
  }

  .top-divider {
    display: none;
  }

  .header-inner {
    padding-left: 14px !important;
    padding-right: 14px !important;
    height: 64px;
    gap: 12px;
  }

  .logo img {
    height: 38px;
    width: auto;
  }

  .header-actions .btn-quote-header {
    padding: 6px 12px;
    font-size: 0.76rem;
  }

  .shop-hero-v2 .container,
  .shop-main-section .container,
  .top-cat-bar-wrapper .container {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .shop-hero-v2 {
    padding: 28px 0 22px;
    overflow: hidden;
  }

  .shop-badge-pill {
    font-size: 0.68rem;
    padding: 4px 10px;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
    max-width: 95%;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }

  .hero-br-mobile {
    display: inline;
  }

  .shop-hero-v2 h1 {
    font-size: clamp(1.25rem, 5vw, 1.65rem);
    line-height: 1.25;
    margin-bottom: 8px;
    padding: 0 4px;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .shop-hero-v2 p.shop-hero-subtitle {
    font-size: 0.82rem;
    line-height: 1.45;
    margin-bottom: 14px;
    padding: 0 4px;
  }

  .hero-search-container {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  .hero-search-box {
    width: 100%;
    padding: 4px 4px 4px 12px;
    border-radius: 50px;
    display: flex;
    align-items: center;
  }

  .hero-search-box svg.search-icon {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    flex-shrink: 0;
  }

  .hero-search-input {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    width: 0 !important;
    font-size: 0.82rem;
    text-overflow: ellipsis;
  }

  .hero-search-btn {
    padding: 7px 15px;
    font-size: 0.8rem;
    font-weight: 600;
    flex-shrink: 0;
    white-space: nowrap;
    border-radius: 50px;
  }

  .quick-search-tags {
    margin-top: 10px;
    gap: 5px 6px;
    justify-content: center;
  }

  .quick-search-label {
    font-size: 0.68rem;
  }

  .quick-tag-pill {
    font-size: 0.7rem;
    padding: 3px 8px;
  }

  /* Toolbar */
  .shop-toolbar-v2 {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px 14px;
    margin-bottom: 14px;
    border-radius: 8px;
  }

  .toolbar-heading-group h2 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1px;
  }

  .toolbar-heading-group p {
    font-size: 0.76rem;
    color: #64748b;
  }

  .toolbar-actions-group {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 2px;
  }

  .sort-select-wrapper {
    font-size: 0.78rem;
    flex: 1;
    max-width: 220px;
  }

  .shop-sort-select {
    width: 100%;
    font-size: 0.76rem;
    padding: 5px 8px;
    border-radius: 6px;
  }

  .btn-reset-filters {
    padding: 5px 8px;
    font-size: 0.72rem;
  }
}

/* Smartphone Viewport (< 640px) - 2-Column Clean Card Layout */
@media (max-width: 640px) {
  .product-grid-v2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .product-card-v2 {
    border-radius: 10px;
    border: 1px solid #eaedf1;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    box-shadow: 0 1px 4px rgba(6, 19, 26, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .product-card-v2:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 19, 26, 0.08);
  }

  /* Media Thumbnail */
  .card-media-v2 {
    height: 125px;
    padding: 8px;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .card-media-img {
    max-height: 100px;
    max-width: 92%;
    width: auto;
    height: auto;
    object-fit: contain;
  }

  .card-badge-v2 {
    font-size: 0.58rem;
    padding: 2px 5px;
    border-radius: 3px;
    top: 6px;
    left: 6px;
    max-width: 82%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.02em;
  }

  /* Card Body */
  .card-body-v2 {
    padding: 10px 8px 10px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }

  .card-category-sub {
    font-size: 0.64rem;
    font-weight: 600;
    color: var(--kanha-blue);
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
  }

  .card-title-v2 {
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 5px;
    height: 2.15rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Hide long descriptions in mobile 2-column cards to eliminate clutter */
  .card-desc-v2 {
    display: none !important;
  }

  /* Uniform specs area */
  .card-specs-v2 {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 8px;
    min-height: 38px; /* equalizes height across 1-chip and 2-chip cards */
    justify-content: flex-start;
  }

  .spec-chip-v2 {
    font-size: 0.66rem;
    padding: 2px 5px;
    border-radius: 4px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    color: #475569;
    line-height: 1.2;
  }

  .spec-chip-label {
    color: #94a3b8;
    font-weight: 500;
    margin-right: 2px;
  }

  /* Card Actions - Stacked buttons to prevent squishing! */
  .card-actions-v2 {
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
  }

  .btn-card-quote {
    width: 100%;
    justify-content: center;
    padding: 7px 6px;
    font-size: 0.76rem;
    font-weight: 600;
    background: var(--kanha-blue);
    color: #ffffff;
    border-radius: 6px;
    border: none;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 1px 3px rgba(22, 118, 183, 0.2);
  }

  .btn-card-specs {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 4px 6px;
    font-size: 0.72rem;
    font-weight: 500;
    color: #0284c7;
    background: #f0f9ff;
    border: 1px solid #e0f2fe;
    border-radius: 6px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 3px;
    transition: background 0.15s ease;
  }

  .btn-card-specs:hover {
    background: #e0f2fe;
    color: #0369a1;
  }

  /* Pagination */
  .shop-pagination-wrapper {
    gap: 4px;
    margin-top: 22px;
  }

  .page-btn {
    width: 32px;
    height: 32px;
    font-size: 0.78rem;
    border-radius: 5px;
  }

  .page-btn.page-nav-btn {
    padding: 0 8px;
    font-size: 0.74rem;
  }

  /* Assurance Grid */
  .shop-assurance-strip {
    padding: 24px 0;
  }

  .assurance-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .assurance-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 10px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 10px;
  }

  .assurance-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-size: 0.9rem;
  }

  .assurance-text h4 {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 2px;
    line-height: 1.25;
  }

  .assurance-text p {
    font-size: 0.7rem;
    line-height: 1.35;
    color: #64748b;
  }

  /* RFQ Modal */
  .rfq-modal-card {
    padding: 20px 16px;
    max-width: 95%;
  }

  .rfq-modal-header h3 {
    font-size: 1.05rem;
  }

  .rfq-modal-header p {
    font-size: 0.78rem;
  }

  .rfq-modal-actions {
    flex-direction: column;
    gap: 8px;
  }
}

/* Extra small devices (<= 360px) */
@media (max-width: 360px) {
  .product-grid-v2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .card-media-v2 {
    height: 110px;
    padding: 6px;
  }

  .card-media-img {
    max-height: 90px;
  }

  .card-body-v2 {
    padding: 8px 5px 8px;
  }

  .card-title-v2 {
    font-size: 0.76rem;
    height: 1.95rem;
  }

  .card-specs-v2 {
    min-height: 34px;
    gap: 2px;
  }

  .spec-chip-v2 {
    font-size: 0.62rem;
    padding: 1px 4px;
  }

  .btn-card-quote {
    padding: 6px 4px;
    font-size: 0.72rem;
  }

  .btn-card-specs {
    font-size: 0.68rem;
    padding: 3px 4px;
  }

  .assurance-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}