
/* ── 10. PRODUCT CARDS ────────────────────────────────────── */
.products-grid     { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 24px; }
.products-grid--sm { grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 18px; }

.product-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  display: flex;
  flex-direction: column;
  transition: box-shadow .3s, transform .3s;
  border: 2px solid transparent;
}
.product-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,.14);
  transform: translateY(-6px);
  border-color: rgba(14,165,233,.2);
}

.product-card__img-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #f5f7fa; }
.product-card__img      { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-card__img { transform: scale(1.08); }

/* Featured badge */
.featured-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--clr-secondary); color: #fff;
  padding: 4px 12px; border-radius: 20px;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
}

/* Quick-add floating button */
.product-card__quick-add {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.95);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  opacity: 0; transform: scale(.85);
  transition: opacity var(--ease), transform var(--ease), background var(--ease);
}
.product-card:hover .product-card__quick-add { opacity: 1; transform: scale(1); }
.product-card__quick-add:hover { background: var(--clr-secondary); color: #fff; }
.product-card__quick-add svg   { width: 18px; height: 18px; }

/* Card body */
.product-card__body     { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-card__category { font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--clr-muted); margin-bottom: 6px; }
.product-card__name     { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; line-height: 1.3; }
.product-card__desc     {
  font-size: .85rem; color: var(--clr-muted); margin-bottom: 14px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  flex: 1;
}
.product-card__meta     { margin-bottom: 16px; }

/* Empty / error states inside the product grid */
.no-products, .error-state {
  grid-column: 1 / -1;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: 56px 24px;
  color: var(--clr-muted);
}
.no-products svg, .error-state svg {
  width: 56px; height: 56px;
  margin-bottom: 18px;
  color: #b6c3d1;
}
.no-products__title, .error-state p {
  margin: 0 0 6px;
  font-size: 1.05rem; font-weight: 600;
  color: var(--clr-text);
}
.no-products__sub { margin: 0 0 20px; font-size: .9rem; }
.no-products .btn { margin-top: 4px; }

/* Animal icons */
.product-card__animals { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.animal-icon {
  font-size: 20px; width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(32,193,245,.08); border-radius: 6px;
  transition: background var(--ease);
}
.animal-icon:hover { background: rgba(32,193,245,.15); }

/* Composition badges */
.product-card__comp { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.comp-badge {
  display: inline-flex; padding: 4px 10px;
  background: rgba(238,31,41,.08); color: var(--clr-primary);
  border-radius: 4px; font-size: .74rem; font-weight: 600;
  border: 1px solid rgba(238,31,41,.15);
}

/* Size badges */
.product-card__sizes { display: flex; gap: 6px; flex-wrap: wrap; }
.size-badge {
  display: inline-flex; padding: 3px 10px;
  background: var(--clr-bg); color: var(--clr-text);
  border: 1px solid var(--clr-border); border-radius: 4px;
  font-size: .76rem; font-weight: 600;
}

/* Card footer */
.product-card__footer      { display: flex; gap: 8px; }
.product-card__footer .btn { flex: 1; justify-content: center; }

/* Skeleton shimmer */
.product-card--skeleton .product-card__img-wrap,
.product-card__skel-line {
  background: linear-gradient(90deg, #eef0f3 25%, #e3e5e8 37%, #eef0f3 63%);
  background-size: 200% 100%;
  animation: shimmer 1.3s linear infinite;
}
.product-card__skel-line { height: 13px; border-radius: 5px; margin-bottom: 8px; width: 100%; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* Legacy compatibility */
.product-card__composition,
.product-card__animal,
.product-card__link { display: none; }

/* ── 11. PRODUCTS PAGE LAYOUT ─────────────────────────────── */
.products-section { padding: 8px 0 56px; background: #fff; }
.products-layout  { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; }

/* ── Products hero ────────────────────────────────────────── */
.products-hero {
  position: relative;
  background: linear-gradient(105deg, #0369a1 0%, #0ea5e9 55%, var(--clr-secondary) 100%);
  padding: 80px 24px 100px;
  text-align: center;
  overflow: hidden;
  color: #fff;
}

.products-hero__blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.products-hero__blob--tr {
  top: -64px; right: -64px;
  width: 256px; height: 256px;
  background: radial-gradient(circle, rgba(238,31,41,.18) 0%, transparent 70%);
  filter: blur(32px);
}
.products-hero__blob--bl {
  bottom: 0; left: -40px;
  width: 192px; height: 192px;
  background: radial-gradient(circle, rgba(255,255,255,.1) 0%, transparent 70%);
  filter: blur(24px);
}

.products-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.products-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.3);
  margin-bottom: 20px;
}

.products-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.1;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,.2));
}

.products-hero__accent { color: #7dd3fc; }

.products-hero__subtitle {
  font-size: 1.05rem;
  color: rgba(224,242,254,.9);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.68;
  font-weight: 500;
}

.products-hero__wave {
  position: absolute;
  bottom: -1px; left: 0;
  width: 100%; height: 60px;
  fill: #f0f9ff;
  pointer-events: none;
}

/* ── Filter bar (between hero and grid) ───────────────────── */
.products-filter-bar {
  background: linear-gradient(180deg, #f0f9ff 0%, #fff 100%);
  padding: 28px 0 4px;
}

/* ── Filter sidebar ───────────────────────────────────────── */
/*
  IMPORTANT: filters.js queries these selectors:
    .filters input[type=checkbox]   — all filter checkboxes
    #clear-filters                  — clear all button
    #active-filter-count            — badge showing count
  All filter checkboxes MUST sit inside .filters for JS to wire them.
*/
.filters {
  background: #fff;
  border-radius: 24px;
  border: 2px solid rgba(14,165,233,.15);
  box-shadow: 0 4px 28px rgba(0,0,0,.06);
  padding: 24px;
  position: sticky;
  top: 76px;
}

.filters__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--clr-border);
}
.filters__title { font-weight: 700; font-size: 1.05rem; }
.filters__clear { font-size: .78rem; color: var(--clr-primary); font-weight: 600; text-transform: uppercase; cursor: pointer; }
.filters__clear:hover { text-decoration: underline; }

/* Filter groups */
.filters__group { margin-bottom: 20px; }
.filters__group:last-child { margin-bottom: 0; }
.filters__group-title {
  font-size: .72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .1em; color: #94a3b8; margin-bottom: 10px;
}

/* Each filter row — label wraps the checkbox + icon + text */
.filters__label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  font-size: .86rem;
  cursor: pointer;
  user-select: none;
  transition: color var(--ease);
}
.filters__label:hover { color: var(--clr-primary); }
.filters__label input { accent-color: var(--clr-primary); width: 17px; height: 17px; cursor: pointer; flex-shrink: 0; }
.filters__label .filter-icon { font-size: 16px; line-height: 1; }

/* Mobile toggle */
.filters-toggle-btn {
  display: none;
  margin-bottom: 14px;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: 2px solid rgba(14,165,233,.3);
  border-radius: 14px;
  background: #fff;
  font-size: .86rem;
  font-weight: 700;
  color: #0369a1;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s, border-color .2s, box-shadow .2s;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.filters-toggle-btn:hover {
  background: #f0f9ff;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14,165,233,.1);
}
.filters-toggle-btn #active-filter-count:not(:empty) {
  background: #0ea5e9;
  color: #fff;
  border-radius: 999px;
  padding: 1px 8px;
  font-size: .74rem;
}

