/* =========================================================================
   Parineeta Gold — WooCommerce Storefront, Catalog & PDP Styles (woocommerce.css)
   Palette: Champagne Gold (#F6D69D), Honey Gold (#EDB763), Warm Ivory (#FFF6E7),
   Deep Burgundy (#801F1E), Near Black (#121212), Slate Blue (#5A6A8F).
   ========================================================================= */

/* =========================================================================
   1. SHOP TOOLBAR, CATEGORY PILLS, PAGE SIZE, VIEW MODES & FACETED SIDEBAR
   ========================================================================= */
.shop-header-intro { margin-bottom: 18px; }

/* Horizontal Category Quick-Switch Pills */
.pg-shop-cat-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.pg-shop-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: background var(--fast), border-color var(--fast), color var(--fast), transform var(--fast);
}
.pg-shop-cat-pill:hover {
  border-color: var(--burgundy);
  color: var(--burgundy);
  transform: translateY(-1px);
}
.pg-shop-cat-pill.is-active {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: var(--ivory);
  font-weight: 600;
}
.pg-shop-cat-pill__count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--ivory-alt);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 600;
}
.pg-shop-cat-pill.is-active .pg-shop-cat-pill__count {
  background: rgba(246, 214, 157, 0.22);
  color: var(--champagne);
}

.catalog-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  margin-bottom: 24px;
}

.catalog-top-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 260px;
  min-width: 220px;
}
.catalog-top-search .search-icon { position: absolute; left: 12px; color: var(--ink-soft); pointer-events: none; }
.catalog-top-search .search-icon svg { width: 17px; height: 17px; }
.catalog-top-search input[type="search"] {
  width: 100%;
  min-height: 44px;
  padding: 0 38px 0 38px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: var(--ivory);
  font-size: 14.5px;
}
.clear-search-btn {
  position: absolute;
  right: 8px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--ink-soft);
}
.clear-search-btn svg { width: 15px; height: 15px; }

.catalog-top-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.mobile-filter-trigger {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--espresso);
  border-radius: var(--r);
  background: var(--paper);
  color: var(--espresso);
  font-size: 13.5px;
  font-weight: 600;
}
.mobile-filter-trigger svg { width: 16px; height: 16px; }
.filter-badge {
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--burgundy);
  color: var(--ivory);
  font-size: 11px;
  font-weight: 700;
  display: inline-grid;
  place-items: center;
}

