/**
 * WooCommerce — Single Product (luxury PDP).
 * Scoped under .v-sp / [data-v-single-product].
 */

/* --------------------------------------------------------------------------
   Shell
   -------------------------------------------------------------------------- */

.v-sp,
.single-product .v-sp {
  --v-sp-summary-max: 24rem;
  background: var(--v-sp-bg, #f7f5f0);
  color: var(--v-color-ink, #121412);
  padding-block: clamp(5.5rem, 10vw, 7.5rem) clamp(3rem, 6vw, 5rem);
}

/* Blocksy #main-container uses overflow:clip which kills position:sticky. */
.v-single-product #main-container,
.single-product #main-container {
  overflow: visible;
}

.v-single-product--summary-narrow .v-sp {
  --v-sp-summary-max: 20rem;
}

.v-single-product--summary-medium .v-sp {
  --v-sp-summary-max: 24rem;
}

.v-single-product--summary-wide .v-sp {
  --v-sp-summary-max: 28rem;
}

.v-sp__inner {
  width: 100%;
}

.v-sp__notices {
  margin-bottom: var(--v-space-6, 1.5rem);
}

.v-sp__notices .woocommerce-message,
.v-sp__notices .woocommerce-info,
.v-sp__notices .woocommerce-error {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  border-bottom: 1px solid rgba(18, 20, 18, 0.14);
  padding: var(--v-space-4) 0;
  margin: 0 0 var(--v-space-3);
  color: inherit;
}

.v-sp__stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: stretch;
}

@media (min-width: 900px) {
  .v-sp__stage {
    grid-template-columns: minmax(0, 1.35fr) minmax(17rem, var(--v-sp-summary-max));
    gap: clamp(2.5rem, 5vw, 4.5rem);
  }

  .v-sp__summary-col--sticky .v-sp-summary {
    position: sticky;
    top: calc(var(--v-header-height, 5.5rem) + 1.25rem);
  }
}

/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */

.v-sp-gallery {
  display: grid;
  gap: var(--v-space-4);
  min-width: 0;
}

@media (min-width: 900px) {
  .v-sp-gallery--vertical:has(.v-sp-gallery__thumbs) {
    grid-template-columns: 4.5rem minmax(0, 1fr);
    align-items: start;
    gap: var(--v-space-4);
  }

  .v-sp-gallery--vertical .v-sp-gallery__thumbs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    order: 0;
    max-height: min(80vh, 42rem);
    overflow-y: auto;
    scrollbar-width: thin;
  }

  .v-sp-gallery--vertical .v-sp-gallery__stage {
    order: 1;
  }

  .v-sp-gallery--horizontal {
    grid-template-columns: minmax(0, 1fr);
  }

  .v-sp-gallery--horizontal .v-sp-gallery__thumbs {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    order: 2;
    overflow-x: auto;
  }

  .v-sp-gallery--stacked .v-sp-gallery__thumbs,
  .v-sp-gallery--stacked .v-sp-gallery__nav,
  .v-sp-gallery--stacked .v-sp-gallery__count {
    display: none;
  }

  .v-sp-gallery--stacked .v-sp-gallery__track {
    display: flex;
    flex-direction: column;
    gap: var(--v-space-3);
    overflow: visible;
  }

  .v-sp-gallery--stacked .v-sp-gallery__slide {
    flex: none;
    width: 100%;
    opacity: 1;
    position: relative;
  }
}

.v-sp-gallery__thumbs {
  display: none;
}

.v-sp-gallery__thumb {
  display: block;
  flex: 0 0 auto;
  width: 4.5rem;
  padding: 0;
  margin: 0;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  aspect-ratio: 2 / 3;
  overflow: hidden;
}

