/* ============================================================
 *  HALDEN ROYAL — Product Page (PDP)
 *  Structure imported from halden-woo theme, color-remapped to
 *  Halden Royal's neutral/olive palette.
 * ============================================================ */

/* PDP-scoped CSS variables — mapped to Halden Royal palette */
.h-pdp,
.h-hrev,
.h-pdp-related,
.h-rv,
.h-pdp__sticky {
	--h-bg:        255 255 255;   /* white page */
	--h-bg-alt:    244 242 238;   /* light cream/gray */
	--h-bg-deep:   234 230 222;   /* deeper accent */
	--h-paper:     250 250 250;   /* near-white cards */

	--h-fg:         26  26  26;   /* near-black text #1A1A1A */
	--h-fg-soft:    51  51  51;   /* #333333 */
	--h-muted:     112 112 112;   /* #707070 */
	--h-subtle:    144 144 144;   /* #909090 */

	--h-border:    224 224 224;   /* #E0E0E0 hairlines */
	--h-line:      200 200 200;   /* #C8C8C8 stronger */

	--h-brass:     154 123  61;   /* #9A7B3D olive accent */
	--h-brass-2:   128  98  48;   /* #806230 dark olive */
	--h-brass-lt:  200 169 109;   /* light olive */

	--h-sale:      192  37  47;   /* #C0252F sale red */
	--h-ok:         82 130  82;   /* in-stock green */

	--h-white:     255 255 255;
	--h-black:       0   0   0;
	--h-ink:        20  20  20;
}

.h-pdp {
  padding: var(--h-s-4) 0 clamp(48px, 6vw, 96px);
  background: rgb(var(--h-bg));
  position: relative;
}
.h-pdp__crumb {
  max-width: var(--h-max-w);
  margin: 0 auto clamp(16px, 2vw, 32px);
  padding-inline: var(--h-gutter);
}
.h-pdp__crumb-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(var(--h-muted));
  font-weight: var(--h-fw-medium);
}
.h-pdp__crumb a {
  color: rgb(var(--h-muted));
  text-decoration: none;
  transition: color var(--h-dur-base) var(--h-ease);
}
.h-pdp__crumb a:hover { color: rgb(var(--h-brass)); }
.h-pdp__crumb span[aria-hidden] { color: rgb(var(--h-subtle)); opacity: 0.7; }
.h-pdp__crumb-current {
  color: rgb(var(--h-fg));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 40ch;
  text-transform: none;
  letter-spacing: 0;
  font-weight: var(--h-fw-regular);
}

.h-pdp__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 72px);
  max-width: var(--h-max-w);
  margin-inline: auto;
  padding-inline: var(--h-gutter);
  align-items: start;
}

/* ============================================================
   GALLERY
   ============================================================ */
.h-gal {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  position: sticky;
  top: 96px;
  align-self: start;
}
.h-gal__rail {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 720px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgb(var(--h-border)) transparent;
}
.h-gal__rail::-webkit-scrollbar { width: 3px; }
.h-gal__rail::-webkit-scrollbar-thumb { background: rgb(var(--h-border)); border-radius: 2px; }

.h-gal__thumb {
  position: relative;
  flex-shrink: 0;
  width: 72px;
  height: 90px;
  padding: 0;
  background: rgb(var(--h-paper));
  border: 1px solid rgb(var(--h-border) / 0.7);
  cursor: pointer;
  overflow: hidden;
  transition:
    border-color var(--h-dur-base) var(--h-ease),
    transform var(--h-dur-fast) var(--h-ease);
}
.h-gal__thumb::after {
  content: "";
  position: absolute;
  left: -1px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgb(var(--h-brass));
  transform-origin: center;
  height: 0;
  transition: height var(--h-dur-base) var(--h-ease);
}
.h-gal__thumb:hover { border-color: rgb(var(--h-brass) / 0.4); }
.h-gal__thumb.is-active { border-color: rgb(var(--h-brass) / 0.5); }
.h-gal__thumb.is-active::after { height: 60%; top: 20%; }
.h-gal__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  padding: 6px;
  opacity: 0.55;
  transition: opacity var(--h-dur-base) var(--h-ease);
}
.h-gal__thumb:hover img,
.h-gal__thumb.is-active img { opacity: 1; }
.h-gal__thumb:focus-visible {
  outline: 2px solid rgb(var(--h-brass));
  outline-offset: 2px;
}

.h-gal__stage {
  position: relative;
  background: rgb(var(--h-paper));
  border: 1px solid rgb(var(--h-border) / 0.6);
  overflow: hidden;
  isolation: isolate;
}
.h-gal__track {
  display: flex;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}
.h-gal__track::-webkit-scrollbar { display: none; }
.h-gal__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  aspect-ratio: 4 / 5;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.h-gal__media {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  padding: clamp(16px, 3vw, 48px);
}

