section.bg-white{ background:var(--white); }

section.bg-warm{ background:var(--warm); }

.section-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom:28px; }

.section-head h2{ font-size:26px; }

.section-head p{ color:var(--ink-soft); font-size:14.5px; margin-top:6px; }

.section-link{ font-size:14px; font-weight:700; color:var(--green-deep); display:flex; align-items:center; gap:6px; flex-shrink:0; white-space:nowrap; }

.section-link svg{ width:15px; height:15px; }

.scroller-shell{ position:relative; }

.scroller{ display:flex; gap:18px; overflow-x:auto; scroll-behavior:smooth; padding-bottom:6px; scrollbar-width:none; }

.scroller::-webkit-scrollbar{ display:none; }

.scroller-nav{ position:absolute; top:38%; transform:translateY(-50%); width:38px; height:38px; border-radius:50%; background:var(--white); border:1px solid var(--line); box-shadow:var(--shadow-md); display:flex; align-items:center; justify-content:center; z-index:5; }

.scroller-nav.prev{ left:-19px; }

.scroller-nav.next{ right:-19px; }

@media (max-width:760px){ .scroller-nav{ display:none; } }

.product-card{
    position:relative; background:var(--white); border:1px solid var(--line); border-radius:var(--r-card);
    padding:14px; display:flex; flex-direction:column; gap:10px; flex-shrink:0; width:212px;
    transition:box-shadow .2s ease, transform .2s ease;
  }

.product-card:hover{ box-shadow:var(--shadow-md); transform:translateY(-3px); }

.product-link{ display:contents; }

.product-art{ aspect-ratio:1/1; background:var(--warm); border-radius:10px; overflow:hidden; position:relative; }

.product-art svg{ width:100%; height:100%; transition:transform .3s ease; }

.product-card:hover .product-art svg{ transform:scale(1.05); }

.save-tag{ position:absolute; top:8px; left:8px; background:var(--deep-panel-bg); color:var(--deep-panel-fg); font-size:10.5px; font-weight:800; padding:4px 8px; border-radius:6px; letter-spacing:.02em; }

.stock-tag{ position:absolute; top:8px; left:8px; background:var(--ink-soft); color:var(--white); font-size:10.5px; font-weight:800; padding:4px 8px; border-radius:6px; letter-spacing:.02em; }

.product-name{ font-size:14.5px; font-weight:700; line-height:1.3; min-height:2.6em; }

.price-row{ display:flex; align-items:baseline; gap:8px; }

.price-now{ font-size:16.5px; font-weight:800; }

.price-prev{ font-size:13px; color:var(--ink-soft); text-decoration:line-through; }

.card-control{ height:40px; }

.add-btn{
    display:flex; align-items:center; justify-content:center; gap:6px; width:100%; height:100%;
    background:var(--soft); color:var(--green-deep); border:none; border-radius:var(--r-btn);
    padding:10px; font-weight:700; font-size:13.5px; transition:background .15s ease, color .15s ease;
  }

.add-btn:hover{ background:var(--green); color:var(--on-green); }

.add-btn:disabled{ background:var(--warm); color:var(--ink-soft); cursor:not-allowed; }

.add-btn svg{ width:16px; height:16px; }

.qty-stepper{ display:flex; align-items:center; justify-content:space-between; width:100%; height:100%; background:var(--green); border-radius:var(--r-btn); padding:0 4px; }

.qty-stepper.pulse{ animation:qtyPulse .22s ease; }

@keyframes qtyPulse{ 0%{ transform:scale(1); } 40%{ transform:scale(1.04); } 100%{ transform:scale(1); } }

.qty-btn{ width:30px; height:30px; border-radius:8px; background:rgba(255,255,255,.16); color:var(--on-green); border:none; font-size:17px; font-weight:800; line-height:1; display:flex; align-items:center; justify-content:center; transition:background .15s ease; }

.qty-btn:hover{ background:rgba(255,255,255,.32); }

.qty-value{ color:var(--on-green); font-weight:800; font-size:14.5px; min-width:20px; text-align:center; font-variant-numeric:tabular-nums; }

.card-control.pdp-control{ height:48px; max-width:260px; }

.pdp-control .add-btn{ font-size:14.5px; border-radius:var(--r-btn); }

.pdp-control .qty-btn{ width:36px; height:36px; font-size:19px; }

.pdp-control .qty-value{ font-size:16px; min-width:28px; }

.pdp-control-row{ display:flex; align-items:center; gap:20px; flex-wrap:wrap; margin-bottom:24px; }

.pdp-control-row .card-control.pdp-control{ margin-bottom:0; }

.breadcrumb{ padding:16px 0 0; font-size:13px; color:var(--ink-soft); display:flex; align-items:center; gap:6px; flex-wrap:wrap; }

.breadcrumb a:hover{ color:var(--green-deep); }

.breadcrumb .current{ color:var(--ink); font-weight:600; }

.breadcrumb svg{ width:13px; height:13px; flex-shrink:0; }

.pdp-layout{ display:grid; grid-template-columns:1fr 1fr; gap:52px; padding:24px 0 64px; align-items:flex-start; }

