/* ===== MAIN CONTENT ===== */
.pdp { padding-top: var(--header-height); }

/* ===== BREADCRUMB ===== */
.pdp__breadcrumb {
  font-family: var(--font-bebas-pro);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  color: var(--se-muted-on-light);
  padding: 24px 0 20px var(--pdp-inset);
}

/* ===== TITLE ROW ===== */
.pdp__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}
.pdp__title-banner {
  background-color: var(--se-pink);
  padding: 10px 55px 10px var(--pdp-inset);
  display: inline-flex;
  align-items: center;
  position: relative;
}
.pdp__title-banner h1 {
  font-family: var(--font-bebas);
  font-size: 44px;
  font-weight: 400;
  color: var(--se-black);
  text-transform: uppercase;
  white-space: nowrap;
  line-height: normal;
  letter-spacing: 0;
}
.pdp__nav-arrows {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-right: var(--pdp-inset);
}
.pdp__arrow-btn {
  width: 51px;
  height: 51px;
  border: 1px solid var(--se-black);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-base), border-color var(--transition-base);
}
.pdp__arrow-btn:hover {
  background-color: var(--se-black);
}
.pdp__arrow-btn:hover svg { stroke: var(--se-white); }
.pdp__arrow-btn svg {
  width: 24px;
  height: 24px;
  stroke: var(--se-black);
  stroke-width: 2;
  fill: none;
  transition: stroke var(--transition-base);
}

/* ===== GALLERY (horizontal scroll track — same pattern as homepage carousel) ===== */
.pdp__gallery {
  padding: 0 0 0 var(--pdp-inset);
  margin-bottom: 20px;
  overflow: hidden;
}
.pdp__gallery-track {
  display: flex;
  gap: 19px;
  padding-right: var(--pdp-inset);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}
.pdp__gallery-track::-webkit-scrollbar { display: none; }
.pdp__gallery-track:active { cursor: grabbing; }
.pdp__gallery-track:focus-visible { outline: 2px solid var(--se-gold); outline-offset: -2px; }
.pdp__gallery-item {
  flex: 0 0 358px;
  width: 358px;
  height: 412px;
  scroll-snap-align: start;
  overflow: hidden;
  position: relative;
}
.pdp__gallery-img {
  position: absolute;
  top: 0;
  left: -10.89%;
  width: 115.08%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  opacity: 0.5;
  transition: opacity 0.4s ease;
  cursor: pointer;
}
.pdp__gallery-img.active { opacity: 1; }

/* ===== BOTTOM ROW: Thumbnails + Price + CTA ===== */
.pdp__bottom-row {
  display: flex;
  align-items: flex-end;
  padding: 0 var(--pdp-inset);
  margin-bottom: 50px;
  gap: 0;
  position: relative;
  min-height: 72px;
  flex-wrap: nowrap;
}
.pdp__thumbnails { display: flex; gap: 8px; flex-shrink: 0; }
.pdp__thumb {
  width: 55px; height: 64px; object-fit: cover; cursor: pointer;
  opacity: 0.5; transition: all 0.3s ease; border: 2px solid transparent;
}
.pdp__thumb.active { opacity: 1; border-color: var(--se-pink); }
.pdp__thumb:hover { opacity: 0.8; }