.h-gal__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: rgb(var(--h-sale));
  color: rgb(var(--h-paper));
  font-size: 11px;
  letter-spacing: var(--h-tr-caps);
  text-transform: uppercase;
  font-weight: var(--h-fw-medium);
  line-height: 1.2;
  border-radius: 1px;
}

.h-gal__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgb(var(--h-paper) / 0.9);
  color: rgb(var(--h-fg));
  border: 1px solid rgb(var(--h-border));
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition:
    opacity var(--h-dur-base) var(--h-ease),
    background var(--h-dur-base) var(--h-ease),
    color var(--h-dur-base) var(--h-ease),
    border-color var(--h-dur-base) var(--h-ease);
  z-index: 2;
}
.h-gal__stage:hover .h-gal__arrow,
.h-gal__arrow:focus-visible { opacity: 1; }
.h-gal__arrow:hover {
  background: rgb(var(--h-fg));
  color: rgb(var(--h-paper));
  border-color: rgb(var(--h-fg));
}
.h-gal__arrow svg { width: 18px; height: 18px; }
.h-gal__arrow--prev { left: 16px; }
.h-gal__arrow--next { right: 16px; }
.h-gal__arrow:focus-visible {
  outline: 2px solid rgb(var(--h-brass));
  outline-offset: 2px;
}

.h-gal__counter {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 2;
  padding: 4px 10px;
  background: rgb(var(--h-paper) / 0.85);
  color: rgb(var(--h-fg));
  border: 1px solid rgb(var(--h-border));
  font-size: 10px;
  letter-spacing: var(--h-tr-caps);
  font-variant-numeric: tabular-nums;
  font-weight: var(--h-fw-medium);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.h-gal__dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 2;
  display: none;
  gap: 6px;
  align-items: center;
}
.h-gal__dot {
  width: 6px;
  height: 6px;
  border: none;
  padding: 0;
  border-radius: 50%;
  background: rgb(var(--h-fg) / 0.3);
  cursor: pointer;
  transition: background var(--h-dur-base) var(--h-ease), transform var(--h-dur-base) var(--h-ease);
}
.h-gal__dot.is-active {
  background: rgb(var(--h-fg));
  transform: scale(1.4);
}

/* ============================================================
   INFO COLUMN
   ============================================================ */
.h-info { min-width: 0; }
.h-info__sticky {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: var(--h-s-4);
  padding-block: 4px;
}

.h-info__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: var(--h-s-3);
}
.h-info__brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--h-s-3);
}
.h-info__brand {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgb(var(--h-fg));
  font-weight: var(--h-fw-semi);
}
.h-info__auth {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: rgb(var(--h-ok) / 0.12);
  color: rgb(var(--h-ok));
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: var(--h-fw-medium);
  border-radius: 1px;
}
.h-info__auth svg { width: 12px; height: 12px; }

