/* ==========================================================================
   Product template 2026 (Layout A)
   Markup: modules/product-template-2026/   Logic: modules/20-product-template-2026.php
   Ported from the lugaro-pdp-layout-a prototype. Every class is prefixed
   pt26- and the design tokens live on .pt26, so nothing leaks into the rest
   of the theme and the theme's generic classes (.price, .btn, .wrap) can't
   reach in.
   Breakpoints: phone < 768px, tablet 768 to 1023px, desktop >= 1024px
   ========================================================================== */

.pt26 {
  --pt26-burgundy: #64142d;
  --pt26-burgundy-dark: #4a0f21;
  --pt26-burgundy-tint: #f6ecef;
  --pt26-gold: #a57d2d;
  --pt26-body: #505050;
  --pt26-heading: #3b3937;
  --pt26-ink: #212121;
  --pt26-muted: #6b6b6b;
  --pt26-line: #ededed;
  --pt26-fill: #f7f5f2;
  --pt26-wrap: 1280px;
  --pt26-gutter: 16px;
  --pt26-font: Roboto, "Helvetica Neue", Arial, sans-serif;

  display: block;
  font-family: var(--pt26-font);
  font-size: 16px;
  color: var(--pt26-body);
  line-height: 1.5;
  background: #fff;
}
@media (min-width: 768px) {
  .pt26 {
    --pt26-gutter: 32px;
  }
}
@media (min-width: 1024px) {
  .pt26 {
    --pt26-gutter: 48px;
  }
}

/* Reset theme base styles inside the template */
.pt26 *,
.pt26 *::before,
.pt26 *::after {
  box-sizing: border-box;
}
.pt26 h1,
.pt26 h2,
.pt26 h3 {
  font-family: inherit;
  letter-spacing: normal;
}
.pt26 p {
  margin: 0 0 8px;
}
.pt26 img {
  max-width: 100%;
  height: auto;
}
.pt26 a {
  color: var(--pt26-burgundy);
  text-decoration: none;
}
.pt26 a:hover {
  text-decoration: underline;
}
.pt26 button,
.pt26 input,
.pt26 select {
  font-family: inherit;
}
.pt26 dl,
.pt26 dd {
  margin: 0;
}
.pt26 figure {
  margin: 0;
}

.pt26-wrap {
  max-width: var(--pt26-wrap);
  margin: 0 auto;
  padding: 0 var(--pt26-gutter);
}
.pt26-notices:empty {
  display: none;
}
.pt26-notices {
  padding-top: 16px;
}

/* --------------------------------------------------------------------------
   Breadcrumb
   -------------------------------------------------------------------------- */
.pt26-breadcrumb {
  font-size: 13px;
  color: var(--pt26-muted);
  padding: 16px 0 0;
}
.pt26-breadcrumb a {
  color: var(--pt26-muted);
}
.pt26-breadcrumb__sep {
  margin: 0 4px;
}
.pt26-breadcrumb span[aria-current] {
  color: var(--pt26-ink);
}

/* --------------------------------------------------------------------------
   Product hero: gallery + buy box
   -------------------------------------------------------------------------- */
.pt26-hero {
  display: grid;
  gap: 24px;
  padding: 16px 0 48px;
}
@media (min-width: 768px) {
  .pt26-hero {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 40px;
    padding-top: 24px;
  }
}
@media (min-width: 1024px) {
  .pt26-hero {
    grid-template-columns: minmax(0, 760fr) minmax(0, 456fr);
    gap: 64px;
    padding-bottom: 72px;
  }
}

/* Gallery: a 2-column collage of equal squares. The track is the grid and
   the <ul> steps aside (display: contents), so the main image is the first
   cell. On phones it becomes a swipe carousel. */
.pt26-gallery {
  min-width: 0;
}
.pt26-gallery__track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.pt26-gallery__main {
  position: relative;
  border: 1px solid var(--pt26-line);
  background: #fff;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.pt26-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pt26-gallery__badge {
  position: absolute;
  left: 14px;
  top: 14px;
  background: #fff;
  border: 1px solid var(--pt26-line);
  padding: 5px 10px;
  font-size: 12px;
  letter-spacing: 0.4px;
  color: var(--pt26-heading);
}
.pt26-gallery__count {
  display: none;
}
.pt26-gallery__grid {
  display: contents;
}
.pt26-gallery__grid li {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--pt26-line);
  margin: 0;
}
.pt26-gallery img[data-pt26-zoom] {
  cursor: zoom-in;
}
.pt26 .pt26-gallery__expand {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--pt26-line);
  border-radius: 0;
  background: #fff;
  color: var(--pt26-heading);
  cursor: pointer;
}
.pt26 .pt26-gallery__expand:hover {
  color: var(--pt26-burgundy);
}
.pt26-gallery__grid button {
  all: unset;
  cursor: zoom-in;
  display: block;
  width: 100%;
  height: 100%;
}
.pt26-gallery__grid button:focus-visible {
  outline: 2px solid var(--pt26-burgundy);
  outline-offset: 2px;
}
.pt26-gallery__grid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pt26-gallery__video video,
.pt26-gallery__video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
  background: #fff;
}
/* A lone image fills the column as one large square. With an odd number of
   cells the last one stays a half-width square. */
