
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ====================================
   PRODUCT LAYOUT — MAIN
   ==================================== */
.product-section {
  padding: var(--s48) 0 var(--s120);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s80);
  align-items: start;
}


/* ====================================
   PRODUCT GALLERY
   ==================================== */
.gallery {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: var(--s16);
  position: sticky;
  top: 104px;
}

.gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: var(--s12);
}

.thumb {
  width: 72px;
  height: 90px;
  background: var(--ivory-deep);
  cursor: pointer;
  border: 1px solid transparent;
  overflow: hidden;
  transition: border-color 0.2s;
  position: relative;
}
.thumb.active { border-color: var(--gold); }
.thumb:hover { border-color: var(--silk); }
.thumb .thumb-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-family: var(--font-sans);
  letter-spacing: 0.1em;
  color: rgba(122,114,104,0.4);
  text-transform: uppercase;
}

.gallery-main {
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, #D6CBBF 0%, #BFB0A2 50%, #A89988 100%);
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}
.gallery-main-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--s16);
}
.gallery-main-placeholder svg {
  width: 48px; height: 48px;
  stroke: rgba(255,255,255,0.35);
  fill: none;
  stroke-width: 1;
}
.gallery-main-placeholder span {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.gallery-badge {
  position: absolute;
  top: var(--s24);
  left: var(--s24);
  background: var(--obsidian);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 6px 14px;
}
.gallery-wishlist {
  position: absolute;
  top: var(--s24);
  right: var(--s24);
  width: 40px; height: 40px;
  background: rgba(247,244,239,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  border: 1px solid var(--silk);
}
.gallery-wishlist:hover { background: var(--white); }
.gallery-wishlist svg {
  width: 16px; height: 16px;
  stroke: var(--obsidian);
  fill: none;
  stroke-width: 1.4;
  transition: fill 0.2s, stroke 0.2s;
}
.gallery-wishlist.active svg { fill: var(--gold); stroke: var(--gold); }
.gallery-share {
  position: absolute;
  bottom: var(--s24);
  right: var(--s24);
  display: flex;
  align-items: center;
  gap: var(--s8);
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  background: rgba(26,23,20,0.4);
  padding: 8px 14px;
  backdrop-filter: blur(4px);
  transition: color 0.2s;
}
.gallery-share svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 1.5; }

/* ====================================
   PRODUCT DETAILS PANEL
   ==================================== */
.product-details {
  padding-top: var(--s8);
}

.product-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--s12);
  margin-bottom: var(--s16);
}
.product-eyebrow-text {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
}
.product-eyebrow::before {
  content: '';
  display: block;
  width: 24px; height: 1px;
  background: var(--gold);
}

.product-name {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--obsidian);
  margin-bottom: var(--s8);
}
.product-name em { font-style: italic; color: var(--gold); }

.product-subtitle {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: var(--s24);
  text-transform: uppercase;
}


/* ====================================
   RATING
   ==================================== */
.product-rating {
  display: flex;
  align-items: center;
  gap: var(--s12);
  margin-bottom: var(--s32);
  padding-bottom: var(--s32);
  border-bottom: 1px solid var(--ivory-deep);
}
.stars {
  display: flex;
  gap: 3px;
}
.star {
  width: 14px; height: 14px;
  fill: var(--gold);
}
.star.empty { fill: var(--ivory-deep); stroke: var(--silk); stroke-width: 1; }
.star.half { fill: url(#halfGold); }
.rating-score {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 400;
  color: var(--obsidian);
}
.rating-count {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 300;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.rating-count a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(184,149,90,0.3);
}

/* ====================================
   PRICE
   ==================================== */
.product-price-block {
  display: flex;
  align-items: baseline;
  gap: var(--s16);
  margin-bottom: var(--s32);
}
.price-current {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 400;
  color: var(--obsidian);
  letter-spacing: 0.01em;
}
.price-original {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 300;
  color: var(--silk);
  text-decoration: line-through;
}
.price-currency {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--muted);
  align-self: flex-start;
  margin-top: 6px;
}
.price-badge {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--gold);
  padding: 4px 10px;
  align-self: flex-start;
  margin-top: 6px;
}
.price-note {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: -20px;
  margin-bottom: var(--s32);
}