.h-info__title {
  font-family: var(--h-font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(32px, 2.8vw + 14px, 48px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: rgb(var(--h-fg));
  margin: 0;
}

.h-info__meta-row {
  display: flex;
  align-items: center;
  gap: var(--h-s-3);
  flex-wrap: wrap;
}
.h-info__rating,
.h-info__rating-blank {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgb(var(--h-muted));
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.h-info__rating { cursor: pointer; transition: color var(--h-dur-base) var(--h-ease); }
.h-info__rating:hover { color: rgb(var(--h-brass)); }
.h-info__stars {
  position: relative;
  display: inline-block;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 1px;
  color: rgb(var(--h-border));
}
.h-info__stars-back {
  color: rgb(var(--h-border));
}
.h-info__stars-fill {
  position: absolute;
  left: 0; top: 0;
  overflow: hidden;
  white-space: nowrap;
  width: var(--fill, 0%);
  color: rgb(var(--h-brass));
}
.h-info__rating-num {
  color: rgb(var(--h-fg));
  font-weight: var(--h-fw-medium);
}
.h-info__rating-count { color: rgb(var(--h-subtle)); }
.h-info__sku {
  font-size: 10px;
  letter-spacing: var(--h-tr-caps);
  text-transform: uppercase;
  color: rgb(var(--h-subtle));
  font-weight: var(--h-fw-medium);
}

.h-info__price-block {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.h-info__price {
  font-size: clamp(26px, 2vw + 10px, 32px);
  font-weight: var(--h-fw-medium);
  color: rgb(var(--h-fg));
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.h-info__price .woocommerce-Price-amount {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}
.h-info__price del,
.h-info__price del .woocommerce-Price-amount {
  font-size: clamp(16px, 1vw + 10px, 18px);
  color: rgb(var(--h-subtle));
  font-weight: var(--h-fw-regular);
  text-decoration: line-through;
  margin-right: 6px;
  opacity: 0.8;
}
.h-info__price ins,
.h-info__price ins .woocommerce-Price-amount {
  text-decoration: none;
  color: rgb(var(--h-sale));
}
.h-info__price-pill {
  padding: 4px 10px;
  background: rgb(var(--h-sale));
  color: rgb(var(--h-paper));
  font-size: 11px;
  letter-spacing: var(--h-tr-caps);
  text-transform: uppercase;
  font-weight: var(--h-fw-medium);
  border-radius: 1px;
  line-height: 1;
}
.h-info__tax {
  margin: -8px 0 0;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgb(var(--h-subtle));
}

/* Option groups */
.h-info__opt {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: var(--h-s-3);
  border-top: 1px solid rgb(var(--h-border));
}
.h-info__opt-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--h-s-3);
  font-size: 11px;
  letter-spacing: var(--h-tr-caps);
  text-transform: uppercase;
  color: rgb(var(--h-muted));
  font-weight: var(--h-fw-medium);
}
.h-info__opt-label > span:first-child { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.h-info__opt-selected {
  color: rgb(var(--h-fg));
  font-weight: var(--h-fw-semi);
}
.h-info__size-guide {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgb(var(--h-fg));
  color: rgb(var(--h-fg));
  font-size: 10px;
  letter-spacing: var(--h-tr-caps);
  text-transform: uppercase;
  font-weight: var(--h-fw-medium);
  cursor: pointer;
  transition: color var(--h-dur-base) var(--h-ease), border-color var(--h-dur-base) var(--h-ease);
}
.h-info__size-guide svg { width: 12px; height: 12px; }
.h-info__size-guide:hover {
  color: rgb(var(--h-brass));
  border-bottom-color: rgb(var(--h-brass));
}

.h-info__sizes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(56px, 1fr));
  gap: 8px;
}
.h-info__size {
  position: relative;
  height: 52px;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgb(var(--h-paper));
  border: 1px solid rgb(var(--h-border));
  color: rgb(var(--h-fg));
  font-size: 13px;
  font-weight: var(--h-fw-medium);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition:
    border-color var(--h-dur-fast) var(--h-ease),
    background var(--h-dur-fast) var(--h-ease),
    color var(--h-dur-fast) var(--h-ease);
}
.h-info__size:hover:not(.is-oos):not(.is-active) {
  border-color: rgb(var(--h-fg));
}
.h-info__size.is-active {
  background: rgb(var(--h-fg));
  color: rgb(var(--h-paper));
  border-color: rgb(var(--h-fg));
}
.h-info__size.is-oos,
.h-info__size[disabled] {
  color: rgb(var(--h-subtle));
  cursor: not-allowed;
  opacity: 0.5;
  text-decoration: line-through;
}
.h-info__size:focus-visible {
  outline: 2px solid rgb(var(--h-brass));
  outline-offset: 2px;
}

.h-info__swatches {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.h-info__swatch {
  position: relative;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  background: var(--sw-color, #999);
  border: 1.5px solid rgb(var(--h-paper));
  box-shadow: 0 0 0 1px rgb(var(--h-border));
  cursor: pointer;
  transition:
    transform var(--h-dur-fast) var(--h-ease),
    box-shadow var(--h-dur-base) var(--h-ease);
}
.h-info__swatch:hover { transform: scale(1.06); }
.h-info__swatch.is-active {
  box-shadow: 0 0 0 2px rgb(var(--h-brass));
}
.h-info__swatch:focus-visible {
  outline: 2px solid rgb(var(--h-brass));
  outline-offset: 3px;
}

/* Low stock urgency */
.h-info__stock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 8px 14px;
  background: rgb(var(--h-sale) / 0.08);
  color: rgb(var(--h-sale));
  border: 1px solid rgb(var(--h-sale) / 0.25);
  font-size: 11px;
  letter-spacing: var(--h-tr-caps);
  text-transform: uppercase;
  font-weight: var(--h-fw-medium);
}
.h-info__stock-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgb(var(--h-sale));
  animation: pdpPulse 1.8s var(--h-ease) infinite;
  flex-shrink: 0;
}
@keyframes pdpPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.35; transform: scale(1.35); }
}

/* Buy row — qty + ATC */
.h-info__buy {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: stretch;
}
.h-info__qty {
  display: inline-flex;
  align-items: stretch;
  height: 56px;
  border: 1px solid rgb(var(--h-border));
  background: rgb(var(--h-paper));
}
.h-info__qty button {
  width: 44px;
  background: transparent;
  border: none;
  color: rgb(var(--h-fg));
  font-size: 18px;
  cursor: pointer;
  transition: background var(--h-dur-base) var(--h-ease);
}
.h-info__qty button:hover { background: rgb(var(--h-bg-alt)); }
.h-info__qty input {
  width: 44px;
  border: none;
  background: transparent;
  text-align: center;
  font-size: 15px;
  font-weight: var(--h-fw-medium);
  font-variant-numeric: tabular-nums;
  color: rgb(var(--h-fg));
  -moz-appearance: textfield;
}
.h-info__qty input::-webkit-outer-spin-button,
.h-info__qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.h-info__qty input:focus-visible { outline: 2px solid rgb(var(--h-brass)); outline-offset: -2px; }