.pg-per-page-group,
.grid-cols-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--ivory);
}
.grid-cols-label {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  padding: 0 8px;
}
.grid-col-btn {
  display: inline-grid;
  place-items: center;
  min-width: 36px;
  min-height: 36px;
  padding: 0 8px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: background var(--fast), color var(--fast);
}
.grid-col-btn:hover { color: var(--espresso); }
.grid-col-btn.active { background: var(--espresso); color: #FFFFFF; }

.catalog-sort-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.catalog-sort-wrapper .sort-icon { position: absolute; left: 10px; pointer-events: none; color: var(--ink-soft); }
.catalog-sort-wrapper .sort-icon svg { width: 15px; height: 15px; }
.catalog-sort-wrapper select {
  min-height: 44px;
  padding: 0 14px 0 32px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: var(--paper);
  font-size: 14px;
  color: var(--ink);
}

/* Catalog Sidebar + Main Grid */
.shop-layout-wrapper {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.catalog-content-main {
  min-width: 0;
  width: 100%;
}
.catalog-sidebar-filters {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  max-height: calc(100vh - var(--header-h) - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.catalog-sidebar-filters::-webkit-scrollbar { width: 6px; }
.catalog-sidebar-filters::-webkit-scrollbar-track { background: transparent; }
.catalog-sidebar-filters::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 999px; }

/* Subcategory archive tiles (when WooCommerce displays subcategories in a category archive) */
.woocommerce ul.products li.product-category a,
.woocommerce-page ul.products li.product-category a {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  text-align: center;
  transition: border-color var(--fast), box-shadow var(--fast), transform var(--fast);
}
.woocommerce ul.products li.product-category a:hover,
.woocommerce-page ul.products li.product-category a:hover {
  border-color: var(--honey-gold);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.woocommerce ul.products li.product-category img,
.woocommerce-page ul.products li.product-category img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: 0 !important;
  border-bottom: 1px solid var(--cs-line-2);
}
.woocommerce ul.products li.product-category .woocommerce-loop-category__title,
.woocommerce-page ul.products li.product-category .woocommerce-loop-category__title {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  padding: 14px 12px 16px;
  margin: 0;
}
.woocommerce ul.products li.product-category .woocommerce-loop-category__title mark.count,
.woocommerce-page ul.products li.product-category .woocommerce-loop-category__title mark.count {
  background: transparent;
  color: var(--gold-text);
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  margin-left: 4px;
}
.sidebar-filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.sidebar-filter-header h3 { font-size: 20px; }
.sidebar-reset-btn { font-size: 12.5px; font-weight: 600; color: var(--gold-text); text-decoration: underline; }

.pg-filter-form { display: flex; flex-direction: column; gap: 16px; }
.filter-group label { display: block; font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink); margin-bottom: 6px; }
.filter-group select,
.filter-group input[type="text"],
.filter-group input[type="number"] {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: var(--ivory);
  font-size: 14px;
}

.purity-chips-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.purity-chip {
  min-height: 40px;
  border-radius: 4px;
  border: 1px solid var(--line-strong);
  background: var(--ivory);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.purity-chip.active { background: var(--espresso); border-color: var(--espresso); color: #FFFFFF; }

.price-presets-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.price-preset-btn {
  text-align: left;
  min-height: 38px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--ivory);
  font-size: 13px;
  color: var(--ink);
}
.price-preset-btn.active { border-color: var(--espresso); background: var(--espresso-soft); font-weight: 600; color: var(--espresso); }

.pg-custom-price-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 6px; align-items: center; }

.mobile-filter-drawer-body { flex: 1; overflow-y: auto; padding: 18px; }

/* Active Removable Filter Chips */
.active-filters-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.active-filters-label { font-size: 12.5px; font-weight: 600; color: var(--ink-soft); }
.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--espresso-soft);
  border: 1px solid var(--line-strong);
  font-size: 13px;
  color: var(--espresso);
}
.filter-pill svg { width: 13px; height: 13px; }
.clear-all-pill { font-size: 13px; font-weight: 600; color: var(--gold-text); text-decoration: underline; padding: 4px 6px; }

.catalog-main-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.pg-page-indicator { font-size: 13px; font-weight: 600; color: var(--gold-text); }

/* List View Mode */
.product-grid.grid-view-list { grid-template-columns: 1fr !important; }
.product-grid.grid-view-list .product-card {
  flex-direction: row;
  align-items: stretch;
}
.product-grid.grid-view-list .product-image {
  width: 240px;
  flex: none;
  border-bottom: 0;
  border-right: 1px solid var(--cs-line-2);
}
.product-grid.grid-view-list .product-meta {
  text-align: left;
  padding: 22px 24px;
  justify-content: center;
}

/* =========================================================================
   2. SINGLE PRODUCT DETAIL PAGE (PDP)
   ========================================================================= */
.pg-pdp-prevnext {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.pg-prevnext-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
}
.pg-prevnext-link:hover { color: var(--espresso); }
.pg-prevnext-link svg { width: 15px; height: 15px; }

.product-pdp-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: start;
}

.product-gallery-sticky { position: sticky; top: calc(var(--header-h) + 18px); }
.product-gallery-main-view {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: zoom-in;
}
.product-main-img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.2s ease-out; }
.product-gallery-main-view.zooming .product-main-img { transform: scale(2.1); }
.gallery-zoom-hint {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(46, 28, 28, 0.78);
  color: #FFFFFF;
  font-size: 12px;
  pointer-events: none;
}
.gallery-zoom-hint svg { width: 14px; height: 14px; }

