/* ==========================================================================
   GiftAcross — Product List / Category Listing Page (PLP) Styles
   - Modern, Ultra-Premium, New-Age E-Commerce UI
   - AdaptNXT Anti-AI Guardrails: Zero Clipped Badges, Min 12px Floor, Clean Typography
   ========================================================================== */

/* Breadcrumb Navigation */
.plp-breadcrumb-nav {
  padding: 14px 0 6px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.plp-breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  flex-wrap: wrap;
}

.plp-breadcrumb-list a {
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.plp-breadcrumb-list a:hover {
  color: var(--brand-navy);
  text-decoration: underline;
}

.plp-breadcrumb-sep {
  color: #CBD5E1;
  font-size: 0.75rem;
}

.plp-breadcrumb-current {
  color: var(--text-dark);
  font-weight: 600;
}

/* Category Hero Header */
.plp-header-section {
  padding: 10px 0 16px;
}

.plp-header-inner {
  display: block;
}

.plp-title-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.plp-title-group h1 {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.plp-title-count {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.plp-header-desc {
  font-size: 0.9375rem;
  color: var(--text-body);
  margin-top: 6px;
  max-width: 820px;
  line-height: 1.5;
}

.plp-toolbar-count {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  padding-left: 12px;
  border-left: 1px solid var(--border-light);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* Visual Subcategory Quick Filter Chips (Fits strictly within available container) */
.plp-subcat-strip-wrap {
  margin: 14px 0 20px;
  position: relative;
  width: 100%;
}

.plp-subcat-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 4px 0 8px 0;
  width: 100%;
}

.plp-subcat-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 6px;
  border-radius: 9999px;
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  color: var(--text-dark);
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.plp-subcat-chip img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-light);
}

.plp-subcat-chip:hover {
  border-color: var(--brand-navy);
  color: var(--brand-navy);
  transform: translateY(-1px);
}

.plp-subcat-chip.active {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(28, 57, 110, 0.22);
}

.plp-subcat-chip.active img {
  border-color: #FFFFFF;
}

/* Sticky Smart Control Bar */
.plp-control-bar {
  position: sticky;
  top: 70px;
  z-index: 30;
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 10px 0;
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.03);
}

.plp-control-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

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

.plp-sidebar-toggle-btn {
  display: none;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.15s ease;
}

.plp-sidebar-toggle-btn:hover {
  border-color: var(--brand-navy);
  color: var(--brand-navy);
}

.filter-badge-counter {
  background: var(--brand-navy);
  color: #FFFFFF;
  font-size: 0.75rem;
  padding: 2px 7px;
  border-radius: 9999px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.density-switch-group {
  display: inline-flex;
  align-items: center;
  background: var(--bg-section-gray);
  padding: 3px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
}

.density-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.density-btn.active {
  background: #FFFFFF;
  color: var(--brand-navy);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* Quick Filter & Active Filters Area in Control Bar */
.plp-control-middle {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.express-pill-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  color: var(--text-dark);
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.express-pill-toggle:hover {
  border-color: var(--festive-green);
  color: var(--festive-green);
}

.express-pill-toggle.active {
  background: var(--festive-green-bg);
  border-color: var(--festive-green);
  color: var(--festive-green);
}

.quick-filter-chip {
  padding: 6px 13px;
  border-radius: 9999px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.15s ease;
}

.quick-filter-chip:hover {
  border-color: var(--brand-navy);
  color: var(--brand-navy);
}

.quick-filter-chip.active {
  background: var(--brand-navy-soft);
  border-color: var(--brand-navy);
  color: var(--brand-navy);
  font-weight: 700;
}

/* Right Sort Dropdown */
.plp-control-right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.sort-label-text {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 600;
}

.plp-sort-select {
  padding: 7px 30px 7px 12px;
  border-radius: 8px;
  border: 1.5px solid var(--border-light);
  background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23374151' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  appearance: none;
  transition: border-color 0.15s ease;
}

.plp-sort-select:focus {
  outline: none;
  border-color: var(--brand-navy);
}

/* Active Filters Container (Standalone Strip Below Control Bar) */
.plp-active-strip-container {
  padding: 8px 0 4px;
  border-top: 1px solid #F1F5F9;
}

.plp-active-filters-bar {
  display: flex;
  align-items: center;
  width: 100%;
}

.active-chips-scroll-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  width: 100%;
  padding: 2px 0;
}

.active-chips-scroll-wrap::-webkit-scrollbar {
  display: none;
}

.active-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--brand-navy-soft);
  color: var(--brand-navy);
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid #D1E1F5;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.active-filter-chip:hover {
  background: #E1ECFA;
  border-color: var(--brand-navy);
}

