/* Portrait cards, native swipe and a glimpse of the next product view. */
.product-gallery{min-width:0;padding-bottom:6px}
.product-gallery:focus-visible{outline:2px solid var(--gold);outline-offset:8px}
.product-gallery .gallery-frame{overflow:visible;background:transparent;border-radius:0}
.product-story .gallery-track{gap:16px;align-items:stretch;height:auto;aspect-ratio:auto;max-height:none;overflow-x:auto;overflow-y:hidden;padding:6px 0 18px;cursor:grab;scroll-snap-type:x mandatory;scroll-behavior:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.product-story .gallery-track::after{content:'';flex:0 0 max(0px,calc(100% - min(540px,calc(100% - 56px)) - 16px))}
.product-gallery .gallery-slide{position:relative;flex:0 0 min(540px,calc(100% - 56px));height:auto;aspect-ratio:4/5;border-radius:22px;overflow:hidden;background:#e8d8ca;box-shadow:0 6px 16px rgba(26,24,19,.045);opacity:.5;transform:scale(.955);transform-origin:left center;transition:opacity .3s,transform .4s;scroll-snap-align:start;scroll-snap-stop:always}
.product-gallery .gallery-slide[aria-hidden=false]{opacity:1;transform:scale(1)}
.product-gallery .gallery-slide img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;border-radius:inherit}
.product-story .gallery-track.is-dragging{cursor:grabbing;scroll-snap-type:none}
.product-gallery .zoom-button{top:22px;left:calc(min(540px,calc(100% - 56px)) - 62px);right:auto;width:44px;height:44px;display:grid;place-items:center;padding:0;border:1px solid rgba(255,255,255,.6);border-radius:50%;background:rgba(246,243,237,.78);backdrop-filter:blur(14px);color:var(--forest);box-shadow:0 3px 20px rgba(0,0,0,.06);transition:background .2s,transform .2s;z-index:2}
.product-gallery .zoom-button svg{width:20px;height:20px}
.product-gallery .zoom-button:hover{background:#fff;transform:scale(1.06)}
.product-gallery .gallery-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:8px 0 0}
.gallery-meta{display:flex;flex-direction:column;gap:10px}
.product-gallery .gallery-hint{font-size:10px;line-height:1.4;letter-spacing:.015em;color:#878b7f}
.gallery-meta [data-gallery-counter]{font-size:11px;letter-spacing:.12em;color:var(--forest);font-variant-numeric:tabular-nums}
.product-gallery .gallery-navigation{display:flex;gap:9px;align-items:center}
.product-gallery .gallery-navigation button{width:46px;height:46px;min-width:46px;min-height:46px;display:grid;place-items:center;padding:0;border:1px solid #bbc0b4;border-radius:50%;background:transparent;color:var(--forest);transition:background .2s,color .2s,border-color .2s}
.product-gallery .gallery-navigation button svg{width:22px;height:22px}
.product-gallery .gallery-navigation button:not(:disabled):hover{background:var(--forest);border-color:var(--forest);color:var(--paper)}
.product-gallery .gallery-navigation button:disabled{opacity:.25}
.product-gallery .gallery-thumbs{display:flex;gap:6px;width:min(250px,62%);overflow:visible;padding:0;margin-top:5px;scrollbar-width:none}
.product-gallery .gallery-thumbs .gallery-step{position:relative;flex:1 1 0;width:auto;height:34px;min-width:18px;padding:0;border:0;border-radius:0;background:none;opacity:1}
.gallery-step span{position:absolute;left:0;right:0;top:15px;height:3px;border-radius:3px;background:#d4d6cd;transition:background .25s,transform .25s}
.gallery-step.is-past span{background:#a7b0a0}
.gallery-step[aria-pressed=true] span{background:var(--forest)}
.gallery-step:hover span{background:#8e9d83;transform:scaleY(1.6)}
@media(min-width:761px){.product-layout{grid-template-columns:minmax(0,1.6fr) minmax(260px,.8fr);gap:clamp(34px,4vw,70px)}.women-products .product-layout{grid-template-columns:minmax(0,1.3fr) minmax(260px,.8fr)}}
@media(max-width:760px){.product-story .gallery-track{gap:12px;padding-bottom:12px}.product-story .gallery-track::after{flex-basis:max(0px,calc(100% - min(540px,calc(100% - 36px)) - 12px))}.product-gallery .gallery-slide{flex-basis:calc(100% - 36px);border-radius:17px}.product-gallery .zoom-button{width:40px;height:40px;top:17px;left:calc(100% - 92px);right:auto}.product-gallery .zoom-button svg{width:18px;height:18px}.product-gallery .gallery-navigation button{width:43px;height:43px;min-width:43px;min-height:43px}.product-gallery .gallery-bottom{padding-top:5px}.product-gallery .gallery-hint{font-size:9px}.gallery-meta{gap:7px}.gallery-meta [data-gallery-counter]{font-size:10px}.product-gallery .gallery-thumbs{margin-top:1px;width:60%}}
@media(prefers-reduced-motion:reduce){.product-gallery .gallery-slide,.gallery-step span,.product-gallery .zoom-button{transition:none}.product-gallery .gallery-slide{transform:none}}

.shorts-preview{margin:16px 0 18px;color:var(--ink)}
.shorts-preview>p{margin:0 0 8px;font-size:11px;font-weight:700;letter-spacing:.14em}
.shorts-preview-views{display:flex;gap:10px}
.shorts-preview-views a{width:min(180px,50%);min-width:0;display:grid;gap:5px;font-size:12px;line-height:1.3}
.shorts-preview-views a:only-child{width:min(260px,100%)}
.shorts-preview-views img{display:block;width:100%;height:clamp(82px,16vw,118px);object-fit:contain;border-radius:8px;background:#eeeae5}
.shorts-preview-views a:focus-visible{outline:2px solid var(--gold);outline-offset:3px}

@media (max-width: 760px) {
  :is(#palma-negra, #mexico-bandito) .shorts-preview {
    display: block;
    margin: 10px 0 16px;
  }

  :is(#palma-negra, #mexico-bandito) .shorts-preview-views {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  :is(#palma-negra, #mexico-bandito) .shorts-preview-views a {
    width: 100%;
  }

  :is(#palma-negra, #mexico-bandito) .shorts-preview-views img {
    height: auto;
    aspect-ratio: 1;
  }
}