.gallery-badge-overlay { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; z-index: 2; }
.purity-badge { padding: 4px 10px; border-radius: 4px; background: var(--near-black); color: var(--champagne); font-size: 11.5px; font-weight: 600; }
.purity-badge--gold { background: var(--honey-gold); color: var(--near-black); }

.gallery-wishlist-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--line);
  color: var(--ink);
  display: grid;
  place-items: center;
}
.gallery-wishlist-btn svg { width: 18px; height: 18px; }
.gallery-wishlist-btn[aria-pressed="true"] { background: var(--espresso); border-color: var(--espresso); color: var(--gold-soft); }

.product-thumbnails-row { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery-thumb-btn {
  width: 72px;
  height: 72px;
  border-radius: var(--r);
  border: 2px solid var(--line);
  background: #FFFFFF;
  padding: 4px;
  overflow: hidden;
}
.gallery-thumb-btn.active { border-color: var(--espresso); }
.gallery-thumb-btn img { width: 100%; height: 100%; object-fit: contain; }

/* PDP Info Column */
.pg-pdp-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 8px;
}
.sku-tag { font-family: monospace; background: var(--ivory-alt); padding: 2px 8px; border-radius: 4px; color: var(--ink); }
.product-pdp-title { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 12px; }
.pg-pdp-short-desc { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 20px; }
.pg-pdp-short-desc p { margin: 0 0 10px; }

.product-pdp-price-box {
  padding: 18px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  margin-bottom: 18px;
}
.price-display { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.current-price { font-family: var(--display); font-size: 32px; font-weight: 600; color: var(--espresso); }
.pg-pdp-old-price { font-size: 17px; color: var(--ink-soft); }
.vat-badge { font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 4px; background: var(--gold-light); color: var(--gold-text); }
.price-on-request { font-family: var(--display); font-size: 26px; font-weight: 600; color: var(--espresso); }

.price-breakdown-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  min-height: 36px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gold-text);
}
.price-breakdown-toggle-btn svg { width: 15px; height: 15px; }
.price-breakdown-card {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-strong);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}
.price-breakdown-card[hidden] { display: none; }
.breakdown-row { display: flex; justify-content: space-between; gap: 12px; color: var(--ink-soft); }
.breakdown-row strong { color: var(--ink); }
.breakdown-total-row {
  display: flex;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-weight: 700;
  color: var(--espresso);
}
.breakdown-footnote { margin: 4px 0 0; font-size: 12px; color: var(--ink-soft); }