@media (max-width:900px){ .pdp-layout{ grid-template-columns:1fr; gap:28px; padding-bottom:40px; } }

.pdp-gallery-main{ aspect-ratio:1/1; background:var(--white); border:1px solid var(--line); border-radius:20px; overflow:hidden; position:relative; }

.pdp-gallery-main svg{ width:100%; height:100%; }

/* Real product photos (wp_get_attachment_image( $id, 'large' )) come out
   at whatever proportions the source file has — unlike the square,
   pre-cropped 'woocommerce_thumbnail' used on cards, WordPress's 'large'
   size only scales the file to fit inside a 1024x1024 box, it doesn't
   crop it to a square. With no sizing rule here, the <img> rendered at
   its own natural dimensions inside this square, overflow:hidden frame,
   so a portrait or landscape photo got clipped/zoomed instead of shown
   in full — the same class of bug already fixed for card thumbnails on
   mobile (see base.css), just untouched here since this is the PDP's own
   gallery, not the card component. object-fit:contain + padding keeps
   the whole product visible with breathing room, matching the "show the
   complete product" requirement, on both mobile and desktop — this
   frame is the same size on every breakpoint (see the max-width:900px
   rule above collapsing .pdp-layout to one column, not shrinking the
   image itself). */
.pdp-gallery-main img{ width:100%; height:100%; object-fit:contain; padding:6%; box-sizing:border-box; display:block; }

.pdp-gallery-thumbs{ display:flex; gap:12px; margin-top:12px; }

.pdp-thumb{ width:72px; height:72px; border-radius:10px; border:1.5px solid var(--line-strong); background:var(--warm); overflow:hidden; padding:0; flex-shrink:0; transition:border-color .15s ease; }

.pdp-thumb.active{ border-color:var(--green); }

.pdp-thumb svg{ width:100%; height:100%; }

.pdp-thumb img{ width:100%; height:100%; object-fit:contain; padding:8%; box-sizing:border-box; display:block; }

.pdp-brand{ font-size:12.5px; font-weight:700; color:var(--green-deep); text-transform:uppercase; letter-spacing:.06em; }

.pdp-info h1{ font-size:30px; margin:6px 0 4px; }

.pdp-size{ font-size:13.5px; color:var(--ink-soft); margin-bottom:16px; }

.pdp-price-row{ display:flex; align-items:baseline; gap:12px; margin-bottom:6px; }

.pdp-price-row .now{ font-size:28px; font-weight:800; }

.pdp-price-row .prev{ font-size:16px; color:var(--ink-soft); text-decoration:line-through; }

.pdp-save{ display:inline-block; background:var(--deep-panel-bg); color:var(--deep-panel-fg); font-size:12px; font-weight:800; padding:4px 9px; border-radius:6px; margin-bottom:18px; }

.pdp-desc{ font-size:15px; color:var(--ink-soft); line-height:1.65; margin-bottom:22px; max-width:52ch; }

.pdp-divider{ height:1px; background:var(--line); margin:22px 0; }

.pdp-availability{ display:flex; align-items:center; gap:8px; font-size:13.5px; font-weight:700; margin-bottom:18px; }

.pdp-availability .dot{ width:9px; height:9px; border-radius:50%; background:var(--green); }

.pdp-availability.out .dot{ background:var(--ink-soft); }

.pdp-availability.out{ color:var(--ink-soft); }

.pdp-meta-list{ display:flex; flex-direction:column; gap:10px; margin-top:22px; }

.pdp-meta-item{ display:flex; align-items:center; gap:10px; font-size:13.5px; font-weight:600; color:var(--ink-soft); }

.pdp-meta-item svg{ color:var(--green); flex-shrink:0; }

.pdp-accordions{ display:flex; flex-direction:column; }

.pdp-accordions details{ border-bottom:1px solid var(--line); padding:16px 0; }

.pdp-accordions details:first-child{ border-top:1px solid var(--line); }

.pdp-accordions summary{
    font-size:15px; font-weight:700; cursor:pointer; list-style:none; display:flex; align-items:center; justify-content:space-between;
  }

.pdp-accordions summary::-webkit-details-marker{ display:none; }

.pdp-accordions summary .chev{ transition:transform .2s ease; color:var(--ink-soft); flex-shrink:0; }

.pdp-accordions details[open] summary .chev{ transform:rotate(180deg); }

.pdp-accordions .body{ font-size:14.5px; color:var(--ink-soft); line-height:1.7; padding-top:12px; max-width:64ch; }

.nutri-table{ width:100%; border-collapse:collapse; margin-top:12px; font-size:13.5px; }

.nutri-table th, .nutri-table td{ text-align:left; padding:8px 10px; border-bottom:1px solid var(--line); }

.nutri-table th{ color:var(--ink-soft); font-weight:600; width:60%; }

.nutri-table td{ font-weight:700; text-align:right; font-variant-numeric:tabular-nums; }

.nutri-note{ font-size:12px; color:var(--ink-soft); margin-top:8px; }

.pdp-not-found{ text-align:center; padding:100px 20px; }

.pdp-not-found h1{ font-size:26px; margin-bottom:10px; }

.pdp-not-found p{ color:var(--ink-soft); margin-bottom:22px; }