/* ═══════════════════════════════════════════
   PRODUCT VIEW — page-specific styles
   Shared base styles live in common.css
═══════════════════════════════════════════ */
body { background: #F3EFE3; }

/* ── Nav colour on this page ── */
.page-view-product .main-nav a { color: var(--brown); text-shadow: none; }
.page-view-product .main-nav a:hover { color: var(--gold-1); }
.page-view-product .main-nav a.active { color: var(--brown); border-color: var(--brown); }
body.header-scrolled.page-view-product .main-nav a { color: var(--gold-1); }
body.header-scrolled.page-view-product .main-nav a.active { color: var(--brown); border-color: var(--brown); }

/* ── Dark veil — not needed on this page (light bg from top) ── */
.page-view-product body::before { display: none; }

/* ═══════════════════════════════════════════
   BREADCRUMB / BACK LINK
═══════════════════════════════════════════ */
#vp-breadcrumb {
  padding: 110px 160px 0;
}

.vp-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-b);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: rgba(96,58,23,0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.vp-back-link:hover { color: var(--gold-1); }

.vp-back-link svg {
  flex-shrink: 0;
  transition: transform 0.2s;
}

.vp-back-link:hover svg { transform: translateX(-3px); }

/* ═══════════════════════════════════════════
   PRODUCT DETAIL SECTION
═══════════════════════════════════════════ */
#vp-detail {
  padding: 36px 160px 96px;
}

.vp-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* ═══════════════════════════════════════════
   IMAGE GALLERY (left column)
═══════════════════════════════════════════ */
.vp-gallery {
  position: sticky;
  top: 110px;
}

.vp-main-img-wrap {
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, #F3EFE3, #EDE4CE);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(196,118,65,0.15);
  position: relative;
}

.vp-main-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity 0.3s ease;
  cursor: zoom-in;
}

.vp-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.vp-img-placeholder svg { opacity: 0.3; color: var(--gold-1); }

.vp-img-placeholder span {
  font-family: var(--font-h);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-1);
  opacity: 0.55;
}

/* Thumbnails */
.vp-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.vp-thumb {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: #EDE4CE;
  flex-shrink: 0;
  transition: border-color 0.2s, transform 0.2s;
}

.vp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vp-thumb:hover { transform: scale(1.06); border-color: var(--gold-2); }
.vp-thumb.active { border-color: var(--gold-1); }

/* ═══════════════════════════════════════════
   PRODUCT INFO (right column)
═══════════════════════════════════════════ */
.vp-info {
  padding-top: 4px;
}

.vp-category-badge {
  display: inline-block;
  background: rgba(196,118,65,0.1);
  border-radius: 20px;
  padding: 4px 14px;
  font-family: var(--font-b);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-1);
  margin-bottom: 18px;
}

.vp-title {
  font-family: var(--font-h);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.06em;
  color: var(--brown);
  margin-bottom: 24px;
}

.vp-desc {
  font-family: var(--font-b);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.85;
  letter-spacing: 0.06em;
  color: rgba(96,58,23,0.65);
  margin-bottom: 32px;
}

/* ── Price block ── */
.vp-price-block {
  background: #fff;
  border-radius: 16px;
  padding: 22px 24px;
  border: 1px solid rgba(196,118,65,0.14);
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vp-rrp-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.vp-rrp-label {
  font-family: var(--font-b);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-1);
  min-width: 96px;
}

.vp-rrp-value {
  font-family: var(--font-h);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--brown);
}

.vp-member-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.vp-member-label {
  font-family: var(--font-b);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-1);
  min-width: 96px;
}

.vp-member-value {
  font-family: var(--font-h);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--brown);
}

/* ── Order controls ── */
.vp-order-block {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.vp-qty-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.vp-qty-label {
  font-family: var(--font-b);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: rgba(96,58,23,0.7);
  min-width: 68px;
}

.vp-qty-stepper {
  display: flex;
  align-items: center;
  border: 1px solid rgba(196,118,65,0.28);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.vp-qty-btn {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: var(--gold-1);
  font-weight: 300;
  line-height: 1;
  transition: background 0.18s, color 0.18s;
  flex-shrink: 0;
}

.vp-qty-btn:hover { background: rgba(196,118,65,0.08); color: var(--brown); }
.vp-qty-btn:disabled { opacity: 0.35; cursor: not-allowed; }

.vp-qty-input {
  width: 52px;
  height: 42px;
  border: none;
  border-left: 1px solid rgba(196,118,65,0.2);
  border-right: 1px solid rgba(196,118,65,0.2);
  text-align: center;
  font-family: var(--font-b);
  font-size: 15px;
  font-weight: 400;
  color: var(--brown);
  background: transparent;
  outline: none;
  -moz-appearance: textfield;
}

.vp-qty-input::-webkit-outer-spin-button,
.vp-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }

.btn-vp-order {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 52px;
  background: var(--brown-btn);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-family: var(--font-b);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.22s, transform 0.18s, box-shadow 0.22s;
  box-shadow: 0 4px 18px rgba(131,60,11,0.22);
}

.btn-vp-order:hover {
  background: #6D2F06;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(131,60,11,0.30);
}

.btn-vp-order:active { transform: translateY(0); }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1280px) {
  #vp-breadcrumb { padding: 110px 80px 0; }
  #vp-detail     { padding: 36px 80px 80px; }
  .vp-inner      { gap: 48px; }
}

@media (max-width: 1060px) {
  #vp-breadcrumb { padding: 110px 48px 0; }
  #vp-detail     { padding: 32px 48px 72px; }
  .vp-inner      { gap: 40px; }
  .vp-title      { font-size: 26px; }
}

@media (max-width: 900px) {
  #vp-breadcrumb { padding: 100px 28px 0; }
  #vp-detail     { padding: 28px 28px 64px; }
  .vp-inner      { grid-template-columns: 1fr; gap: 32px; }
  .vp-gallery    { position: static; }
  .vp-title      { font-size: 24px; }
}

@media (max-width: 560px) {
  #vp-breadcrumb { padding: 90px 20px 0; }
  #vp-detail     { padding: 24px 20px 56px; }
  .vp-title      { font-size: 22px; }
  .vp-thumb      { width: 60px; height: 60px; }
  .vp-member-value { font-size: 24px; }
}