.pt26-gallery__main:only-child {
  grid-column: 1 / -1;
}
.pt26-gallery__dots {
  display: none;
}

@media (max-width: 767px) {
  .pt26-gallery {
    margin: 0 calc(var(--pt26-gutter) * -1);
  }
  .pt26-gallery__wrap {
    position: relative;
  }
  .pt26-gallery__track {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .pt26-gallery__track::-webkit-scrollbar {
    display: none;
  }
  .pt26-gallery__main,
  .pt26-gallery__grid li {
    flex: 0 0 100%;
    scroll-snap-align: center;
    aspect-ratio: 1 / 1;
    border: 0;
  }
  .pt26-gallery__grid button {
    cursor: default;
  }
  .pt26 .pt26-gallery__expand {
    display: none;
  }
  .pt26-gallery__count {
    display: block;
    position: absolute;
    right: 12px;
    top: 12px;
    background: #fff;
    border: 1px solid var(--pt26-line);
    padding: 3px 8px;
    font-size: 12px;
    color: var(--pt26-heading);
  }
  .pt26-gallery__count:empty,
  .pt26-gallery__count[hidden] {
    display: none;
  }
  .pt26-gallery__dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 10px 0 0;
  }
  .pt26 .pt26-gallery__dots button {
    position: relative;
    display: block;
    width: 18px;
    height: 3px;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #d6d6d6;
    box-shadow: none;
    cursor: pointer;
  }
  /* Bigger tap area than the thin bar */
  .pt26 .pt26-gallery__dots button::before {
    content: "";
    position: absolute;
    inset: -10px -3px;
  }
  .pt26 .pt26-gallery__dots button:hover,
  .pt26 .pt26-gallery__dots button:focus {
    background: #bdbdbd;
  }
  .pt26 .pt26-gallery__dots button.is-active {
    background: var(--pt26-burgundy);
  }
  .pt26 .pt26-gallery__dots button:focus-visible {
    outline: 2px solid var(--pt26-burgundy);
    outline-offset: 4px;
  }
}

/* --------------------------------------------------------------------------
   Lightbox (js/product-template-2026.js): full-screen, swipe on phones,
   arrows on larger screens
   -------------------------------------------------------------------------- */
.pt26-lightbox {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #fff;
}
/* The theme's CSS overrides the browser's dialog default, so keep it hidden until opened. */
.pt26 .pt26-lightbox:not([open]) {
  display: none !important;
}
.pt26-lightbox::backdrop {
  background: #fff;
}
.pt26-lightbox__track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior: contain;
}
.pt26-lightbox__track::-webkit-scrollbar {
  display: none;
}
.pt26-lightbox__track figure {
  flex: 0 0 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: center;
}
.pt26-lightbox__track img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  cursor: zoom-in;
}
.pt26-lightbox__track.is-zoomed {
  overflow-x: hidden;
}
.pt26-lightbox__track figure.is-zoomed {
  display: block;
  overflow: auto;
  scrollbar-width: none;
}
.pt26-lightbox__track figure.is-zoomed::-webkit-scrollbar {
  display: none;
}
/* The zoomed width is set inline by the script: 2.5 times the fitted size. */
.pt26-lightbox__track figure.is-zoomed img {
  display: block;
  margin: 0 auto;
  max-width: none;
  max-height: none;
  cursor: zoom-out;
}
.pt26 .pt26-lightbox__close {
  position: fixed;
  top: calc(6px + env(safe-area-inset-top));
  right: 6px;
  z-index: 1;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  color: var(--pt26-heading);
}
.pt26 .pt26-lightbox__nav {
  position: fixed;
  top: 50%;
  z-index: 1;
  width: 48px;
  height: 64px;
  margin: -32px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.85);
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  color: var(--pt26-heading);
}
.pt26 .pt26-lightbox__nav:hover {
  color: var(--pt26-burgundy);
}
.pt26-lightbox__nav--prev {
  left: 12px;
}
.pt26-lightbox__nav--next {
  right: 12px;
}
@media (max-width: 767px) {
  .pt26 .pt26-lightbox__nav {
    display: none;
  }
}
@media (min-width: 768px) {
  /* Room for the counter, close button and arrows round the fitted image. */
  .pt26-lightbox__track figure {
    box-sizing: border-box;
    padding: 56px 72px;
  }
  .pt26-lightbox__track figure.is-zoomed {
    padding: 0;
  }
}
.pt26-lightbox__count {
  position: fixed;
  top: calc(18px + env(safe-area-inset-top));
  left: 16px;
  z-index: 1;
  font-size: 13px;
  color: var(--pt26-heading);
}
html.pt26-locked {
  overflow: hidden;
}

