/* =========================================================================
   Goralska — fiche produit (maquette « Goralska Produit »)
   ========================================================================= */

.gk-pdp{padding-top:var(--gk-hdr-h);padding-bottom:0}
@media (max-width:979.98px){.gk-pdp{padding-bottom:72px}}
.gk-pdp__top{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);align-items:start;background:#F7F4EE}
@media (max-width:979.98px){.gk-pdp__top{grid-template-columns:minmax(0,1fr)}}

/* ---------- Galerie desktop ---------- */
.gk-gal{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;background:#F7F4EE}
.gk-gal__item{position:relative;display:block;width:100%;aspect-ratio:4/5;padding:0;border:0;overflow:hidden;background:#FFFFFF;cursor:zoom-in}
.gk-gal__item.is-mood{background:#2A0E0E}
.gk-gal__item.is-big{grid-column:span 2;aspect-ratio:5/4}
.gk-gal__item img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform 1.8s cubic-bezier(.2,.7,.2,1)}
.gk-gal__item.is-big.is-pack img{inset:6%;width:88%;height:88%;object-fit:contain}
.gk-gal__item img:hover{transform:scale(1.04)}

/* ---------- Galerie mobile ---------- */
.gk-galm{position:relative}
.gk-galm__track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;background:#FFFFFF}
.gk-galm__item{flex:none;position:relative;width:100%;aspect-ratio:4/5;max-height:78vh;max-height:78svh;padding:0;border:0;overflow:hidden;scroll-snap-align:start;background:#FFFFFF}
.gk-galm__item.is-mood{background:#2A0E0E}
.gk-galm__item img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.gk-galm__item.is-pack img{object-fit:contain}
.gk-galm__dots{position:absolute;left:0;right:0;bottom:16px;display:flex;justify-content:center;gap:8px;pointer-events:none}
.gk-galm__dots span{display:block;width:12px;height:2px;background:rgba(66,23,23,.3);transition:width .4s,background .4s}
.gk-galm__dots span.is-on{width:28px;background:#421717}

/* ---------- Panneau d'informations ---------- */
.gk-info{position:sticky;top:calc(var(--gk-hdr-h) + var(--gk-ab,0px));display:flex;flex-direction:column;gap:clamp(22px,2.4vw,30px);padding:clamp(40px,4vw,72px) clamp(32px,4vw,80px) 64px;max-width:640px;width:100%;justify-self:center}
@media (max-width:979.98px){.gk-info{position:static;padding:28px 20px 56px}}
.gk-info__crumbs{display:flex;flex-wrap:wrap;gap:8px;font-size:10.5px;letter-spacing:.2em;text-transform:uppercase;color:#6B5856}
.gk-info__crumbs a{color:#6B5856}
.gk-info__crumbs a:hover{color:#421717}
.gk-info__head{display:flex;flex-direction:column;gap:12px}
.gk-info__ref{font-size:10.5px;letter-spacing:.24em;text-transform:uppercase;color:#421717}
.gk-info__title{margin:0;font-family:'Cormorant Garamond',serif;font-weight:300;font-size:clamp(38px,3.6vw,60px);line-height:1;color:#191314;text-wrap:balance}
.gk-info__mat{margin:0;font-family:'Cormorant Garamond',serif;font-style:italic;font-size:clamp(19px,1.5vw,23px);line-height:1.4;color:#4A3A39;text-wrap:pretty}
.gk-info__price{margin-top:6px;font-size:17px;letter-spacing:.06em;color:#191314}
.gk-buy{display:flex;flex-direction:column;gap:clamp(22px,2.4vw,30px);margin:0}
.gk-opt{display:flex;flex-direction:column;gap:14px;border-top:1px solid rgba(66,23,23,.12);padding-top:22px}
.gk-opt__label{font-size:10.5px;letter-spacing:.22em;text-transform:uppercase;color:#6B5856}
.gk-opt__val{color:#191314}
.gk-opt.is-error .gk-opt__label{color:#8A2B2B}
.gk-swatches{display:flex;flex-wrap:wrap;gap:12px}
.gk-swatch{position:relative;display:block;width:48px;height:48px;border-radius:50%;padding:5px;border:1px solid rgba(66,23,23,.18);background:none;cursor:pointer;transition:border-color .3s}
.gk-swatch.is-active{border-color:#421717}
.gk-swatch span{display:block;width:100%;height:100%;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(25,19,20,.12)}
/* Déclinaisons de même couleur : liste en texte (pastille + description), pas de pastilles identiques. */
.gk-swatches--list{flex-direction:column;gap:0;border-top:1px solid rgba(66,23,23,.12)}
.gk-swatch.gk-swatch--txt{display:flex;align-items:center;gap:14px;width:auto;height:auto;padding:12px 4px;border:0;border-bottom:1px solid rgba(66,23,23,.12);border-radius:0;color:#4A3A39;font-size:13.5px;line-height:1.4;text-decoration:none;transition:color .3s,background .3s}
.gk-swatch.gk-swatch--txt .gk-swatch__dot{flex:none;width:16px;height:16px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(25,19,20,.15)}
.gk-swatch.gk-swatch--txt .gk-swatch__txt{display:block;width:auto;height:auto;border-radius:0;box-shadow:none;background:none}
.gk-swatch.gk-swatch--txt:hover{color:#421717;background:rgba(66,23,23,.03)}
.gk-swatch.gk-swatch--txt.is-active{color:#421717;font-weight:500}
.gk-swatch.gk-swatch--txt.is-active .gk-swatch__dot{box-shadow:0 0 0 2px #F7F4EE,0 0 0 3px #421717}
.gk-sizes{display:flex;flex-wrap:wrap;gap:8px}
.gk-size{position:relative;display:inline-flex}
.gk-size input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
.gk-size span{display:inline-flex;align-items:center;justify-content:center;min-width:56px;height:44px;padding:0 14px;background:transparent;color:#191314;border:1px solid rgba(66,23,23,.25);font-family:'Gantari',sans-serif;font-size:13px;letter-spacing:.06em;cursor:pointer;transition:background .3s,color .3s,border-color .3s}
.gk-opt.is-error .gk-size span{border-color:#8A2B2B}
.gk-size input:checked+span,.gk-size.is-active span{background:#421717;color:#F7F4EE;border-color:#421717}
.gk-size input:focus-visible+span{outline:1px solid #421717;outline-offset:2px}
.gk-buy__ctas{display:flex;flex-direction:column;gap:12px}
.gk-buy__btn,.gk-buy__btn:hover{display:flex;align-items:center;justify-content:center;width:100%;height:58px;background:#421717;color:#F7F4EE;border:0;font-family:'Gantari',sans-serif;font-weight:500;font-size:11px;letter-spacing:.24em;text-transform:uppercase;cursor:pointer;transition:background .4s}
.gk-buy__btn:hover{background:#2A0E0E}
.gk-buy__btn.is-disabled{opacity:.5;cursor:default}
.gk-buy__btn.is-busy{opacity:.7;pointer-events:none}
.gk-buy__try,.gk-buy__try:hover{display:flex;align-items:center;justify-content:center;text-align:center;min-height:54px;padding:0 16px;border:1px solid rgba(66,23,23,.35);color:#421717;font-size:11px;letter-spacing:.2em;text-transform:uppercase;transition:border-color .4s,background .4s}
.gk-buy__try:hover{border-color:#421717;background:#EFEBE2}
.gk-buy__wish{align-self:center;background:none;border:0;cursor:pointer;color:#421717;font-family:'Gantari',sans-serif;font-size:11px;letter-spacing:.2em;text-transform:uppercase;padding:12px 0}
.gk-buy__note{font-size:13px;line-height:1.6;font-weight:300;color:#6B5856;text-wrap:pretty}
.gk-buy__ask{align-self:center;margin-top:-10px;padding:4px 0 12px;color:#421717;font-size:13px;line-height:1.4;text-decoration:none;background:linear-gradient(currentColor,currentColor) 0 calc(100% - 10px)/100% 1px no-repeat;transition:opacity .3s}
.gk-buy__ask:hover{opacity:.65}
.gk-buy__msg{font-size:11.5px;color:#8A2B2B}
.gk-info__services{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid rgba(66,23,23,.12);border-bottom:1px solid rgba(66,23,23,.12)}
.gk-info__services span{padding:16px 8px;text-align:center;font-family:'Cormorant Garamond',serif;font-style:italic;font-size:16px;line-height:1.3;color:#421717}
.gk-info__services span:nth-child(2){border-left:1px solid rgba(66,23,23,.12);border-right:1px solid rgba(66,23,23,.12)}

/* ---------- Accordéons ---------- */
.gk-acc{display:flex;flex-direction:column}
.gk-acc__item{border-bottom:1px solid rgba(66,23,23,.12)}
.gk-acc__btn{width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:56px;padding:0;background:none;border:0;cursor:pointer;color:#191314;font-family:'Gantari',sans-serif;font-size:11px;letter-spacing:.22em;text-transform:uppercase;text-align:left}
.gk-acc__plus{font-family:'Cormorant Garamond',serif;font-size:24px;line-height:1;color:#421717;transform:none;transition:transform .4s ease}
.gk-acc__item.is-open .gk-acc__plus{transform:rotate(45deg)}
.gk-acc__panel{display:grid;grid-template-rows:0fr;transition:grid-template-rows .5s cubic-bezier(.2,.7,.2,1)}
.gk-acc__item.is-open .gk-acc__panel{grid-template-rows:1fr}
.gk-acc__panel>div{overflow:hidden}
.gk-acc__panel p{margin:0;padding:0 0 22px;font-size:14px;line-height:1.75;font-weight:300;color:#4A3A39;text-wrap:pretty}

/* ---------- Savoir-faire ---------- */
.gk-sf{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);background:#2A0E0E;color:#F7F4EE}
.gk-sf__media{position:relative;min-height:clamp(480px,70vh,760px);overflow:hidden}
.gk-sf__media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.gk-sf__text{display:flex;flex-direction:column;justify-content:center;gap:clamp(20px,2.4vw,30px);padding:clamp(48px,7vw,120px) clamp(20px,6vw,104px)}
.gk-sf__text h2{margin:0;font-family:'Cormorant Garamond',serif;font-weight:300;font-size:clamp(36px,4vw,68px);line-height:1.04;color:#F7F4EE;text-wrap:balance}
.gk-sf__text .gk-ulink{align-self:flex-start}
@media (max-width:979.98px){.gk-sf{grid-template-columns:minmax(0,1fr)}.gk-sf__media{min-height:64vw}}
@media (max-width:639.98px){.gk-sf__media{min-height:92vw}}

/* ---------- Vous aimerez aussi ---------- */
.gk-reco{padding:clamp(72px,8vw,120px) 0}
.gk-reco__in{max-width:1600px;margin:0 auto;display:flex;flex-direction:column;gap:clamp(28px,3vw,44px)}
.gk-reco__head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:20px;padding:0 clamp(20px,4vw,72px)}
.gk-reco__head h2{margin:0;font-family:'Cormorant Garamond',serif;font-weight:300;font-size:clamp(36px,4vw,64px);line-height:1;color:#421717}
.gk-reco__track{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(14px,1.6vw,24px);overflow-x:visible;scroll-snap-type:x mandatory;scroll-padding:0 clamp(20px,4vw,72px);padding:0 clamp(20px,4vw,72px);-webkit-overflow-scrolling:touch}
.gk-reco__track .gk-card{flex:none;width:auto;scroll-snap-align:start}
@media (max-width:979.98px){
  .gk-reco__track{display:flex;gap:12px;overflow-x:auto}
  .gk-reco__track .gk-card{width:min(62vw,280px)}
}

/* ---------- Barre d'achat mobile ---------- */
.gk-mbar{position:fixed;left:0;right:0;bottom:0;z-index:40;display:flex;align-items:center;gap:14px;padding:10px 16px max(10px,env(safe-area-inset-bottom));background:rgba(247,244,238,.97);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-top:1px solid rgba(66,23,23,.14);transform:none;transition:transform .5s cubic-bezier(.2,.7,.2,1)}
.gk-mbar.is-hidden{transform:translateY(110%)}
.gk-mbar__info{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.gk-mbar__name{font-family:'Cormorant Garamond',serif;font-size:18px;line-height:1.1;color:#191314;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gk-mbar__price{font-size:12.5px;letter-spacing:.05em;color:#6B5856}
.gk-mbar__btn,.gk-mbar__btn:hover{flex:none;display:flex;align-items:center;height:50px;padding:0 22px;background:#421717;color:#F7F4EE;border:0;font-family:'Gantari',sans-serif;font-weight:500;font-size:10.5px;letter-spacing:.2em;text-transform:uppercase;cursor:pointer}

/* ---------- Visionneuse ---------- */
.gk-lb{position:fixed;inset:0;z-index:120;background:rgba(25,19,20,.96);display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .5s ease,visibility .5s}
.gk-lb.is-open{opacity:1;visibility:visible;pointer-events:auto}
.gk-lb img{max-width:min(92vw,1100px);max-height:86vh;max-height:86svh;object-fit:contain;background:#FFFFFF;transform:scale(.94);transition:transform .7s cubic-bezier(.2,.7,.2,1)}
.gk-lb img[src=""]{visibility:hidden}
.gk-lb.is-mood img{background:#2A0E0E}
.gk-lb.is-open img{transform:scale(1)}
.gk-lb__close{position:absolute;top:max(12px,env(safe-area-inset-top));right:16px;background:none;border:0;color:#F7F4EE;cursor:pointer;font-family:'Gantari',sans-serif;font-size:11px;letter-spacing:.24em;text-transform:uppercase;padding:16px}
.gk-lb__nav{position:absolute;top:50%;margin-top:-26px;width:52px;height:52px;border-radius:50%;border:1px solid rgba(247,244,238,.4);background:none;color:#F7F4EE;cursor:pointer;font-family:'Cormorant Garamond',serif;font-size:22px;padding:0}
.gk-lb__nav--prev{left:clamp(8px,2vw,32px)}
.gk-lb__nav--next{right:clamp(8px,2vw,32px)}
.gk-lb__count{position:absolute;bottom:max(20px,env(safe-area-inset-bottom));left:0;right:0;text-align:center;font-size:11px;letter-spacing:.24em;color:#D9BB85}

/* Changement de déclinaison sans rechargement : fondu enchaîné court de la fiche (View Transitions). */
html.gk-vt-pdp::view-transition-old(root),html.gk-vt-pdp::view-transition-new(root){animation-duration:.32s;animation-timing-function:cubic-bezier(.4,0,.2,1)}
.gk-pdp.is-switching{cursor:progress}
