/* =============================================================================
   SNEAKERA product page — Clean Solution Pro. Loads after tokens.css + base.css.
   Sections: pdp-hero (gallery + buy box + cross-sell) · bento · faq.
   ========================================================================== */
main { padding-top: clamp(92px, 11vw, 128px); background: var(--sk-surface); }
.sk-badge { display: inline-flex; align-items: center; padding: 8px 12px; border-radius: var(--sk-radius-sm);
  background: var(--sk-accent-100); color: var(--sk-accent-700);
  font-weight: 600; font-size: var(--sk-text-sm); letter-spacing: 0.04em; text-transform: uppercase; }

/* ============================ HERO ============================ */
.sk-pdp-hero { display: flex; gap: 16px; align-items: flex-start; padding-block: var(--sk-space-6); }
.sk-pdp-hero__gallery { flex: 1 1 0; min-width: 0; display: flex; gap: 8px; align-items: flex-start; }
.sk-pdp-hero__thumbs { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }
.sk-pdp-hero__thumb { width: 100px; height: 100px; border-radius: var(--sk-radius-sm); overflow: hidden;
  border: 1.5px solid var(--sk-border); background: var(--sk-surface-card); padding: 0; cursor: pointer;
  transition: border-color var(--sk-dur); }
.sk-pdp-hero__thumb img { width: 100%; height: 100%; object-fit: cover; }
.sk-pdp-hero__thumb.is-active { border-color: var(--sk-accent); }
.sk-pdp-hero__main { flex: 1 1 0; min-width: 0; height: clamp(420px, 44vw, 632px);
  border-radius: var(--sk-radius-card); overflow: hidden; border: 1px solid var(--sk-border); background: var(--sk-surface-card);
  position: relative; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.sk-pdp-hero__main.is-dragging { cursor: grabbing; }
.sk-pdp-hero__main img { width: 100%; height: 100%; object-fit: cover; transition: opacity var(--sk-dur); }
/* frecce galleria (iniettate da pdp.js) */
.sk-pdp-gal-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(15,15,15,0.55); color: var(--sk-fg); border: 1px solid rgba(255,255,255,0.16);
  transition: background-color var(--sk-dur), color var(--sk-dur), border-color var(--sk-dur); }
.sk-pdp-gal-arrow--prev { left: 14px; }
.sk-pdp-gal-arrow--next { right: 14px; }
.sk-pdp-gal-arrow:hover { background: var(--sk-accent); color: var(--sk-accent-fg); border-color: var(--sk-accent); }
.sk-pdp-gal-arrow svg { width: 20px; height: 20px; }
@media (max-width: 980px) { .sk-pdp-gal-arrow { width: 40px; height: 40px; } }
.sk-pdp-hero__info { flex: 0 0 525px; display: flex; flex-direction: column; gap: var(--sk-space-5); align-items: flex-start; }
.sk-pdp-hero__head { display: flex; flex-direction: column; gap: var(--sk-space-2); align-items: flex-start; }
.sk-pdp-hero__title { font-family: var(--sk-font-display); font-weight: 800; font-size: var(--sk-text-3xl);
  line-height: 1; letter-spacing: var(--sk-tracking-subhead); color: var(--sk-fg); }
.sk-pdp-hero__desc { font-size: var(--sk-text-base); color: var(--sk-muted); line-height: 1.5; }
.sk-pdp-hero__price { font-family: var(--sk-font-display); font-weight: 700; font-size: var(--sk-text-2xl); color: var(--sk-fg); }
.sk-pdp-hero__label { font-size: var(--sk-text-sm); color: var(--sk-fg); }
.sk-pdp-hero__sizes, .sk-pdp-hero__cross { display: flex; flex-direction: column; gap: var(--sk-space-2); width: 100%; align-items: flex-start; }
.sk-chips { display: flex; gap: 8px; }
.sk-chip { height: 36px; min-width: 56px; padding: 8px 16px; border-radius: var(--sk-radius-sm);
  border: 1.5px solid var(--sk-border); background: var(--sk-surface-card); color: var(--sk-muted);
  font-size: var(--sk-text-sm); transition: background-color var(--sk-dur), color var(--sk-dur), border-color var(--sk-dur); }