/* Trust badges inside the sidebar */
.filter-badges {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--clr-border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: var(--clr-muted);
  font-weight: 500;
}
.trust-badge__icon {
  width: 16px;
  height: 16px;
  color: var(--clr-secondary-dk);
  flex-shrink: 0;
}

/* ── Toolbar ──────────────────────────────────────────────── */
.products-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--clr-border);
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 10px;
}
.products-toolbar__count { font-size: .85rem; color: var(--clr-muted); }
.products-toolbar__sort  {
  display: flex;
  align-items: center;
  gap: 8px;
}
.products-toolbar__sort-label  { font-size: .84rem; color: var(--clr-muted); }
.products-toolbar__sort-select {
  padding: 8px 14px;
  border: 2px solid rgba(14,165,233,.2);
  border-radius: 12px;
  font-size: .84rem;
  background: #fff;
  color: var(--clr-text);
  cursor: pointer;
  font-family: inherit;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.products-toolbar__sort-select:focus {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14,165,233,.12);
}

/* ── Pagination ───────────────────────────────────────────── */
.products-pagination { display: flex; justify-content: center; gap: 6px; padding-top: 28px; }
.products-pagination button {
  width: 36px; height: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--clr-border);
  font-size: .84rem; font-weight: 600;
  background: var(--clr-surface);
  transition: all var(--ease);
  cursor: pointer;
}
.products-pagination button:hover  { border-color: var(--clr-primary); color: var(--clr-primary); }
.products-pagination button.active { background: var(--clr-primary); color: #fff; border-color: var(--clr-primary); }

/* Loading spinner */
.products-loading {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 60px 0;
  color: var(--clr-muted);
  font-size: .9rem;
}
.spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--clr-border);
  border-top-color: var(--clr-secondary);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── 17. PRODUCT DETAIL ───────────────────────────────────── */
