/* Products */
.slider-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.sec-head.compact { margin-bottom: 0; gap: 4px; }
.sec-head.compact h2 { font-size: clamp(1.25rem, 2.6vw, 1.6rem); }
.slider-nav { display: flex; align-items: center; gap: 8px; }
.slide-count { font-family: var(--font-mono); font-size: .85rem; color: var(--muted); margin-right: 6px; font-variant-numeric: tabular-nums; }
.nav-btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--rule); background: var(--surface); color: var(--fg); font-size: 1.6rem; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 3px; }
.nav-btn:hover { border-color: var(--cork); color: var(--cork-ink); }
.slider { display: flex; align-items: flex-start; overflow-y: hidden; transition: height .35s ease; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; border-radius: 16px; border: 1px solid var(--rule); scrollbar-width: none; overscroll-behavior-x: contain; }
.slider::-webkit-scrollbar { display: none; }
.slider:focus-visible { outline: 3px solid var(--cork); outline-offset: 3px; }
.slide { flex: 0 0 100%; scroll-snap-align: start; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); background: var(--surface); min-width: 0; }
@media (max-width: 640px) { .slide { grid-template-columns: 1fr; } }
.slide-art { background: var(--court-deep); display: grid; place-items: center; padding: 32px 24px; position: relative; overflow: hidden; min-height: 190px; }
.slide-art::before { content: ""; position: absolute; inset: 16px; border: 2px solid rgba(255, 255, 255, .12); border-radius: 3px; }
.slide-art::after { content: ""; position: absolute; left: 50%; top: 16px; bottom: 16px; border-left: 2px dashed rgba(255, 255, 255, .14); }
.slide-art svg { width: clamp(90px, 13vw, 140px); height: auto; color: var(--cork); position: relative; z-index: 1; }
.slide-body { padding: clamp(24px, 4vw, 44px); display: grid; gap: 14px; align-content: center; min-width: 0; }
.slide-body h3 { font-size: clamp(1.35rem, 3vw, 1.9rem); font-weight: 700; }
.slide-body p { color: var(--muted); max-width: 52ch; }
.slide-body .tag { font-family: var(--font-mono); font-size: .78rem; color: var(--cork-ink); letter-spacing: .06em; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1px solid var(--rule); border-radius: 999px; padding: 3px 12px; font-size: .88rem; }
.text-link { color: var(--cork-ink); font-weight: 600; text-decoration: none; justify-self: start; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.dots { display: flex; justify-content: center; gap: 2px; margin-top: 12px; }
.dots button { width: 26px; height: 26px; padding: 8px; border: 0; border-radius: 999px; background: var(--rule); background-clip: content-box; cursor: pointer; transition: width .25s ease; }
.dots button[aria-current="true"] { width: 44px; background-color: var(--cork); }
.slider-foot { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 6px; }

/* Product shelf */
.shelf { margin-top: 20px; display: grid; gap: 16px; }
.shelf:has(.pf[hidden]) { display: none; }
.slide-products { grid-column: 1 / -1; border-top: 1px solid var(--rule); padding: 20px clamp(20px, 4vw, 44px) 28px; display: grid; gap: 14px; min-width: 0; }
.sp-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sp-title { font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; }
.sp-count { font-family: var(--font-mono); font-size: .8rem; color: var(--muted); }
.sp-head .btn { margin-left: auto; font-size: .92rem; padding: 8px 16px; }
.sp-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 14px; }
.sp-grid:empty { display: none; }
.sp-empty { color: var(--muted); font-size: .9rem; border: 1.5px dashed var(--rule); border-radius: 12px; padding: 16px; text-align: center; }
.pcard { background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; min-width: 0; }
.pcard .ph { aspect-ratio: 1 / 1; max-width: 100%; background: var(--bg); display: grid; place-items: center; overflow: hidden; }
.pcard .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pcard .noimg { font-size: .85rem; color: var(--muted); }
.pcard .pbody { padding: 12px 14px 14px; display: grid; gap: 4px; align-content: start; }
.pcard .pname { font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.pcard .pnote { font-size: .84rem; color: var(--muted); overflow-wrap: anywhere; }
.pcard .pprice { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--cork-ink); font-variant-numeric: tabular-nums; }
.pcard .padmin { display: flex; gap: 12px; margin-top: 4px; }
.pf { background: var(--surface); border: 1px solid var(--rule); border-radius: 16px; padding: 20px 22px; display: grid; grid-template-columns: minmax(0, 180px) minmax(0, 1fr); gap: 20px; }
@media (max-width: 640px) { .pf { grid-template-columns: 1fr; } }
.pf-photo { display: grid; gap: 10px; align-content: start; }
.pf-preview { aspect-ratio: 1 / 1; max-width: 100%; border: 1.5px dashed var(--rule); border-radius: 12px; background: var(--bg); display: grid; place-items: center; overflow: hidden; color: var(--muted); font-size: .85rem; text-align: center; }
.pf-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-fields { display: grid; gap: 12px; min-width: 0; }
.pf-fields h4 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; }
.pf label { display: grid; gap: 4px; font-size: .85rem; color: var(--muted); min-width: 0; }
.pf-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 12px; }
.pf input[type="text"], .pf input[type="number"], .pf select { width: 100%; font: inherit; font-size: .95rem; color: var(--fg); background: var(--bg); border: 1.5px solid var(--rule); border-radius: 10px; padding: 9px 12px; }
.pf input[type="file"] { font: inherit; font-size: .82rem; color: var(--fg); max-width: 100%; }
.pf input:focus, .pf select:focus { outline: none; border-color: var(--cork); }
.pf .btn[disabled] { opacity: .55; cursor: default; }