.sk-chip:hover:not(.is-active) { border-color: var(--sk-accent); color: var(--sk-fg); }
.sk-chip.is-active { background: var(--sk-accent-700); border-color: var(--sk-accent-700); color: #fff; }
.sk-pdp-hero__cta { display: flex; gap: 8px; width: 100%; }
.sk-pdp-hero__cta .sk-btn { flex: 1; height: 48px; padding-inline: var(--sk-space-5); }
.sk-pdp-hero__divider { width: 100%; height: 1px; background: var(--sk-border); border: 0; }
.sk-cross { display: flex; gap: 16px; width: 100%; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.sk-cross__card { flex: 0 0 242px; display: flex; gap: 12px; padding: 16px; border-radius: var(--sk-radius-card);
  background: var(--sk-surface-card); border: 1px solid var(--sk-border); transition: border-color var(--sk-dur); }
.sk-cross__card:hover { border-color: var(--sk-accent); }
.sk-cross__card img { width: 76px; height: 76px; border-radius: var(--sk-radius-sm); object-fit: cover; flex-shrink: 0; }
.sk-cross__info { display: flex; flex-direction: column; gap: 4px; justify-content: center; }
.sk-cross__name { font-size: var(--sk-text-base); color: var(--sk-fg); font-weight: 600; }
.sk-cross__desc { font-size: var(--sk-text-sm); color: var(--sk-muted); }
.sk-cross__price { font-size: var(--sk-text-sm); color: var(--sk-fg); font-weight: 600; }

/* ============================ BENTO ============================ */
.sk-pdpbento { padding-block: var(--sk-space-7); }
.sk-pdpbento__head { display: flex; flex-direction: column; gap: var(--sk-space-4); align-items: flex-start; margin-bottom: var(--sk-space-5); }
.sk-pdpbento__h2 { font-family: var(--sk-font-display); font-weight: 800; font-size: var(--sk-text-3xl); color: var(--sk-fg); line-height: 1.05; }
.sk-pdpbento__lead { font-size: var(--sk-text-base); color: var(--sk-muted); max-width: 64ch; line-height: 1.5; }
.sk-pdpbento__video { position: relative; aspect-ratio: 1280/720; border-radius: var(--sk-radius-card);
  overflow: hidden; border: 1px solid var(--sk-border); background: var(--sk-surface-card); margin-bottom: var(--sk-space-7); }
.sk-pdpbento__video img { width: 100%; height: 100%; object-fit: cover; }
.sk-pdpbento__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 80px; height: 80px; border-radius: var(--sk-radius-sm); border: 1.5px solid #fff;
  display: grid; place-items: center; color: #fff; background: rgba(0,0,0,0.25);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: transform var(--sk-dur); }
.sk-pdpbento__play:hover { transform: translate(-50%,-50%) scale(1.06); }
.sk-pdpbento__play svg { width: 26px; height: 26px; }
.sk-pdpbento__rows { display: flex; flex-direction: column; gap: 20px; }
.sk-pdpbento__row { display: grid; gap: 16px; }
.sk-pdpbento__row--1 { grid-template-columns: 2fr 1fr; }
.sk-pdpbento__row--2 { grid-template-columns: 2fr 1fr 1fr; }
.sk-bento { position: relative; border-radius: var(--sk-radius-card); overflow: hidden;
  border: 1px solid var(--sk-border); background: var(--sk-surface-card); min-height: 320px; }
.sk-bento--ba { min-height: 380px; }
/* background-image tiles */
.sk-bento--bg .sk-bento__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.sk-bento--bg::after { content: ""; position: absolute; inset: 0; z-index: 0; background: rgba(8,8,8,0.62); }
.sk-bento--bg .sk-bento__pad, .sk-bento--bg .sk-bento__overlay { position: relative; z-index: 1; }
/* foam image-only tile */
.sk-bento--foam { box-shadow: var(--sk-glow-clean); }
.sk-bento--foam img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* before/after split */
.sk-ba { display: grid; grid-template-columns: 1fr 1fr; height: 100%; min-height: 380px; position: relative; }
.sk-ba__half { position: relative; overflow: hidden; }
.sk-ba__half img { width: 100%; height: 100%; object-fit: cover; }
.sk-ba__badge { position: absolute; bottom: 16px; padding: 8px 12px; border-radius: var(--sk-radius-sm);
  font-size: var(--sk-text-sm); font-weight: 600; text-transform: uppercase; z-index: 2; }
.sk-ba__badge--corner { top: 16px; bottom: auto; left: 16px; background: var(--sk-surface-card); color: var(--sk-fg); }
.sk-ba__half--before .sk-ba__badge:not(.sk-ba__badge--corner) { left: 16px; background: rgba(15,15,15,0.7); color: var(--sk-fg); }
.sk-ba__half--after  .sk-ba__badge { right: 16px; background: var(--sk-accent); color: var(--sk-accent-fg); }
.sk-ba::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
  background: var(--sk-accent); transform: translateX(-50%); box-shadow: var(--sk-glow); z-index: 2; }
/* text tiles */
.sk-bento__pad { padding: var(--sk-space-6); display: flex; flex-direction: column; gap: var(--sk-space-3); height: 100%; }
.sk-bento__chip { width: 40px; height: 40px; border-radius: var(--sk-radius-sm); display: grid; place-items: center;
  background: var(--sk-accent-100); color: var(--sk-accent-700); }
.sk-bento__chip svg { width: 22px; height: 22px; }
.sk-bento__title { font-family: var(--sk-font-display); font-weight: 700; font-size: var(--sk-text-xl); color: var(--sk-fg); line-height: 1.1; }
.sk-bento__text { font-size: var(--sk-text-sm); color: var(--sk-muted); line-height: 1.5; }
.sk-bento__link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--sk-accent);
  font-weight: 600; font-size: var(--sk-text-sm); }
