/* Watch Collection 1.0.0-0079
   - Restaure la présentation optimisée validée en V0077.
   - Conserve la galerie 4 colonnes de la V0078.
   - Corrige définitivement le diaporama « Présenter ma collection » :
     la photo et le texte occupent deux zones séparées et fixes. */
:root{
  --wc79-featured-photo-h:clamp(460px,58vh,680px);
  --wc79-featured-gap:clamp(18px,2.2vw,34px);
  --wc79-show-caption-h:clamp(138px,18vh,190px);
}

/* ===== PRÉSENTATION : RETOUR EXACT À LA STRUCTURE OPTIMISÉE ===== */
#view-presentation .luxury-feature-grid{
  grid-template-columns:minmax(0,1fr)!important;
  gap:18px!important;
}
#view-presentation .luxury-feature-grid>.recent-panel{display:none!important}
#view-presentation .luxury-feature-grid>.featured-watch-panel{
  min-height:0!important;
  padding:clamp(18px,2vw,30px)!important;
}
#view-presentation .luxury-feature-grid>.featured-watch-panel .featured-watch-content,
#view-presentation .luxury-feature-grid>.featured-watch-panel .featured-watch-nav-shell,
#view-presentation .luxury-feature-grid>.featured-watch-panel .v0038-featured-layout{
  min-height:0!important;
  height:auto!important;
}
#view-presentation .luxury-feature-grid>.featured-watch-panel .v0038-featured-layout{
  display:grid!important;
  grid-template-columns:minmax(420px,1.05fr) minmax(380px,.95fr)!important;
  gap:var(--wc79-featured-gap)!important;
  align-items:stretch!important;
}
#view-presentation .luxury-feature-grid>.featured-watch-panel .v0039-featured-media{
  display:grid!important;
  grid-template-columns:54px minmax(0,1fr) 54px!important;
  grid-template-rows:minmax(0,1fr) auto!important;
  gap:12px!important;
  align-items:center!important;
  min-width:0!important;
}
#view-presentation .luxury-feature-grid>.featured-watch-panel .v0039-featured-photo-shell{
  grid-column:2!important;
  grid-row:1!important;
  display:grid!important;
  grid-template-columns:48px minmax(0,1fr) 48px!important;
  align-items:center!important;
  width:100%!important;
  min-width:0!important;
}
#view-presentation .luxury-feature-grid>.featured-watch-panel .v0038-featured-photo-stage,
#view-presentation .luxury-feature-grid>.featured-watch-panel .featured-watch-image{
  width:100%!important;
  height:var(--wc79-featured-photo-h)!important;
  min-height:var(--wc79-featured-photo-h)!important;
  max-height:var(--wc79-featured-photo-h)!important;
  aspect-ratio:auto!important;
  overflow:hidden!important;
  display:grid!important;
  place-items:center!important;
  border-radius:18px!important;
  background:#090908!important;
}
#view-presentation .luxury-feature-grid>.featured-watch-panel .v0038-featured-photo-stage img,
#view-presentation .luxury-feature-grid>.featured-watch-panel .featured-watch-image img{
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  display:block!important;
  padding:10px!important;
  background:transparent!important;
}
#view-presentation .luxury-feature-grid>.featured-watch-panel .v0038-featured-photo-stage .empty-image{
  width:100%!important;height:100%!important;min-height:0!important;
}
#view-presentation .luxury-feature-grid>.featured-watch-panel .v0039-watch-nav{
  position:static!important;
  width:48px!important;height:78px!important;
  align-self:center!important;
}
#view-presentation .luxury-feature-grid>.featured-watch-panel .v0039-watch-nav:first-child{grid-column:1!important;grid-row:1!important}
#view-presentation .luxury-feature-grid>.featured-watch-panel .v0039-watch-nav:nth-of-type(2){grid-column:3!important;grid-row:1!important}
#view-presentation .luxury-feature-grid>.featured-watch-panel .v0039-watch-counter{
  grid-column:2!important;grid-row:2!important;justify-self:center!important;margin:0!important;
}
#view-presentation .luxury-feature-grid>.featured-watch-panel .v0038-featured-nav{
  position:static!important;width:44px!important;height:64px!important;transform:none!important;
}
#view-presentation .luxury-feature-grid>.featured-watch-panel .featured-watch-copy{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  padding:clamp(8px,1.4vw,22px)!important;
}
#view-presentation .luxury-feature-grid>.featured-watch-panel .featured-watch-copy h3{
  font-size:clamp(2rem,3.2vw,3.65rem)!important;
  line-height:1.04!important;
  margin:.3rem 0 .55rem!important;
  overflow-wrap:anywhere!important;
}
#view-presentation .luxury-feature-grid>.featured-watch-panel .featured-watch-copy>p{
  font-size:clamp(.95rem,1.25vw,1.18rem)!important;
  margin:0 0 16px!important;
}
#view-presentation .luxury-feature-grid>.featured-watch-panel .v0038-featured-specs{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:9px!important;
}
#view-presentation .luxury-feature-grid>.featured-watch-panel .v0038-featured-specs span{
  min-height:66px!important;padding:10px 12px!important;
}
#view-presentation .luxury-feature-grid>.featured-watch-panel .featured-watch-copy .btn{
  width:100%!important;min-height:46px!important;margin-top:16px!important;
}