.product-detail { padding: 48px 0; }
.product-detail__back       { font-size: .85rem; color: var(--clr-muted); margin-bottom: 24px; display: inline-block; }
.product-detail__back:hover { color: var(--clr-primary); }

.product-detail__hero     { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.product-detail__gallery  { border-radius: var(--radius-lg); overflow: hidden; background: #eef0f3; }
.product-detail__main-img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-detail__name     { font-family: var(--font-display); font-size: 2.2rem; margin-bottom: 12px; }
.product-detail__desc     { color: var(--clr-muted); font-size: 1.05rem; margin-bottom: 20px; }
.product-detail__sizes    { margin-bottom: 20px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.product-detail__actions  { display: flex; gap: 14px; flex-wrap: wrap; }

.product-detail__section    { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--clr-border); }
.product-detail__section h2 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 16px; }

.product-detail__benefits    { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 10px; }
.product-detail__benefits li {
  padding: 10px 14px;
  background: var(--clr-bg);
  border-radius: var(--radius);
  font-size: .88rem;
  display: flex; align-items: center; gap: 10px;
}
.product-detail__benefits li::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--clr-secondary);
  flex-shrink: 0;
}

/* Composition & usage tables */
.composition-table, .usage-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.composition-table th, .usage-table th {
  text-align: left; padding: 10px 14px;
  background: var(--clr-bg);
  font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--clr-muted); border-bottom: 2px solid var(--clr-border);
}
.composition-table td, .usage-table td { padding: 10px 14px; border-bottom: 1px solid var(--clr-border); }
.composition-table tr:last-child td,
.usage-table tr:last-child td { border-bottom: none; }

/* ── Products CTA Banner ─────────────────────────────────── */
.pr-cta-section {
  background: #fff;
  padding: 0 0 64px;
}

