.page-head { padding-top: 20px; padding-bottom: 30px; max-width: 620px; }
.page-head h1 { font-size: 32px; font-weight: 600; margin-bottom: 10px; }
.page-head p { color: var(--muted); font-size: 15px; }

.product-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; padding-bottom: 80px; align-items: start; }

.gallery-main {
  aspect-ratio: 1/1; border-radius: 20px; background: var(--card); border: 1px solid var(--card-line);
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px;
  position: relative; overflow: hidden; cursor: crosshair;
}
.gallery-badge { position: absolute; top: 18px; left: 18px; background: var(--ink); color: var(--paper); font-size: 11px; font-weight: 600; padding: 5px 12px; border-radius: 100px; letter-spacing: .03em; }
#galleryIcon.swapping { animation: gallerySwap .38s cubic-bezier(.3,1.3,.4,1); }
@keyframes gallerySwap { 0%{transform:scale(1) rotate(0);} 40%{transform:scale(.8) rotate(-6deg);} 70%{transform:scale(1.06) rotate(2deg);} 100%{transform:scale(1) rotate(0);} }
.ph-label { font-size: 13px; color: var(--muted); font-weight: 500; text-align: center; max-width: calc(100% - 48px); }

.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-top: 12px; }
.thumb { aspect-ratio: 1/1; border-radius: 10px; background: var(--card); border: 1.5px solid var(--card-line); display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; font-size: 11px; color: var(--muted); font-weight: 500; transition: border-color .15s ease; }
.thumb .play { width: 0; height: 0; border-left: 8px solid var(--muted); border-top: 5px solid transparent; border-bottom: 5px solid transparent; margin-bottom: 4px; }
.thumb { overflow: hidden; padding: 0; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.zoom-lens { position: absolute; width: 150px; height: 150px; border-radius: 50%; border: 2px solid var(--ink); overflow: hidden; pointer-events: none; box-shadow: 0 8px 20px rgba(23,24,28,.18); z-index: 10; }
.zoom-lens-inner { position: absolute; pointer-events: none; }

.style-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.style-tab { padding: 9px 16px; border-radius: 100px; border: 1.5px solid var(--card-line); background: var(--paper); font-size: 13px; font-weight: 600; color: var(--muted); }
.style-tab.active { border-color: var(--ink); color: var(--ink); background: var(--card); }

.item-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.item-chip { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 68px; padding: 8px 4px; border-radius: 12px; border: 1.5px solid var(--card-line); background: var(--card); }
.item-chip.active { border-color: var(--orange); background: #fff6f1; }
.item-chip span { font-size: 9.5px; color: var(--muted); text-align: center; line-height: 1.2; }
.chip-photo { position: relative; width: 36px; height: 36px; border-radius: 8px; overflow: hidden; background: var(--card); display: block; flex-shrink: 0; }

.show-all-link { font-size: 12px; color: var(--orange-dark); background: none; border: none; text-decoration: underline; margin-bottom: 20px; display: inline-block; }

hr.divider { border: none; border-top: 1px solid var(--line); margin: 20px 0 22px; }

.p-eyebrow { font-size: 13px; font-weight: 600; color: var(--orange-dark); margin-bottom: 8px; }
.p-title { font-size: 24px; font-weight: 600; margin-bottom: 8px; }
.p-desc { font-size: 14px; color: var(--muted); margin-bottom: 16px; max-width: 400px; }
.p-price { font-size: 20px; font-weight: 700; margin-bottom: 20px; }

.product-layout .btn { padding: 14px 22px; width: 100%; }
.product-layout .btn:active { transform: scale(.96); }

@media (max-width: 860px) {
  .product-layout { grid-template-columns: 1fr; }
}