.h-info__atc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 56px;
  padding: 0 24px;
  background: rgb(var(--h-fg));
  color: rgb(var(--h-paper));
  border: none;
  font-size: 12px;
  letter-spacing: var(--h-tr-caps);
  text-transform: uppercase;
  font-weight: var(--h-fw-semi);
  line-height: 1;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    background var(--h-dur-base) var(--h-ease),
    color var(--h-dur-base) var(--h-ease);
}
.h-info__atc::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgb(var(--h-paper) / 0.14) 50%, transparent 70%);
  transform: translateX(-100%);
  pointer-events: none;
}
.h-info__atc:hover:not(:disabled)::after {
  animation: pdpShine 900ms var(--h-ease) 1;
}
@keyframes pdpShine {
  to { transform: translateX(100%); }
}
.h-info__atc:hover:not(:disabled) {
  background: rgb(var(--h-brass));
  color: rgb(var(--h-fg));
}
.h-info__atc:disabled {
  background: rgb(var(--h-muted));
  cursor: not-allowed;
}
.h-info__atc:focus-visible {
  outline: 2px solid rgb(var(--h-brass));
  outline-offset: 3px;
}
.h-info__atc-arrow {
  width: 16px;
  height: 16px;
  transition: transform var(--h-dur-base) var(--h-ease);
  position: relative;
  z-index: 1;
}
.h-info__atc:hover:not(:disabled) .h-info__atc-arrow { transform: translateX(5px); }
.h-info__atc-label { position: relative; z-index: 1; }
.h-info__atc.has-error {
  background: rgb(var(--h-sale));
  color: rgb(var(--h-paper));
}
.h-pdp__sticky-atc.has-error {
  background: rgb(var(--h-sale));
  color: rgb(var(--h-paper));
}

/* Secondary actions (wishlist + share) */
.h-info__sub-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 2px;
}
.h-info__sub-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  background: transparent;
  border: 1px solid rgb(var(--h-border));
  color: rgb(var(--h-fg));
  font-size: 11px;
  letter-spacing: var(--h-tr-caps);
  text-transform: uppercase;
  font-weight: var(--h-fw-medium);
  cursor: pointer;
  transition:
    border-color var(--h-dur-base) var(--h-ease),
    color var(--h-dur-base) var(--h-ease),
    background var(--h-dur-base) var(--h-ease);
}
.h-info__sub-btn svg { width: 15px; height: 15px; }
.h-info__sub-btn:hover {
  border-color: rgb(var(--h-fg));
  color: rgb(var(--h-fg));
}
.h-info__sub-btn.is-active,
.h-info__sub-btn[aria-pressed="true"] {
  border-color: rgb(var(--h-brass));
  color: rgb(var(--h-brass));
  background: rgb(var(--h-brass) / 0.08);
}
.h-info__sub-btn.is-active svg,
.h-info__sub-btn[aria-pressed="true"] svg { fill: currentColor; }
.h-info__sub-btn:focus-visible {
  outline: 2px solid rgb(var(--h-brass));
  outline-offset: 2px;
}

/* Trust bar */
.h-info__trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 8px;
  background: rgb(var(--h-border));
  border: 1px solid rgb(var(--h-border));
}
.h-info__trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 12px;
  background: rgb(var(--h-paper));
}
.h-info__trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgb(var(--h-brass) / 0.12);
  color: rgb(var(--h-brass-2));
  flex-shrink: 0;
}
.h-info__trust-icon svg { width: 16px; height: 16px; }
.h-info__trust-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.h-info__trust-copy strong {
  font-size: 11px;
  font-weight: var(--h-fw-semi);
  letter-spacing: 0.04em;
  color: rgb(var(--h-fg));
  line-height: 1.2;
}
.h-info__trust-copy span {
  font-size: 10px;
  color: rgb(var(--h-muted));
  letter-spacing: 0.02em;
  line-height: 1.2;
}

