:root {
  --shop-radius: 14px;
  --shop-radius-sm: 8px;
  --shop-shadow: 0 10px 30px rgba(20, 39, 77, 0.08);
  --shop-shadow-hover: 0 20px 45px rgba(20, 39, 77, 0.14);
  --shop-gap: 22px;
  --shop-sidebar-w: 264px;
  --shop-star: #e8a93b;
  --shop-danger: #c6432f;
  --shop-danger-bg: #fbeae6;
}

/* Body padding so fixed nav never overlaps shop content */
.shop-page {
  padding-top: 88px;
  background: white;
  min-height: 100vh;
}

/* ---------- Breadcrumb (shared component) ---------- */
.breadcrumb {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
  margin: 0;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.breadcrumb a {
  color: var(--brand-mid);
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--brand-dark);
}
.breadcrumb span[aria-current] {
  color: var(--ink);
  font-weight: 500;
}
.breadcrumb .sep {
  color: var(--border);
}

/* Lean breadcrumb bar — product detail page only (listing page's old banner was removed) */
.pd-breadcrumb-bar {
  padding: 22px 5% 6px;
  max-width: 1400px;
  margin: 0 auto;
}

/* ---------- Category Tabs (segmented control, replaces old chip row) ---------- */
.cat-tabs-section {
  padding: 22px 5% 0;
  max-width: 1600px;
  margin: 0 auto;
}
.cat-tabs {
  position: relative;
  display: inline-flex;
  gap: 4px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px;
  box-shadow: var(--shop-shadow);
  max-width: 100%;
  overflow-x: auto;
}
.cat-tab-indicator {
  position: absolute;
  top: 5px;
  left: 0;
  height: calc(100% - 10px);
  background: var(--brand-dark);
  border-radius: 999px;
  z-index: 0;
  transition:
    transform 0.3s cubic-bezier(0.65, 0, 0.35, 1),
    width 0.3s cubic-bezier(0.65, 0, 0.35, 1);
}
.cat-tab {
  position: relative;
  z-index: 1;
  border: none;
  background: none;
  cursor: pointer;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  font-family: "DM Sans", sans-serif;
  white-space: nowrap;
  border-radius: 999px;
  transition: color 0.25s;
}
.cat-tab.active {
  color: white;
}

/* ---------- Category pill links (dedicated category pages) ---------- */
.cat-pills {
  display: inline-flex;
  gap: 4px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px;
  box-shadow: var(--shop-shadow);
  max-width: 100%;
  overflow-x: auto;
  margin-bottom: 20px;
}
.cat-pill {
  position: relative;
  z-index: 1;
  text-decoration: none;
  white-space: nowrap;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  font-family: "DM Sans", sans-serif;
  border-radius: 999px;
  transition:
    color 0.25s ease,
    background 0.25s ease,
    transform 0.2s ease;
  display: inline-block;
}
.cat-pill:hover {
  color: var(--brand-dark);
  background: var(--brand-ultra);
  transform: translateY(-1px);
}
.cat-pill.active {
  color: white;
  background: var(--brand-dark);
  box-shadow: 0 6px 16px rgba(20, 39, 77, 0.25);
}
.cat-pill.active:hover {
  color: white;
  background: var(--brand-dark);
  transform: none;
}
.category-page-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}
.category-page-title h1 {
  font-family: "DM Sans", sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  color: var(--ink);
  font-weight: 700;
}
.category-page-title p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
  max-width: 480px;
}

/* ---------- Shop Layout ---------- */
.shop-layout {
  max-width: 1600px;
  margin: 0 auto;
  padding: 20px 5% 90px;
  display: grid;
  grid-template-columns: var(--shop-sidebar-w) 1fr;
  gap: var(--shop-gap);
  align-items: start;
}