.v-sp-gallery__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v-sp-gallery__thumb.is-active,
.v-sp-gallery__thumb[aria-selected="true"] {
  border-color: var(--v-color-ink, #121412);
}

.v-sp-gallery__thumb:focus-visible {
  outline: 2px solid var(--v-color-ink, #121412);
  outline-offset: 2px;
}

.v-sp-gallery__stage {
  position: relative;
  min-width: 0;
}

.v-sp-gallery__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.v-sp-gallery__track::-webkit-scrollbar {
  display: none;
}

.v-sp-gallery__slide {
  flex: 0 0 100%;
  width: 100%;
  scroll-snap-align: start;
  margin: 0;
}

.v-sp-gallery__figure {
  margin: 0;
  background: rgba(18, 20, 18, 0.04);
  aspect-ratio: 2 / 3;
  overflow: hidden;
}

.v-sp-gallery__open {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.v-sp-gallery__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
  .v-sp-gallery[data-v-sp-zoom="1"] .v-sp-gallery__open:hover .v-sp-gallery__img,
  .v-sp-gallery[data-v-sp-zoom="1"] .v-sp-gallery__figure:hover .v-sp-gallery__img {
    transform: scale(1.04);
  }
}

.v-sp-gallery__nav {
  display: none;
}

@media (min-width: 900px) {
  .v-sp-gallery:not(.v-sp-gallery--stacked) .v-sp-gallery__nav {
    display: flex;
    position: absolute;
    inset-inline: 0;
    top: 50%;
    transform: translateY(-50%);
    justify-content: space-between;
    padding-inline: 0.75rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
  }

  .v-sp-gallery:not(.v-sp-gallery--stacked):hover .v-sp-gallery__nav,
  .v-sp-gallery:not(.v-sp-gallery--stacked):focus-within .v-sp-gallery__nav {
    opacity: 1;
  }

  .v-sp-gallery__prev,
  .v-sp-gallery__next {
    pointer-events: auto;
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: rgba(247, 245, 240, 0.88);
    color: var(--v-color-ink, #121412);
    cursor: pointer;
  }

  .v-sp-gallery__prev:focus-visible,
  .v-sp-gallery__next:focus-visible {
    outline: 2px solid var(--v-color-ink, #121412);
    outline-offset: 2px;
  }
}

.v-sp-gallery__count {
  display: none;
  margin: var(--v-space-3) 0 0;
  font-family: var(--v-font-body);
  font-size: var(--v-text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--v-color-muted, #5c635c);
}

@media (max-width: 899px) {
  .v-sp-gallery__count {
    display: block;
    text-align: center;
  }

  .v-sp-gallery__nav {
    display: none !important;
  }
}

/* Lightbox */
.v-sp-lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--v-z-modal, 600);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem;
  padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  background: rgba(18, 20, 18, 0.92);
  color: #f7f5f0;
}

.v-sp-lightbox[hidden] {
  display: none !important;
}

.v-sp-lightbox__figure {
  margin: 0;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.v-sp-lightbox__img {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.v-sp-lightbox__close,
.v-sp-lightbox__prev,
.v-sp-lightbox__next {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.v-sp-lightbox__close {
  position: absolute;
  top: max(0.75rem, env(safe-area-inset-top));
  inset-inline-end: max(0.75rem, env(safe-area-inset-right));
}

.v-sp-lightbox__close:focus-visible,
.v-sp-lightbox__prev:focus-visible,
.v-sp-lightbox__next:focus-visible {
  outline: 2px solid #f7f5f0;
  outline-offset: 2px;
}

body.v-sp-lightbox-open {
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   Summary
   -------------------------------------------------------------------------- */

.v-sp-summary {
  display: flex;
  flex-direction: column;
  gap: var(--v-space-5);
  min-width: 0;
}

.v-sp-summary__breadcrumb .v-breadcrumb,
.v-sp-breadcrumb {
  font-size: var(--v-text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--v-color-muted, #5c635c);
}

.v-sp-summary__title {
  margin: 0;
  font-family: var(--v-font-display, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.v-sp-summary__price {
  margin: var(--v-space-3) 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  font-family: var(--v-font-body);
  font-size: var(--v-text-base);
  letter-spacing: 0.06em;
}

.v-sp-summary__price del {
  order: 2;
  opacity: 0.55;
  margin: 0;
  font-size: 0.92em;
}

.v-sp-summary__price ins {
  order: 1;
  text-decoration: none;
  color: var(--v-color-danger, #8b2e2e);
}

.v-sp-summary__stock {
  margin: 0;
  font-size: var(--v-text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--v-color-muted, #5c635c);
}

.v-sp-summary__stock--out {
  color: var(--v-color-danger, #8b2e2e);
}

.v-sp-summary__stock--low {
  color: var(--v-color-ink, #121412);
}

.v-sp-summary__excerpt {
  max-width: 28rem;
  font-size: var(--v-text-sm);
  line-height: 1.65;
  color: var(--v-color-muted, #5c635c);
}

.v-sp-summary__excerpt p {
  margin: 0 0 0.75em;
}

.v-sp-summary__excerpt p:last-child {
  margin-bottom: 0;
}

.v-sp-summary__size-guide {
  margin: 0;
}

.v-sp-summary__size-guide-link {
  font-size: var(--v-text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 0.3em;
  color: inherit;
}

.v-sp-summary__size-guide-link:hover {
  opacity: 0.7;
}

.v-sp-summary__sku {
  margin: 0;
  display: flex;
  gap: 0.75rem;
  font-size: var(--v-text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--v-color-muted, #5c635c);
}

.v-sp-summary__delivery {
  list-style: none;
  margin: 0;
  padding: var(--v-space-5) 0 0;
  border-top: 1px solid rgba(18, 20, 18, 0.12);
  display: grid;
  gap: 0.5rem;
  font-size: var(--v-text-sm);
  line-height: 1.5;
  color: var(--v-color-muted, #5c635c);
}

/* --------------------------------------------------------------------------
   Variations + ATC (WooCommerce form restyle)
   -------------------------------------------------------------------------- */

.v-sp-variations .cart,
.v-sp-variations form.cart {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--v-space-5);
}

.v-sp-variations .variations {
  width: 100%;
  margin: 0;
  border: 0;
}

.v-sp-variations .variations tbody,
.v-sp-variations .variations tr,
.v-sp-variations .variations td,
.v-sp-variations .variations th {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
}

.v-sp-variations .variations tr + tr {
  margin-top: var(--v-space-5);
}

.v-sp-variations .variations .label {
  margin-bottom: var(--v-space-3);
}

.v-sp-variations .variations .label label {
  font-family: var(--v-font-body);
  font-size: var(--v-text-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.v-sp-variations .reset_variations {
  display: inline-block;
  margin-top: var(--v-space-3);
  font-size: var(--v-text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 0.28em;
  color: var(--v-color-muted, #5c635c);
}

.v-sp-variations select {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.65rem 0;
  border: 0;
  border-bottom: 1px solid rgba(18, 20, 18, 0.35);
  border-radius: 0;
  background: transparent;
  font-family: var(--v-font-body);
  font-size: var(--v-text-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: inherit;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 12px) calc(50% + 2px), calc(100% - 7px) calc(50% + 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.v-sp-variations select:focus-visible {
  outline: none;
  border-bottom-color: var(--v-color-ink, #121412);
}

/* Enhanced swatch / size button UI (JS-generated) */
.v-sp-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.v-sp-swatch {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.85rem;
  margin: 0;
  border: 1px solid rgba(18, 20, 18, 0.28);
  background: transparent;
  color: inherit;
  font-family: var(--v-font-body);
  font-size: var(--v-text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.v-sp-swatch.is-selected {
  border-color: var(--v-color-ink, #121412);
  background: var(--v-color-ink, #121412);
  color: var(--v-sp-bg, #f7f5f0);
}

.v-sp-swatch.is-disabled,
.v-sp-swatch:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
}

.v-sp-swatch--color {
  width: 1.75rem;
  height: 1.75rem;
  min-width: 1.75rem;
  min-height: 1.75rem;
  padding: 0;
  border-radius: 50%;
  border-width: 1px;
}

.v-sp-swatch--color.is-selected {
  box-shadow: 0 0 0 1px var(--v-sp-bg, #f7f5f0), 0 0 0 2px var(--v-color-ink, #121412);
  background: var(--v-swatch-color, transparent);
  color: transparent;
}

.v-sp-swatch--color .v-sp-swatch__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.v-sp-variations .v-sp-native-select.is-enhanced {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Quantity */
.v-sp-variations .quantity {
  display: inline-flex;
  align-items: stretch;
  border-bottom: 1px solid rgba(18, 20, 18, 0.35);
  width: max-content;
  max-width: 100%;
}

.v-sp-variations .quantity .qty {
  width: 3rem;
  min-height: 2.75rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: center;
  font-family: var(--v-font-body);
  font-size: var(--v-text-sm);
  letter-spacing: 0.08em;
  -moz-appearance: textfield;
}

.v-sp-variations .quantity .qty::-webkit-outer-spin-button,
.v-sp-variations .quantity .qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.v-sp-qty-btn {
  width: 2.5rem;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.v-sp-qty-btn:focus-visible,
.v-sp-swatch:focus-visible {
  outline: 2px solid var(--v-color-ink, #121412);
  outline-offset: 2px;
}

.v-sp-variations .single_variation_wrap {
  display: flex;
  flex-direction: column;
  gap: var(--v-space-4);
}

.v-sp-variations .woocommerce-variation-price,
.v-sp-variations .woocommerce-variation-availability {
  font-size: var(--v-text-sm);
}

/* Custom stock lives in the summary — hide Woo duplicate inside the form shell. */
.v-sp-variations > .stock {
  display: none;
}

/* Add to cart button */
.v-sp-variations .single_add_to_cart_button,
.v-sp-variations button.single_add_to_cart_button {
  width: 100%;
  min-height: 3.25rem;
  margin: 0;
  padding: 0.9rem 1.25rem;
  border: 0;
  border-radius: 0;
  background: var(--v-color-ink, #121412);
  color: var(--v-sp-bg, #f7f5f0);
  font-family: var(--v-font-body);
  font-size: var(--v-text-xs);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.v-sp-variations .single_add_to_cart_button:hover {
  background: #000;
}

.v-sp-variations .single_add_to_cart_button:focus-visible {
  outline: 2px solid var(--v-color-ink, #121412);
  outline-offset: 3px;
}

.v-sp-variations .single_add_to_cart_button.disabled,
.v-sp-variations .single_add_to_cart_button:disabled,
.v-sp-variations .single_add_to_cart_button.wc-variation-selection-needed,
.v-sp-variations .single_add_to_cart_button.wc-variation-is-unavailable {
  opacity: 0.45;
  cursor: not-allowed;
}

.v-sp-soldout-btn {
  width: 100%;
  min-height: 3.25rem;
  margin: 0;
  padding: 0.9rem 1.25rem;
  border: 0;
  border-radius: 0;
  background: rgba(18, 20, 18, 0.14);
  color: var(--v-color-ink, #121412);
  font-family: var(--v-font-body);
  font-size: var(--v-text-xs);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: not-allowed;
}

.v-sp-variations .single_add_to_cart_button.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

.v-sp-variations .single_add_to_cart_button.is-added {
  background: transparent;
  color: var(--v-color-ink, #121412);
  box-shadow: inset 0 0 0 1px var(--v-color-ink, #121412);
}

/* Woo Variation Swatches plugin — keep restrained */
.v-sp-variations .woo-variation-swatches .variable-item {
  border-radius: 0;
  box-shadow: none;
}

.v-sp-variations .woo-variation-swatches .variable-item.button-variable-item {
  min-width: 2.75rem;
  min-height: 2.75rem;
  border: 1px solid rgba(18, 20, 18, 0.28);
  font-size: var(--v-text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.v-sp-variations .woo-variation-swatches .variable-item.selected {
  border-color: var(--v-color-ink, #121412);
  background: var(--v-color-ink, #121412);
  color: var(--v-sp-bg, #f7f5f0);
}

/* Secondary actions */
.v-sp-actions {
  display: flex;
  flex-direction: column;
  gap: var(--v-space-3);
  margin-top: var(--v-space-4);
}

.v-sp-actions__wishlist {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-family: var(--v-font-body);
  font-size: var(--v-text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}

.v-sp-actions__wishlist:hover {
  opacity: 0.7;
}

.v-sp-actions__wishlist:focus-visible {
  outline: 2px solid var(--v-color-ink, #121412);
  outline-offset: 3px;
}

.v-sp-actions__status:not([hidden]) {
  margin: 0;
  font-size: var(--v-text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Accordions
   -------------------------------------------------------------------------- */

.v-sp-info {
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid rgba(18, 20, 18, 0.12);
}

.v-sp-acc {
  border-bottom: 1px solid rgba(18, 20, 18, 0.12);
}

.v-sp-acc__heading {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.v-sp-acc__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: start;
}

.v-sp-acc__title {
  font-family: var(--v-font-body);
  font-size: var(--v-text-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.v-sp-acc__icon {
  display: inline-flex;
  line-height: 0;
  transition: transform 0.25s ease;
}

.v-sp-acc.is-open .v-sp-acc__icon {
  transform: rotate(45deg);
}

.v-sp-acc__trigger:focus-visible {
  outline: 2px solid var(--v-color-ink, #121412);
  outline-offset: 3px;
}

.v-sp-acc__panel {
  padding-bottom: 1.25rem;
}

.v-sp-acc__content {
  max-width: 42rem;
  font-size: var(--v-text-sm);
  line-height: 1.7;
  color: var(--v-color-muted, #5c635c);
}

.v-sp-acc__content p:first-child {
  margin-top: 0;
}

.v-sp-details {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.v-sp-details__row {
  display: grid;
  grid-template-columns: minmax(7rem, 10rem) minmax(0, 1fr);
  gap: 1rem;
}

.v-sp-details__label {
  font-size: var(--v-text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--v-color-ink, #121412);
}

/* --------------------------------------------------------------------------
   Trust row
   -------------------------------------------------------------------------- */

.v-sp-trust {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-block: 1px solid rgba(18, 20, 18, 0.12);
}

.v-sp-trust__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.v-sp-trust__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: var(--v-space-5) var(--v-space-3);
  text-align: center;
  min-width: 0;
}

.v-sp-trust__item:nth-child(even) {
  border-inline-start: 1px solid rgba(18, 20, 18, 0.12);
}

.v-sp-trust__item:nth-child(n + 3) {
  border-block-start: 1px solid rgba(18, 20, 18, 0.12);
}

.v-sp-trust__icon {
  color: var(--v-color-ink, #121412);
  line-height: 0;
}

.v-sp-trust__title {
  font-family: var(--v-font-body);
  font-size: var(--v-text-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.v-sp-trust__desc {
  font-size: var(--v-text-sm);
  line-height: 1.5;
  color: var(--v-color-muted, #5c635c);
}

@media (min-width: 900px) {
  .v-sp-trust__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .v-sp-trust__item:nth-child(n + 3) {
    border-block-start: 0;
  }

  .v-sp-trust__item:not(:first-child) {
    border-inline-start: 1px solid rgba(18, 20, 18, 0.12);
  }

  .v-sp-trust__item:nth-child(even) {
    border-inline-start: 1px solid rgba(18, 20, 18, 0.12);
  }
}

/* --------------------------------------------------------------------------
   Related
   -------------------------------------------------------------------------- */

.v-sp-related {
  margin-top: clamp(3.5rem, 7vw, 6rem);
}

.v-sp-related__header {
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.v-sp-related__title {
  margin: 0;
  font-family: var(--v-font-display, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.v-sp-related__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--v-space-7, 2rem) var(--v-space-4);
}

@media (min-width: 900px) {
  .v-sp-related__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.v-sp-related__item {
  min-width: 0;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Mobile sticky cart
   -------------------------------------------------------------------------- */

.v-sp-sticky-cart {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: var(--v-z-sticky, 200);
  background: var(--v-sp-bg, #f7f5f0);
  border-top: 1px solid rgba(18, 20, 18, 0.14);
  padding: 0.75rem clamp(1rem, 4vw, 1.5rem);
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
  transform: translateY(110%);
  transition: transform 0.28s ease;
  pointer-events: none;
}

.v-sp-sticky-cart.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}

.v-sp-sticky-cart__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--v-container-wide, 82rem);
  margin-inline: auto;
}

.v-sp-sticky-cart__title {
  margin: 0;
  font-size: var(--v-text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 12rem;
}

.v-sp-sticky-cart__price {
  margin: 0.2rem 0 0;
  font-size: var(--v-text-sm);
}

.v-sp-sticky-cart__btn {
  flex: 0 0 auto;
  min-height: 2.75rem;
  padding: 0.65rem 1.15rem;
  border: 0;
  background: var(--v-color-ink, #121412);
  color: var(--v-sp-bg, #f7f5f0);
  font-family: var(--v-font-body);
  font-size: var(--v-text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}

.v-sp-sticky-cart__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.v-sp-sticky-cart__btn:focus-visible {
  outline: 2px solid var(--v-color-ink, #121412);
  outline-offset: 3px;
}

@media (min-width: 900px) {
  .v-sp-sticky-cart {
    display: none !important;
  }
}

/* Reserve space when sticky cart is active so content isn't covered */
@media (max-width: 899px) {
  body.v-sp-sticky-cart-active .v-sp {
    padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  }
}

/* Hide default Blocksy / Woo leftovers on our shell */
.v-sp .ct-product-gallery-container,
.v-sp .woocommerce-product-gallery,
.single-product .site-main > .product:not(.v-sp) {
  /* no-op safety */
}

@media (prefers-reduced-motion: reduce) {
  .v-sp-gallery__img,
  .v-sp-gallery__track,
  .v-sp-sticky-cart,
  .v-sp-acc__icon {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