/* Accordions */
.h-info__acc {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
  border-top: 1px solid rgb(var(--h-border));
}
.h-info__acc-row {
  border-bottom: 1px solid rgb(var(--h-border));
}
.h-info__acc-row > summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 16px 4px;
  cursor: pointer;
  transition: color var(--h-dur-base) var(--h-ease);
}
.h-info__acc-row > summary::-webkit-details-marker { display: none; }
.h-info__acc-row > summary:focus-visible {
  outline: 2px solid rgb(var(--h-brass));
  outline-offset: 2px;
}
.h-info__acc-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: var(--h-fw-semi);
  color: rgb(var(--h-fg));
}
.h-info__acc-icon {
  width: 16px;
  height: 16px;
  color: rgb(var(--h-brass));
  flex-shrink: 0;
}
.h-info__acc-chev {
  width: 14px;
  height: 14px;
  color: rgb(var(--h-muted));
  flex-shrink: 0;
  transition: transform var(--h-dur-base) var(--h-ease);
}
.h-info__acc-row[open] > summary .h-info__acc-chev {
  transform: rotate(180deg);
}
.h-info__acc-row[open] > summary { color: rgb(var(--h-brass)); }
.h-info__acc-body {
  padding: 0 4px 20px;
  font-size: 14px;
  line-height: 1.7;
  color: rgb(var(--h-fg-soft));
}
.h-info__acc-body p { margin: 0 0 12px; }
.h-info__acc-body p:last-child { margin: 0; }

/* ============================================================
   STICKY MOBILE ATC BAR
   Appears when the primary ATC is scrolled offscreen.
   JS toggles data-pdp-sticky[aria-hidden="false"].
   ============================================================ */
.h-pdp__sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  background: rgb(var(--h-paper));
  border-top: 1px solid rgb(var(--h-border));
  box-shadow: 0 -8px 24px rgb(var(--h-fg) / 0.08);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  transform: translateY(110%);
  transition: transform var(--h-dur-slow) var(--h-ease);
  pointer-events: none;
}
.h-pdp__sticky[aria-hidden="false"] {
  transform: translateY(0);
  pointer-events: auto;
}
.h-pdp__sticky-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  max-width: 720px;
  margin: 0 auto;
}
.h-pdp__sticky-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.h-pdp__sticky-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  mix-blend-mode: multiply;
  background: rgb(var(--h-bg-alt));
  padding: 4px;
  flex-shrink: 0;
}
.h-pdp__sticky-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 2px;
}
.h-pdp__sticky-title {
  font-family: var(--h-font-serif);
  font-style: italic;
  font-size: 13px;
  line-height: 1.2;
  color: rgb(var(--h-fg));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.h-pdp__sticky-price {
  font-size: 13px;
  font-weight: var(--h-fw-semi);
  color: rgb(var(--h-fg));
  font-variant-numeric: tabular-nums;
}
.h-pdp__sticky-price .woocommerce-Price-amount {
  font-family: inherit; font-size: inherit; font-weight: inherit; color: inherit;
}
.h-pdp__sticky-price del { display: none; }
.h-pdp__sticky-atc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 20px;
  background: rgb(var(--h-fg));
  color: rgb(var(--h-paper));
  border: none;
  font-size: 11px;
  letter-spacing: var(--h-tr-caps);
  text-transform: uppercase;
  font-weight: var(--h-fw-semi);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--h-dur-base) var(--h-ease), color var(--h-dur-base) var(--h-ease);
}
.h-pdp__sticky-atc:hover:not(:disabled) {
  background: rgb(var(--h-brass));
  color: rgb(var(--h-fg));
}
.h-pdp__sticky-atc:disabled {
  background: rgb(var(--h-muted));
  cursor: not-allowed;
}
.h-pdp__sticky-atc:focus-visible {
  outline: 2px solid rgb(var(--h-brass));
  outline-offset: 2px;
}

/* ============================================================
   Related products section (PDP-specific head)
   ============================================================ */
.h-pdp-related {
  padding: clamp(64px, 6vw, 96px) 0;
  border-top: 1px solid rgb(var(--h-border));
  background: rgb(var(--h-bg));
}
.h-pdp-related__head {
  margin-bottom: var(--h-s-6);
}
.h-pdp-related__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgb(var(--h-brass));
  margin-bottom: var(--h-s-2);
}
.h-pdp-related__eyebrow-rule {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: rgb(var(--h-brass));
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Defensive: prevent any child from breaking out of the PDP container */
.h-pdp,
.h-pdp__grid,
.h-info,
.h-info__sticky,
.h-gal,
.h-gal__stage {
  min-width: 0;
}

/* Narrow desktop / landscape tablet — tighten the 2-col gap */
@media (max-width: 1100px) and (min-width: 901px) {
  .h-pdp__grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: clamp(24px, 3vw, 48px);
  }
  .h-gal {
    grid-template-columns: 64px 1fr;
    gap: 12px;
  }
  .h-gal__thumb { width: 64px; height: 80px; }
}