/* ---------- Filter Sidebar ---------- */
.shop-sidebar {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--shop-radius);
  padding: 22px 20px;
  position: sticky;
  top: 104px;
}
.filter-block + .filter-block {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.filter-heading {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.filter-clear {
  font-size: 11.5px;
  color: var(--brand-mid);
  font-weight: 500;
  cursor: pointer;
  background: none;
  border: none;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 14px;
  color: var(--ink-mid);
  cursor: pointer;
  user-select: none;
}
.filter-option input[type="checkbox"],
.filter-option input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--brand-dark);
  cursor: pointer;
}
.filter-option .count {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
}
.price-presets {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rating-filter .stars-mini {
  color: var(--shop-star);
  font-size: 13px;
  letter-spacing: 1px;
}

/* ---------- Toolbar ---------- */
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--shop-radius-sm);
  padding: 12px 18px;
  margin-bottom: var(--shop-gap);
  flex-wrap: wrap;
}
.results-count {
  font-size: 13.5px;
  color: var(--muted);
}
.results-count strong {
  color: var(--ink);
  font-weight: 600;
}
.toolbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.sort-select {
  padding: 9px 34px 9px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-family: "DM Sans", sans-serif;
  font-size: 13.5px;
  color: var(--ink-mid);
  background: white
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%235C6C82" stroke-width="2"><polyline points="6 9 12 15 18 9"/></svg>')
    no-repeat right 10px center / 14px;
  appearance: none;
  cursor: pointer;
}
.view-toggle {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.view-toggle button {
  width: 36px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: none;
  cursor: pointer;
  color: var(--muted);
  border-right: 1px solid var(--border);
}
.view-toggle button:last-child {
  border-right: none;
}
.view-toggle button.active {
  background: var(--brand-dark);
  color: white;
}
.view-toggle svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}
.filter-toggle-mobile {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: white;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-mid);
  cursor: pointer;
}
.filter-toggle-mobile svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* ---------- Product Grid ---------- */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--shop-gap);
}
.shop-grid.list-mode {
  grid-template-columns: 1fr;
}
.shop-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}
.shop-empty svg {
  width: 46px;
  height: 46px;
  stroke: var(--brand-pale);
  fill: none;
  stroke-width: 1.5;
  margin-bottom: 14px;
}

/* ---------- Product Card (compact) ---------- */
.pcard {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--shop-radius-sm);
  overflow: hidden;
  position: relative;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    border-color 0.2s;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.pcard:hover {
  transform: translateY(-3px);
  box-shadow: var(--shop-shadow-hover);
  border-color: var(--brand-pale);
}

.pcard-media {
  position: relative;
  padding: 22px 22px 10px;
  background: var(--brand-ultra);
}
.shop-art {
  width: 100%;
  height: 200px;
  display: block;
}
.badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 3px 8px;
  border-radius: 5px;
  text-transform: uppercase;
  width: fit-content;
}
.badge.bestseller {
  background: var(--brand-dark);
  color: white;
}
.badge.new {
  background: var(--accent);
  color: white;
}
.badge.discount {
  background: var(--shop-danger);
  color: white;
}
/* Compact listing card shows only a lone discount badge, positioned directly */
.pcard-media > .badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}
/* Detail-page gallery can stack multiple tag badges via this wrapper */
.pcard-badges {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wishlist-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(20, 39, 77, 0.12);
  transition: transform 0.15s;
}
.wishlist-btn:hover {
  transform: scale(1.08);
}
.wishlist-btn svg {
  width: 14px;
  height: 14px;
  stroke: var(--muted);
  fill: none;
  stroke-width: 2;
  transition:
    fill 0.2s,
    stroke 0.2s;
}
.wishlist-btn.active svg {
  fill: var(--shop-danger);
  stroke: var(--shop-danger);
}

