/**
 * PBC Shop — Table view, compact grid, filter sidebar, toolbar, quick-add modal.
 *
 * BEM naming: pbc-shop__*, pbc-shop-table__*, pbc-product-card__*, pbc-filter__*
 * All values reference tokens.css custom properties.
 *
 * @package PBC_Core
 * @since 1.1.0
 */

/* ==========================================================================
   Shop Layout — Sidebar + Main Content
   ========================================================================== */

.pbc-shop-page .woocommerce-products-header {
  margin-bottom: 24px;
}

.pbc-shop-page .woocommerce-products-header__title {
  font-family: var(--pbc-font-ui, 'Inter', sans-serif);
  font-size: var(--pbc-text-h2, 28px);
  font-weight: 700;
  line-height: var(--pbc-lh-h2, 36px);
  color: var(--pbc-near-black, #0E1720);
  margin: 0 0 8px;
}

/* Flex layout: filter sidebar + main content */
.pbc-shop-page .site-main {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
}

/* Main content area fills remaining space */
.pbc-shop__main-content {
  flex: 1;
  min-width: 0;
}

/* Hide the default WooCommerce ordering — we use our toolbar instead */
.pbc-shop-page .woocommerce-ordering {
  display: none;
}

/* Override default WooCommerce products list */
.pbc-shop-page ul.products {
  display: contents;
}

/* Full-width elements above the sidebar+content row */
.pbc-shop-page .site-main > .woocommerce-products-header,
.pbc-shop-page .site-main > .woocommerce-notices-wrapper,
.pbc-shop-page .site-main > .woocommerce-breadcrumb,
.pbc-shop-page .site-main > .woocommerce-result-count {
  flex: 0 0 100%;
}

/* Hide the default WooCommerce result count — toolbar shows count */
.pbc-shop-page .site-main > .woocommerce-result-count {
  display: none;
}

/* ==========================================================================
   RUO Notice (single banner above catalog)
   ========================================================================== */

.pbc-shop__ruo-notice {
  background-color: var(--pbc-off-white, #F5F7FA);
  border: 1px solid var(--pbc-gray-1, #E6EAF0);
  border-radius: 6px;
  padding: 10px 16px;
  font-family: var(--pbc-font-ui, 'Inter', sans-serif);
  font-size: 13px;
  line-height: 20px;
  color: var(--pbc-graphite, #2B3642);
  font-style: italic;
  margin-bottom: 16px;
}

/* ==========================================================================
   Toolbar — Results count + View toggle
   ========================================================================== */

.pbc-shop__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.pbc-shop__toolbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pbc-shop__results-count {
  font-family: var(--pbc-font-ui, 'Inter', sans-serif);
  font-size: 13px;
  line-height: 20px;
  color: var(--pbc-graphite, #2B3642);
}

/* Active filter pills */
.pbc-shop__active-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.pbc-shop__filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background-color: var(--pbc-off-white, #F5F7FA);
  border: 1px solid var(--pbc-gray-1, #E6EAF0);
  border-radius: 100px;
  padding: 2px 10px;
  font-family: var(--pbc-font-ui, 'Inter', sans-serif);
  font-size: 12px;
  line-height: 18px;
  color: var(--pbc-graphite, #2B3642);
}

.pbc-shop__filter-pill-close {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  color: var(--pbc-graphite, #2B3642);
  font-size: 14px;
  line-height: 1;
  opacity: 0.6;
}

.pbc-shop__filter-pill-close:hover {
  opacity: 1;
}

/* View toggle */
.pbc-shop__view-toggle {
  display: inline-flex;
  border: 1px solid var(--pbc-gray-1, #E6EAF0);
  border-radius: 6px;
  overflow: hidden;
}

.pbc-shop__view-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--pbc-white, #FFFFFF);
  border: none;
  cursor: pointer;
  color: var(--pbc-graphite, #2B3642);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.pbc-shop__view-btn + .pbc-shop__view-btn {
  border-left: 1px solid var(--pbc-gray-1, #E6EAF0);
}

.pbc-shop__view-btn:hover {
  background-color: var(--pbc-off-white, #F5F7FA);
}

.pbc-shop__view-btn--active {
  background-color: var(--pbc-deep-navy, #0B1F33);
  color: var(--pbc-white, #FFFFFF);
}

.pbc-shop__view-btn--active:hover {
  background-color: var(--pbc-deep-navy, #0B1F33);
}

/* ==========================================================================
   Table View
   ========================================================================== */

.pbc-shop-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.pbc-shop-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background-color: var(--pbc-white, #FFFFFF);
  border: 1px solid var(--pbc-gray-1, #E6EAF0);
  border-radius: 8px;
  overflow: hidden;
}

.pbc-shop-table thead th {
  position: sticky;
  top: 0;
  background-color: var(--pbc-off-white, #F5F7FA);
  font-family: var(--pbc-font-ui, 'Inter', sans-serif);
  font-size: 11px;
  font-weight: 600;
  line-height: 16px;
  color: var(--pbc-graphite, #2B3642);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 10px 12px;
  text-align: left;
  border-bottom: 2px solid var(--pbc-gray-1, #E6EAF0);
  white-space: nowrap;
  z-index: 1;
}

.pbc-shop-table__th-price {
  text-align: right !important;
}

.pbc-shop-table__th-action {
  text-align: center !important;
  width: 100px;
}

.pbc-shop-table tbody tr {
  transition: background-color 0.1s ease;
}

.pbc-shop-table tbody tr:hover {
  background-color: var(--pbc-off-white, #F5F7FA);
}

.pbc-shop-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--pbc-gray-1, #E6EAF0);
  font-family: var(--pbc-font-ui, 'Inter', sans-serif);
  font-size: 14px;
  line-height: 20px;
  color: var(--pbc-near-black, #0E1720);
  vertical-align: middle;
}

.pbc-shop-table tbody tr:last-child td {
  border-bottom: none;
}

.pbc-shop-table__code {
  white-space: nowrap;
}

.pbc-shop-table__code-text {
  font-family: var(--pbc-font-mono, 'IBM Plex Mono', monospace);
  font-size: 13px;
  color: var(--pbc-graphite, #2B3642);
}

.pbc-shop-table__name a {
  color: var(--pbc-near-black, #0E1720);
  text-decoration: none;
  font-weight: 500;
}

.pbc-shop-table__name a:hover {
  color: var(--pbc-accessible-teal, #078A94);
}

.pbc-shop-table__purity,
.pbc-shop-table__format {
  font-size: 13px;
  color: var(--pbc-graphite, #2B3642);
}

.pbc-shop-table__price {
  text-align: right;
  font-weight: 600;
  white-space: nowrap;
}

.pbc-shop-table__price del {
  color: #6B7280;
  font-weight: 400;
  font-size: 13px;
}

.pbc-shop-table__price ins {
  color: #92400e;
  font-weight: 700;
  text-decoration: none;
  margin-left: 4px;
}

.pbc-shop-table__action {
  text-align: center;
  white-space: nowrap;
}

/* Backorder badge in table */
.pbc-backorder-table-badge {
  display: inline-block;
  background-color: rgba(245, 158, 11, 0.12);
  color: #92400e;
  font-size: 11px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 4px;
  vertical-align: middle;
  margin-left: 4px;
}

/* ==========================================================================
   Compact Product Card Grid (no images)
   ========================================================================== */

.pbc-shop__grid--compact {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pbc-shop__grid--loading {
  opacity: 0.5;
  pointer-events: none;
}

.pbc-shop__no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 24px;
  font-family: var(--pbc-font-ui, 'Inter', sans-serif);
  font-size: var(--pbc-text-body, 16px);
  line-height: var(--pbc-lh-body, 24px);
  color: var(--pbc-graphite, #2B3642);
}

/* Product Card (compact — no image) */
.pbc-product-card {
  display: flex;
  flex-direction: column;
  background-color: var(--pbc-white, #FFFFFF);
  border: 1px solid var(--pbc-gray-1, #E6EAF0);
  border-radius: var(--pbc-border-radius, 8px);
  padding: 16px;
  position: relative;
  transition: border-color 0.15s ease;
}

.pbc-product-card:hover {
  border-color: var(--pbc-gray-2, #C9D1DB);
}

/* Backorder badge on card */
.pbc-backorder-card-badge {
  display: inline-block;
  background-color: rgba(245, 158, 11, 0.12);
  color: #92400e;
  font-family: var(--pbc-font-ui, 'Inter', sans-serif);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

/* Card Body Content */
.pbc-product-card__catalog-code {
  display: inline-block;
  font-family: var(--pbc-font-mono, 'IBM Plex Mono', monospace);
  font-size: var(--pbc-text-data, 13px);
  line-height: var(--pbc-lh-data, 18px);
  color: var(--pbc-graphite, #2B3642);
  background-color: var(--pbc-off-white, #F5F7FA);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.pbc-product-card__title {
  font-family: var(--pbc-font-ui, 'Inter', sans-serif);
  font-size: 15px;
  font-weight: 600;
  line-height: 22px;
  color: var(--pbc-near-black, #0E1720);
  margin: 0 0 4px;
}

.pbc-product-card__title a {
  color: inherit;
  text-decoration: none;
}

.pbc-product-card__title a:hover {
  color: var(--pbc-accessible-teal, #078A94);
}

/* Meta (purity · format) */
.pbc-product-card__meta {
  font-family: var(--pbc-font-ui, 'Inter', sans-serif);
  font-size: var(--pbc-text-small, 13px);
  line-height: var(--pbc-lh-small, 20px);
  color: var(--pbc-graphite, #2B3642);
  margin: 0 0 4px;
}

.pbc-product-card__meta-sep {
  color: var(--pbc-gray-2, #C9D1DB);
  margin: 0 4px;
}

/* Price */
.pbc-product-card__price {
  font-family: var(--pbc-font-ui, 'Inter', sans-serif);
  font-size: 15px;
  font-weight: 600;
  line-height: 22px;
  color: var(--pbc-near-black, #0E1720);
  margin: 4px 0 0;
}

.pbc-product-card__price del {
  color: #6B7280;
  font-weight: 400;
  font-size: 13px;
  text-decoration: line-through;
}

.pbc-product-card__price ins {
  color: #92400e;
  font-weight: 700;
  text-decoration: none;
  margin-left: 4px;
}

.pbc-product-card__currency {
  font-size: var(--pbc-text-small, 13px);
  font-weight: 400;
  color: var(--pbc-graphite, #2B3642);
}

/* Actions */
.pbc-product-card__actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
}

.pbc-product-card__actions .pbc-btn {
  flex: 1;
  text-align: center;
  justify-content: center;
}

/* ==========================================================================
   Buttons (shop-specific)
   ========================================================================== */

.pbc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 24px;
  font-family: var(--pbc-font-ui, 'Inter', sans-serif);
  font-size: var(--pbc-text-body, 16px);
  font-weight: 600;
  line-height: var(--pbc-lh-body, 24px);
  border: none;
  border-radius: var(--pbc-border-radius, 8px);
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease;
  box-sizing: border-box;
}

.pbc-btn--sm {
  padding: 6px 14px;
  font-size: var(--pbc-text-small, 13px);
  line-height: var(--pbc-lh-small, 20px);
}

.pbc-btn--primary {
  background-color: var(--pbc-deep-navy, #0B1F33);
  color: var(--pbc-white, #FFFFFF);
}

.pbc-btn--primary:hover {
  background-color: #0d2740;
}

.pbc-btn--primary:focus-visible {
  outline: var(--pbc-focus-outline, 2px solid #078A94);
  outline-offset: var(--pbc-focus-offset, 2px);
}

.pbc-btn--primary:disabled {
  background-color: var(--pbc-gray-2, #C9D1DB);
  cursor: not-allowed;
}

.pbc-btn--secondary {
  background-color: var(--pbc-white, #FFFFFF);
  color: var(--pbc-graphite, #2B3642);
  border: 1px solid var(--pbc-gray-1, #E6EAF0);
  font-weight: 500;
}

.pbc-btn--secondary:hover {
  border-color: var(--pbc-gray-2, #C9D1DB);
  background-color: var(--pbc-off-white, #F5F7FA);
}

.pbc-btn--secondary:focus-visible {
  outline: var(--pbc-focus-outline, 2px solid #078A94);
  outline-offset: var(--pbc-focus-offset, 2px);
}

/* Quick-add added state */
.pbc-quick-add-btn--added {
  background-color: var(--pbc-success, #1FAD83) !important;
}

/* ==========================================================================
   Skeleton Loading
   ========================================================================== */

@keyframes pbc-skeleton-pulse {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}

.pbc-skeleton {
  background-color: var(--pbc-gray-1, #E6EAF0);
  border-radius: 4px;
  animation: pbc-skeleton-pulse 1.5s ease-in-out infinite;
}

.pbc-skeleton-row {
  height: 44px;
  margin-bottom: 2px;
}

.pbc-skeleton-card {
  height: 150px;
  border-radius: 8px;
}

/* ==========================================================================
   Filter Sidebar
   ========================================================================== */

.pbc-filter {
  width: 220px;
  flex-shrink: 0;
  position: sticky;
  top: 24px;
  align-self: start;
}

.pbc-filter__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--pbc-gray-1, #E6EAF0);
}

.pbc-filter__title {
  font-family: var(--pbc-font-ui, 'Inter', sans-serif);
  font-size: var(--pbc-text-h3, 20px);
  font-weight: 600;
  line-height: var(--pbc-lh-h3, 28px);
  color: var(--pbc-near-black, #0E1720);
  margin: 0;
}

.pbc-filter__close {
  display: none;
  background: none;
  border: none;
  color: var(--pbc-graphite, #2B3642);
  cursor: pointer;
  padding: 4px;
}

.pbc-filter__group {
  border: none;
  padding: 0;
  margin: 0 0 24px;
}

.pbc-filter__group-title {
  font-family: var(--pbc-font-ui, 'Inter', sans-serif);
  font-size: var(--pbc-text-small, 13px);
  font-weight: 600;
  line-height: var(--pbc-lh-small, 20px);
  color: var(--pbc-graphite, #2B3642);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.pbc-filter__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 4px 0;
  cursor: pointer;
}

.pbc-filter__checkbox input[type="checkbox"] {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--pbc-accessible-teal, #078A94);
  cursor: pointer;
}

.pbc-filter__checkbox-label {
  font-family: var(--pbc-font-ui, 'Inter', sans-serif);
  font-size: 14px;
  line-height: 22px;
  color: var(--pbc-graphite, #2B3642);
}

.pbc-filter__count {
  color: var(--pbc-gray-2, #C9D1DB);
  font-size: var(--pbc-text-small, 13px);
}

.pbc-filter__select {
  display: block;
  width: 100%;
  padding: 6px 8px;
  font-family: var(--pbc-font-ui, 'Inter', sans-serif);
  font-size: 14px;
  line-height: 22px;
  color: var(--pbc-graphite, #2B3642);
  background-color: var(--pbc-white, #FFFFFF);
  border: 1px solid var(--pbc-gray-1, #E6EAF0);
  border-radius: var(--pbc-border-radius, 8px);
  cursor: pointer;
}

.pbc-filter__select:focus {
  border-color: var(--pbc-accessible-teal, #078A94);
  outline: var(--pbc-focus-outline, 2px solid #078A94);
  outline-offset: var(--pbc-focus-offset, 2px);
}

.pbc-filter__actions {
  padding-top: 16px;
  border-top: 1px solid var(--pbc-gray-1, #E6EAF0);
}

/* Mobile toggle button (hidden on desktop) */
.pbc-filter__mobile-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-family: var(--pbc-font-ui, 'Inter', sans-serif);
  font-size: var(--pbc-text-body, 16px);
  font-weight: 500;
  line-height: var(--pbc-lh-body, 24px);
  color: var(--pbc-graphite, #2B3642);
  background-color: var(--pbc-white, #FFFFFF);
  border: 1px solid var(--pbc-gray-1, #E6EAF0);
  border-radius: var(--pbc-border-radius, 8px);
  cursor: pointer;
  margin-bottom: 16px;
  flex: 0 0 100%;
}

.pbc-filter__mobile-toggle:hover {
  border-color: var(--pbc-gray-2, #C9D1DB);
  background-color: var(--pbc-off-white, #F5F7FA);
}

/* Overlay for mobile filter */
.pbc-filter__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(14, 23, 32, 0.5);
  z-index: 999;
}

.pbc-filter__overlay--visible {
  display: block;
}

/* ==========================================================================
   Load More
   ========================================================================== */

.pbc-shop__load-more-wrap {
  text-align: center;
  padding: 32px 0;
}

.pbc-shop__load-more {
  min-width: 200px;
}

/* ==========================================================================
   Quick-Add Modal
   ========================================================================== */

.pbc-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.pbc-modal--open {
  display: flex;
}

.pbc-modal__backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(14, 23, 32, 0.5);
}

.pbc-modal__content {
  position: relative;
  background-color: var(--pbc-white, #FFFFFF);
  border-radius: var(--pbc-border-radius, 8px);
  max-width: 400px;
  width: 90%;
  box-shadow: 0 4px 24px rgba(14, 23, 32, 0.12);
  z-index: 1;
}

.pbc-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--pbc-gray-1, #E6EAF0);
}

.pbc-modal__title {
  font-family: var(--pbc-font-ui, 'Inter', sans-serif);
  font-size: var(--pbc-text-h3, 20px);
  font-weight: 600;
  line-height: var(--pbc-lh-h3, 28px);
  color: var(--pbc-near-black, #0E1720);
  margin: 0;
}

.pbc-modal__close {
  background: none;
  border: none;
  color: var(--pbc-graphite, #2B3642);
  cursor: pointer;
  padding: 4px;
}

.pbc-modal__close:hover {
  color: var(--pbc-near-black, #0E1720);
}

.pbc-modal__body {
  padding: 24px;
}

.pbc-modal__product-name {
  font-family: var(--pbc-font-ui, 'Inter', sans-serif);
  font-size: var(--pbc-text-body, 16px);
  font-weight: 600;
  line-height: var(--pbc-lh-body, 24px);
  color: var(--pbc-near-black, #0E1720);
  margin: 0 0 16px;
}

/* Volume Pricing in Quick-Add Modal */
.pbc-quick-add__volume { margin-bottom: 16px; }
.pbc-quick-add__volume-title { font-weight: 600; font-size: 13px; margin: 0 0 8px; }
.pbc-quick-add__volume-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.pbc-quick-add__volume-table th { text-align: left; padding: 4px 8px; font-weight: 600; border-bottom: 1px solid var(--pbc-gray-1, #E6EAF0); }
.pbc-quick-add__volume-table td { padding: 4px 8px; }

.pbc-modal__certification {
  padding: 16px;
  background-color: var(--pbc-off-white, #F5F7FA);
  border: 1px solid var(--pbc-gray-1, #E6EAF0);
  border-radius: var(--pbc-border-radius, 8px);
}

.pbc-modal__cert-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
}

.pbc-modal__cert-input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--pbc-accessible-teal, #078A94);
  cursor: pointer;
}

.pbc-modal__cert-text {
  font-family: var(--pbc-font-ui, 'Inter', sans-serif);
  font-size: var(--pbc-text-small, 13px);
  line-height: var(--pbc-lh-small, 20px);
  color: var(--pbc-graphite, #2B3642);
}

.pbc-modal__error {
  font-family: var(--pbc-font-ui, 'Inter', sans-serif);
  font-size: var(--pbc-text-small, 13px);
  line-height: var(--pbc-lh-small, 20px);
  color: var(--pbc-critical, #D92D20);
  margin: 8px 0 0;
  min-height: 20px;
}

.pbc-modal__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 16px 24px;
  border-top: 1px solid var(--pbc-gray-1, #E6EAF0);
}

/* ==========================================================================
   Body Scroll Lock
   ========================================================================== */

body.pbc-modal-open,
body.pbc-filter-open {
  overflow: hidden;
}

/* ==========================================================================
   Tablet (max-width: 1024px)
   ========================================================================== */

@media (max-width: 1024px) {
  .pbc-shop__grid--compact {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* ==========================================================================
   Mobile (max-width: 768px)
   ========================================================================== */

@media (max-width: 768px) {
  /* Stack layout */
  .pbc-shop-page .site-main {
    flex-direction: column;
    gap: 0;
  }

  /* Single column grid */
  .pbc-shop__grid--compact {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Show mobile filter toggle */
  .pbc-filter__mobile-toggle {
    display: inline-flex;
  }

  /* Filter sidebar becomes slide-up sheet */
  .pbc-filter {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 80vh;
    background-color: var(--pbc-white, #FFFFFF);
    border-radius: 16px 16px 0 0;
    padding: 24px;
    box-sizing: border-box;
    z-index: 1000;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -4px 24px rgba(14, 23, 32, 0.12);
  }

  .pbc-filter--open {
    transform: translateY(0);
  }

  .pbc-filter__close {
    display: block;
  }

  /* Table → stacked cards on mobile */
  .pbc-shop-table thead {
    display: none;
  }

  .pbc-shop-table,
  .pbc-shop-table tbody {
    display: block;
    border: none;
  }

  .pbc-shop-table tr {
    display: block;
    background: var(--pbc-white, #FFFFFF);
    border: 1px solid var(--pbc-gray-1, #E6EAF0);
    border-radius: 8px;
    margin-bottom: 12px;
    padding: 12px 16px;
  }

  .pbc-shop-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
    padding: 3px 0;
    font-size: 14px;
  }

  .pbc-shop-table td::before {
    content: attr(data-label);
    font-weight: 600;
    font-size: 12px;
    color: var(--pbc-graphite, #2B3642);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    min-width: 80px;
  }

  .pbc-shop-table__action {
    text-align: right;
    justify-content: flex-end;
    padding-top: 8px !important;
  }

  .pbc-shop-table__action::before {
    display: none;
  }

  .pbc-shop-table__price {
    text-align: right;
  }

  /* Card actions stack on mobile */
  .pbc-product-card__actions {
    flex-direction: column;
  }

  .pbc-product-card__actions .pbc-btn {
    width: 100%;
  }

  /* Toolbar */
  .pbc-shop__toolbar {
    gap: 8px;
  }
}
