/* Requested media replacements and the homepage category gallery. */
.studio-video { display:block; width:100%; height:100%; object-fit:contain; }
#studioTT { aspect-ratio:3/4; background:#181410; overflow:hidden; }
.editorial-feature { display:block; position:relative; overflow:hidden; border-radius:12px; margin-bottom:34px; aspect-ratio:2.4; background:#261c15; }
.editorial-feature img { width:100%; height:100%; object-fit:cover; transition:transform .6s; }
.editorial-feature:hover img { transform:scale(1.025); }
.editorial-feature span { position:absolute; inset:auto 0 0; padding:42px 32px 24px; background:linear-gradient(transparent,#130e0de6); font-family:var(--serif); font-size:clamp(24px,3vw,42px); color:#fff3df; }
.editorial-feature b { float:right; font-family:var(--sans); }
#lunea-stubovi .guides { display:grid; grid-template-columns:repeat(5,1fr); gap:14px; }
#lunea-stubovi .guide { display:flex; flex-direction:column; min-height:250px; padding:26px 20px; border:1px solid #8f72554d; border-radius:10px; background:linear-gradient(145deg,#42302380,#1c1713); transition:border-color .2s,transform .2s; }
#lunea-stubovi .guide:hover,#lunea-stubovi .guide:focus-visible { border-color:var(--gold); transform:translateY(-4px); }
.guide__action { display:block; margin-top:auto; padding-top:24px; color:var(--gold); font-size:12px; }
@media(max-width:1000px) { #lunea-stubovi .guides { grid-template-columns:repeat(2,1fr); } }
.tt.has-video .studio-video { opacity:1; }
.tt.has-video .tt__canvas { visibility:hidden; }
.home-categories { background:radial-gradient(ellipse at 85% 20%,#332b23 0,transparent 55%),var(--bg); }
.home-categories .hgal__sticky { flex-direction:column; align-items:stretch; justify-content:center; gap:24px; padding:40px 0; }
.home-categories__heading .h-xl { font-size:clamp(38px,4vw,68px); }
.home-categories__heading > .lead { font-size:14px; margin:8px 0 0; }
.home-categories .catalog-directory__tabs { display:flex; position:static; background:none; padding:0; border:0; margin:18px 0 0; gap:12px; }
.home-categories .catalog-directory__tabs button { position:relative; display:flex; align-items:center; gap:14px; padding:6px 24px 6px 6px; border-radius:8px; overflow:hidden; background:#181614; border:1px solid #645545; color:var(--text); }
.home-categories .catalog-directory__tabs button img { width:52px; height:52px; object-fit:cover; border-radius:4px; }
.home-categories .catalog-directory__tabs button[aria-pressed="true"] { background:var(--gold-grad); color:#211b15; }
.home-categories .home-categories__featured { display:flex; width:max-content; gap:28px; margin:0; padding:0 max(var(--gutter),calc((100vw - 1224px)/2)); }
.home-categories .home-categories__card { flex:none; width:clamp(340px,39vw,620px); height:clamp(280px,47vh,540px); border:1px solid #76634a66; border-radius:8px; overflow:hidden; position:relative; background:#201b16; }
.home-categories .home-categories__card img { width:100%; height:100%; object-fit:cover; object-position:center 28%; transition:transform .8s; }
.home-categories .home-categories__card:hover img { transform:scale(1.035); }
.home-categories__card::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,#100d0a40,transparent 40%,#100d0adb); pointer-events:none; }
.home-categories .home-categories__card span { position:absolute; inset:auto 28px 26px; z-index:1; font-family:var(--serif); font-size:clamp(28px,2.8vw,46px); line-height:1.05; max-width:90%; background:none; padding:0; }
.home-categories__brand { position:absolute; top:22px; left:28px; z-index:1; letter-spacing:.25em; font-size:10px; color:#f6ebdb; }
.home-categories__footer { display:flex; align-items:center; justify-content:space-between; gap:20px; }
.home-categories__footer .catalog-directory__note { margin:0; max-width:60%; font-size:11px; }
.home-categories .hgal__progress { bottom:16px; }
.pcard__img--alt { display:none; }
.zoomband__img.is-style-texture img { position:absolute; width:500%; height:500%; max-width:none; object-fit:cover; left:-65%; top:-240%; }
@media(prefers-reduced-motion:reduce) {
  .home-categories .hgal__sticky { position:relative; height:auto; min-height:0; overflow:hidden; padding:64px 0; }
  .home-categories .home-categories__featured { width:100%; overflow-x:auto; scroll-snap-type:x mandatory; padding:0 var(--gutter) 16px; transform:none!important; }
  .home-categories .home-categories__card { width:82vw; height:56vh; scroll-snap-align:center; }
  .home-categories .hgal__progress { display:none; }
}
/* Phones keep the pinned rail: scrolling down slides the category cards right to left. */
@media(max-width:760px) and (prefers-reduced-motion:no-preference) {
  .home-categories.hgal { padding:0; }
  .home-categories .hgal__sticky { position:sticky; top:0; display:flex; height:100vh; height:100svh; overflow:hidden; gap:16px; padding:calc(var(--header-h) + var(--announce-h) + 8px) 0 28px; justify-content:flex-start; }
  .home-categories .home-categories__heading .h-xl { font-size:clamp(32px,9vw,40px); margin:10px 0 0; }
  .home-categories .home-categories__heading > .lead { font-size:13.5px; margin-top:6px; }
  .home-categories .catalog-directory__tabs { display:flex!important; overflow-x:auto; scrollbar-width:none; margin:14px calc(var(--gutter) * -1) 0; padding:0 var(--gutter); gap:8px; }
  .home-categories .catalog-directory__tabs::-webkit-scrollbar { display:none; }
  .home-categories .catalog-directory__tabs button { flex:none; white-space:nowrap; padding:4px 14px 4px 4px; }
  .home-categories .catalog-directory__tabs button img { width:34px; height:34px; }
  .home-categories .home-categories__featured.hgal__track { width:max-content; overflow:visible; scroll-snap-type:none; gap:14px; padding:0 var(--gutter); flex:1 1 auto; min-height:0; align-items:stretch; }
  .home-categories .home-categories__card { width:78vw; height:auto; min-height:0; }
  .home-categories .home-categories__card span { font-size:26px; inset:auto 20px 20px; }
  .home-categories .home-categories__brand { left:20px; top:18px; }
  .home-categories__footer .catalog-directory__note { display:none; }
  .home-categories .hgal__progress { display:block; bottom:14px; }
}
@media(max-width:760px) {
  .editorial-feature { aspect-ratio:1.2; }
  #lunea-stubovi .guide { min-height:225px; padding:22px 16px; }
  .home-categories .catalog-directory__tabs { display:grid; grid-template-columns:1fr 1fr; }
  .home-categories .catalog-directory__tabs button { padding-right:8px; gap:8px; font-size:11px; }
  .home-categories .catalog-directory__tabs button img { width:40px; height:44px; }
  .home-categories__footer { display:block; }
  .home-categories__footer .catalog-directory__note { max-width:100%; margin-bottom:14px; }
}

.pcard__image-link{position:absolute;inset:0;z-index:2}.pcard__quick{z-index:3}.pcard__media .pcard__img{object-fit:contain;background:transparent}#pdpZoom img{object-fit:contain}.pdp__thumbs{grid-template-columns:repeat(5,1fr)}