.pcard-oos-veil {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.72);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--shop-danger);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pcard-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.stars {
  color: var(--shop-star);
  letter-spacing: 1px;
  font-size: 13px;
}
.pcard-cat {
  font-size: 10px;
  color: var(--brand-mid);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pcard-name {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
}
.pcard-name a {
  color: inherit;
  text-decoration: none;
}
.pcard-name a:hover {
  color: var(--brand-mid);
}
.pcard-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 2px;
  flex-wrap: wrap;
}
.price-now {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.price-mrp {
  font-size: 12px;
  color: var(--muted);
  text-decoration: line-through;
}
.price-off {
  font-size: 11.5px;
  color: var(--accent);
  font-weight: 600;
}
.stock-badge {
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 5px;
  width: fit-content;
}
.stock-badge.in {
  background: var(--accent-ultra);
  color: var(--accent);
}
.stock-badge.low {
  background: #fff4e0;
  color: #a9670a;
}
.stock-badge.out {
  background: var(--shop-danger-bg);
  color: var(--shop-danger);
}

.pcard-actions {
  margin-top: auto;
  padding-top: 8px;
}
.add-cart-btn {
  width: 100%;
  padding: 9px;
  border-radius: 7px;
  border: none;
  cursor: pointer;
  background: var(--brand-dark);
  color: white;
  font-size: 12.5px;
  font-weight: 500;
  font-family: "DM Sans", sans-serif;
  transition:
    background 0.2s,
    transform 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.add-cart-btn:hover {
  background: var(--brand-mid);
}
.add-cart-btn:active {
  transform: scale(0.98);
}
.add-cart-btn:disabled {
  background: var(--border);
  color: var(--muted);
  cursor: not-allowed;
}
.add-cart-btn.added {
  background: var(--accent);
}
.add-cart-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* Qty stepper reused in card (after add) / detail page */
.qty-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  width: fit-content;
}
.qty-stepper button {
  width: 34px;
  height: 36px;
  background: var(--off-white);
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: var(--ink);
}
.qty-stepper button:hover {
  background: var(--brand-pale);
}
.qty-stepper span {
  width: 40px;
  text-align: center;
  font-size: 14.5px;
  font-weight: 500;
}

/* ---------- List View ---------- */
.shop-grid.list-mode .pcard {
  flex-direction: row;
}
.shop-grid.list-mode .pcard-media {
  width: 140px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.shop-grid.list-mode .shop-art {
  height: 84px;
}
.shop-grid.list-mode .pcard-body {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.shop-grid.list-mode .pcard-body > * {
  flex: 0 0 auto;
}
.shop-grid.list-mode .pcard-name {
  min-width: 200px;
  max-width: 320px;
  min-height: 0;
  -webkit-line-clamp: 2;
}
.shop-grid.list-mode .pcard-actions {
  margin-top: 0;
  margin-left: auto;
  width: 160px;
}

/* Fade transition when switching category tabs / filters */
.shop-grid {
  transition: opacity 0.15s ease;
}
.shop-grid.fade-out {
  opacity: 0;
}

/* ---------- Cart Drawer ---------- */
.cart-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: 6px;
}
.cart-trigger svg {
  width: 22px;
  height: 22px;
  stroke: var(--brand-dark);
  fill: none;
  stroke-width: 1.8;
}
.cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--shop-danger);
  color: white;
  font-size: 10px;
  font-weight: 700;
  min-width: 17px;
  height: 17px;
  border-radius: 999px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 27, 46, 0.5);
  z-index: 400;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s;
}
.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100vw);
  background: white;
  z-index: 401;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.15);
}
.cart-drawer.open {
  transform: translateX(0);
}
.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
}
.cart-drawer-header h3 {
  font-family: "DM Sans", sans-serif;
  font-size: 19px;
  color: var(--ink);
}
.cart-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-close-btn svg {
  width: 18px;
  height: 18px;
  stroke: var(--ink);
  fill: none;
  stroke-width: 2;
}
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 10px 24px;
}
.cart-line {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.cart-line-art {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  background: var(--brand-ultra);
  border-radius: 10px;
  padding: 6px;
}
.cart-line-art .shop-art {
  height: 100%;
}
.cart-line-info {
  flex: 1;
  min-width: 0;
}
.cart-line-name {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cart-line-pack {
  font-size: 11.5px;
  color: var(--muted);
  margin-bottom: 8px;
}
.cart-line-qty {
  display: flex;
  align-items: center;
  gap: 10px;
}
.qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--off-white);
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
}
.cart-line-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.cart-line-price {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.cart-line-remove {
  font-size: 11.5px;
  color: var(--shop-danger);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cart-empty-state {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
  color: var(--muted);
  gap: 14px;
  height: 100%;
}
.cart-empty-state svg {
  width: 48px;
  height: 48px;
  stroke: var(--brand-pale);
  fill: none;
  stroke-width: 1.5;
}
.cart-empty-cta {
  color: white;
  background: var(--brand-dark);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 8px;
  transition: background 0.2s;
}
.cart-empty-cta:hover {
  background: var(--brand-mid);
}
.cart-drawer-footer {
  padding: 20px 24px 24px;
  border-top: 1px solid var(--border);
}
.cart-savings-line {
  font-size: 12.5px;
  color: var(--accent);
  margin-bottom: 10px;
  min-height: 16px;
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.cart-total-row span:first-child {
  font-size: 14px;
  color: var(--muted);
}
.cart-total-row span:last-child {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
}
.cart-drawer-footer .btn-primary {
  width: 100%;
  text-align: center;
}
.cart-clear-link {
  display: block;
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 12px;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  width: 100%;
}
body.cart-open {
  overflow: hidden;
}

/* Toast (added to cart confirmation) */
.ndrx-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: white;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  z-index: 500;
  opacity: 0;
  transition:
    opacity 0.25s,
    transform 0.25s;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}
.ndrx-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.ndrx-toast svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent-light);
  fill: none;
  stroke-width: 2;
}