.chip-x {
  font-size: 0.75rem;
  font-weight: 800;
  opacity: 0.75;
}

.clear-all-filters-btn {
  font-size: 0.78rem;
  font-weight: 700;
  color: #DC2626;
  text-decoration: underline;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 4px 8px;
}

/* Main PLP Layout: Sidebar (270px) + Product Grid Stage */
.plp-main-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 28px;
  align-items: start;
  padding: 20px 0 60px;
}

/* Left Sidebar Rail */
.plp-sidebar {
  position: sticky;
  top: 135px;
  max-height: calc(100vh - 150px);
  overflow-y: auto;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: #E5E7EB transparent;
}

.sidebar-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--border-light);
}

.sidebar-heading {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sidebar-clear-link {
  font-size: 0.75rem;
  font-weight: 700;
  color: #DC2626;
  cursor: pointer;
}

.sidebar-group {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
}

.sidebar-group-title {
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.sidebar-options-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-check-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--text-body);
  cursor: pointer;
  user-select: none;
}

.sidebar-check-item:hover {
  color: var(--brand-navy);
}

.sidebar-check-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-check-item input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 17px;
  height: 17px;
  border-radius: 4px;
  border: 1.5px solid #CBD5E1;
  background-color: #FFFFFF;
  cursor: pointer;
  display: inline-grid;
  place-content: center;
  transition: all 0.15s ease-in-out;
  flex-shrink: 0;
  margin: 0;
}

.sidebar-check-item input[type="checkbox"]:hover {
  border-color: var(--brand-navy);
}

.sidebar-check-item input[type="checkbox"]::before {
  content: "";
  width: 9px;
  height: 6px;
  border-left: 2px solid #FFFFFF;
  border-bottom: 2px solid #FFFFFF;
  transform: rotate(-45deg) translate(1px, -1px) scale(0);
  transition: transform 0.12s ease-in-out;
}

.sidebar-check-item input[type="checkbox"]:checked {
  background-color: var(--brand-navy);
  border-color: var(--brand-navy);
}

.sidebar-check-item input[type="checkbox"]:checked::before {
  transform: rotate(-45deg) translate(1px, -1px) scale(1);
}

.sidebar-count-badge {
  font-size: 0.75rem;
  color: #94A3B8;
  font-weight: 600;
  margin-left: auto;
  padding-left: 8px;
}

/* Product Cards Grid */
.plp-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.plp-product-grid.density-3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Modernized Product Card */
.nri-product-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.nri-product-card:hover {
  box-shadow: 0 12px 28px rgba(28, 57, 110, 0.10);
  transform: translateY(-3px);
  border-color: #CBD5E1;
}

.nri-card-image-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #F8FAFC;
  overflow: hidden;
  cursor: pointer;
}

.nri-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.nri-product-card:hover .nri-card-image-wrap img {
  transform: scale(1.04);
}

.nri-discount-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--festive-green);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 2;
  box-shadow: 0 2px 4px rgba(0,0,0,0.12);
}

.nri-wishlist-corner-tab {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  z-index: 2;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.nri-wishlist-corner-tab:hover {
  transform: scale(1.12);
}

.plp-quick-view-btn {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  color: var(--brand-navy);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(28, 57, 110, 0.1);
  cursor: pointer;
}

.nri-product-card:hover .plp-quick-view-btn {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
  .plp-quick-view-btn {
    opacity: 0.95;
    transform: translateX(-50%) translateY(0);
    padding: 6px 12px;
    font-size: 0.75rem;
  }
}

.nri-card-body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: #FFFFFF;
}