/* Buy box */
.pt26-buy {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}
.pt26-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 500;
  color: var(--pt26-heading);
  text-transform: uppercase;
}
.pt26-eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--pt26-gold);
  flex-shrink: 0;
}
.pt26 .pt26-buy__title {
  margin: 8px 0 0;
  padding: 0;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 500;
  color: var(--pt26-ink);
  text-transform: none;
}
@media (min-width: 1024px) {
  .pt26 .pt26-buy__title {
    font-size: 34px;
  }
  .pt26--jewellery .pt26 .pt26-buy__title {
    font-size: 28px;
  }
}

.pt26-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}
.pt26-price {
  font-size: 26px;
  font-weight: 500;
  color: var(--pt26-burgundy);
  line-height: 1.25;
}
@media (min-width: 1024px) {
  .pt26-price {
    font-size: 32px;
  }
}
.pt26-price ins {
  text-decoration: none;
}
.pt26-price del {
  font-size: 0.6em;
  color: var(--pt26-muted);
  font-weight: 400;
  margin-right: 8px;
}
/* After an option change the price is WooCommerce's variation markup (.price/.amount),
   which the theme styles large and gold; make it take the size and colour set here. */
.pt26 .pt26-price .price,
.pt26 .pt26-price .lcs-price,
.pt26 .pt26-price .amount,
.pt26 .pt26-price bdi {
  font: inherit !important;
  color: inherit !important;
  margin: 0 !important;
  padding: 0 !important;
}
.pt26 .pt26-price .lcs-approx {
  display: block;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: var(--pt26-muted) !important;
}
.pt26-price__from {
  font-size: 0.6em;
  font-weight: 400;
  color: var(--pt26-body);
}
.pt26-price__consult {
  font-size: 20px;
}
.pt26-finance {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-top: 8px;
}
.pt26-finance img {
  height: 20px;
  width: auto;
}
.pt26-stock .stock {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--pt26-body);
}
.pt26-stock:empty {
  display: none;
}

.pt26-chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 14px;
  border-top: 1px solid var(--pt26-line);
  border-bottom: 1px solid var(--pt26-line);
}
@media (min-width: 1024px) {
  .pt26-chips {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.pt26-chips div {
  padding: 12px 0;
}
.pt26-chips dt {
  font-size: 11px;
  letter-spacing: 0.6px;
  color: var(--pt26-muted);
  text-transform: uppercase;
}
.pt26-chips dd {
  margin: 2px 0 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--pt26-ink);
}

.pt26-cert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--pt26-line);
  color: var(--pt26-gold);
}
.pt26-cert svg {
  flex-shrink: 0;
}
.pt26-cert__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
  color: var(--pt26-body);
}
.pt26-cert__text strong {
  font-size: 14px;
  font-weight: 500;
  color: var(--pt26-ink);
}

.pt26-form {
  display: grid;
  gap: 20px;
  margin: 0;
}
.pt26-note {
  font-size: 13px;
  color: var(--pt26-muted);
  margin: 0;
}

/* Buttons */
.pt26-ctas {
  display: grid;
  gap: 12px;
}
.pt26 .pt26-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 0 20px;
  border: 1px solid var(--pt26-burgundy);
  border-radius: 0;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
}
.pt26 .pt26-btn:hover {
  text-decoration: none;
}
.pt26 .pt26-btn--primary {
  background: var(--pt26-burgundy);
  color: #fff;
  min-height: 56px;
}
.pt26 .pt26-btn--primary:hover {
  background: var(--pt26-burgundy-dark);
  color: #fff;
}
.pt26 .pt26-btn--secondary {
  background: #fff;
  color: var(--pt26-burgundy);
}
.pt26 .pt26-btn--secondary:hover {
  background: var(--pt26-burgundy-tint);
}
.pt26 .pt26-btn.disabled,
.pt26 .pt26-btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}
/* Add to Cart in progress: Side Cart adds .loading while its AJAX request runs.
   The old template got a spinner from WooCommerce's button.button.loading rule,
   which doesn't match these buttons. No clicks while loading (no double adds). */
