/* product template — from mockup/_templates/product.html */
.pdp{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(23.75rem,1fr);gap:0;border-bottom:1px solid var(--line)}
.gallery{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--line);border-right:1px solid var(--line);align-content:start}
/* images show in full at their natural ratio (no fixed 4/5 crop); a shorter image in a row is centred on the tile colour.
   margin-top: the header's 4px colour stripe (.header::after) hangs below it — keep the first image clear of it. */
.gallery{margin-top:0.25rem}
.gallery figure{position:relative;grid-column:span 2;overflow:hidden;background:var(--tile);cursor:zoom-in;display:flex;align-items:center;scroll-margin-top:calc(var(--header) + 0.25rem)}
.gallery.many figure:not(:first-child){grid-column:span 1}
.gallery img{display:block;width:100%;height:auto;object-fit:initial;transition:opacity .45s var(--ease),transform 1.2s var(--ease)}
.gallery figure:hover img{transform:scale(1.025)}
.gallery.swap img{opacity:0}
.dots{display:none}

.info{position:relative}
.info__in{position:sticky;top:var(--header);padding:2.5rem 3rem 3rem;display:flex;flex-direction:column}
.info .crumbs{margin-bottom:2.125rem;flex-wrap:wrap}
.info__brand{display:inline-flex;align-self:flex-start;margin-bottom:1rem}
.info__brand img{width:auto;filter:opacity(.65)}   /* black brand logos read as soft dark grey (~#595959) */
.info h1{font-family:var(--serif);font-weight:500;font-size:clamp(2rem,2.8vw,2.75rem);line-height:1.05}
.info__price{font-size:0.9375rem;font-weight:600;letter-spacing:.04em;margin-top:0.875rem}   /* sits under the options, just above add to cart */
.info__price + .cta{margin-top:1rem}
.info__tags{display:flex;flex-wrap:wrap;gap:0.375rem;margin:1.25rem 0 0}
.tag{font-size:0.5625rem;font-weight:700;letter-spacing:.24em;text-transform:uppercase;padding:0.375rem 0.5625rem 0.3125rem;border:1px solid var(--line-2);color:var(--muted);transition:border-color .3s,color .3s}
.tag--new{border-color:var(--ink);color:var(--ink)}
a.tag:hover{border-color:var(--ink);color:var(--ink)}
.colrow{display:block}
@media (min-width:1101px){ .colrow .track > .card{flex-basis:16.6667%} }   /* same column width as We Also Recommend: 6 per row, still a slider (phones: the default swipe width) */
.coltabs{display:flex;justify-content:center;gap:0.5rem;flex-wrap:wrap;margin:-0.875rem 0 1.625rem}
.colpanels .colrow + .colrow{display:none}
.colpanels .colrow.is-hidden{display:none}
.colpanels .colrow.is-shown{display:block}
@media (min-width:921px) and (max-width:1100px){ .colrow .track > .card{flex-basis:25%} }
.opt{margin-top:1.75rem}
.opt__head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:1rem}
.opt__head b{font-size:0.625rem;font-weight:700;letter-spacing:.24em;text-transform:uppercase}
.opt__head b span{font-weight:500;letter-spacing:.04em;text-transform:none;font-size:0.8125rem;color:var(--ink-2);margin-left:0.5rem}
.opt__head button{font-size:0.625rem;font-weight:600;letter-spacing:.2em;text-transform:uppercase;border-bottom:1px solid currentColor}
.mat{font-size:0.59375rem;font-weight:600;letter-spacing:.22em;text-transform:uppercase;color:var(--muted);margin:1.25rem 0 0.625rem}
.mat:first-child{margin-top:0}
.thumbs{display:flex;flex-wrap:wrap;gap:0.5rem}
.thumb{width:3.625rem;aspect-ratio:4/5;background:var(--tile);position:relative;outline:1px solid transparent;outline-offset:0.1875rem;transition:outline-color .3s}
.thumb img{width:100%;height:100%;object-fit:cover}
.thumb:hover{outline-color:var(--line-2)}
.thumb.on{outline-color:var(--ink)}
.thumb.out{cursor:default}
.thumb.out img{opacity:.4}
.thumb.out::after{content:"";position:absolute;inset:0;background:linear-gradient(to top right,transparent calc(50% - .5px),var(--line-2) 50%,transparent calc(50% + .5px))}
.thumb.out:hover{outline-color:transparent}
.sizes{display:grid;grid-template-columns:repeat(auto-fill,minmax(3.625rem,1fr));gap:0.5rem}
.size{height:2.875rem;border:1px solid var(--line-2);font-size:0.78125rem;font-weight:600;transition:background .25s,color .25s,border-color .25s;position:relative}
.size:hover{border-color:var(--ink)}
.size.on{background:var(--ink);color:#fff;border-color:var(--ink)}
.size.out{cursor:default;color:#b9b1a8;background:linear-gradient(to top right,transparent calc(50% - .5px),var(--line-2) 50%,transparent calc(50% + .5px))}
.size.out:hover{border-color:var(--line-2)}
.btn.is-out,.btn.is-out:hover{background:var(--line-2);border-color:var(--line-2);color:var(--muted);cursor:default}
.sizes.shake{animation:shake .45s}
@keyframes shake{20%,60%{transform:translateX(-0.3125rem)}40%,80%{transform:translateX(0.3125rem)}}
.stock{min-height:1.25rem;margin-top:0.5rem;font-size:0.75rem;display:flex;align-items:center;gap:0.5rem;color:var(--ink-2)}
.stock i{width:0.4375rem;height:0.4375rem;border-radius:50%;background:#5a9a5f}
.stock.low i{background:#d58b1f}
.stock.err{color:var(--red)}
.stock.err i{background:var(--red)}
.cta{display:grid;grid-template-columns:1fr 3.5rem;gap:0.5rem;margin-top:1.75rem}
.cta .btn{height:3.5rem}
.cta .fav{display:grid;place-items:center;border:1px solid var(--ink);transition:background .25s,color .25s}
.cta .fav:hover,.cta .fav.on{background:var(--ink);color:#fff}
.cta .fav.on svg{fill:currentColor}
/* Wooizard sales (promotion · offers · bundle) under Add to cart, in the site's look */
.info__in>.info__deals{display:grid;gap:0.75rem;margin-top:1.5rem;text-align:left}
.info__deals .wz-p,.info__deals .wz-bundle{--wz-accent:var(--ink);--wz-on-accent:#fff;--wz-radius:0px;--wz-font-size:0.8125rem;margin:0;font-family:var(--sans);letter-spacing:0.01em}
.info__deals .wz-bundle__title,.info__deals .wz-p__title{font-size:0.6875rem;font-weight:600;letter-spacing:0.16em;text-transform:uppercase}
.info__deals .wz-bundle__footer{background:var(--bone)}
.info__deals .wz-bundle img,.info__deals .wz-p__set img{border-radius:0;object-fit:cover}
.info__deals .wz-bundle select{height:2.25rem;padding:0 0.5rem;border-color:var(--line);background:#fff;border-radius:0}
.info__deals .wz-bundle button{height:2.75rem;padding:0 1.25rem;border-radius:0;font-size:0.6875rem;letter-spacing:0.16em;text-transform:uppercase}
.info__deals .wz-bundle__item label{display:block;min-width:0}
.info__deals .wz-bundle__item select{width:100%}
.desc{margin-top:2.75rem;padding-top:1.875rem;border-top:1px solid var(--line)}
.desc .eyebrow{color:var(--ink);font-weight:700;margin-bottom:0.875rem}
.desc__body{font-size:0.84375rem;color:var(--ink-2);line-height:1.75}
.desc__body p+p,.desc__body ul+p,.desc__body p+ul{margin-top:0.75rem}
.desc__body ul{padding-left:1rem}

.related .head{padding:5.625rem 0 2.25rem}
.mbar{display:none}

/* lightbox */
.lb{position:fixed;inset:0;z-index:96;background:#f3f1ed;display:grid;place-items:center;opacity:0;visibility:hidden;transition:opacity .35s,visibility 0s .35s}
.lb.on{opacity:1;visibility:visible;transition:opacity .35s}
.lb img{max-width:92vw;max-height:92vh;object-fit:contain}
.lb button{position:absolute;width:3.25rem;height:3.25rem;display:grid;place-items:center;background:#fff;border-radius:50%}
.lb .x{top:1.25rem;right:1.25rem}.lb .l{left:1.25rem;top:50%}.lb .r{right:1.25rem;top:50%}
.lb .n{position:absolute;bottom:1.375rem;left:50%;transform:translateX(-50%);font-size:0.65625rem;font-weight:600;letter-spacing:.24em}

@media (max-width:1100px){ .pdp{grid-template-columns:minmax(0,1.2fr) minmax(21.25rem,1fr)} .info__in{padding:2rem 1.875rem 2.5rem} }
@media (max-width:920px){
  .pdp{grid-template-columns:1fr}
  .gallery{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;gap:0;border-right:0}
  .gallery::-webkit-scrollbar{display:none}
  .gallery figure,.gallery.many figure:not(:first-child){flex:0 0 100%;scroll-snap-align:start}
  .dots{display:flex;justify-content:center;gap:0.375rem;padding:0.875rem 0 0}
  .dots i{width:0.375rem;height:0.375rem;border-radius:50%;background:var(--line-2);transition:background .3s,width .3s}
  .dots i.on{background:var(--ink);width:1.125rem;border-radius:0.1875rem}
  .info__in{position:static;padding:1.5rem 1rem 2.5rem}
  .info .crumbs{margin-bottom:1.25rem}
  .mbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:40;background:#fff;border-top:1px solid var(--line);padding:0.625rem 1rem;gap:0.75rem;align-items:center;transform:translateY(110%);transition:transform .45s var(--ease)}
  .mbar.on{transform:none}
  .mbar img{width:2.5rem;aspect-ratio:4/5;object-fit:cover}
  .mbar div{flex:1;min-width:0}
  .mbar b{display:block;font-size:0.5625rem;font-weight:700;letter-spacing:.22em;text-transform:uppercase}
  .mbar span{font-family:var(--serif);font-size:1rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
  .mbar small{display:block;font-size:0.75rem;font-weight:600;margin-top:2px}
  .mbar .btn{padding:0.875rem 1rem}
}
/* stacked layout (tablet + phone): breadcrumb, brand logo and title sit ABOVE the gallery; price, options,
   add to cart and description stay below. .info/.info__in unwrap (display:contents) so their children become
   items of .pdp and can be ordered around the gallery column; a single H1 stays in the DOM. */
@media (max-width:920px){
  .pdp{display:flex;flex-direction:column}
  .pdp > div:first-child{order:2}
  .pdp .info,.pdp .info__in{display:contents}
  .info__in > *{order:3;margin-left:1rem;margin-right:1rem}
  .info__in > .crumbs,.info__in > .info__brand,.info__in > h1{order:1}
  .info .crumbs{margin-top:1.25rem;margin-bottom:1rem}
  .info__brand{margin-bottom:0.625rem}
  .info h1{margin-bottom:1.125rem}
  .gallery{margin-top:0}
  .info__price{margin-top:0.875rem}
  .info__in > :last-child{margin-bottom:2.5rem}
}
/* phone + tablet: the info column is centred (title, brand, tags, options, price, buttons); the description stays left */
@media (max-width:920px){
  .info__in > *{text-align:center}
  .info .crumbs{justify-content:center}
  .info__brand{align-self:center}
  .info__tags,.thumbs,.stock{justify-content:center}
  .opt__head{flex-direction:column;align-items:center;gap:0.625rem}
  .sizes{display:flex;flex-wrap:wrap;justify-content:center}
  .sizes .size{flex:0 0 3.875rem}
  .info__in > .desc{text-align:left}
}
