.pdp { padding-top: 18px; }
.pdp > .container:first-child .crumbs { color: var(--gray-600); opacity: 1; margin-bottom: 16px; }
.pdp__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); align-items: start; }

/* gallery */
.pdp__gallery { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 12px; }
.pdp__stage { position: relative; aspect-ratio: 1 / 1.02; overflow: hidden; isolation: isolate; display: grid; place-items: center; background: #1a1a1a; }
.pdp__stage .env { z-index: -2; filter: saturate(.85); }
.pdp__stage::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 55% 55% at 50% 46%, rgba(255,255,255,.55), rgba(255,255,255,.12) 55%, rgba(0,0,0,.35) 100%); }
.pdp--tunnel .pdp__stage::after, .pdp--hall .pdp__stage::after, .pdp--wood .pdp__stage::after, .pdp--brick .pdp__stage::after { background: radial-gradient(ellipse 52% 52% at 50% 46%, rgba(255,250,240,.75), rgba(255,250,240,.2) 55%, rgba(0,0,0,.45) 100%); }
/* the product hangs in the same frame style as on its wall; the photo sits on a light mat */
.pdp__display { display: block; width: min(82%, 560px); }
.pdp__display .exhibit__frame { --frame-pad: 16px; }
.pdp__display .exhibit__mat { --mat-pad: 5%; }
.pdp__display:hover .exhibit__frame, .pdp__display:active .exhibit__frame { transform: none; }
.pdp__main { display: block; }
.pdp__main .shirt-media__box > img, .pdp__main .shirt-media__box > .shirt-svg { animation: mainIn .35s var(--ease); filter: drop-shadow(0 18px 18px rgba(0,0,0,.25)); }
@keyframes mainIn { from { opacity: .3; transform: scale(.98); } to { opacity: 1; transform: none; } }
.pdp__main .shirt-media__tag { opacity: 1; font-size: 11px; }
.pdp__view-label { position: absolute; bottom: 14px; inset-inline-end: 14px; background: var(--black); color: var(--white); font-size: 12px; font-weight: 700; padding: 4px 10px; }
.pdp__thumbs { display: grid; grid-template-columns: repeat(2, minmax(0, 132px)) 1fr; gap: 10px; align-items: center; }
.pdp__hint { font-size: 13px; color: var(--gray-600); padding-inline-start: 6px; }
.pdp__kicker .flag { margin-inline-end: 2px; }
.thumb { background: var(--gray-100); padding: 8px 8px 4px; display: grid; gap: 2px; border: 2px solid transparent; transition: border-color var(--t-fast), background var(--t-fast); }
.thumb span { font-size: 12px; font-weight: 700; color: var(--gray-600); }
.thumb:hover { background: var(--gray-200); }
.thumb.is-on { border-color: var(--black); background: var(--white); }
.thumb.is-on span { color: var(--black); }

/* info */
.pdp__info { display: grid; gap: 14px; padding-bottom: 30px; }
.pdp__kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-family: var(--f-display); font-size: 22px; letter-spacing: .06em; }
.pdp__kicker .pill { font-family: var(--f-body); }
.pdp__title { font-family: var(--f-display-he); font-weight: 700; font-size: clamp(48px, 5vw, 76px); line-height: .9; }
.pdp__title span { display: block; font-family: var(--f-body); font-size: 18px; font-weight: 600; color: var(--gray-600); margin-top: 6px; line-height: 1.3; }
.pdp__meta { display: flex; gap: 0; margin: 0; border-block: 1px solid var(--gray-200); }
.pdp__meta div { padding: 10px 16px; border-inline-start: 1px solid var(--gray-200); }
.pdp__meta div:first-child { border: 0; padding-inline-start: 0; }
.pdp__meta dt { font-size: 12px; color: var(--gray-500); }
.pdp__meta dd { margin: 0; font-weight: 800; }
.pdp__meta dd[dir="ltr"] { text-align: right; }
.pdp__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; font-size: 34px; font-weight: 900; }
.pdp__price s { font-size: 20px; color: var(--gray-500); font-weight: 500; }
.pdp__price .save { font-size: 14px; background: var(--yellow); padding: 3px 10px; font-weight: 800; }
.pdp__desc { color: var(--gray-700); max-width: 60ch; }
.pdp__replica { display: flex; gap: 6px; align-items: center; font-size: 13px; color: var(--gray-600); }
.pdp__replica .icon { width: 16px; height: 16px; }