.pt26 .pt26-btn.loading {
  pointer-events: none;
  cursor: wait;
  opacity: 0.85;
}
.pt26 .pt26-btn.loading::after {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  margin-left: 10px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: pt26-spin 0.8s linear infinite;
}
@keyframes pt26-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Products that can't be bought online: Book consultation becomes the primary button */
.pt26--consult-only .pt26 .pt26-btn--secondary {
  background: var(--pt26-burgundy);
  color: #fff;
  min-height: 56px;
}
.pt26--consult-only .pt26 .pt26-btn--secondary:hover {
  background: var(--pt26-burgundy-dark);
}

.pt26-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 14px;
}
.pt26-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
}

/* Trust block */
.pt26-trust {
  list-style: none;
  margin: 0;
  padding: 18px 20px;
  background: var(--pt26-fill);
  display: grid;
  gap: 14px 20px;
}
@media (min-width: 480px) {
  .pt26-trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.pt26-trust li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  font-size: 13px;
}
.pt26-trust li:last-child:nth-child(odd) {
  grid-column: 1 / -1;
} /* a single (or odd last) item spans the row */
.pt26-trust svg {
  flex-shrink: 0;
  color: var(--pt26-gold);
}
.pt26-trust strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--pt26-ink);
}
.pt26-fine {
  font-size: 12px;
  color: var(--pt26-muted);
}
.pt26-fine p {
  margin: 0 0 4px;
}

/* --------------------------------------------------------------------------
   Option pickers
   -------------------------------------------------------------------------- */
.pt26-opts {
  display: grid;
  gap: 20px;
}
.pt26-picker {
  position: relative;
  display: grid;
  gap: 10px;
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
/* A floated legend is laid out like any other item, so it gets the same gap as
   the wrist size heading and the guide link can sit level with it. */
.pt26-picker > legend.pt26-picker__label {
  float: left;
  width: 100%;
}
/* Ring size dropdown and guide share one row. */
.pt26-picker--ring {
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 14px;
  align-items: center;
}

.pt26-picker--ring > legend.pt26-picker__label {
  grid-column: 1 / -1;
  grid-row: 1;
}

.pt26-picker__guide {
  position: static;
  grid-column: 2;
  grid-row: 2;
  line-height: 1.2;
}

.pt26-picker--ring > .pt26-picker__native--size {
  grid-column: 1;
  grid-row: 2;
}

.pt26-picker--ring > .pt26-note,
.pt26-picker--ring > .pt26-unsure {
  grid-column: 1 / -1;
}
.pt26-picker__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.pt26-picker__label {
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
  font-size: 13px;
  letter-spacing: 1.5px;
  font-weight: 500;
  color: var(--pt26-heading);
  text-transform: uppercase;
}
.pt26-picker__value {
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  color: var(--pt26-body);
}
.pt26-picker__link {
  font-size: 13px;
  font-weight: 400;
  white-space: nowrap;
  text-decoration: none !important;
}

.pt26 .pt26-picker__link:hover,
.pt26 .pt26-picker__link:focus,
.pt26 .pt26-picker__link:active {
  color: #a57d2d;
  text-decoration: none !important;
}
/* The Band Size plugin's field: the wrist dial sets its select (js/product-template-2026.js) */
.pt26-form--wrist .lugaro-tudor-band-size {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 14px;
  align-items: center;
  margin-bottom: 24px;
}

.pt26-form--wrist .lugaro-tudor-band-size label {
  grid-column: 1 / -1;
  grid-row: 1;
  margin: 0;
  font-size: 13px;
  letter-spacing: 1.5px;
  font-weight: 500;
  color: var(--pt26-heading);
  text-transform: uppercase;
}

.pt26-form--wrist .lugaro-tudor-band-size select {
  grid-column: 1;
  grid-row: 2;
}

.pt26-form--wrist .lugaro-tudor-band-size > .lugaro-tudor-band-size-guide {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  font-size: 14px;
  white-space: nowrap;
}
/* WooCommerce's attribute selects stay in the form (they drive the variation
   script) but the pills and dial are what people use. */
.pt26-picker__native {
  display: none;
}

/* Show the native WooCommerce dropdown for size attributes. */
.pt26-picker__native--size {
  display: block;
}

.pt26-picker__native--size select,
.pt26-form--wrist .lugaro-tudor-band-size select {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: none;
  margin: 0;
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid #d5d5d5;
  border-radius: 4px;
  background-color: #fff;
  -webkit-appearance: none;
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' fill='none' stroke='%23555555' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
  cursor: pointer;
  color: var(--pt26-heading);
  font-size: 14px;
}

.pt26-pills {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr));
}
.pt26-pills label {
  position: relative;
  margin: 0;
}
.pt26-pills input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.pt26-pills span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 4px;
  border: 1px solid #bdbdbd;
  background: #fff;
  font-size: 14px;
  color: var(--pt26-ink);
  text-align: center;
}
.pt26-pills input:checked + span {
  border: 2px solid var(--pt26-burgundy);
  background: var(--pt26-burgundy-tint);
  color: var(--pt26-burgundy);
  font-weight: 500;
}
.pt26-pills input:focus-visible + span {
  outline: 2px solid var(--pt26-burgundy);
  outline-offset: 2px;
}
.pt26-pills input.is-unavailable + span {
  color: #b5b5b5;
  border-style: dashed;
  background: #fafafa;
}

