/* product page specifics */
.crumbs { font-size: 0.82rem; margin-bottom: 1.6rem; }
.crumbs a:hover { color: var(--gold-bright); }

.product-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .product-layout { grid-template-columns: 1fr; } }

.viewer-3d {
  position: relative; aspect-ratio: 1; border-radius: 22px; overflow: hidden;
  background: radial-gradient(circle at 50% 40%, #221c1e, #100d0e 70%);
  border: 1px solid var(--line); box-shadow: var(--shadow); cursor: grab;
}
.viewer-3d:active { cursor: grabbing; }
.viewer-3d canvas { display: block; width: 100% !important; height: 100% !important; }
.viewer-hint { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); pointer-events: none; z-index: 2; }
/* selected photo overlays the 3D model */
.viewer-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 3; background: var(--ink); }

.thumbs { display: flex; gap: 0.7rem; margin-top: 0.9rem; flex-wrap: wrap; }
.thumbs .thumb { width: 70px; height: 70px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); cursor: pointer; background: var(--surface-2); padding: 0; display: grid; place-items: center; }
.thumbs .thumb.active { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.thumbs .thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumbs .thumb-3d span { font-family: var(--serif); font-size: 1.1rem; letter-spacing: 1px; color: var(--gold-bright); }
.thumbs .thumb-3d { background: radial-gradient(circle at 50% 40%, #241c1e, #120d0e); }

.product-info .cat { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.product-info .price .now { font-size: 2rem; font-family: var(--serif); color: var(--gold-bright); }
.product-info .price .was { color: var(--faint); text-decoration: line-through; margin-left: 0.6rem; }

.variant-group { margin: 1.4rem 0; }
.variant-group .lbl { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.6rem; }
.variant-chips { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.variant-chip { padding: 0.5em 1.1em; border: 1px solid var(--line); border-radius: 100px; cursor: pointer; font-size: 0.85rem; color: var(--muted); transition: all 0.2s; background: none; }
.variant-chip.active { border-color: var(--gold); color: var(--gold-bright); background: rgba(201, 162, 75, 0.08); }

.buy-row { display: flex; gap: 1rem; margin-top: 1.6rem; align-items: stretch; }
.qty-box { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 100px; overflow: hidden; }
.qty-box button { width: 42px; background: var(--surface); border: 0; color: var(--text); font-size: 1.1rem; cursor: pointer; }
.qty-box button:hover { color: var(--gold-bright); }
.qty-box input { width: 48px; text-align: center; background: transparent; border: 0; color: var(--text); font-family: var(--sans); padding: 0.7em 0; }
.buy-row .btn-primary { flex: 1; }

/* availability: out-of-stock / coming-soon */
.stock-status { display: inline-block; margin: 1.4rem 0 .2rem; padding: .5em 1.1em; border-radius: 100px; font-size: .84rem; font-weight: 500; letter-spacing: .02em; }
.stock-status.out { background: rgba(138, 75, 70, .14); color: #c98a84; border: 1px solid #8a4b46; }
.stock-status.soon { background: rgba(201, 162, 75, .12); color: var(--gold-bright); border: 1px solid var(--gold); }
/* the notify-me CTA takes the gold spotlight in place of "Купи веднага" */
#notifyBtn { background: var(--grad-rosegold); color: #211a10; border: 0; box-shadow: var(--shadow-gold); }
#notifyBtn:hover:not([disabled]) { transform: translateY(-2px); filter: brightness(1.06); }
.notify-box { gap: .6rem; margin-top: .7rem; }
.notify-box:not(.hidden) { display: flex; }
.notify-box .input { flex: 1; }

.trust { display: flex; gap: 1.2rem; flex-wrap: wrap; margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }

/* tabs */
.tabs { display: flex; gap: 0.4rem; border-bottom: 1px solid var(--line); margin: 3.5rem 0 0; flex-wrap: wrap; }
.tab { background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted); padding: 0.9em 1.2em; cursor: pointer; font-family: var(--sans); font-size: 0.84rem; letter-spacing: 0.12em; text-transform: uppercase; }
.tab.active { color: var(--gold-bright); border-bottom-color: var(--gold); }
.tab-panel { display: none; padding: 2rem 0; }
.tab-panel.active { display: block; animation: fade 0.4s; }
@keyframes fade { from { opacity: 0; } }

.specs { width: 100%; border-collapse: collapse; max-width: 560px; }
.specs td { padding: 0.85em 0; border-bottom: 1px solid var(--line); }
.specs td:first-child { color: var(--muted); width: 45%; }
.specs td:last-child { color: var(--text); }

/* faq */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; color: var(--text); padding: 1.2em 0; cursor: pointer; font-family: var(--serif); font-size: 1.2rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq-q .ico { color: var(--gold); transition: transform 0.3s; }
.faq-q.open .ico { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; color: var(--muted); }
.faq-a .inner { padding: 0 0 1.2em; max-width: 65ch; }

/* reviews */
.reviews-head { margin-bottom: 0.5rem; }
.review { border-bottom: 1px solid var(--line); padding: 1.4rem 0; }
.review .top { display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.review .author { color: var(--ash); font-size: 0.9rem; }
.review .date { color: var(--faint); font-size: 0.78rem; }
.review h4 { font-family: var(--serif); font-size: 1.25rem; margin: 0.5rem 0 0.3rem; }