.pdp__price-block {
  margin-left: 40px;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
.pdp__price-label {
  font-family: var(--font-bebas-pro);
  font-size: 18px;
  font-weight: 400;
  color: var(--se-black);
  line-height: normal;
}
.pdp__price-value {
  font-family: var(--font-bebas-pro);
  font-size: 24px;
  font-weight: 700;
  color: var(--se-black);
  line-height: normal;
}
.pdp__price-tax {
  font-family: var(--font-bebas-pro);
  font-size: 10px;
  font-weight: 400;
  color: var(--se-black);
  line-height: normal;
}

.pdp__edition-block {
  margin-left: 30px;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
.pdp__edition-label {
  font-family: var(--font-bebas-pro);
  font-size: 18px;
  font-weight: 400;
  color: var(--se-black);
  line-height: normal;
  margin-bottom: 0;
}
.pdp__edition-value {
  font-family: var(--font-bebas-pro);
  font-size: 24px;
  font-weight: 400;
  color: var(--se-black);
  line-height: 1.2;
}

/* The promise behind the number. Capped so it wraps to two lines at most and
   cannot shove the CTAs off the row. */
.pdp__edition-note {
  max-width: 22ch;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--se-muted-on-light, #5a5a5a);
}

/* A finished run is a statement, not an error: pink, not grey. */
.pdp__edition-block--complete .pdp__edition-value {
  color: var(--se-pink);
  font-size: 18px;
}

.pdp__cta-group {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.pdp__btn {
  position: relative;
  overflow: visible;
  font-family: var(--font-bebas-pro);
  font-size: 18px;
  font-weight: 400;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 5px 16px;
  transition: all var(--transition-base);
  letter-spacing: 0;
  line-height: normal;
  flex-shrink: 0;
}
.pdp__btn-cart {
  width: 140px; height: 42px;
  border: 1px solid var(--se-black);
  background: var(--se-white);
  color: var(--se-black);
}
.pdp__btn-cart:hover { background: var(--se-black); color: var(--se-white); }
/*
 * No bite mark on these two. The Figma design (Product page → Component 26 and
 * Component 16) is a plain outlined rectangle and a plain black rectangle; the
 * mark was a stray vector the Dev Mode export parented into the buttons, which
 * is why its offsets — top:-18px, left:100% — were canvas coordinates rather
 * than button-relative and left it hanging outside the button entirely.
 * The corner notch on the homepage CTAs is the real brand detail and stays.
 */
.pdp__btn-buy {
  width: 110px; height: 42px;
  background: var(--se-black);
  color: var(--se-white);
  border: none;
}
.pdp__btn-buy:hover { background: var(--se-pink); color: var(--se-black); }

.pdp__icons { display: flex; gap: 0; align-items: center; }
.pdp__icon-btn {
  display: flex; align-items: center; justify-content: flex-start;
  padding: 10px; cursor: pointer; transition: transform 0.3s ease;
}
.pdp__icon-btn:hover { transform: scale(1.1); }
.pdp__icon-btn--heart img { width: 21.875px; height: 25px; }
.pdp__icon-btn--share img { width: 25px; height: 21.875px; }

/* ===== TABS ===== */
.pdp__tabs {
  display: flex;
  padding: 0 var(--pdp-inset);
  margin-top: 20px;
  border-bottom: none;
}
.pdp__tab {
  flex: 1;
  max-width: 413px;
  padding: 10px;
  background: none;
  border: none;
  border-bottom: 1px solid var(--se-line-on-light);
  font-family: var(--font-bebas-pro);
  font-size: 24px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--se-muted-on-light);
  cursor: pointer;
  transition: all var(--transition-base);
  text-align: center;
  letter-spacing: 0;
  line-height: 1;
}
.pdp__tab.active {
  font-family: var(--font-bebas);
  color: var(--se-black);
  border-bottom: 3px solid var(--se-black);
}
.pdp__tab:hover:not(.active) { color: var(--se-black); }

/* ===== TAB CONTENT ===== */
.pdp__tab-panels-wrap {
  position: relative;
  overflow: hidden;
}
.pdp__tab-panel {
  padding: 40px var(--pdp-inset);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  display: none;
}
.pdp__tab-panel.active {
  display: grid;
  grid-template-columns: 413px 398px 1fr;
  gap: 12px;
}
.pdp__tab-panel.active.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* Shared label style: Bebas Neue, 18px, underlined */
.pdp__section-label {
  font-family: var(--font-bebas);
  font-size: 18px;
  font-weight: 400;
  text-decoration: underline;
  line-height: 34px;
  color: var(--se-black);
}
/* Shared list item style: Bebas Neue Pro, 18px */
.pdp__list-item {
  font-family: var(--font-bebas-pro);
  font-size: 18px;
  font-weight: 400;
  line-height: 34px;
  color: var(--se-black);
}
.pdp__bullet-list {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}
.pdp__bullet-list li {
  font-family: var(--font-bebas-pro);
  font-size: 18px;
  font-weight: 400;
  line-height: 34px;
  color: var(--se-black);
}

/* Details column */
.pdp__details-col { display: flex; flex-direction: column; }
.pdp__detail-line {
  font-family: var(--font-bebas-pro);
  font-size: 18px;
  font-weight: 400;
  line-height: 34px;
  color: var(--se-black);
}
.pdp__detail-label {
  font-family: var(--font-bebas);
  font-size: 18px;
  font-weight: 400;
  text-decoration: underline;
  line-height: 34px;
  color: var(--se-black);
}

/* Features column */
.pdp__features-col { display: flex; flex-direction: column; }
.pdp__feature {
  font-family: var(--font-bebas-pro);
  font-size: 18px;
  font-weight: 400;
  line-height: 34px;
  color: var(--se-black);
}

/* Size column */
.pdp__size-col { display: flex; flex-direction: column; gap: 14px; }
.pdp__size-title {
  font-family: var(--font-bebas);
  font-size: 18px;
  font-weight: 400;
  text-decoration: underline;
  text-transform: uppercase;
  color: var(--se-black);
  line-height: 34px;
}
.pdp__sizes { display: flex; gap: 12px; flex-wrap: wrap; }
.pdp__size-btn {
  width: 51px; height: 51px;
  border: 1px solid var(--se-black);
  border-radius: 50%;
  background: var(--se-white);
  color: var(--se-black);
  font-family: var(--font-bebas);
  font-size: 24px;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  line-height: 1;
}
.pdp__size-btn:hover { background: var(--se-black); color: var(--se-white); }
.pdp__size-btn.active { background: var(--se-pink); border-color: var(--se-pink); }
.pdp__size-advisor {
  font-family: var(--font-bebas-pro);
  font-size: 18px;
  font-weight: 400;
  color: var(--se-black);
  margin-top: 10px;
}

/* Payment marks — rendered as <img> from the ACF repeater, so they can be
   swapped without touching CSS and carry their own accessible names. */
.pdp__payment-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
  margin-top: 10px;
  max-width: 340px;
}
.pdp__payment-icon-wrap { display: flex; align-items: center; }
.pdp__payment-icon {
  height: 26px;
  width: auto;
  max-width: 72px;
  object-fit: contain;
}

/* Two-column layout for payment & delivery tabs */
.pdp__tab-panel--two-col.active {
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* ═══════════════════════════════════════════
   ADDITIONS FOR THE WORDPRESS MARKUP
   ═══════════════════════════════════════════ */

/* One inset drives the whole page; the breakpoints below just change it. */
.pdp {
  --pdp-inset: 100px;
}

/* Breadcrumb is a real ordered list now. */
.pdp__breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pdp__breadcrumb-item { display: inline; }
.pdp__breadcrumb a { text-decoration: underline; text-underline-offset: 0.15em; }
.pdp__breadcrumb a:hover { color: var(--se-black); }
.pdp__breadcrumb-sep { padding-inline: 0.35em; }

/* The gallery frame is a button so selecting an image is a real control. */
.pdp__gallery-track { list-style: none; margin: 0; }
.pdp__gallery-btn {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  background: none;
  border: 0;
}
.pdp__gallery-btn:focus-visible {
  outline: var(--se-focus-width) solid var(--se-black);
  outline-offset: -3px;
}

/* Thumbnails are buttons wrapping an <img>. */
.pdp__thumb {
  display: block;
  width: 55px;
  height: 64px;
  padding: 0;
  border: 2px solid transparent;
  background: none;
  opacity: 0.5;
  transition: opacity var(--transition-base), border-color var(--transition-base);
}
.pdp__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumb.active { opacity: 1; border-color: var(--se-pink); }
.pdp__thumb:hover { opacity: 0.85; }

/* Specs render as a definition list. */
.pdp__spec-list { margin: 0; }
.pdp__detail-line { display: block; }
.pdp__detail-label,
.pdp__detail-value { display: inline; }
.pdp__detail-label::after { content: ' '; }
.pdp__features { list-style: none; margin: 0; padding: 0; }
.pdp__short-desc { font-family: var(--font-bebas-pro); font-size: 18px; line-height: 1.6; }

/* Quantity input. */
.pdp__quantity .quantity { display: flex; }
.pdp__quantity input[type="number"] {
  width: 68px;
  height: 42px;
  padding: 0 8px;
  text-align: center;
  border: 1px solid var(--se-black);
  background: var(--se-white);
  font-family: var(--font-bebas-pro);
  font-size: 18px;
}
.pdp__cta-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.single_variation_wrap { width: 100%; }
.woocommerce-variation-availability,
.woocommerce-variation-price { font-family: var(--font-bebas-pro); font-size: 18px; padding-bottom: 8px; }

.pdp__btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.pdp__size-btn[disabled],
.pdp__size-btn.is-unavailable {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
}
.pdp__size-btn.active { background: var(--se-pink); border-color: var(--se-pink); color: var(--se-black); }

/* Panels are toggled with the hidden attribute as well as .active, so the
   hidden ones leave the tab order entirely. */
.pdp__tab-panel[hidden] { display: none !important; }

/* The share/heart icons are inline SVG, not <img>. */
.pdp__icon-btn {
  width: 44px;
  height: 44px;
  justify-content: center;
  color: var(--se-black);
}
.pdp__icon-btn svg { width: 24px; height: 24px; }
.pdp__icon-btn--heart.is-active { color: var(--se-pink); }
.pdp__icon-btn--heart.is-active svg { fill: currentColor; }
.pdp__icon-btn:hover { color: var(--se-pink); transform: none; }


/* ===== RESPONSIVE ===== */
@media (max-width: 75rem) {
  .pdp { --pdp-inset: 40px; }
  .pdp__price-block { margin-left: 30px; }
  .pdp__edition-block { margin-left: 20px; }
}

@media (max-width: 47.9375rem) {
  .pdp { --pdp-inset: 20px; }
  .pdp__gallery-track { gap: 12px; }
  .pdp__gallery-item { flex: 0 0 280px; width: 280px; height: 322px; }
  .pdp__bottom-row { flex-wrap: wrap; gap: 16px; align-items: flex-start; }
  .pdp__breadcrumb { font-size: 14px; }
  .pdp__title-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .pdp__title-banner { padding: 8px 30px; }
  .pdp__title-banner h1 { font-size: 32px; white-space: normal; }
  .pdp__nav-arrows { padding-inline: var(--pdp-inset); }
  .pdp__price-block, .pdp__edition-block { margin-left: 0; }
  .pdp__cta-group { margin-left: 0; width: 100%; }
  .pdp__cta-buttons { width: 100%; }
  .pdp__btn-cart, .pdp__btn-buy { flex: 1 1 140px; width: auto; }
  .pdp__tabs { flex-wrap: wrap; }
  .pdp__tab { flex: 1 1 40%; font-size: 18px; }
  .pdp__tab-panel.active { grid-template-columns: 1fr; gap: 30px; padding: 30px var(--pdp-inset); }
  .pdp__tab-panel--two-col.active { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   PDP TAGLINE
   ═══════════════════════════════════════════ */
.pdp__tagline {
  background: var(--se-white);
  padding: clamp(2rem, 1.5rem + 2.5vw, 3.125rem) var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

@media (min-width: 48rem) {
  .pdp__tagline {
    flex-direction: row;
    text-align: start;
    gap: 40px;
  }
}

.pdp__tagline-logo {
  width: clamp(110px, 12vw, 180px);
  flex-shrink: 0;
}

.pdp__tagline-logo img { width: 100%; height: auto; }

.pdp__tagline-text {
  font-family: var(--font-brutalist);
  font-size: clamp(1.5rem, 1.1rem + 2vw, 2.75rem);
  font-weight: 700;
  color: var(--se-black);
  line-height: 1.1;
  text-transform: uppercase;
}