.pt26-opts__summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--pt26-fill);
  font-size: 14px;
  color: var(--pt26-ink);
}
/* The variation price arrives wrapped in WooCommerce's .price/.amount markup,
   which the theme styles large and gold; !important keeps the summary as designed. */
.pt26 .pt26-opts__summary strong {
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  color: var(--pt26-burgundy) !important;
  white-space: nowrap;
}
.pt26 .pt26-opts__summary strong * {
  font: inherit !important;
  color: inherit !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
}
.pt26 .pt26-opts__summary strong .lcs-approx {
  display: none !important;
}

/* WooCommerce variation output: the big price above already shows the
   variation price, so only availability is shown here. */
.pt26 .single_variation_wrap .woocommerce-variation-price,
.pt26 .single_variation_wrap .woocommerce-variation-description:empty {
  display: none;
}
.pt26 .single_variation_wrap .stock {
  margin: 0;
  font-size: 14px;
}
.pt26 .single_variation_wrap .woocommerce-variation:empty {
  display: none;
}

/* Size dial (watch wrist size and ring size): one slim row. The selected size is
   burgundy with a short underline and also shows beside the picker label. */
.pt26-dial {
  display: grid;
  gap: 6px;
}
.pt26-dial__status {
  order: 2;
  font-size: 12px;
  color: var(--pt26-burgundy);
}
.pt26-dial__status:empty {
  display: none;
}
.pt26-dial__window {
  position: relative;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 26px;
  align-items: center;
  height: 34px;
  overflow: hidden;
  border: 1px solid #dadada;
  border-radius: 2px;
  background: #fff;
}
.pt26 .pt26-dial__nudge {
  position: relative;
  z-index: 2;
  width: 26px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--pt26-body);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}
.pt26 .pt26-dial__nudge:hover:not(:disabled) {
  color: var(--pt26-burgundy);
  background: transparent;
}
.pt26 .pt26-dial__nudge:disabled {
  color: #cfc6bb;
  cursor: default;
  background: transparent;
}
.pt26-dial__track {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  height: 32px;
  cursor: grab;
  outline: none;
  touch-action: pan-x;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 18%,
    #000 82%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 18%,
    #000 82%,
    transparent
  );
}
.pt26-dial__track::-webkit-scrollbar {
  display: none;
}
.pt26-dial__track:active {
  cursor: grabbing;
}
.pt26-dial__track:focus-visible {
  box-shadow: inset 0 0 0 2px var(--pt26-burgundy);
}
.pt26-dial__spacer {
  flex: 0 0 calc(50% - 19px);
}
.pt26 .pt26-dial__tick {
  flex: 0 0 38px;
  scroll-snap-align: center;
  position: relative;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  cursor: pointer;
  color: var(--pt26-muted);
  font: inherit;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    color 0.15s,
    opacity 0.15s;
}
.pt26-dial__tick span {
  display: block;
  font-size: 13px;
  color: inherit;
}
.pt26 .pt26-dial__tick:hover {
  color: var(--pt26-ink);
}
.pt26 .pt26-dial__tick.is-active {
  color: var(--pt26-burgundy);
}
.pt26-dial__tick.is-active span {
  font-size: 14px;
  font-weight: 500;
}
.pt26-dial__tick.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 12px;
  height: 1px;
  margin-left: -6px;
  background: var(--pt26-burgundy);
}
.pt26 .pt26-dial__tick.is-unavailable {
  color: #c9bfb2;
  text-decoration: line-through;
}
.pt26-dial.is-off .pt26-dial__tick span {
  color: #b5b5b5;
}
.pt26-dial.is-off .pt26-dial__tick.is-active::after {
  background: #b5b5b5;
}
.pt26-dial.is-unavailable .pt26-dial__tick.is-active::after {
  background: #c9bfb2;
}