.pr-cta-banner {
  position: relative;
  background: linear-gradient(105deg, #0ea5e9 0%, #38bdf8 60%, #0ea5e9 100%);
  border-radius: 28px;
  padding: 52px 48px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(14,165,233,.3);
}

.pr-cta-banner__blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.pr-cta-banner__blob--1 {
  top: -40px; left: -40px;
  width: 160px; height: 160px;
  background: rgba(255,255,255,.1);
  filter: blur(20px);
}
.pr-cta-banner__blob--2 {
  bottom: -30px; right: -30px;
  width: 180px; height: 180px;
  background: rgba(238,31,41,.2);
  filter: blur(24px);
}

.pr-cta-banner__inner { position: relative; z-index: 1; }

.pr-cta-banner__emoji {
  font-size: 3rem;
  display: block;
  margin-bottom: 12px;
}

.pr-cta-banner__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.pr-cta-banner__sub {
  color: rgba(255,255,255,.88);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.65;
}

.pr-cta-banner__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.pr-cta-banner__btn {
  font-weight: 800;
  font-size: .88rem;
  padding: 14px 28px;
  border-radius: 16px;
  text-decoration: none;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
}
.pr-cta-banner__btn:hover { transform: scale(1.05); box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.pr-cta-banner__btn--primary   { background: #fff; color: #0ea5e9; }
.pr-cta-banner__btn--primary:hover { background: #f0f9ff; }
.pr-cta-banner__btn--secondary { background: var(--clr-primary); color: #fff; }
.pr-cta-banner__btn--secondary:hover { background: #c8121b; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .products-layout      { grid-template-columns: 1fr; }
  .filters              { position: static; display: none; }
  .filters--open        { display: block; }
  .filters-toggle-btn   { display: inline-flex; }
  .product-detail__hero { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .products-grid              { grid-template-columns: 1fr 1fr; gap: 14px; }
  .product-detail__name       { font-size: 1.7rem; }
  .products-hero              { padding: 60px 16px 80px; }
  .pr-cta-banner              { padding: 36px 24px; }
  .pr-cta-banner__actions     { flex-direction: column; align-items: center; }
  .pr-cta-banner__btn         { width: 100%; text-align: center; }
  .composition-table th, .usage-table th,
  .composition-table td,  .usage-table td { padding: 8px; font-size: .8rem; }
}

/* ════════════════════════════════════════════════════════════
   PRODUCT DETAIL PAGE  (pd- prefix)
   ════════════════════════════════════════════════════════════ */

/* ── Back bar ───────────────────────────────────────────────── */
.pd-back-bar {
  background: linear-gradient(180deg, #f0f9ff 0%, #fff 100%);
  padding: 18px 0;
  border-bottom: 1px solid rgba(14,165,233,.1);
}

.pd-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .84rem;
  font-weight: 700;
  color: #0369a1;
  text-decoration: none;
  transition: color .2s, gap .2s;
}
.pd-back:hover { color: #0ea5e9; gap: 10px; }

/* ── Main section ───────────────────────────────────────────── */
.pd-section { background: #fff; padding: 32px 0 56px; }

/* ── Hero grid: gallery + info ──────────────────────────────── */
.pd-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}

/* ── Gallery column ─────────────────────────────────────────── */
.pd-gallery { display: flex; flex-direction: column; gap: 12px; }

.pd-gallery__main-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(0,0,0,.1);
  border: 2px solid rgba(14,165,233,.12);
  background: #f8fafc;
}

.pd-gallery__main {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.pd-gallery__main-wrap:hover .pd-gallery__main { transform: scale(1.02); }

.pd-gallery__badge {
  position: absolute;
  top: 14px; right: 14px;
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

.pd-gallery__thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pd-thumb {
  width: 72px; height: 72px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid rgba(14,165,233,.18);
  cursor: pointer;
  padding: 0;
  background: none;
  transition: border-color .2s, transform .2s;
  flex-shrink: 0;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-thumb:hover { border-color: #0ea5e9; transform: scale(1.06); }
.pd-thumb--active { border-color: #0ea5e9; box-shadow: 0 0 0 2px rgba(14,165,233,.3); }

/* ── Info column ────────────────────────────────────────────── */
.pd-info { display: flex; flex-direction: column; gap: 18px; padding-top: 8px; }

.pd-info__cats { display: flex; gap: 8px; flex-wrap: wrap; }

.pd-cat-badge {
  display: inline-block;
  background: rgba(14,165,233,.1);
  color: #0369a1;
  border: 1px solid rgba(14,165,233,.25);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 4px 12px;
  border-radius: 999px;
}

.pd-info__name {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: #1e293b;
  line-height: 1.15;
  margin: 0;
}

.pd-info__desc {
  color: #64748b;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

/* Animal chips */
.pd-info__animals { display: flex; gap: 8px; flex-wrap: wrap; }

.pd-animal-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 6px 12px;
  font-size: .78rem;
  font-weight: 600;
  color: #374151;
  transition: background .2s, border-color .2s;
}
.pd-animal-chip:hover { background: #f0f9ff; border-color: rgba(14,165,233,.3); }
.pd-animal-chip__icon { font-size: 1rem; }
.pd-animal-chip__name { font-size: .78rem; }

/* Sizes */
.pd-info__sizes-row { display: flex; flex-direction: column; gap: 8px; }
.pd-info__sizes-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #94a3b8;
  margin: 0;
}
.pd-info__sizes { display: flex; gap: 8px; flex-wrap: wrap; }

.pd-size-chip {
  display: inline-block;
  background: #fff;
  border: 2px solid rgba(14,165,233,.28);
  color: #0369a1;
  font-size: .82rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s, border-color .2s, box-shadow .2s, transform .15s;
}
.pd-size-chip:hover {
  background: #f0f9ff;
  border-color: #0ea5e9;
  transform: translateY(-1px);
}
.pd-size-chip--active {
  background: linear-gradient(135deg, #0369a1 0%, #0ea5e9 100%);
  border-color: #0ea5e9;
  color: #fff;
  box-shadow: 0 3px 10px rgba(14,165,233,.35);
  transform: translateY(-1px);
}
.pd-size-chip--active:hover {
  background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
}

/* Actions */
.pd-info__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Trust badges */
.pd-info__trust {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 0 0;
  border-top: 1px solid #f1f5f9;
}
.pd-info__trust span {
  font-size: .78rem;
  font-weight: 600;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ── Skeleton loaders ───────────────────────────────────────── */
.pd-skel {
  display: inline-block;
  background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
  background-size: 200% 100%;
  animation: pd-shimmer 1.4s infinite;
  border-radius: 6px;
}
.pd-skel--title { width: 72%; height: 2.4rem; display: block; }
.pd-skel--line  { width: 100%; height: 1rem; display: block; margin-bottom: 8px; }
@keyframes pd-shimmer { to { background-position: -200% 0; } }

/* ── Content panels ─────────────────────────────────────────── */
.pd-panels { display: flex; flex-direction: column; gap: 28px; }

.pd-panel {
  background: #fff;
  border: 2px solid rgba(14,165,233,.1);
  border-radius: 20px;
  padding: 28px 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.pd-panel[hidden] { display: none !important; }

.pd-panel__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #1e293b;
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pd-panel__icon { font-size: 1.2rem; }

.pd-panel__note {
  font-size: .84rem;
  color: #64748b;
  background: rgba(14,165,233,.06);
  border: 1px solid rgba(14,165,233,.15);
  border-radius: 10px;
  padding: 12px 16px;
  margin: 0 0 20px;
  line-height: 1.6;
}

/* ── Composition table ──────────────────────────────────────── */
.pd-comp-table-wrap { max-width: 460px; overflow-x: auto; border: 1px solid #e2e8f0; border-radius: 12px; }
.pd-comp-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.pd-comp-table th {
  text-align: left;
  padding: 9px 14px;
  background: #f8fafc;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #64748b;
  border-bottom: 1px solid #e2e8f0;
}
.pd-comp-table td { padding: 9px 14px; border-bottom: 1px solid #f1f5f9; color: #374151; }
.pd-comp-table tr:last-child td { border-bottom: none; }
.pd-comp-table td:first-child { font-weight: 600; color: #1e293b; }
.pd-comp-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.pd-comp-table th:last-child { text-align: right; }

/* ── Usage recommendations list ─────────────────────────────── */
.pd-usage-list { margin: 0; padding-left: 1.25rem; color: #374151; font-size: .94rem; line-height: 1.7; }
.pd-usage-list li { margin-bottom: 6px; }
.pd-usage-list li::marker { color: #0ea5e9; }
/* ── Benefits list ──────────────────────────────────────────── */
.pd-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
}

.pd-benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  font-size: .88rem;
  font-weight: 500;
  color: #374151;
  transition: background .2s, border-color .2s;
}
.pd-benefit-item:hover { background: #f0f9ff; border-color: rgba(14,165,233,.25); }
.pd-benefit-check { color: #16a34a; flex-shrink: 0; }

/* ── Long description ───────────────────────────────────────── */
.pd-long-desc {
  color: #374151;
  font-size: .94rem;
  line-height: 1.8;
}
.pd-long-desc p { margin: 0 0 1em; }
.pd-long-desc p:last-child { margin-bottom: 0; }

/* ── Table wrap ─────────────────────────────────────────────── */
.pd-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .pd-hero { grid-template-columns: 1fr; gap: 32px; }
  .pd-gallery__main { aspect-ratio: 16 / 9; }
}

@media (max-width: 640px) {
  .pd-section   { padding: 20px 0 40px; }
  .pd-panel     { padding: 20px 18px; }
  .pd-info__name { font-size: 1.7rem; }
  .pd-comp-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; }
  .pd-thumb     { width: 58px; height: 58px; }
  .pd-info__actions { flex-direction: column; }
  .pd-info__actions .btn { width: 100%; justify-content: center; text-align: center; }
}

/* ════════════════════════════════════════════════════════════
   SIZE PICKER POPOVER  (vp-size-picker)
   Shared by products grid + any other card context.
   ════════════════════════════════════════════════════════════ */

.vp-size-picker {
  position: fixed;          /* anchored by JS via top/left */
  z-index: 950;
  background: #fff;
  border: 2px solid rgba(14,165,233,.25);
  border-radius: 18px;
  padding: 16px 18px 18px;
  min-width: 192px;
  max-width: 280px;
  box-shadow:
    0 4px 12px rgba(0,0,0,.1),
    0 16px 40px rgba(14,165,233,.15);
  animation: vp-picker-in .15s cubic-bezier(.34,1.56,.64,1) both;
  transform-origin: bottom center;
}

.vp-size-picker[hidden] { display: none !important; }

@keyframes vp-picker-in {
  from { opacity: 0; transform: scale(.88) translateY(6px); }
  to   { opacity: 1; transform: scale(1)   translateY(0);   }
}

/* Small decorative arrow pointing down toward the trigger */
.vp-size-picker::after {
  content: '';
  position: absolute;
  bottom: -9px;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: rgba(14,165,233,.22);
  border-bottom: none;
  pointer-events: none;
}
.vp-size-picker::before {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: #fff;
  border-bottom: none;
  pointer-events: none;
  z-index: 1;
}

.vp-size-picker__label {
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #94a3b8;
  margin: 0 0 12px;
}

.vp-size-picker__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.vp-size-picker__chip {
  padding: 8px 16px;
  border-radius: 10px;
  border: 2px solid rgba(14,165,233,.25);
  background: #fff;
  color: #0369a1;
  font-size: .84rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s, border-color .15s, color .15s, transform .12s, box-shadow .15s;
  white-space: nowrap;
}
.vp-size-picker__chip:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0ea5e9 100%);
  border-color: #0ea5e9;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(14,165,233,.35);
}
.vp-size-picker__chip:active {
  transform: scale(.96);
}