/* =========================================================================
   PRODUCT DETAIL PAGE
   ========================================================================= */
.pd-layout {
  max-width: 1400px;
  margin: 0 auto;
  padding: 30px 5% 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

/* Gallery */
.pd-gallery-main {
  background: var(--brand-ultra);
  border-radius: var(--shop-radius);
  padding: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 16px;
}
.pd-gallery-main .shop-art {
  height: 300px;
}
.pd-gallery-main .pcard-badges {
  position: absolute;
  top: 20px;
  left: 20px;
}
.pd-thumbs {
  display: flex;
  gap: 12px;
}
.pd-thumb {
  width: 74px;
  height: 74px;
  border-radius: 10px;
  border: 2px solid var(--border);
  background: var(--brand-ultra);
  cursor: pointer;
  padding: 10px;
  transition: border-color 0.2s;
}
.pd-thumb.active {
  border-color: var(--brand-dark);
}
.pd-thumb .shop-art {
  height: 100%;
}

/* Info column */
.pd-cat {
  font-size: 12px;
  color: var(--brand-mid);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.pd-name {
  font-family: "DM Sans", sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 10px;
}
.pd-rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 13.5px;
  color: var(--muted);
}
.pd-rating-row .stars {
  font-size: 15px;
}
.pd-rating-row a {
  color: var(--brand-mid);
  text-decoration: none;
}
.pd-price-block {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--shop-radius-sm);
  padding: 20px;
  margin-bottom: 20px;
}
.pd-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.pd-price-now {
  font-size: 30px;
  font-weight: 700;
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
}
.pd-price-mrp {
  font-size: 16px;
  color: var(--muted);
  text-decoration: line-through;
}
.pd-price-off {
  font-size: 13.5px;
  color: var(--accent);
  font-weight: 600;
}
.pd-inclusive {
  font-size: 12px;
  color: var(--muted);
}
.pd-pack-size {
  font-size: 13.5px;
  color: var(--ink-mid);
  margin-bottom: 18px;
}
.pd-pack-size strong {
  color: var(--ink);
}
.pd-stock-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.pd-qty-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.pd-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.pd-actions .add-cart-btn {
  flex: 1;
  min-width: 180px;
  padding: 14px;
  font-size: 14.5px;
}
.pd-wishlist-btn {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pd-wishlist-btn svg {
  width: 19px;
  height: 19px;
  stroke: var(--muted);
  fill: none;
  stroke-width: 2;
}
.pd-wishlist-btn.active svg {
  fill: var(--shop-danger);
  stroke: var(--shop-danger);
}

.pd-trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 8px;
}
.pd-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 14px 8px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 11.5px;
  color: var(--muted);
}
.pd-trust-item svg {
  width: 20px;
  height: 20px;
  stroke: var(--brand-mid);
  fill: none;
  stroke-width: 1.7;
}