.pt26-unsure {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 24px;
  margin: 0;
  font-size: 12px;
  color: var(--pt26-body);
  cursor: pointer;
}
.pt26-unsure input {
  accent-color: var(--pt26-burgundy);
  width: 13px;
  height: 13px;
  margin: 0;
}
/* Ring size: the same line, with a link to book a sizing instead of a checkbox. */
p.pt26-unsure {
  gap: 4px;
  cursor: auto;
}
.pt26-unsure a {
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Lower sections
   -------------------------------------------------------------------------- */
.pt26-section {
  padding: 48px 0;
}
@media (min-width: 1024px) {
  .pt26-section {
    padding: 72px 0;
  }
}
.pt26-section--fill {
  background: var(--pt26-fill);
}
.pt26-split {
  display: grid;
  gap: 20px;
}
@media (min-width: 1024px) {
  .pt26-split {
    grid-template-columns: 380px minmax(0, 1fr);
    gap: 80px;
  }
}
.pt26 .pt26-h2 {
  margin: 12px 0 0;
  padding: 0;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 500;
  color: var(--pt26-ink);
  text-transform: uppercase;
  letter-spacing: 1px;
}
@media (min-width: 1024px) {
  .pt26 .pt26-h2 {
    font-size: 30px;
  }
}
.pt26-story__text p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.7;
}
@media (min-width: 1024px) {
  .pt26-story__text p {
    font-size: 17px;
  }
}

.pt26-specs {
  display: grid;
}
@media (min-width: 768px) {
  .pt26-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 48px;
  }
}
.pt26-specs div {
  padding: 14px 0;
  border-bottom: 1px solid var(--pt26-line);
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
}
@media (min-width: 768px) {
  .pt26-specs div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
/* margin: 0 undoes the theme's dt/dd margins, which pushed the label below the value */
.pt26-specs dt {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.8px;
  color: var(--pt26-muted);
  text-transform: uppercase;
}
.pt26-specs dd {
  margin: 0;
  font-size: 15px;
  color: var(--pt26-ink);
}
.pt26 .pt26-specs__title {
  margin: 32px 0 4px;
  padding: 0;
  font-size: 13px;
  letter-spacing: 1.5px;
  font-weight: 500;
  color: var(--pt26-heading);
  text-transform: uppercase;
}

/* Info accordions: Warranty, Shipping & returns, Care, Ring terms, Financing */
.pt26-info-wrap {
  margin-top: 40px;
}
.pt26-info {
  display: grid;
  border-top: 1px solid var(--pt26-line);
}
@media (min-width: 1024px) {
  .pt26-info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 48px;
    align-items: start;
  }
}
.pt26-info details {
  border-bottom: 1px solid var(--pt26-line);
}
.pt26-info summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 56px;
  font-size: 14px;
  letter-spacing: 1.5px;
  font-weight: 500;
  color: var(--pt26-heading);
  text-transform: uppercase;
}
.pt26-info summary::-webkit-details-marker {
  display: none;
}
.pt26-info summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 300;
  color: var(--pt26-heading);
}
.pt26-info details[open] summary::after {
  content: "\2212";
}
.pt26-info__body {
  padding: 0 0 18px;
  font-size: 15px;
  line-height: 1.6;
}
.pt26-info__body p {
  margin: 0 0 8px;
}
.pt26-info__body ul {
  list-style: disc;
  padding-left: 20px;
}