/* ====================================
   VARIANTS — COLOUR & SIZE
   ==================================== */
.variant-block {
  margin-bottom: var(--s32);
}
.variant-label {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--obsidian);
  margin-bottom: var(--s12);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.variant-label span {
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: none;
  font-size: 11px;
}

.colour-swatches {
  display: flex;
  gap: var(--s12);
  flex-wrap: wrap;
}
.swatch {
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  transition: transform 0.2s;
}
.swatch::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid transparent;
  transition: border-color 0.2s;
}
.swatch:hover { transform: scale(1.1); }
.swatch.active::after { border-color: var(--gold); }

.size-grid {
  display: flex;
  gap: var(--s8);
  flex-wrap: wrap;
}
.size-btn {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--obsidian);
  background: var(--white);
  border: 1px solid var(--silk);
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.2s;
  min-width: 52px;
  text-align: center;
}
.size-btn:hover { border-color: var(--gold); color: var(--gold); }
.size-btn.active { background: var(--obsidian); color: var(--white); border-color: var(--obsidian); }
.size-btn.sold-out {
  color: var(--silk);
  border-color: var(--ivory-deep);
  background: var(--ivory-deep);
  cursor: not-allowed;
  text-decoration: line-through;
}
.size-guide-link {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(184,149,90,0.3);
  cursor: pointer;
}

.size-btn-mtm {
  padding: 10px 20px;
  letter-spacing: 0.1em;
  border-style: dashed;
  color: var(--gold);
  border-color: rgba(184,149,90,0.5);
  background: transparent;
}
.size-btn-mtm:hover { border-color: var(--gold); color: var(--gold); background: rgba(184,149,90,0.04); }
.size-btn-mtm.active { background: var(--obsidian); color: var(--white); border-color: var(--obsidian); border-style: solid; }

.mtm-note {
  display: none;
  margin-top: var(--s16);
}
.mtm-note.visible { display: block; }
.mtm-note-inner {
  display: flex;
  gap: var(--s12);
  align-items: flex-start;
  background: rgba(184,149,90,0.07);
  border: 1px solid rgba(184,149,90,0.25);
  padding: var(--s16) var(--s20);
}
.mtm-note-inner svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke: var(--gold);
  margin-top: 1px;
}
.mtm-note-inner p {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--charcoal);
}

/* ====================================
   QUANTITY
   ==================================== */
.qty-block {
  display: flex;
  align-items: center;
  gap: var(--s24);
  margin-bottom: var(--s32);
}
.qty-label {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--obsidian);
}
.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--silk);
  background: var(--white);
}
.qty-btn {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  color: var(--obsidian);
  background: none;
  border: none;
  transition: color 0.2s, background 0.2s;
}
.qty-btn:hover { background: var(--ivory-deep); color: var(--gold); }
.qty-value {
  width: 52px;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--obsidian);
  border-left: 1px solid var(--silk);
  border-right: 1px solid var(--silk);
  line-height: 44px;
}
.stock-note {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.stock-note strong { color: var(--gold); font-weight: 400; }

/* ====================================
   ADD TO CART BUTTONS
   ==================================== */
.cart-actions {
  display: flex;
  flex-direction: column;
  gap: var(--s12);
  margin-bottom: var(--s32);
}
.btn-add-cart, [type="submit"].btn-add-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s12);
  height: 56px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--obsidian);
  border: 1px solid var(--obsidian);
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
  width: 100%;
}
.btn-add-cart:hover, [type="submit"].btn-add-cart:hover { background: var(--gold); border-color: var(--gold); }
.btn-add-cart svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.5; }

.btn-buy-now {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s12);
  height: 56px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--obsidian);
  background: transparent;
  border: 1px solid var(--obsidian);
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
}
.btn-buy-now:hover { background: var(--ivory-deep); }