.nri-card-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 0.75rem;
}

.nri-card-cat-badge {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94A3B8;
}

.nri-card-rating {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #FEF3C7;
  color: #92400E;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.nri-card-rating .star-icon {
  color: #D97706;
  font-size: 0.75rem;
}

.nri-card-rating .review-count {
  color: #B45309;
  font-weight: 600;
  margin-left: 2px;
}

.nri-card-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.7em;
  cursor: pointer;
  transition: color 0.15s ease;
}

.nri-card-title:hover {
  color: var(--brand-navy);
}

.nri-card-sla-badge {
  display: none !important;
}

.nri-card-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
  margin-top: auto;
}

.nri-price-now {
  font-size: 1.05rem;
  font-weight: 850;
  color: var(--brand-navy);
  letter-spacing: -0.01em;
}

.nri-price-mrp {
  font-size: 0.8125rem;
  color: #94A3B8;
  text-decoration: line-through;
}

.nri-card-actions {
  margin-top: auto;
}

.nri-card-add-btn {
  width: 100%;
  padding: 8px 12px;
  background: #FFFFFF;
  border: 1.5px solid var(--brand-navy);
  color: var(--brand-navy);
  font-weight: 750;
  font-size: 0.78rem;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  letter-spacing: 0.01em;
}

.nri-card-add-btn:hover {
  background: var(--brand-navy);
  color: #FFFFFF;
  box-shadow: 0 4px 10px rgba(28, 57, 110, 0.2);
}

.nri-card-add-btn:active {
  transform: scale(0.98);
}

/* Empty State */
.plp-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-section-gray);
  border-radius: 12px;
  border: 1px dashed var(--border-light);
}

.empty-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.plp-empty-state h3 {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.plp-empty-state p {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 420px;
  margin: 0 auto 18px;
}

.btn-reset-filters {
  background: var(--brand-navy);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.8125rem;
  padding: 10px 22px;
  border-radius: 8px;
  cursor: pointer;
}

/* Load More Pagination Widget */
.plp-load-more-wrap {
  text-align: center;
  padding: 44px 24px 20px;
  max-width: 420px;
  margin: 0 auto;
}

.plp-load-status-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.plp-load-progress-bar-bg {
  width: 100%;
  max-width: 320px;
  height: 6px;
  background: #E2E8F0;
  border-radius: 9999px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.06);
}