/* Tabs */
.pd-tabs-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5% 70px;
}
.pd-tabs-nav {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
  overflow-x: auto;
}
.pd-tab-btn {
  padding: 14px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  font-family: "DM Sans", sans-serif;
}
.pd-tab-btn.active {
  color: var(--brand-dark);
  border-bottom-color: var(--brand-dark);
}
.pd-tab-panel {
  display: none;
  max-width: 820px;
}
.pd-tab-panel.active {
  display: block;
  animation: fadeUp 0.3s ease both;
}
.pd-tab-panel p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-mid);
  font-weight: 300;
  margin-bottom: 14px;
}
.pd-benefit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pd-benefit-list li {
  display: flex;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink-mid);
  line-height: 1.6;
}
.pd-benefit-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 6px;
  flex-shrink: 0;
}
.pd-spec-table {
  width: 100%;
  border-collapse: collapse;
}
.pd-spec-table tr {
  border-bottom: 1px solid var(--border);
}
.pd-spec-table td {
  padding: 12px 8px;
  font-size: 14px;
  color: var(--ink-mid);
  vertical-align: top;
}
.pd-spec-table td:first-child {
  color: var(--muted);
  width: 160px;
  font-weight: 500;
}
.pd-disclaimer {
  margin-top: 20px;
  padding: 14px 16px;
  background: var(--brand-ultra);
  border-radius: 8px;
  font-size: 12.5px;
  color: var(--muted);
  border-left: 3px solid var(--brand-mid);
}

/* Reviews */
.pd-reviews-summary {
  display: flex;
  gap: 40px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  align-items: center;
}
.pd-review-score {
  text-align: center;
}
.pd-review-score .num {
  font-family: "DM Sans", sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.pd-review-score .stars {
  display: block;
  margin: 8px 0 4px;
  font-size: 16px;
}
.pd-review-score .count {
  font-size: 12.5px;
  color: var(--muted);
}
.pd-review-bars {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pd-review-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}
.pd-review-bar-row .bar-track {
  flex: 1;
  height: 6px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.pd-review-bar-row .bar-fill {
  height: 100%;
  background: var(--shop-star);
}
.pd-review-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pd-review-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 20px;
}
.pd-review-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
}
.pd-review-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.pd-review-days {
  font-size: 12px;
  color: var(--muted);
}
.pd-review-card p {
  font-size: 13.5px;
}

/* Similar / Recently viewed */
.pd-related-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5% 70px;
}
.pd-related-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.pd-related-heading h2 {
  font-family: "DM Sans", sans-serif;
  font-size: 24px;
  color: var(--ink);
}
.pd-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* Sticky add-to-cart bar */
.pd-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid var(--border);
  padding: 14px 5%;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 200;
  box-shadow: 0 -10px 30px rgba(20, 39, 77, 0.1);
  transform: translateY(100%);
  transition: transform 0.25s ease;
}
.pd-sticky-bar.show {
  transform: translateY(0);
}
.pd-sticky-info {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.pd-sticky-info .shop-art {
  width: 40px;
  height: 40px;
}
.pd-sticky-name {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 220px;
}
.pd-sticky-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.pd-sticky-bar .add-cart-btn {
  width: auto;
  padding: 11px 26px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .shop-layout {
    grid-template-columns: 1fr;
  }
  .shop-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(300px, 84vw);
    z-index: 401;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    border-radius: 0;
  }
  .shop-sidebar.open {
    transform: translateX(0);
  }
  .filter-toggle-mobile {
    display: flex;
  }
  .pd-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .pd-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pcard-media {
    padding: 18px 18px 8px;
  }
  .shop-grid:not(.list-mode) .shop-art {
    height: 160px;
  }
}
@media (max-width: 640px) {
  .shop-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .shop-grid:not(.list-mode) .shop-art {
    height: 220px;
  }
  :root {
    --shop-gap: 10px;
  }
  .cat-tabs-section {
    padding: 16px 5% 0;
  }
  .cat-tabs,
  .cat-pills {
    width: 100%;
  }
  .cat-tab,
  .cat-pill {
    padding: 9px 14px;
    font-size: 13px;
  }
  .category-page-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .shop-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .toolbar-right {
    justify-content: space-between;
  }
  .shop-grid.list-mode .pcard {
    flex-direction: column;
  }
  .shop-grid.list-mode .pcard-media {
    width: 100%;
  }
  .shop-grid.list-mode .pcard-actions {
    margin-left: 0;
    width: 100%;
  }
  .pd-trust-row {
    grid-template-columns: 1fr;
  }
  .pd-related-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .pd-sticky-bar {
    padding: 12px 4%;
  }
  .pd-sticky-name {
    max-width: 120px;
  }
  .cart-drawer {
    width: 100vw;
  }
}

/* ==========================================
   PRODUCT PAGE TITLE
========================================== */

.product-page-title {
    width: 100%;
    background: var(--off-white);


}

.product-page-title-inner {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
   }

.product-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    font-size: 14px;
    line-height: 1.5;
    
}