.pdp__form { display: grid; gap: 12px; margin-top: 6px; }
.opt { border: 2px solid var(--gray-200); padding: 16px; transition: border-color var(--t-fast), background var(--t-fast); }
.opt legend { float: inline-start; width: 100%; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 12px; padding: 0; }
.opt legend > span { font-weight: 900; font-size: 17px; }
.opt legend > small { color: var(--gray-500); font-size: 13px; margin-inline-end: auto; }
.opt legend + * { clear: both; }
.opt__error { color: var(--danger); font-weight: 700; font-size: 14px; margin-top: 10px; }
.opt--toggle.is-on { border-color: var(--black); background: #FFFCEB; }

.sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; }
.size { min-height: 54px; border: 2px solid var(--gray-300); background: var(--white); font-weight: 800; font-size: 17px; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; transition: all var(--t-fast); }
.size small { font-size: 10px; font-weight: 700; color: var(--danger); }
.size:hover:not(:disabled) { border-color: var(--black); }
.size.is-on { background: var(--black); color: var(--yellow); border-color: var(--black); }
.size.is-on small { color: var(--yellow); }
.size.is-out { color: var(--gray-400); background: repeating-linear-gradient(-45deg, var(--gray-100) 0 6px, var(--white) 6px 12px); cursor: not-allowed; text-decoration: line-through; }
.size.is-out small { color: var(--gray-500); text-decoration: none; }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg__item { position: relative; cursor: pointer; }
.seg__item input { position: absolute; opacity: 0; }
.seg__item span { display: flex; flex-direction: column; padding: 12px 14px; border: 2px solid var(--gray-300); min-height: 64px; justify-content: center; transition: all var(--t-fast); }
.seg__item small { font-size: 13px; color: var(--gray-600); }
.seg__item input:checked + span { border-color: var(--black); background: var(--black); color: var(--white); }
.seg__item input:checked + span small { color: var(--yellow); }
.seg__item input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }

.toggle-row { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; cursor: pointer; }
.toggle-row input { position: absolute; opacity: 0; }
.toggle-row__box { width: 26px; height: 26px; border: 2px solid var(--black); display: grid; place-items: center; background: var(--white); transition: background var(--t-fast); }
.toggle-row input:checked + .toggle-row__box { background: var(--black); }
.toggle-row input:checked + .toggle-row__box::after { content: ""; width: 12px; height: 7px; border-left: 3px solid var(--yellow); border-bottom: 3px solid var(--yellow); transform: rotate(-45deg) translate(1px, -1px); }
.toggle-row input:focus-visible + .toggle-row__box { outline: 3px solid var(--yellow); outline-offset: 2px; }
.toggle-row__text { display: flex; flex-direction: column; }
.toggle-row__text strong { font-size: 17px; }
.toggle-row__text small { color: var(--gray-600); font-size: 13px; }
.toggle-row__price { font-weight: 900; }
.print-fields, .shorts-fields { display: grid; grid-template-columns: 1fr 110px; gap: 10px; margin-top: 14px; }
.shorts-fields { grid-template-columns: 1fr; max-width: 260px; }
.print-fields .opt__error { grid-column: 1 / -1; margin: 0; }
.print-fields input { font-family: var(--f-display); font-size: 24px; letter-spacing: .08em; }