/* Tablet & below — collapse to single column */
@media (max-width: 900px) {
  .h-pdp {
    padding: var(--h-s-3) 0 120px;  /* room for sticky ATC bar */
  }
  .h-pdp__grid {
    grid-template-columns: 1fr;
    gap: var(--h-s-5);
    padding-inline: 0;
  }
  .h-pdp__grid > .h-info { padding-inline: var(--h-gutter); }
  .h-pdp__crumb { margin-bottom: var(--h-s-3); }

  /* Gallery collapses to swipe-snap + dots — no thumb rail, no arrows, no counter */
  .h-gal {
    display: block;
    grid-template-columns: 1fr;
    gap: 0;
    position: static;
    padding-inline: 0;
  }
  .h-gal__rail { display: none; }
  .h-gal__stage {
    border-left: none;
    border-right: none;
    border-radius: 0;
  }
  .h-gal__dots { display: inline-flex; }
  .h-gal__counter { display: none; }
  .h-gal__arrow { display: none; }

  /* Info block tightens */
  .h-info__sticky {
    position: static;
    padding-top: var(--h-s-3);
    gap: var(--h-s-3);
  }
  .h-info__title { font-size: clamp(26px, 6vw, 36px); }
  .h-info__trust {
    grid-template-columns: 1fr;
  }
  .h-info__trust-item { padding: 12px 14px; }

  /* Sticky ATC bar only shown on mobile */
  .h-pdp__sticky { display: block; }
}

/* Desktop — hide sticky bar (only needed on mobile) */
@media (min-width: 901px) {
  .h-pdp__sticky { display: none; }
}

/* Small mobile — even tighter */
@media (max-width: 480px) {
  .h-info__brand-row { align-items: flex-start; }
  .h-info__auth { padding: 4px 8px; font-size: 9px; }
  .h-info__auth svg { width: 10px; height: 10px; }
  .h-info__title { font-size: clamp(24px, 7vw, 32px); line-height: 1.1; }
  .h-info__price { font-size: clamp(22px, 6vw, 28px); }

  /* Force size grid to exactly 4 columns, matching tap-target guidelines */
  .h-info__sizes {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }
  .h-info__size {
    height: 48px;
    font-size: 12px;
    padding: 0 2px;  /* tighter padding so long labels like "42-5" fit */
  }

  /* Stack qty under ATC so both get full width */
  .h-info__buy {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .h-info__qty {
    width: 100%;
    justify-content: space-between;
    height: 52px;
  }
  .h-info__qty button { width: 52px; }
  .h-info__qty input { flex: 1; }

  .h-info__sub-actions { gap: 6px; }
  .h-info__acc-body { padding: 0 4px 16px; font-size: 13px; }

  .h-pdp__sticky-title { font-size: 12px; }
  .h-pdp__sticky-atc { height: 44px; padding: 0 14px; font-size: 10px; }
  .h-pdp__sticky-img { width: 40px; height: 40px; }
}

/* Very narrow (Galaxy Fold, etc.) — 3 cols for sizes */
@media (max-width: 360px) {
  .h-info__sizes { grid-template-columns: repeat(3, 1fr); }
  .h-info__sub-actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .h-info__atc::after { animation: none; }
  .h-info__stock-pulse { animation: none; }
  .h-pdp__sticky { transition: none; }
  .h-gal__track { scroll-behavior: auto; }
}
/* ============================================================
   SECTION: recently viewed — your trail
   ============================================================ */
.h-rv {
  border-top: 1px solid rgb(var(--h-border));
  background: rgb(var(--h-bg));
  position: relative;
}
.h-rv[data-empty] { display: none; }

/* Brass accent on border */
.h-rv::before {
  content: "";
  position: absolute;
  top: -1px;
  left: var(--h-gutter);
  width: 40px;
  height: 2px;
  background: rgb(var(--h-brass));
}

/* ── Header ────────────────────────────────────── */
.h-rv__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--h-s-6);
  gap: var(--h-s-5);
}
.h-rv__head-left .h-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--h-s-2);
  color: rgb(var(--h-brass));
}
.h-rv__head-left .h-meta::before {
  content: "";
  width: 20px;
  height: 1px;
  background: rgb(var(--h-brass));
}
.h-rv__head-left h2 {
  margin: 0;
}
.h-rv__head-left h2 em {
  font-family: var(--h-font-serif);
  font-style: italic;
  font-weight: 400;
  color: rgb(var(--h-brass));
}

/* ── Scroll track ──────────────────────────────── */
.h-rv__track {
  display: flex;
  gap: var(--h-s-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: var(--h-s-3);
}
.h-rv__track::-webkit-scrollbar { display: none; }

/* ── Progress bar ──────────────────────────────── */
.h-rv__progress {
  margin-top: var(--h-s-4);
  height: 1px;
  background: rgb(var(--h-border));
  position: relative;
  overflow: hidden;
}
.h-rv__progress-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: rgb(var(--h-brass));
  transition: width 200ms ease-out;
}