.plp-load-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-navy) 0%, var(--brand-orange) 100%);
  border-radius: 9999px;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-load-more {
  margin-top: 12px;
  padding: 12px 36px;
  border-radius: 9999px;
  background: #FFFFFF;
  border: 1.5px solid var(--brand-navy);
  color: var(--brand-navy);
  font-weight: 800;
  font-size: 0.875rem;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(28, 57, 110, 0.08);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-load-more:hover {
  background: var(--brand-navy);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(28, 57, 110, 0.22);
  transform: translateY(-1px);
}

.btn-load-more:active {
  transform: translateY(0);
}

/* Quick View Modal handled in style.css */

/* Toast Notification */
.nri-toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #111827;
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(100px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nri-toast-notification.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.toast-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toast-icon {
  background: var(--festive-green);
  color: #FFFFFF;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.toast-msg {
  font-size: 0.8125rem;
  font-weight: 600;
}

.toast-action-btn {
  background: var(--brand-orange);
  color: #111827;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  border: none;
}

/* Mobile Filter Floating Bar & Sheet */
.mobile-sticky-filter-bar {
  display: none;
}

.mobile-filter-drawer {
  display: none;
}

/* Responsive Media Queries */
@media (max-width: 1120px) {
  .plp-main-layout {
    grid-template-columns: 240px 1fr;
    gap: 20px;
  }
  .plp-product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .plp-product-grid.density-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .plp-sidebar-toggle-btn {
    display: inline-flex;
  }
  .plp-main-layout {
    grid-template-columns: 1fr;
    padding-bottom: 74px;
  }
  .plp-sidebar {
    display: none;
  }
  /* quickview handled in style.css */
  .mobile-sticky-filter-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-top: 1px solid var(--border-light);
    padding: 10px 16px;
    z-index: 45;
    box-shadow: 0 -4px 14px rgba(0,0,0,0.06);
    gap: 12px;
  }
  .mobile-sticky-filter-bar button {
    flex: 1;
    padding: 11px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
  }
  .btn-mobile-filters {
    background: var(--brand-navy);
    color: #FFFFFF;
    border: none;
  }
  .btn-mobile-sort {
    background: #FFFFFF;
    color: var(--text-dark);
    border: 1.5px solid var(--border-light);
  }
  .mobile-filter-drawer {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.6);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }
  .mobile-filter-drawer.open {
    opacity: 1;
    pointer-events: auto;
  }
  .mobile-filter-sheet {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-radius: 20px 20px 0 0;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -10px 30px rgba(0,0,0,0.18);
  }
  .mobile-filter-drawer.open .mobile-filter-sheet {
    transform: translateY(0);
  }
  .mobile-sheet-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
    flex-shrink: 0;
    background: #FFFFFF;
  }
  .btn-sheet-close {
    background: #F1F5F9;
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease;
  }
  .btn-sheet-close:hover {
    background: #E2E8F0;
  }
  .mobile-sheet-body {
    padding: 16px 20px 24px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .mobile-sheet-body .sidebar-group {
    padding-bottom: 16px;
    border-bottom: 1px solid #F1F5F9;
    margin: 0;
  }
  .mobile-sheet-body .sidebar-group:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .mobile-sheet-footer {
    display: flex;
    gap: 12px;
    padding: 14px 20px;
    border-top: 1px solid var(--border-light);
    background: #FFFFFF;
    flex-shrink: 0;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.03);
  }
  .btn-sheet-reset {
    flex: 1;
    padding: 12px;
    border: 1.5px solid var(--border-light);
    background: #FFFFFF;
    color: var(--text-dark);
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
  }
  .btn-sheet-reset:hover {
    background: #F8FAFC;
    border-color: #CBD5E1;
  }
  .btn-sheet-apply {
    flex: 2;
    padding: 12px;
    background: var(--brand-navy);
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(28, 57, 110, 0.25);
    transition: background 0.15s ease;
  }
  .btn-sheet-apply:hover {
    background: var(--brand-navy-dark);
  }
}

@media (max-width: 768px) {
  .plp-control-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px 12px;
    padding: 4px 0;
  }
  .plp-control-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 1 auto;
  }
  .plp-control-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
  }
  .sort-label-text {
    display: none;
  }
  .plp-sort-select {
    padding: 7px 26px 7px 10px;
    font-size: 0.78rem;
    font-weight: 700;
    max-width: 175px;
    border-radius: 8px;
  }
}

@media (max-width: 600px) {
  .plp-title-group h1 {
    font-size: 1.45rem;
  }
  .plp-title-count {
    font-size: 0.9375rem;
  }
  .plp-subcat-strip {
    gap: 8px;
  }
  .plp-subcat-chip {
    padding: 4px 10px 4px 5px;
    font-size: 0.75rem;
    gap: 6px;
  }
  .plp-subcat-chip img {
    width: 24px;
    height: 24px;
  }
  .plp-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .nri-card-body {
    padding: 10px;
  }
  .nri-card-title {
    font-size: 0.8125rem;
  }
  .nri-price-now {
    font-size: 0.9375rem;
  }
}

/* Mobile PLP Control Bar Polish */
@media (max-width: 768px) {
  .density-switch-group {
    display: none !important;
  }
  .plp-sidebar-toggle-btn {
    min-height: 40px;
    padding: 8px 14px;
  }
}

@media (max-width: 600px) {
  .plp-toolbar-count {
    display: none !important;
  }
  .plp-control-inner {
    justify-content: space-between;
    gap: 8px;
  }
  .plp-sort-select {
    max-width: 160px;
    min-height: 40px;
  }
}