/* ====================================
   TRUST SIGNALS
   ==================================== */
.trust-row {
  display: flex;
  gap: var(--s24);
  padding: var(--s24) 0;
  border-top: 1px solid var(--ivory-deep);
  border-bottom: 1px solid var(--ivory-deep);
  margin-bottom: var(--s32);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--s10);
  flex: 1;
  gap: var(--s8);
}
.trust-item svg {
  width: 20px; height: 20px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.3;
  flex-shrink: 0;
}
.trust-text {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--muted);
  line-height: 1.5;
}
.trust-text strong {
  display: block;
  color: var(--obsidian);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gallery-main-wrapper {
    display: none;
}

.gallery-main-wrapper.active {
    display: block;
}

/* ====================================
   ACCORDION — PRODUCT DETAILS
   ==================================== */
.accordion {
  border-top: 1px solid var(--silk);
}
.accordion-item {
  border-bottom: 1px solid var(--ivory-deep);
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s20) 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 20px 0;
}
.accordion-title {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--obsidian);
}
.accordion-icon {
  width: 20px; height: 20px;
  position: relative;
  flex-shrink: 0;
}
.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background: var(--gold);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s, opacity 0.3s;
}
.accordion-icon::before { width: 12px; height: 1px; }
.accordion-icon::after  { width: 1px; height: 12px; }
.accordion-item.open .accordion-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}
.accordion-item.open .accordion-content { max-height: 500px; }
.accordion-body {
  padding-bottom: var(--s24);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.9;
  letter-spacing: 0.03em;
  color: var(--muted);
}
.accordion-body ul {
  list-style: none;
  margin-top: var(--s12);
}
.accordion-body ul li {
  display: flex;
  align-items: flex-start;
  gap: var(--s12);
  margin-bottom: var(--s8);
}
.accordion-body ul li::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 8px;
}

div.type-product {
    display: none;
}

section.related.products {
    display: none;
}

.thumb img.attachment-thumbnail.size-thumbnail {
    height: 100%;
    width: auto;
}

.ct-breadcrumbs a, .ct-breadcrumbs .last-item span {
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}

.ct-breadcrumbs a:hover {
  color: var(--gold);
}

.ct-breadcrumbs .last-item span {
    color: var(--obsidian);
}


.gallery {
    /* display: flex; */
    /* flex-direction: column-reverse; */
    /* position: unset; */
    margin-bottom: 50px;
}

.thumb {
    width: -webkit-fill-available;
    height: auto;
    /* max-width: 25%; */
}

.qty-block {
    flex-direction: column;
    gap: 10px;
}

@media (max-width: 1024px) {
  :root { --gutter: 40px; }
  .product-grid { grid-template-columns: 1fr; gap: var(--s48); }
  .gallery { position: static; }
  .bespoke-banner-inner { grid-template-columns: 1fr; }
  .bespoke-vert-line { display: none; }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .product-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s40); }
  .reviews-meta { grid-template-columns: 1fr; gap: var(--s32); }
}
@media (max-width: 768px) {
  :root { --gutter: 24px !important; }
  nav.site-nav { display: none; }
  .marquee-strip { height: 36px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-thumbs { flex-direction: row; order: 2; }
  .gallery-main { order: 1; }
  .thumb { width: 60px; height: 75px; }
  .product-name { font-size: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .product-grid-4 { grid-template-columns: 1fr 1fr; }
  .bespoke-headline { font-size: 36px; }
  .section-title { font-size: 34px; }
  .reviews-score-big { font-size: 60px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: var(--s16); text-align: center; }
  .trust-row { flex-direction: column; gap: var(--s16); }


.gallery {
    margin-bottom: 50px;
}

.gallery-thumbs {
    flex-direction: row;
}

.thumb {
    width: -webkit-fill-available;
    height: auto;
    /* max-width: 25%; */
}

.qty-block {
    flex-direction: column;
    gap: 10px;
}

}


.product-price-block .woocommerce-Price-currencySymbol {
  display: none;
}