/* ── Card ──────────────────────────────────────── */
.h-rv__card {
  flex-shrink: 0;
  width: clamp(220px, 22vw, 280px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: rgb(var(--h-fg));
  position: relative;
}

/* Brass number */
.h-rv__card-num {
  font-family: var(--h-font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1;
  color: rgb(var(--h-brass) / 0.1);
  letter-spacing: -0.03em;
  position: absolute;
  top: -6px;
  left: -4px;
  z-index: 0;
  pointer-events: none;
  transition: color 500ms var(--h-ease);
}
.h-rv__card:hover .h-rv__card-num {
  color: rgb(var(--h-brass) / 0.25);
}

/* Image */
.h-rv__card-media {
  position: relative;
  z-index: 1;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: rgb(var(--h-bg-alt));
  border: 1px solid transparent;
  margin-bottom: 12px;
  transition:
    border-color var(--h-dur-base) var(--h-ease),
    box-shadow var(--h-dur-base) var(--h-ease),
    transform var(--h-dur-slow) var(--h-ease);
}
.h-rv__card:hover .h-rv__card-media {
  border-color: rgb(var(--h-brass) / 0.4);
  box-shadow: 0 12px 36px rgb(var(--h-fg) / 0.08);
  transform: translateY(-3px);
}
.h-rv__card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 800ms var(--h-ease);
}
.h-rv__card:hover .h-rv__card-media img {
  transform: scale(1.04);
}

/* Body */
.h-rv__card-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.h-rv__card-brand {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgb(var(--h-brass));
}
.h-rv__card-title {
  font-size: 13px;
  font-weight: var(--h-fw-regular);
  line-height: 1.3;
  color: rgb(var(--h-fg));
  margin: 0;
  letter-spacing: -0.005em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 300ms var(--h-ease);
}
.h-rv__card:hover .h-rv__card-title {
  color: rgb(var(--h-brass-2));
}
.h-rv__card-price {
  font-size: 12px;
  color: rgb(var(--h-fg) / 0.7);
  font-variant-numeric: tabular-nums;
}

/* ── Responsive ────────────────────────────────── */
@media (max-width: 900px) {
  .h-rv__card {
    width: clamp(180px, 45vw, 240px);
  }
  .h-rv__card-num {
    font-size: clamp(36px, 10vw, 48px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .h-rv__card-media { transition: none; }
  .h-rv__card-media img { transition: none; }
}

/* ============================================================
 *  PDP — Editorial splits (3 alternating image/text blocks)
 *  Replaces the reviews section.
 * ============================================================ */
.hr-pdp-editorial {
	padding: 80px 0 40px;
	background: #fff;
}
.hr-pdp-editorial__container {
	max-width: 1320px;
	margin-inline: auto;
	padding-inline: 32px;
	display: flex;
	flex-direction: column;
	gap: 80px;
}
@media (max-width: 720px) {
	.hr-pdp-editorial {
		padding: 56px 0 24px;
	}
	.hr-pdp-editorial__container {
		padding-inline: 16px;
		gap: 56px;
	}
}

.hr-pdp-editorial__split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2rem, 5vw, 5rem);
	align-items: center;
}
.hr-pdp-editorial__split--reverse .hr-pdp-editorial__media {
	order: 2;
}
@media (max-width: 860px) {
	.hr-pdp-editorial__split,
	.hr-pdp-editorial__split--reverse {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
	.hr-pdp-editorial__split--reverse .hr-pdp-editorial__media {
		order: 0;
	}
}

.hr-pdp-editorial__media {
	width: 100%;
	aspect-ratio: 1 / 1;
	background: #F4F2EE;
	border-radius: 12px;
	overflow: hidden;
	display: block;
}
.hr-pdp-editorial__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.hr-pdp-editorial__media-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #909090;
	font-size: 0.875rem;
	letter-spacing: 0.04em;
	background: #F4F2EE;
	border: 1px dashed #D0D0D0;
	border-radius: 12px;
}

.hr-pdp-editorial__content {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}
.hr-pdp-editorial__heading {
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.15;
	margin: 0;
	color: #1A1A1A;
}
.hr-pdp-editorial__body {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.hr-pdp-editorial__body p {
	font-size: 0.9375rem;
	line-height: 1.7;
	color: #4A4A4A;
	margin: 0;
}
.hr-pdp-editorial__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 14px 32px;
	background: #1A1A1A;
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 6px;
	transition: background .2s ease, transform .15s ease;
	align-self: flex-start;
	margin-top: 0.5rem;
}
.hr-pdp-editorial__cta:hover {
	background: #000;
	transform: translateY(-1px);
}


/* ============================================================
 *  PDP — FAQ accordion (replaces homepage FAQ pattern below editorials)
 * ============================================================ */
.hr-pdp-faq {
	padding: 60px 0 100px;
	background: #F8F8F6;
}
.hr-pdp-faq__container {
	max-width: 920px;
	margin-inline: auto;
	padding-inline: 32px;
}
@media (max-width: 720px) {
	.hr-pdp-faq {
		padding: 48px 0 64px;
	}
	.hr-pdp-faq__container {
		padding-inline: 16px;
	}
}
.hr-pdp-faq__heading {
	text-align: center;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	margin: 0 0 32px;
	color: #1A1A1A;
}
.hr-pdp-faq__list {
	display: flex;
	flex-direction: column;
	gap: 0;
}
.hr-pdp-faq__item {
	border-bottom: 1px solid #E5E5E5;
}
.hr-pdp-faq__item:first-child {
	border-top: 1px solid #E5E5E5;
}
.hr-pdp-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 20px 4px;
	font-size: 0.9375rem;
	font-weight: 700;
	color: #1A1A1A;
	cursor: pointer;
	list-style: none;
}
.hr-pdp-faq__q::-webkit-details-marker {
	display: none;
}
.hr-pdp-faq__q:hover {
	color: #806230;
}
.hr-pdp-faq__icon {
	font-size: 1.25rem;
	font-weight: 400;
	color: #1A1A1A;
	flex-shrink: 0;
	transition: transform .2s ease;
	line-height: 1;
}
.hr-pdp-faq__item[open] .hr-pdp-faq__icon {
	transform: rotate(45deg);
}
.hr-pdp-faq__a {
	padding: 0 4px 24px;
	font-size: 0.9375rem;
	line-height: 1.7;
	color: #4A4A4A;
}
.hr-pdp-faq__a p {
	margin: 0 0 0.75rem;
}
.hr-pdp-faq__a p:last-child {
	margin-bottom: 0;
}