/* ===== DIAPORAMA : PHOTO ET TEXTE SONT DEUX ZONES INDEPENDANTES ===== */
.v0038-presentation-show{
  grid-template-columns:76px minmax(0,1fr) 76px!important;
  padding:max(18px,env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left))!important;
  box-sizing:border-box!important;
}
.v0038-presentation-show .v0038-show-stage{
  width:min(1240px,calc(100vw - 210px))!important;
  height:min(860px,calc(100dvh - 44px))!important;
  max-height:calc(100dvh - 44px)!important;
  display:grid!important;
  grid-template-rows:minmax(0,1fr) var(--wc79-show-caption-h)!important;
  overflow:hidden!important;
}
.v0038-presentation-show .v0038-show-photo{
  grid-row:1!important;
  min-height:0!important;
  width:100%!important;
  height:100%!important;
  overflow:hidden!important;
  display:grid!important;
  place-items:center!important;
  padding:clamp(18px,3vw,40px)!important;
  box-sizing:border-box!important;
}
.v0038-presentation-show .v0038-show-photo img{
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  display:block!important;
}
.v0038-presentation-show .v0038-show-stage figcaption{
  grid-row:2!important;
  position:relative!important;
  z-index:4!important;
  height:var(--wc79-show-caption-h)!important;
  min-height:var(--wc79-show-caption-h)!important;
  max-height:var(--wc79-show-caption-h)!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  grid-template-rows:auto minmax(0,1fr) auto!important;
  align-content:center!important;
  align-items:center!important;
  gap:4px 20px!important;
  padding:18px 28px 22px!important;
  background:rgba(4,4,4,.96)!important;
  border-top:1px solid rgba(201,169,103,.42)!important;
}
.v0038-presentation-show .v0038-show-stage figcaption>span{
  grid-column:1!important;grid-row:1!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
.v0038-presentation-show .v0038-show-stage h2{
  grid-column:1!important;grid-row:2!important;
  max-height:2.12em!important;
  overflow:hidden!important;
  font-size:clamp(1.45rem,3vw,3rem)!important;
  line-height:1.03!important;
  margin:0!important;
  overflow-wrap:anywhere!important;
}
.v0038-presentation-show .v0038-show-stage p{
  grid-column:1!important;grid-row:3!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
  margin:2px 0 0!important;
}
.v0038-presentation-show .v0038-show-stage small{
  grid-column:2!important;grid-row:1 / span 3!important;
  align-self:center!important;
}

/* Tablette */
@media(max-width:1100px){
  :root{--wc79-featured-photo-h:clamp(420px,52vh,570px);--wc79-show-caption-h:clamp(132px,18vh,170px)}
  #view-presentation .luxury-feature-grid>.featured-watch-panel .v0038-featured-layout{grid-template-columns:1fr!important}
  #view-presentation .luxury-feature-grid>.featured-watch-panel .featured-watch-copy{padding:10px 4px 4px!important}
  #view-presentation .luxury-feature-grid>.featured-watch-panel .featured-watch-copy h3{font-size:clamp(1.8rem,4.5vw,3rem)!important}
  .v0038-presentation-show{grid-template-columns:56px minmax(0,1fr) 56px!important}
  .v0038-presentation-show .v0038-show-stage{width:calc(100vw - 140px)!important;height:calc(100dvh - 36px)!important;max-height:calc(100dvh - 36px)!important}
}

/* Smartphone */
@media(max-width:640px){
  :root{--wc79-featured-photo-h:clamp(320px,48vh,440px);--wc79-show-caption-h:154px}
  #view-presentation .luxury-feature-grid>.featured-watch-panel{padding:14px!important;border-radius:18px!important}
  #view-presentation .luxury-feature-grid>.featured-watch-panel .panel-head{align-items:flex-start!important;gap:10px!important}
  #view-presentation .luxury-feature-grid>.featured-watch-panel .v0038-present-button{font-size:.78rem!important;padding:7px 10px!important}
  #view-presentation .luxury-feature-grid>.featured-watch-panel .v0039-featured-media{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto!important}
  #view-presentation .luxury-feature-grid>.featured-watch-panel .v0039-featured-photo-shell{grid-column:1!important;grid-row:1!important;grid-template-columns:minmax(0,1fr)!important;position:relative!important}
  #view-presentation .luxury-feature-grid>.featured-watch-panel .v0039-watch-nav{position:absolute!important;z-index:8!important;top:calc(var(--wc79-featured-photo-h)/2 - 34px)!important;width:42px!important;height:68px!important;background:rgba(8,8,8,.82)!important}
  #view-presentation .luxury-feature-grid>.featured-watch-panel .v0039-watch-nav:first-child{left:4px!important}
  #view-presentation .luxury-feature-grid>.featured-watch-panel .v0039-watch-nav:nth-of-type(2){right:4px!important}
  #view-presentation .luxury-feature-grid>.featured-watch-panel .v0038-featured-nav{position:absolute!important;z-index:7!important;top:50%!important;transform:translateY(-50%)!important}
  #view-presentation .luxury-feature-grid>.featured-watch-panel .v0038-featured-nav:first-child{left:6px!important}
  #view-presentation .luxury-feature-grid>.featured-watch-panel .v0038-featured-nav:last-child{right:6px!important}
  #view-presentation .luxury-feature-grid>.featured-watch-panel .v0039-watch-counter{grid-column:1!important;grid-row:2!important}
  #view-presentation .luxury-feature-grid>.featured-watch-panel .featured-watch-copy h3{font-size:clamp(1.55rem,7vw,2.35rem)!important}
  #view-presentation .luxury-feature-grid>.featured-watch-panel .v0038-featured-specs{grid-template-columns:1fr 1fr!important}
  #view-presentation .luxury-feature-grid>.featured-watch-panel .v0038-featured-specs span{min-height:58px!important}

  .v0038-presentation-show{
    grid-template-columns:44px minmax(0,1fr) 44px!important;
    padding:8px!important;
  }
  .v0038-presentation-show .v0038-show-stage{
    width:calc(100vw - 104px)!important;
    height:calc(100dvh - 16px)!important;
    max-height:calc(100dvh - 16px)!important;
    border-radius:18px!important;
  }
  .v0038-presentation-show .v0038-show-photo{padding:10px!important}
  .v0038-presentation-show .v0038-show-stage figcaption{
    padding:12px 14px 14px!important;
    gap:3px 9px!important;
  }
  .v0038-presentation-show .v0038-show-stage h2{font-size:clamp(1.18rem,6vw,1.8rem)!important}
  .v0038-presentation-show .v0038-show-stage p{font-size:.72rem!important}
  .v0038-presentation-show .v0038-show-stage small{min-width:48px!important;padding:5px 7px!important}
}

/* Zone protégée : aucun sélecteur ne cible .v17-public-collection-panel ou .v17-public-card. */