.patches { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 8px; }
.patch { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; padding: 8px 12px 8px 10px; border: 2px solid var(--gray-300); cursor: pointer; position: relative; transition: all var(--t-fast); }
.patch input { position: absolute; opacity: 0; }
.patch__art svg, .patch__art img { width: 44px; height: 44px; object-fit: contain; }
.patch__name { display: flex; flex-direction: column; font-weight: 700; font-size: 14px; line-height: 1.25; }
.patch__name small { font-weight: 500; color: var(--gray-500); font-size: 12px; text-align: right; }
.patch__price { font-weight: 900; font-size: 14px; }
.patch:hover { border-color: var(--black); }
.patch.is-on { border-color: var(--black); background: #FFFCEB; box-shadow: inset 0 0 0 1px var(--black); }
.patch.is-on::after { content: ""; position: absolute; top: -2px; inset-inline-start: -2px; border: 9px solid transparent; border-top-color: var(--black); border-inline-start-color: var(--black); }
.patch:has(input:focus-visible) { outline: 3px solid var(--yellow); outline-offset: 2px; }
.patch.is-locked { opacity: .5; cursor: not-allowed; border-style: dashed; }

.summary { background: var(--black); color: var(--white); padding: 18px 20px; display: grid; gap: 8px; }
.summary h3 { font-size: 13px; font-weight: 800; letter-spacing: .06em; color: var(--yellow); }
.summary ul { display: grid; gap: 6px; font-size: 15px; }
.summary li, .summary__row { display: flex; justify-content: space-between; gap: 10px; }
.summary li span:first-child, .summary__row span:first-child { color: rgba(255,255,255,.72); }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px dashed rgba(255,255,255,.25); padding-top: 10px; margin-top: 4px; }
.summary__total strong { font-size: 30px; color: var(--yellow); }
.buy-row { display: flex; gap: 10px; align-items: stretch; }
.buy-row .btn { min-height: 56px; }

.mobile-buy { position: fixed; z-index: 40; bottom: 0; inset-inline: 0; background: var(--black); color: var(--white); display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform var(--t) var(--ease); }
.mobile-buy span { display: flex; flex-direction: column; font-weight: 900; font-size: 20px; line-height: 1.1; }
.mobile-buy small { font-size: 11px; font-weight: 600; color: rgba(255,255,255,.6); }
.mobile-buy.is-shown { transform: none; }

.related { background: var(--black); color: var(--white); padding-block: 56px 40px; margin-top: 40px; position: relative; overflow: hidden; }
.related__title { font-family: var(--f-display-he); font-size: 54px; line-height: 1; color: var(--yellow); }
.related__rail { display: flex; gap: 30px; overflow-x: auto; padding: 60px max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))) 30px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.related__rail::-webkit-scrollbar { display: none; }
.related__rail .exhibit { flex: 0 0 240px; scroll-snap-align: start; }

@media (max-width: 900px) {
  .pdp__grid { grid-template-columns: 1fr; }
  .pdp__gallery { position: static; margin-inline: calc(var(--gutter) * -1); }
  .pdp__stage { aspect-ratio: 1 / 1; }
  .pdp__display { width: 84%; }
  .pdp__thumbs { padding-inline: var(--gutter); grid-template-columns: repeat(2, minmax(0, 110px)) 1fr; }
  .mobile-buy { display: flex; }
  .pdp { padding-bottom: 76px; }
}
@media (max-width: 420px) { .seg { grid-template-columns: 1fr; } .print-fields { grid-template-columns: 1fr 86px; } }
.pdp__soldout { display: grid; gap: 2px; padding: 12px 14px; border-inline-start: 5px solid #C62F36; background: #FFF0F0; color: #7A1D22; font-size: 14px; }
.pdp__soldout strong { font-size: 17px; font-weight: 900; color: #C62F36; }
.btn[disabled] { opacity: .55; cursor: not-allowed; filter: grayscale(.4); }