.product-weights-badge-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
.weight-badge-item {
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.weight-badge-item.highlight { background: var(--gold-light); border-color: var(--gold); }
.weight-label { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.weight-value { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-top: 4px; }

.pdp-size-selector-box { margin-bottom: 18px; }
.pdp-size-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.pdp-size-header label { font-size: 13px; font-weight: 600; }
.pdp-size-guide-trigger { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: var(--gold-text); min-height: 36px; }
.pdp-size-guide-trigger svg { width: 15px; height: 15px; }
.pdp-size-select { width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--paper); }

.pg-wc-cart-box { margin-bottom: 16px; }
.pg-wc-cart-box form.cart { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pg-wc-cart-box .single_add_to_cart_button {
  min-height: 46px;
  padding: 0 26px;
  border-radius: var(--r);
  background: var(--espresso);
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pg-wc-cart-box .single_add_to_cart_button:hover { background: var(--espresso-dark); }

.cs-woo .quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: var(--paper);
}
.cs-qty-btn { width: 42px; height: 44px; display: grid; place-items: center; font-size: 17px; font-weight: 600; }
.cs-woo .quantity input.qty { width: 48px; height: 44px; text-align: center; border: 0; background: transparent; font-weight: 600; }

.cs-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.cs-swatch { min-height: 40px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--paper); font-size: 13.5px; }
.cs-swatch.on { background: var(--espresso); border-color: var(--espresso); color: #FFFFFF; }

.pg-unavailable-box {
  padding: 18px;
  background: var(--ivory-alt);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  margin-bottom: 18px;
}
.pg-unavailable-box p { margin: 0 0 12px; font-size: 14.5px; color: var(--ink); }

/* PDP Utility Row + Price Alert Panel */
.pg-pdp-utility-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.pg-util-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--paper);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
.pg-util-btn svg { width: 15px; height: 15px; }
.pg-util-btn:hover, .pg-util-btn[aria-pressed="true"] { border-color: var(--espresso); color: var(--espresso); background: var(--espresso-soft); }

.pg-pa-panel {
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--gold);
  border-radius: var(--r);
  margin-bottom: 18px;
}
.pg-pa-panel[hidden] { display: none; }
.pg-pa-panel h4 { font-size: 20px; margin-bottom: 6px; }
.pg-pa-note { margin: 0 0 14px; font-size: 13.5px; color: var(--ink-soft); }
.pg-pa-form { display: flex; flex-direction: column; gap: 12px; }
.pg-pa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pg-pa-form label { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 4px; }
.pg-pa-form input[type="number"],
.pg-pa-form input[type="text"],
.pg-pa-form select {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: var(--ivory);
}
.pg-pa-consent { display: flex !important; align-items: flex-start; gap: 8px; font-weight: 400 !important; font-size: 13px !important; color: var(--ink-soft); }
.pg-pa-consent input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
.pg-pa-status { margin: 0; font-size: 13.5px; font-weight: 500; }
.pg-pa-status.is-success { color: var(--st-complete); }
.pg-pa-status.is-error { color: var(--st-incomplete); }

.pdp-actions-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }

.showroom-availability-widget {
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  margin-bottom: 18px;
}
.availability-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.availability-header h4 { font-size: 18px; }
.freshness-tag { font-size: 12.5px; font-weight: 600; color: #1F5F35; }
.showroom-branches-list { display: flex; flex-direction: column; gap: 10px; }
.showroom-branch-item {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  gap: 10px;
  align-items: start;
  padding-top: 10px;
  border-top: 1px solid var(--cs-line-2);
}
.showroom-branch-item:first-child { padding-top: 0; border-top: 0; }
.branch-pin-icon svg { width: 16px; height: 16px; color: var(--gold-text); margin-top: 2px; }
.showroom-branch-item p { margin: 2px 0 0; font-size: 13px; color: var(--ink-soft); }
.branch-status-badge { font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 4px; background: var(--st-complete-bg); color: var(--st-complete); white-space: nowrap; }
.branch-status-badge.on-order { background: var(--ivory-alt); color: var(--ink-soft); }

.pdp-trust-guarantees-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.trust-seal-card { display: flex; align-items: center; gap: 10px; padding: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
.trust-seal-icon { width: 34px; height: 34px; border-radius: 50%; background: var(--gold-light); color: var(--gold-text); display: grid; place-items: center; flex: none; }
.trust-seal-icon svg { width: 16px; height: 16px; }
.trust-seal-card strong { display: block; font-size: 13.5px; color: var(--ink); }
.trust-seal-card span { display: block; font-size: 12px; color: var(--ink-soft); }

/* PDP Tabs, Specs Table, Reviews Summary & Controls */
.pdp-tabbed-section { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.pdp-tabs-nav { display: flex; border-bottom: 1px solid var(--line); background: var(--ivory); overflow-x: auto; }
.pdp-tab-btn {
  min-height: 50px;
  padding: 0 24px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.pdp-tab-btn.active { color: var(--espresso); border-bottom-color: var(--espresso); background: var(--paper); }
.pdp-tab-content { padding: 28px; }

.specs-table-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; }
.specs-row { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--cs-line-2); font-size: 14.5px; }
.specs-row span { color: var(--ink-soft); }
.specs-row strong { color: var(--ink); text-align: right; }

.pg-reviews-summary {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  align-items: center;
  padding: 20px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--r);
  margin-bottom: 20px;
}
.pg-reviews-avg { text-align: center; }
.pg-reviews-avg strong { display: block; font-family: var(--display); font-size: 44px; line-height: 1; color: var(--espresso); }
.pg-reviews-avg span { display: block; font-size: 13px; color: var(--gold-text); font-weight: 600; margin-top: 4px; }
.pg-reviews-avg small { display: block; font-size: 12px; color: var(--ink-soft); margin-top: 4px; }
.pg-rating-bars { display: flex; flex-direction: column; gap: 6px; }
.pg-rating-bar-row { display: grid; grid-template-columns: 38px 1fr 28px; gap: 10px; align-items: center; font-size: 13px; }
.pg-rating-bar-track { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.pg-rating-bar-fill { height: 100%; background: var(--gold); }
.pg-rating-bar-cnt { text-align: right; color: var(--ink-soft); }

.pg-reviews-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; font-size: 14px; }
.pg-reviews-controls select { min-height: 40px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--paper); margin-left: 6px; }
.pg-review-img-filter { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }

