/* Hallmark · pre-emit critique: P5 H5 E4 S5 R5 V5 */
.single-product .site-main {
  max-width: none;
  padding: 0;
}

/* Keep Elementor's native product lightbox above the persistent site shell. */
.single-product .dialog-widget.elementor-lightbox {
  z-index: 10002;
}

.vdp-product,
.vdp-product * {
  box-sizing: border-box;
}

.vdp-product {
  --vdp-text: #111;
  --vdp-muted: #666;
  --vdp-border: #d8d8d2;
  width: 100%;
  color: var(--vdp-text);
  font-family: Arial, Helvetica, sans-serif;
}

.vdp-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.047fr) minmax(360px, 1fr);
  gap: 20px;
  align-items: start;
  padding: 31px 10px 0;
}

.vdp-gallery,
.vdp-buybox {
  min-width: 0;
}

.vdp-gallery,
.vdp-gallery a,
.vdp-gallery img {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.vdp-gallery__desktop {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.vdp-gallery__main {
  position: sticky;
  top: 24px;
  align-self: start;
}

.vdp-gallery__side {
  display: grid;
  gap: 20px;
}

.vdp-gallery a,
.vdp-gallery__image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  background: transparent;
}

.vdp-gallery__mobile {
  display: none;
  position: relative;
}

.vdp-gallery__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.vdp-gallery__track::-webkit-scrollbar {
  display: none;
}

.vdp-gallery__slide {
  flex: 0 0 100%;
  min-width: 100%;
  scroll-snap-align: start;
}

.vdp-gallery__arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 0 4px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #555;
  font: 400 32px/1 Arial, Helvetica, sans-serif;
  cursor: pointer;
}

.vdp-product .vdp-gallery__arrow {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.92);
  color: #4d4d4d;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 30px;
}

.vdp-gallery__arrow--prev {
  left: 16px;
}

.vdp-gallery__arrow--next {
  right: 16px;
}

.vdp-gallery__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 12px;
}

.vdp-gallery__dot {
  width: 6px;
  height: 6px;
  min-width: 6px;
  min-height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #c8c8c8;
  cursor: pointer;
}

.vdp-gallery__dot.is-active {
  background: #111;
}

.vdp-buybox {
  position: sticky;
  top: 24px;
  align-self: start;
  padding: 24px 0 0;
  border: 0;
  background: transparent;
}

.vdp-buybox h1 {
  margin: 0 0 18px;
  color: #111;
  font: 400 17px/1.45 Arial, Helvetica, sans-serif;
  text-transform: none;
}

.vdp-price {
  margin: 0 0 14px;
  color: #111;
  font: 600 18px/1.2 Arial, Helvetica, sans-serif;
}

.vdp-price .price,
.vdp-price .woocommerce-Price-amount,
.vdp-price bdi {
  color: inherit;
  font: inherit;
}

.vdp-sizehead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 10px;
  color: #111;
  font-size: 14px;
  line-height: 1.45;
}

.vdp-sizehead span {
  color: #666;
}

.vdp-sizehead strong {
  color: #111;
  font-weight: 400;
}

.vdp-sizehead a {
  padding-bottom: 1px;
  border-bottom: 1px solid #bdbdb7;
  color: #666;
  font-size: 13px;
  line-height: 1.2;
  text-decoration: none;
}

.vdp-sizegrid {
  display: grid;
  grid-template-columns: repeat(var(--vdp-size-count, 3), minmax(0, 1fr));
  gap: 6px;
  margin: 0 0 14px;
}

.vdp-sizegrid button {
  display: flex;
  width: 100%;
  min-width: 0;
  height: 38px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  overflow: hidden;
  appearance: none;
  border: 1px solid var(--vdp-border);
  border-radius: 0;
  background: #fff;
  color: #111;
  font: 400 13.5px/1.2 Arial, Helvetica, sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.vdp-sizegrid button:hover,
.vdp-sizegrid button.is-active {
  border-color: #111;
}

.vdp-sizegrid button.is-active {
  box-shadow: inset 0 0 0 1px #111;
}

.vdp-sizegrid button:disabled,
.vdp-sizegrid button.is-disabled {
  border-color: #e4e4de;
  background: #fafafa;
  color: #9e9e9e;
  opacity: 0.42;
  cursor: not-allowed;
}

.vdp-native-purchase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 6px;
}

.vdp-native-purchase > .cart,
.vdp-native-purchase .single_variation_wrap,
.vdp-native-purchase .woocommerce-variation-add-to-cart {
  display: contents;
}