.sk-bento__link svg { width: 16px; height: 16px; flex-shrink: 0; }
.sk-bento__stat { margin-top: auto; display: flex; flex-direction: column; gap: 2px; padding-top: var(--sk-space-4); border-top: 1px solid var(--sk-border); }
.sk-bento__stat-n { font-family: var(--sk-font-display); font-weight: 800; font-size: var(--sk-text-xl); color: var(--sk-accent); }
.sk-bento__stat-s { font-size: var(--sk-text-xs); color: var(--sk-muted); }
.sk-bento__overlay { position: absolute; inset: auto 0 0 0; padding: var(--sk-space-5);
  background: linear-gradient(0deg, rgba(8,8,8,0.92), transparent); }
.sk-bento__overlay .sk-bento__title { font-size: var(--sk-text-lg); }

/* ============================ FAQ ============================ */
.sk-faq { padding-block: var(--sk-space-7); }
.sk-faq__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.sk-faq__card { background: var(--sk-surface-card); border: 1px solid var(--sk-border);
  border-radius: var(--sk-radius-card); padding: 40px 32px; }
.sk-faq__title { font-family: var(--sk-font-display); font-weight: 800; font-size: var(--sk-text-3xl);
  color: var(--sk-fg); margin-bottom: var(--sk-space-5); line-height: 1; }
.sk-acc__item { border-bottom: 1px solid var(--sk-border); }
.sk-acc__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: var(--sk-space-4);
  padding: var(--sk-space-4) 0; text-align: left; font-size: var(--sk-text-base); font-weight: 600; color: var(--sk-fg); }
.sk-acc__icon { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.sk-acc__icon::before, .sk-acc__icon::after { content: ""; position: absolute; background: var(--sk-accent);
  left: 50%; top: 50%; transition: transform var(--sk-dur); }
.sk-acc__icon::before { width: 14px; height: 2px; transform: translate(-50%,-50%); }
.sk-acc__icon::after  { width: 2px; height: 14px; transform: translate(-50%,-50%); }
.sk-acc__item.is-open .sk-acc__icon::after { transform: translate(-50%,-50%) scaleY(0); }
.sk-acc__a { max-height: 0; overflow: hidden; transition: max-height var(--sk-dur) var(--sk-ease); }
.sk-acc__item.is-open .sk-acc__a { max-height: 260px; }
.sk-acc__a p { padding-bottom: var(--sk-space-4); color: var(--sk-muted); font-size: var(--sk-text-sm); line-height: 1.55; }
.sk-faq__media { border-radius: var(--sk-radius-card); overflow: hidden; border: 1px solid var(--sk-border); min-height: 320px; }
.sk-faq__media img { width: 100%; height: 100%; object-fit: cover; }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 980px) {
  .sk-pdp-hero { flex-direction: column; gap: var(--sk-space-5); }
  .sk-pdp-hero__gallery { flex-direction: column-reverse; width: 100%; }
  .sk-pdp-hero__thumbs { flex-direction: row; }
  .sk-pdp-hero__main { flex: 0 0 auto; width: 100%; height: auto; aspect-ratio: 1/1; }
  .sk-pdp-hero__info { flex-basis: auto; width: 100%; }
  .sk-pdpbento__row--1 { grid-template-columns: 1fr; }
  .sk-pdpbento__row--2 { grid-template-columns: 1fr 1fr; }
  .sk-bento { min-height: 280px; }
  .sk-faq__grid { grid-template-columns: 1fr; }
  .sk-faq__media { min-height: 260px; }
}
@media (max-width: 560px) {
  .sk-pdp-hero__cta { flex-direction: column; }
  .sk-pdpbento__row--1, .sk-pdpbento__row--2 { grid-template-columns: 1fr; }
  .sk-faq__card { padding: var(--sk-space-6) var(--sk-space-5); }
}