/* ============================================================
 *  PDP Info Column — additional blocks
 *  Spec chips · Pre-order callout · Delivery card · Siblings
 * ============================================================ */

/* ---------- Spec chips (Gehäusematerial / Wasserdicht / Uhrwerk) ---------- */
.h-info__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 20px;
}
.h-info__chip {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	padding: 8px 14px;
	background: #F4F2EE;
	border-radius: 999px;
	font-size: 0.8125rem;
	color: #606060;
	line-height: 1.3;
	white-space: nowrap;
	font-weight: 400;
}
.h-info__chip strong {
	color: #1A1A1A;
	font-weight: 600;
}

/* ---------- Pre-order callout (ochre gradient) ---------- */
.h-info__preorder {
	background: linear-gradient(135deg, #C9A04A 0%, #A87E2E 100%);
	color: #fff;
	padding: 16px 20px;
	border-radius: 10px;
	margin: 16px 0 0;
	box-shadow: 0 1px 3px rgba(168, 126, 46, 0.15);
}
.h-info__preorder-title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin-bottom: 6px;
}
.h-info__preorder-star {
	font-size: 0.875rem;
	line-height: 1;
	color: #fff;
}
.h-info__preorder-desc {
	font-size: 0.875rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.95);
}

/* ---------- Delivery card (cream box with truck icon) ---------- */
.h-info__delivery {
	display: grid;
	grid-template-columns: 32px 1fr;
	gap: 14px;
	align-items: flex-start;
	background: #F4F2EE;
	padding: 16px 20px;
	border-radius: 10px;
	margin: 14px 0 0;
}
.h-info__delivery-icon {
	width: 24px;
	height: 24px;
	color: #1A1A1A;
	flex-shrink: 0;
	margin-top: 1px;
}
.h-info__delivery-copy {
	min-width: 0;
}
.h-info__delivery-title {
	font-size: 0.875rem;
	font-weight: 700;
	color: #1A1A1A;
	line-height: 1.4;
	margin-bottom: 4px;
}
.h-info__delivery-desc {
	font-size: 0.8125rem;
	color: #606060;
	line-height: 1.5;
}

/* ---------- Sibling/variation thumbnails ---------- */
.h-info__siblings {
	margin: 18px 0 0;
}
.h-info__siblings-label {
	font-size: 0.875rem;
	color: #1A1A1A;
	font-weight: 500;
	margin-bottom: 12px;
}
.h-info__siblings-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.h-info__sibling {
	display: block;
	width: 56px;
	height: 56px;
	border: 1.5px solid #E0E0E0;
	border-radius: 8px;
	overflow: hidden;
	background: #F4F2EE;
	transition: border-color .15s ease, transform .15s ease;
	flex-shrink: 0;
	position: relative;
}
.h-info__sibling:hover {
	border-color: #909090;
	transform: translateY(-1px);
}
.h-info__sibling.is-current,
.h-info__sibling[aria-current="true"] {
	border-color: #1A1A1A;
	border-width: 2px;
}
.h-info__sibling img {
	width: 100% !important;
	height: 100% !important;
	object-fit: contain !important;
	padding: 6px !important;
	box-sizing: border-box !important;
	display: block;
	margin: 0;
}