.vdp-native-purchase .variations,
.vdp-native-purchase .woocommerce-variation,
.vdp-native-purchase .quantity,
.vdp-native-purchase .reset_variations {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.vdp-native-purchase .single_add_to_cart_button,
.vdp-wishlist {
  display: flex;
  width: 100%;
  height: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 0;
  font: 400 14px/1.2 Arial, Helvetica, sans-serif;
  text-align: center;
  text-transform: none;
}

.vdp-native-purchase .single_add_to_cart_button,
.vdp-native-purchase .single_add_to_cart_button:hover {
  margin: 0;
  border: 1px solid #111;
  background: #111;
  color: #fff;
}

.single-product .vdp-product .vdp-native-purchase button.single_add_to_cart_button {
  height: 42px;
  min-height: 42px;
  margin: 0;
  padding: 8px 14px;
  border: 1px solid #111;
  border-radius: 0;
  background: #111;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 16.8px;
  text-transform: none;
}

.vdp-native-purchase .single_add_to_cart_button:disabled,
.vdp-native-purchase .single_add_to_cart_button.disabled {
  border-color: #898989;
  background: #898989;
  opacity: 1;
  cursor: not-allowed;
}

.single-product .vdp-product .vdp-native-purchase button.single_add_to_cart_button:disabled,
.single-product .vdp-product .vdp-native-purchase button.single_add_to_cart_button.disabled {
  border-color: #898989;
  background: #898989;
  color: #fff;
  opacity: 1;
}

.vdp-wishlist {
  border: 1px solid #111;
  background: #fff;
  color: #111;
  cursor: pointer;
}

.vdp-wishlist.is-active { background: #111; color: #fff; }
.vdp-wishlist:focus-visible { outline: 2px solid #111; outline-offset: 3px; }

.vdp-wishlist__icon,
.vdp-wishlist__icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

.vdp-wishlist__icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
}

.vdp-wishlist .vd-wishlist-toggle__icon { font-size: 21px; line-height: 1; }
.vdp-wishlist.is-active .vd-wishlist-toggle__icon { font-size: 0; }
.vdp-wishlist.is-active .vd-wishlist-toggle__icon:after { content: "♥"; font-size: 17px; }

.vdp-accordions {
  margin-top: 20px;
}

.vdp-accordions details {
  margin: 0;
  border: 0;
}

.vdp-accordions summary {
  position: relative;
  display: block;
  height: 36.5px;
  padding: 10px 0;
  color: #111;
  font: 600 11px/16.5px Arial, Helvetica, sans-serif;
  list-style: none;
  text-transform: uppercase;
  cursor: pointer;
}

.vdp-accordions summary::-webkit-details-marker {
  display: none;
}

.vdp-accordion-copy {
  min-height: 115.171875px;
  padding: 14.390625px 0 0;
  color: #111;
  font: 400 12px/18px Arial, Helvetica, sans-serif;
}

.vdp-accordion-copy:empty {
  display: none;
}

.vdp-accordion-copy p,
.vdp-accordion-copy pre {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  white-space: normal;
}

.vdp-accordion-copy p:first-child {
  margin-bottom: 32.390625px;
}

.vdp-accordion-copy p:last-child {
  margin-bottom: 14.390625px;
}

.vdp-related {
  padding: 110px 10px 20px;
}

.vdp-related h2 {
  height: 24px;
  margin: 0;
  padding: 6px 0;
  color: #111;
  font: 400 12px/12px Arial, Helvetica, sans-serif;
  text-align: center;
  text-transform: none;
}

.vdp-related p {
  height: 51px;
  margin: 10px 0 0;
  padding: 15px 0;
  color: #111;
  font: 400 14px/21px Arial, Helvetica, sans-serif;
}

.vdp-related__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #111;
  border-left: 1px solid #111;
}

.vdp-related__card {
  min-width: 0;
  border-right: 1px solid #111;
  border-bottom: 1px solid #111;
}

.vdp-related__media {
  display: block;
  aspect-ratio: 3 / 4;
  background: #fff;
}

.vdp-related__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.vdp-related__meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 10px;
  min-height: 64px;
  padding: 12px;
  color: #111;
  text-decoration: none;
}

.vdp-related__meta h3,
.vdp-related__meta span,
.vdp-related__meta .amount {
  margin: 0;
  color: inherit;
  font: 400 11px/1.2 Arial, Helvetica, sans-serif;
}

.vdp-related__meta h3 {
  text-transform: uppercase;
}

.vdp-related__meta span {
  white-space: nowrap;
  text-align: right;
}

.vdp-related__empty {
  text-align: center;
}

@media (max-width: 1024px) {
  .vdp-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .vdp-gallery__main,
  .vdp-buybox {
    position: static;
    top: auto;
  }
}

@media (max-width: 767px) {
  .vdp-layout {
    display: block;
    padding: 31px 10px 0;
  }

  .vdp-gallery__desktop {
    display: none;
  }

  .vdp-gallery__mobile {
    display: block;
  }

  .vdp-buybox {
    padding: 20px 0 0;
  }

  .vdp-gallery__arrow {
    width: 40px;
    height: 40px;
  }

  .vdp-gallery__arrow--prev {
    left: 14px;
  }

  .vdp-gallery__arrow--next {
    right: 14px;
  }

  .vdp-gallery__dots {
    padding-top: 14px;
  }

  .vdp-accordions {
    margin-top: 44px;
  }

  .vdp-accordions summary {
    height: 31px;
    padding: 8px 0;
    line-height: 15px;
  }

  .vdp-sizegrid {
    grid-template-columns: repeat(var(--vdp-size-count, 3), minmax(0, 1fr));
  }

  .vdp-related {
    padding: 60px 0 110px;
  }

  .vdp-related h2 {
    display: flex;
    height: 22px;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 10px;
    line-height: 10px;
  }

  .vdp-related p {
    margin-top: 50px;
  }

  .vdp-related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 17px;
  }

  .vdp-related__meta {
    min-height: 58px;
    gap: 6px;
    padding: 9px 8px;
  }

  .vdp-related__meta h3,
  .vdp-related__meta span,
  .vdp-related__meta .amount {
    font-size: 10px;
  }

  .vdp-related__empty {
    margin-top: 28px !important;
  }
}