.care-points-list { margin: 10px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--ink-soft); }
.tab-showrooms-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.tab-showroom-item { padding: 18px; background: var(--ivory); border: 1px solid var(--line); border-radius: var(--r); }
.tab-showroom-item h4 { font-size: 19px; margin-bottom: 6px; }
.tab-showroom-item p { margin: 4px 0; font-size: 14px; color: var(--ink-soft); }

/* Lightbox + Size Guide Modal */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 170;
  background: rgba(31, 18, 18, 0.92);
  display: grid;
  place-items: center;
  padding: 24px;
}
.lightbox-backdrop[hidden] { display: none !important; }
.lightbox-content { position: relative; max-width: min(920px, 94vw); text-align: center; }
.lightbox-img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: var(--r); background: #FFFFFF; padding: 12px; }
.lightbox-caption { color: rgba(255, 255, 255, 0.85); margin-top: 12px; font-size: 14px; }
.lightbox-close-btn { position: absolute; top: -18px; right: -18px; background: var(--espresso); color: #FFFFFF; border-color: rgba(255,255,255,0.35); }
.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(46, 28, 28, 0.8);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: grid;
  place-items: center;
}
.lightbox-nav-btn--prev { left: -60px; }
.lightbox-nav-btn--next { right: -60px; }

.size-guide-modal { width: min(640px, 96vw); max-height: 90vh; overflow-y: auto; background: var(--paper); border-radius: var(--r); border: 1px solid var(--line); }
.size-guide-header { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--line); background: var(--ivory); }
.size-guide-header h3 { font-size: 22px; }
.size-guide-body { padding: 22px 24px; }
.size-guide-tip { margin: 0 0 16px; color: var(--ink-soft); font-size: 14.5px; }
.pg-size-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pg-size-table th, .pg-size-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.pg-size-table th { background: var(--ivory); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); }

/* Mobile PDP Sticky Bar */
.mobile-pdp-sticky-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 75;
  background: var(--paper);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(46, 28, 28, 0.1);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mobile-sticky-label { display: block; font-size: 11px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.08em; }
.mobile-sticky-price strong { font-family: var(--display); font-size: 21px; color: var(--espresso); }

/* =========================================================================
   3. CART, CHECKOUT, ORDER CONFIRMATION & MY ACCOUNT
   ========================================================================= */
.woocommerce-cart table.shop_table,
.woocommerce-checkout table.shop_table,
.woocommerce-account table.shop_table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.woocommerce table.shop_table th,
.woocommerce table.shop_table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.woocommerce table.shop_table th { background: var(--ivory); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); }