/* Related products */
.pt26-related {
  border-top: 1px solid var(--pt26-line);
}
.pt26-related__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 24px;
}
.pt26-related__all {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}
.pt26-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
@media (min-width: 1024px) {
  .pt26-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }
}
.pt26-card {
  margin: 0;
}
.pt26-card a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--pt26-ink);
}
.pt26-card__img {
  aspect-ratio: 1 / 1;
  background: #fff;
  border: 1px solid var(--pt26-line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.pt26-card__img img {
  width: 92%;
  height: 92%;
  object-fit: contain;
}
.pt26-card__brand {
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--pt26-muted);
  text-transform: uppercase;
}
.pt26-card__name {
  font-size: 15px;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Phone sticky bar (shown once the main buttons scroll out of view)
   -------------------------------------------------------------------------- */
.pt26-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9990;
  background: #fff;
  border-top: 1px solid var(--pt26-line);
  box-shadow: 0 -6px 16px rgba(0, 0, 0, 0.06);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  transform: translateY(110%);
  transition: transform 0.2s ease;
}
.pt26-sticky.is-visible {
  transform: none;
}
.pt26 .pt26-sticky .pt26-btn {
  min-height: 48px;
  font-size: 13px;
  letter-spacing: 0.6px;
  padding: 0 8px;
}
.pt26--consult-only .pt26-sticky {
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .pt26-sticky {
    display: none;
  }
}
/* Room so the bar never covers the end of the page on phones */
@media (max-width: 767px) {
  .pt26::after {
    content: "";
    display: block;
    height: 76px;
  }
}
/* While the bar shows, lift the Heymarket chat button and the back-to-top button above it */
@media (max-width: 767px) {
  .pt26-sticky-on #heymarket-widget,
  .pt26-sticky-on #heymarket-widget > div,
  .pt26-sticky-on .smooth-back-to-top-button {
    margin-bottom: calc(64px + env(safe-area-inset-bottom));
  }
}

/* --------------------------------------------------------------------------
   Book consultation dialog (holds the Gravity Form)
   -------------------------------------------------------------------------- */

.pt26-consult {
  box-sizing: border-box;
  width: min(720px, calc(100% - 40px));
  max-width: 720px;
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: #fff;
  color: var(--pt26-body);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

/* Dialog visibility / Gravity Forms initialization */
.pt26 .pt26-consult:not([open]) {
  display: none !important;
}

.pt26 .pt26-consult.is-priming:not([open]) {
  display: block !important;
  position: absolute;
  top: 0;
  left: -9999px;
  visibility: hidden;
}

.pt26-consult::backdrop {
  background: rgba(20, 20, 20, 0.58);
}

/* Layout */
.pt26-consult__inner {
  display: block;
  padding: 0;
  margin: 8px;
  max-height: calc(100dvh - 64px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}

/* Header */
.pt26-consult__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  border-bottom: 1px solid #eaeaea;
}

.pt26 .pt26-consult__head h2 {
  margin: 0;
  padding: 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--pt26-ink);
}

.pt26 .pt26-consult__close {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f5f5f5;
  color: #555;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}

.pt26 .pt26-consult__close:hover {
  background: #eaeaea;
  color: #111;
}

/* Product preview */
.pt26-consult__item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 28px 0;
  padding: 14px;
  border: 1px solid #ededed;
  border-radius: 10px;
  background: #fafafa;
  font-size: 13px;
  line-height: 1.6;
  color: #777;
}

.pt26-consult__item img {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
}

.pt26-consult__item span {
  min-width: 0;
}

.pt26-consult__item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--pt26-ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

/* Gravity Forms wrapper */
.pt26-consult__form {
  padding: 24px 28px 28px;
}

.pt26-consult__form .gform_wrapper {
  margin: 0;
}

/* Fields layout */
.pt26-consult__form .gform_fields {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

.pt26-consult__form .gform_fields > .gfield {
  grid-column: span 2;
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

.pt26-consult__form .gform_fields > .gfield--width-half {
  grid-column: span 1;
}

/* Section heading / description */
.pt26-consult__form .gsection {
  border: 0;
}

/* Form 3 repeats the modal heading */
.pt26-consult__form #field_3_7 .gsection_title {
  display: none;
}

.pt26-consult__form .gsection_description {
  margin: 0;
  padding: 0;
  color: #777;
  font-size: 13px;
  line-height: 1.6;
}

/* Labels */
.pt26-consult__form .gfield_label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

/* Required asterisk positioning */
.pt26-consult .consultation-gf .gfield_label {
  position: relative;
}

.pt26-consult .consultation-gf span.gfield_required {
  left: 0;
}

.pt26-consult .consultation-gf span.gfield_required span.gfield_required {
  position: static !important;
}

/* Inputs */
.pt26-consult__form input[type="text"],
.pt26-consult__form input[type="tel"],
.pt26-consult__form input[type="email"],
.pt26-consult__form select,
.pt26-consult__form textarea {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid #dedede;
  border-radius: 8px;
  background: #fff;
  color: #222;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.pt26-consult__form input:focus,
.pt26-consult__form select:focus,
.pt26-consult__form textarea:focus {
  border-color: #777;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

.pt26-consult__form input::placeholder,
.pt26-consult__form textarea::placeholder {
  color: #999;
}

/* First name / Last name */
.pt26-consult__form .ginput_container_name {
  display: flex;
  gap: 12px;
}

.pt26-consult__form .ginput_container_name > span {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  margin: 0;
  padding: 0;
}

/* Message */
.pt26-consult__form textarea {
  height: 100px !important;
  min-height: 100px !important;
  resize: vertical;
}

.pt26-consult__form .gfield_description {
  color: #888;
  font-size: 12px;
  line-height: 1.5;
}

/* Horizontal radio choices */
.pt26-consult__form
  :is(.gfield--choice-align-horizontal, .gf_list_inline)
  .gfield_radio {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pt26-consult__form
  :is(.gfield--choice-align-horizontal, .gf_list_inline)
  .gfield_radio
  > .gchoice {
  display: flex !important;
  align-items: center;
  gap: 8px;
  width: auto !important;
  margin: 0 !important;
  padding: 10px 14px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #fafafa;
  float: none !important;
}

.pt26-consult__form .gfield_radio input[type="radio"],
.pt26-consult__form input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #333;
}

.pt26-consult__form .gfield_radio label {
  width: auto;
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  cursor: pointer;
}

/* Submit */
.pt26-consult__form .gform_footer {
  margin: 24px 0 0;
  padding: 0;
}

.pt26-consult__form .gform_footer .gform_button {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 13px 24px;
  border: 1px solid #222;
  border-radius: 8px;
  background: #222;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  text-transform: none;
  cursor: pointer;
  transition: background 0.2s;
}

.pt26-consult__form .gform_footer .gform_button:hover {
  background: #444;
  color: #fff !important;
  border-color: #444;
}

.pt26-consult__form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 12px 8px;
}

/* Mobile */
@media (max-width: 767px) {
  .pt26-consult {
    width: calc(100% - 24px);
    max-width: none;
    max-height: calc(100dvh - 24px);
    margin: auto;
    border-radius: 12px;
  }

  .pt26-consult__inner {
    max-height: calc(100dvh - 24px);
  }

  .pt26-consult__head {
    padding: 18px 20px;
  }

  .pt26 .pt26-consult__head h2 {
    font-size: 19px;
  }

  .pt26-consult__item {
    margin: 18px 20px 0;
    gap: 12px;
  }

  .pt26-consult__item img {
    flex-basis: 60px;
    width: 60px;
    height: 60px;
  }

  .pt26-consult__form {
    padding: 20px;
  }

  .pt26-consult__form .gform_fields {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pt26-consult__form .gform_fields > .gfield,
  .pt26-consult__form .gform_fields > .gfield--width-half {
    grid-column: 1;
  }
}

/* Tudor Listing Titles - Product Template 2026 */

.pt26 .pt26-buy__title.has-listing-title > .listing-main-title {
  display: block;
}

.pt26 .pt26-buy__title.has-listing-title > .listing-subtitle {
  display: block;
  color: #666;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  margin-top: 6px;
}

.pt26 .pt26-buy__title.has-listing-title > .listing-reference {
  display: block;
  color: #777;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  margin-top: 4px;
}

/* Product Template 2026 - Related Product Cards */

.pt26-related .pt26-card a {
  height: 100%;
  min-width: 0;
}

.pt26-related .pt26-card__name--listing {
  display: block;
  text-align: center;
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
  color: #707070;
}

.pt26-related .listing-main-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin-bottom: 4px;
}

.pt26-related .listing-subtitle {
  display: block;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.pt26-related .listing-reference {
  display: block;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: #777;
}

.pt26-related .pt26-card__price {
  display: block;
  margin-top: auto;
  padding-top: 8px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  color: var(--pt26-ink);
}

/* Mobile */
@media screen and (max-width: 767px) {
  .pt26-related .listing-main-title {
    font-size: 14px;
  }

  .pt26-related .listing-subtitle,
  .pt26-related .listing-reference {
    font-size: 12px;
  }
}

/* Related Cards - Fallback Title */
.pt26-related .pt26-card__name:not(.pt26-card__name--listing) {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
/* Related Cards - Remove Link Underline */
.pt26-related .pt26-card > a,
.pt26-related .pt26-card > a:hover,
.pt26-related .pt26-card > a:focus-visible {
  text-decoration: none !important;
}
/* Related Cards - Consistent Title Alignment */
.pt26-related .pt26-card__name {
  text-align: center;
}