.woocommerce-info, .woocommerce-message, .woocommerce-error {
  padding: 14px 18px;
  border-radius: var(--r);
  margin-bottom: 18px;
  border: 1px solid var(--line);
  background: var(--paper);
  list-style: none;
}
.woocommerce-message { border-left: 4px solid var(--st-complete); }
.woocommerce-info { border-left: 4px solid var(--gold); }
.woocommerce-error { border-left: 4px solid var(--st-incomplete); color: var(--st-incomplete); }

.oc-wrap { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 22px; }
.oc-hero { text-align: center; padding: 36px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
.oc-check { width: 58px; height: 58px; border-radius: 50%; margin: 0 auto 14px; background: var(--st-complete-bg); color: var(--st-complete); display: grid; place-items: center; }
.oc-check--failed { background: var(--st-incomplete-bg); color: var(--st-incomplete); }
.oc-hero h1 { font-size: clamp(28px, 3.2vw, 38px); margin-bottom: 8px; }
.oc-hero p { max-width: 540px; margin: 0 auto; color: var(--ink-soft); }
.oc-num { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 16px; padding: 8px 16px; border-radius: 999px; background: var(--ivory); border: 1px solid var(--line); font-size: 14px; }
.oc-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.oc-step { padding: 18px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.oc-step .ic { width: 40px; height: 40px; border-radius: 50%; background: var(--espresso-soft); color: var(--espresso); display: grid; place-items: center; }
.oc-step span { font-size: 13px; color: var(--ink-soft); }
.cs-oc-detail-card, .cs-oc-summary-card { padding: 24px; }
.oc-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.oc-detail h4 { font-size: 18px; margin-bottom: 8px; }
.cs-oc-summary-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.oc-item { display: grid; grid-template-columns: 60px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--cs-line-2); }
.oc-item .th { position: relative; width: 60px; height: 60px; border-radius: 4px; border: 1px solid var(--line); background: #FFFFFF; }
.oc-item .th img { width: 100%; height: 100%; object-fit: contain; }
.oc-item .q { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; border-radius: 999px; background: var(--espresso); color: #FFFFFF; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.oc-item-snapshot { margin: 3px 0 0; font-size: 12.5px; color: var(--gold-text); font-weight: 500; }
.cs-oc-totals { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }

/* My Account Navigation */
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: start; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
.woocommerce-MyAccount-navigation li a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px; border-radius: 4px; font-size: 14.5px; color: var(--ink); }
.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation li a:hover { background: var(--espresso); color: #FFFFFF; }

/* =========================================================================
   4. RESPONSIVE SHOP & PDP
   ========================================================================= */
@media (max-width: 1080px) {
  .shop-layout-wrapper { grid-template-columns: 1fr; }
  .catalog-sidebar-filters { display: none; }
  .mobile-filter-trigger { display: inline-flex; }
  .product-pdp-layout { grid-template-columns: 1fr; gap: 28px; }
  .product-gallery-sticky { position: static; }
  .lightbox-nav-btn--prev { left: 10px; }
  .lightbox-nav-btn--next { right: 10px; }
  .woocommerce-account .woocommerce { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .pg-shop-cat-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }
  .pg-shop-cat-pills::-webkit-scrollbar { display: none; }
  .grid-cols-toggle, .pg-per-page-group { display: none; }
  .product-grid.grid-view-list .product-card { flex-direction: column; }
  .product-grid.grid-view-list .product-image { width: 100%; border-right: 0; border-bottom: 1px solid var(--cs-line-2); }
  .product-weights-badge-strip,
  .pdp-actions-row,
  .pdp-trust-guarantees-grid,
  .specs-table-grid,
  .tab-showrooms-list,
  .pg-reviews-summary,
  .pg-pa-grid,
  .oc-steps,
  .oc-detail { grid-template-columns: 1fr; }
  .mobile-pdp-sticky-bar { display: flex; }
  body.single-product { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  .pdp-tab-content { padding: 20px 16px; }
}
