/* ==========================================================================
   Custom product page (PDP 2.0) styles
   Loaded by components/custom-product/detail.html.
   Part 1 is the base PDP; part 2 (from the former detail-ar.css) holds the
   AR refinements and must stay AFTER part 1, since it overrides it.
   ========================================================================== */

.product-detail-sections {font-size:var(--font-size-s);}

.product-detail__media-gallery {
  --padding-inline-start: calc(
    var(--detail-padding-inline-start, 0px) + var(--page-padding, 0px)
  );
  --padding-inline-end: calc(
    var(--detail-padding-inline-end, 0px) + var(--page-padding, 0px)
  );

  display: block;
  overflow: hidden;
}
.product-detail__media-gallery .media-gallery__placeholder {
  width: 100%;
  cursor: default;
  background-color: rgb(var(--color-image-background));
}

.product-detail__media-gallery .media-gallery__placeholder svg {
  width: 100%;
  height: 100%;
}

.product-detail__media-gallery .media-gallery__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  width: 100%;
}

.product-detail__media-gallery .media-gallery__list-wrapper {
  --gap: 10px;

  position: relative;
  width: 100%;
}

.product-detail__media-gallery .media-gallery__sticky-wrapper {
  display: none;
}

.product-detail__media-gallery .media-gallery__list {
  gap: var(--gap, 0);
  align-items: center;
  width: 100%;
  padding: 0;
  margin: 0;
  overflow-y: hidden;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-color: white white;
  border:1px solid var(--color-border-grey);
}

.product-detail__technical-information_container {border-top:1px solid var(--color-border-grey);}
.product-detail__technical-information_container .product-metafield-child {padding: var(--size-20);
  border-left: 1px solid var(--color-link);}
.product-detail__technical-information_container :nth-child(1 of .product-metafield-child) {border-left:0;}

@media (max-width:959px) {
  .product-detail__media-gallery .media-gallery__list {scrollbar-color: white white;}
}

@media (min-width: 960px) {
  .product-detail__media-gallery .media-gallery__list {
    scroll-behavior: auto;
  }
}

.product-detail__media-gallery .media-gallery__list::before {
  display: block;
  flex-shrink: 0;
  width: 100%;
  height: auto;
  aspect-ratio: var(--min-aspect-ratio);
  content: "";
}

.product-detail__media-gallery .media-gallery__item {
  display: none;
  align-items: flex-start;
  width: 100%;
  overflow: hidden;
  cursor: zoom-in;
}

@media (max-width: 959px) {
  .product-detail__media-gallery
    .media-gallery__item:not(
      [data-media-type="video"],
      [data-media-type="external_video"]
    )
    .media-gallery__media::after {
    position: absolute;
    inset-block-start: 0;
    inset-inline-start: 0;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    content: "";
    opacity: 0;
  }
}

.product-detail__media-gallery .media-gallery__media {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.product-detail__media-gallery .media-gallery__image {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 959px) {
  .product-detail__media-gallery
    .media-gallery__video
    .theme-video-media__play-button {
    inset-block-start: unset;
    inset-block-end: 20px;
    inset-inline-start: unset;
    inset-inline-end: 20px;
    width: 10%;
    min-width: 30px;
    max-width: 60px;
    transform: none;
  }
}

.product-detail__media-gallery .media-gallery__arrows {
  display: flex;
  gap: 14px;
  align-items: center;
}

.product-detail__media-gallery .media-gallery__arrow {
  display: flex;
  align-items: center;
  padding: 6px;
  line-height: 1;
  cursor: pointer;
  background: none;
  border: none;
}

.product-detail__media-gallery .media-gallery__arrow .icon {
  width: 10px;
  height: 10px;
}

.product-detail__media-gallery .media-gallery__arrow[name="previous"] .icon {
  transform: rotate(90deg);
}

.product-detail__media-gallery .media-gallery__arrow[name="next"] .icon {
  transform: rotate(-90deg);
}

.product-detail__media-gallery .media-gallery__arrow:disabled {
  cursor: not-allowed;
}

.product-detail__media-gallery .media-gallery__status {
  display: flex;
  align-items: center;
  line-height: 1;
}

.product-detail__media-gallery .media-gallery__pagination {
  display: flex;
  gap: var(--size-16);
  align-items: center;
  justify-content: center;
  max-width: 85%;
  padding: 2px 0;
  flex-wrap:wrap;
}

.product-detail__media-gallery .media-gallery__pagination button[name="pager"] {
  position: relative;
  flex: 1 0 0;
  width: 38px;
  max-width: 38px;
  height: 3px;
  background-color: var(--color-grey);
  border: none;
  transition: background-color var(-speed-slow) var(--motion-ease-in);
  padding:0;
  touch-action: manipulation;
}

.product-detail__media-gallery .media-gallery__pagination button[name="pager"]::before {
  content: "";
  position: absolute;
  inset-block: -21px;
  inset-inline: 0;
}

.product-detail__media-gallery
  .media-gallery__pagination
  button[name="pager"].is-active {
  background-color: var(--color-body);
}

.product-detail__media-gallery .media-gallery__thumbnails {
  position: relative;
  display: block;
  width: 100%;  
}

@media (max-width: 959px) {
  .product-detail__media-gallery .media-gallery__thumbnail-list {
    --columns: 3;
    --gap-columns: 3;
  }
}

.product-detail__media-gallery .media-gallery__thumbnail {
  position: relative;
  width: calc(
    (90% - var(--gap, 0px) * (var(--gap-columns) - 1)) / var(--columns)
  );
  aspect-ratio: 1;
  padding: 0;
  background: none;
  outline: none;
  border:1px solid var(--color-border-grey);
}

.product-detail__media-gallery .media-gallery__thumbnail::after {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
  content: "";
  box-shadow: inset 0 0 0 var(--border-thickness, 0) rgb(var(--color-text));
  transition: box-shadow 0.2s;
}

.product-detail__media-gallery .media-gallery__thumbnail:hover,
.product-detail__media-gallery .media-gallery__thumbnail:focus,
.product-detail__media-gallery .media-gallery__thumbnail.is-select {
  --border-thickness: 2px;
}

.product-detail__media-gallery .media-gallery__thumbnail-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail__media-gallery
  .media-gallery__thumbnail-arrows
  button[name="previous"],
.product-detail__media-gallery
  .media-gallery__thumbnail-arrows
  button[name="next"] {
  position: absolute;
  inset-block-start: 50%;
  transform: translate(-50%, -50%);
}

.product-detail__media-gallery
  .media-gallery__thumbnail-arrows
  button[name="previous"] {
  inset-inline-start: 16px;
}

.product-detail__media-gallery
  .media-gallery__thumbnail-arrows
  button[name="next"] {
  inset-inline-start: calc(100% - 16px);
}

.product-detail__media-gallery .media-gallery__thumbnail-play-icon {
  position: absolute;
  inset-block-start: 10px;
  inset-inline-end: 10px;
  width: 22px;
  height: 22px;
  background-color: #fff;
  border-radius: 50%;
}

.product-detail__media-gallery[data-init="true"] .media-gallery__item,
.product-detail__media-gallery .media-gallery__item.is-active {
  display: flex;
}

.product-detail__media-gallery[data-init="true"] .media-gallery__list::before {
  display: none;
}

.product-detail__media-gallery[data-disabled-preview="true"]
  .media-gallery__item {
  cursor: default;
}

@media (min-width: 960px) {
  .product-detail__media-gallery[data-desktop-layout="thumbnail-flatten"]
    .media-gallery__list,
  .product-detail__media-gallery[data-desktop-layout="thumbnail-carousel"]
    .media-gallery__list {
    aspect-ratio: var(--fixed-aspect-ratio, var(--aspect-ratio));
  }

  /* Fixed ratio: fit each image inside the frame (letterboxed) instead of overflowing it */
  .product-detail__media-gallery[data-fixed-aspect-ratio="true"][data-desktop-layout="thumbnail-flatten"]
    .media-gallery__item img,
  .product-detail__media-gallery[data-fixed-aspect-ratio="true"][data-desktop-layout="thumbnail-carousel"]
    .media-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .product-detail__media-gallery[data-desktop-layout="thumbnail-flatten"]
    .media-gallery__item,
  .product-detail__media-gallery[data-desktop-layout="thumbnail-carousel"]
    .media-gallery__item {
    height: 100%;
  }
  .product-detail__media-gallery[data-desktop-layout="thumbnail-flatten"]
    .media-gallery__thumbnails {
    flex-wrap: wrap;
    padding: 0;
  }

  .product-detail__media-gallery[data-desktop-layout="thumbnail-flatten"]
    .media-gallery__thumbnail-list {
    --gap: 10px;
    --columns: 5;
    --gap-columns: 5;
  }

  .product-detail__media-gallery[data-desktop-layout="thumbnail-flatten"]
    .media-gallery__thumbnail-arrows {
    display: none;
  }

  .product-detail__media-gallery[data-desktop-layout="thumbnail-flatten"]
    .media-gallery__arrows {
    display: none;
  }

  .product-detail__media-gallery[data-desktop-layout="thumbnail-flatten"]
    .media-gallery__pagination {
    display: none;
  }
  .product-detail__media-gallery[data-desktop-layout="thumbnail-carousel"]
    .media-gallery__arrows {
    display: none;
  }

  .product-detail__media-gallery[data-desktop-layout="thumbnail-carousel"]
    .media-gallery__pagination {
    display: none;
  }
  .product-detail__media-gallery[data-desktop-layout="two-columns"]
    .media-gallery__list-wrapper {
    --gap: 4px;
  }

  .product-detail__media-gallery[data-desktop-layout="two-columns"]
    .media-gallery__item,
  .product-detail__media-gallery[data-desktop-layout="two-columns"]
    .media-gallery__sticky-wrapper {
    align-items: flex-start;
    width: calc((100% - var(--gap, 0)) / 2);
  }

  .product-detail__media-gallery[data-desktop-layout="two-columns"]
    .media-gallery__arrows {
    display: none;
  }

  .product-detail__media-gallery[data-desktop-layout="two-columns"]
    .media-gallery__pagination {
    display: none;
  }

  .product-detail__media-gallery[data-desktop-layout="two-columns"]
    .media-gallery__thumbnails {
    display: none;
  }
  .product-detail__media-gallery[data-desktop-layout="two-columns"][data-media-total="1"]
    .media-gallery__item,
  .product-detail__media-gallery[data-desktop-layout="two-columns"][data-media-total="1"]
    .media-gallery__sticky-wrapper {
    width: 100%;
  }
  .product-detail__media-gallery[data-desktop-layout="flatten"]
    .media-gallery__list-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap, 0);
  }

  .product-detail__media-gallery[data-desktop-layout="flatten"]
    .media-gallery__item {
    align-items: flex-start;
    width: calc((100% - var(--gap, 0)) / 2);
  }

  .product-detail__media-gallery[data-desktop-layout="flatten"]
    .media-gallery__sticky-wrapper {
    width: 100%;
  }

  .product-detail__media-gallery[data-desktop-layout="flatten"]
    .media-gallery__arrows {
    display: none;
  }

  .product-detail__media-gallery[data-desktop-layout="flatten"]
    .media-gallery__pagination {
    display: none;
  }

  .product-detail__media-gallery[data-desktop-layout="flatten"]
    .media-gallery__thumbnails {
    display: none;
  }
  .product-detail__media-gallery[data-desktop-layout="two-columns"]
    .media-gallery__list-wrapper,
  .product-detail__media-gallery[data-desktop-layout="flatten"]
    .media-gallery__list-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap, 0);
    align-items: flex-start;
  }

  .product-detail__media-gallery[data-desktop-layout="two-columns"]
    .media-gallery__sticky-wrapper,
  .product-detail__media-gallery[data-desktop-layout="flatten"]
    .media-gallery__sticky-wrapper {
    display: block;
  }

  .product-detail__media-gallery[data-desktop-layout="two-columns"]
    .media-gallery__sticky-wrapper
    .media-gallery__item,
  .product-detail__media-gallery[data-desktop-layout="flatten"]
    .media-gallery__sticky-wrapper
    .media-gallery__item {
    display: flex;
    width: 100%;
  }

  .product-detail__media-gallery[data-desktop-layout="two-columns"]
    .media-gallery__list,
  .product-detail__media-gallery[data-desktop-layout="flatten"]
    .media-gallery__list {
    display: contents;
  }

  .product-detail__media-gallery[data-desktop-layout="two-columns"]
    .media-gallery__list::before,
  .product-detail__media-gallery[data-desktop-layout="flatten"]
    .media-gallery__list::before {
    content: unset;
  }

  .product-detail__media-gallery[data-desktop-layout="two-columns"]
    .media-gallery__list
    .is-select,
  .product-detail__media-gallery[data-desktop-layout="flatten"]
    .media-gallery__list
    .is-select {
    display: none;
  }

  .product-detail__media-gallery[data-desktop-layout="two-columns"]
    .media-gallery__item,
  .product-detail__media-gallery[data-desktop-layout="flatten"]
    .media-gallery__item {
    display: flex;
  }
}

@media (max-width: 959px) {
  .product-detail__media-gallery[data-mobile-layout="two-columns"]
    .media-gallery__list {
    padding: 0 var(--padding-inline-start);
    scroll-padding-left: var(--padding-inline-start);
  }

  .product-detail__media-gallery[data-mobile-layout="two-columns"]
    .media-gallery__item,
  .product-detail__media-gallery[data-mobile-layout="two-columns"]
    .media-gallery__list::before {
    width: calc((100% - var(--gap, 0)) / 2);
  }

  .product-detail__media-gallery[data-mobile-layout="two-columns"]
    .media-gallery__pagination {
    display: none;
  }

  .product-detail__media-gallery[data-mobile-layout="two-columns"]
    .media-gallery__thumbnails {
    display: none;
  }
  .product-detail__media-gallery[data-mobile-layout="two-columns"][data-media-total="1"]
    .media-gallery__item,
  .product-detail__media-gallery[data-mobile-layout="two-columns"][data-media-total="1"]
    .media-gallery__list::before {
    width: 100%;
  }
  .product-detail__media-gallery[data-mobile-layout="two-columns"]:not(
      [data-init="true"]
    )
    .media-gallery__item.is-active
    + .media-gallery__item {
    display: flex;
  }
  .product-detail__media-gallery[data-mobile-layout="hide-thumbnail"]
    .media-gallery__list {
    padding: 0 var(--padding-inline-start);
    scroll-padding-left: var(--padding-inline-start);
  }

  .product-detail__media-gallery[data-mobile-layout="hide-thumbnail"]
    .media-gallery__pagination {
    display: none;
  }

  .product-detail__media-gallery[data-mobile-layout="hide-thumbnail"]
    .media-gallery__thumbnails {
    display: none;
  }
  .product-detail__media-gallery[data-mobile-layout="show-thumbnail"]
    .media-gallery__list,
  .product-detail__media-gallery[data-mobile-layout="show-thumbnail-flatten"]
    .media-gallery__list {
    padding: 0 var(--padding-inline-start);
    scroll-padding-left: var(--padding-inline-start);
  }

  .product-detail__media-gallery[data-mobile-layout="show-thumbnail"]
    .media-gallery__arrows,
  .product-detail__media-gallery[data-mobile-layout="show-thumbnail-flatten"]
    .media-gallery__arrows {
    display: none;
  }

  .product-detail__media-gallery[data-mobile-layout="show-thumbnail"]
    .media-gallery__pagination,
  .product-detail__media-gallery[data-mobile-layout="show-thumbnail-flatten"]
    .media-gallery__pagination {
    display: none;
  }
  .product-detail__media-gallery[data-mobile-layout="show-thumbnail-flatten"]
    .media-gallery__list {
    padding: 0;
    scroll-padding-left: 0;
  }

  .product-detail__media-gallery[data-mobile-layout="show-thumbnail-flatten"]
    .media-gallery__thumbnails {
    flex-wrap: wrap;
    padding: 0 var(--page-padding);
  }

  .product-detail__media-gallery[data-mobile-layout="show-thumbnail-flatten"]
    .media-gallery__thumbnail-arrows {
    display: none;
  }
  .product-detail__media-gallery[data-mobile-layout="fullscreen"]
    .media-gallery__arrows {
    display: none;
  }

  .product-detail__media-gallery[data-mobile-layout="fullscreen"]
    .media-gallery__thumbnails {
    display: none;
  }
}
.product-media-preview .modal__content {
  --modal-animation-name: animation-fade-in;

  inset-block: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border: 0;
}
.product-media-preview__content {
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  gap: 20px;
  padding: 40px 250px;
  overflow: auto;
  scrollbar-width: auto;
  -ms-overflow-style: auto;
}
.product-media-preview__content::-webkit-scrollbar {
  display: initial;
}
@media (max-width: 959px) {
  .product-media-preview__content {
    flex-direction: row;
    padding: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .product-media-preview__content::-webkit-scrollbar {
    display: none;
  }
}
.product-media-preview__image {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.2s;
  transform-origin: center;
}
@media (max-width: 959px) {
  .product-media-preview__image {
    max-height: 80%;
    object-fit: contain;
  }
}
.product-media-preview__media {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: hidden;
}
@media (max-width: 959px) {
  .product-media-preview__media {
    height: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .product-media-preview__media::-webkit-scrollbar {
    display: none;
  }
}
.product-media-preview__media::before {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  z-index: -1;
  display: block;
  width: 180%;
  height: auto;
  aspect-ratio: var(--aspect-ratio, 1);
  content: "";
}
.product-media-preview__media.zoom-in {
  overflow: auto;
}
.product-media-preview__media.zoom-in .product-media-preview__image {
  max-height: unset;
  margin-block-start: var(--offset-y, 0);
  margin-inline-start: var(--offset-x, 0);
  transform: scale(1.8);
}
.product-media-preview__arrows {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
@media (min-width: 960px) {
  .product-media-preview__arrows {
    display: none;
  }
}
.product-media-preview__arrow {
  display: flex;
  align-items: center;
  padding: 6px;
  line-height: 1;
  background: none;
  border: none;
}
.product-media-preview__arrow .icon {
  width: 10px;
  height: 10px;
}
.product-media-preview__arrow[name="previous"] .icon {
  transform: rotate(90deg);
}
.product-media-preview__arrow[name="next"] .icon {
  transform: rotate(-90deg);
}
.product-media-preview__status {
  display: flex;
  align-items: center;
  line-height: 1;
}
.product-detail__additional {
  border-block-start: 1px solid rgba(var(--color-text), 0.08);
  border-block-end: 1px solid rgba(var(--color-text), 0.08);
}
.product-detail__additional + .product-detail__additional {
  margin-block-start: calc(-1 * var(--info-row-gap));
  border-block-start: none;
}
.product-detail__additional .additional__trigger {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 15px 0;
  padding-inline-end: 15px;
}
.product-detail__additional .additional__title {
  flex: 1 0 0;
}
.product-detail__additional .additional__content {
  padding: 0 5px;
  overflow: hidden;
}
.product-detail__additional .additional__content::after {
  display: block;
  height: 15px;
  content: "";
}
.product-detail__additional .additional__arrow {
  transition: transform 200ms;
}
.product-detail [open] .additional__arrow {
  transform: rotate(180deg);
}
/* The accordion animation (public/components/collapse/index.js) keeps
   [open] on the <details> for its whole close animation so the content
   doesn't snap away mid-shrink — but that means the [open]-driven arrow
   rotation above would also lag a full animation behind the click.
   is-collapse-closing is set the instant the close starts, so the arrow
   rotates back immediately instead of waiting for [open] to be removed. */
.product-detail [open].is-collapse-closing .additional__arrow {
  transform: rotate(0deg);
}
.product-detail__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-detail__form .form__error-message {
  display: flex;
  gap: 4px;
  align-items: center;
  color: rgb(var(--color-tag-background));
}
.product-detail__form .form__error-message::after {
  content: attr(data-message);
}
.product-detail__form .form__buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-detail__dividing-line {
  display: block;
  height: var(--product-detail-desktop-dividing-line-height, 1px);
  background: var(--product-detail-dividing-line-color);
}
@media (max-width: 959px) {
  .product-detail__dividing-line {
    height: var(--product-detail-dividing-line-height);
    margin-inline: calc(
      -1 * var(--product-detail-dividing-line-padding-inline)
    );
  }
}
.product-detail__inventory .low-stock,
.product-detail__inventory .in-stock,
.product-detail__inventory .out-stock {
  display: inline-flex;
  align-items: flex-start;
}
.product-detail__inventory .low-stock::before,
.product-detail__inventory .in-stock::before,
.product-detail__inventory .out-stock::before {
  --icon-size: 10px;

  display: block;
  flex-shrink: 0;
  width: var(--icon-size);
  height: var(--icon-size);
  margin: calc((1em * var(--sort-body-line-height) - var(--icon-size)) / 2) 0;
  margin-inline-end: 8px;
  content: "";
  background-color: currentcolor;
  border-radius: 50%;
}
.product-detail__inventory .low-stock::before {
  background-color: #fe9e0f;
}
.product-detail__inventory .in-stock::before {
  background-color: #35c08e;
}
.product-detail__inventory .out-stock {
  color: #f86140;
}
.product-detail__popup-main .modal__content {
  --modal-animation-name: animation-fade-in-center;

  inset-block: 60px auto;
  width: calc(100% - var(--detail-padding-inline-end) * 2);
  height: 60%;
  max-height: 380px;
  overflow: hidden;
}
@media (min-width: 960px) {
  .product-detail__popup-main .modal__content {
    width: 90%;
    max-width: 1200px;
    height: calc(100% - 120px);
    max-height: unset;
  }
}
.product-detail__popup-main .popup__title {
  margin-block-end: 20px;
}
.product-detail__popup-main .popup__content {
  width: 100%;
  height: 100%;
  padding: 20px;
  overflow: auto;
}
@media (min-width: 960px) {
  .product-detail__popup-main .popup__content {
    padding: 40px;
  }
}
.product-detail__price {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
theme-product-detail .product-price {font-size:var(--font-size-h4);}
.product-detail__quantity-selector
  .quantity-selector__rules
  span
  + span::before {
  content: " + ";
}
.product-detail__sell-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: start;
  padding: 0;
  margin: 0;
  list-style: none;
}
.product-detail__sell-info .sell-info {
  display: flex;
  gap: 15px;
  align-items: center;
}
.product-detail__sell-info .sell-info__icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.product-detail__sell-info .sell-info__text {
  flex: 1 0 0;
  margin: 0;
}
.product-detail__sell-info--horizontal {
  --sell-info-gap: 20px;

  flex-flow: row wrap;
  gap: var(--sell-info-gap);
}
.product-detail__sell-info--horizontal .sell-info {
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  width: calc(
    (100% - (var(--sell-info-column) - 1) * var(--sell-info-gap)) /
      var(--sell-info-column)
  );
  overflow: hidden;
  text-align: center;
}
@media (max-width: 959px) {
  .product-detail__sell-info--horizontal .sell-info {
    gap: 6px;
  }
}
.product-detail__variant-picker {
  --border-thickness: var(--variant-selector-border-thickness);
  --border-color: rgba(
    var(--color-text),
    var(--variant-selector-border-opacity)
  );

  display: flex;
  flex-direction: column;
  gap: var(--info-row-gap);
}
.product-detail__variant-picker[data-size="0"] {
  display: none;
}
.product-detail__variant-picker .variant-picker__group {
  padding: 0;
  margin: 0;
  border: none;
}
.product-detail__variant-picker .variant-picker__group-label {
  padding: 0;
}
.product-detail__variant-picker .variant-picker__options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.product-detail__variant-picker .variant-picker__button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--size-16) var(--size-20);
  cursor: pointer;
  border:1px solid var(--color-border-grey);
  transition: all ease-out var(--speed-fast);
  font-size: var(--font-size-s);
}
.product-detail__variant-picker .variant-picker__button--image {
  width: 36px;
  height: 36px;
  padding: 2px;
}
.product-detail__variant-picker .variant-picker__button::before,
.product-detail__variant-picker .variant-picker__button::after {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  border-radius: var(--variant-selector-border-radius);
}
.product-detail__variant-picker .variant-picker__button::after {
  /*box-shadow: 0 0 0 var(--border-thickness) var(--border-color);*/
  transition: box-shadow 0.2s;
}
.product-detail__variant-picker .variant-picker__button:hover {
  --border-thickness: calc(var(--variant-selector-border-thickness, 0px) + 1px);
  border-color: var(--color-body);
  background-color:var(--color-body); color:white;
}
/* Colour swatch next to the value (blocks/custom-product/detail-variant-picker.html).
   Known colours are mapped below; anything else falls back to the value itself as a CSS colour name. */
.product-detail__variant-picker .variant-picker__button--color {
  gap: var(--size-8, 8px);
}
.product-detail__variant-picker .variant-picker__swatch {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--swatch, var(--swatch-raw, transparent));
  border: 1px solid var(--color-border-grey);
}
.product-detail__variant-picker .variant-picker__swatch[data-swatch="beige"] {
  --swatch: #E9E1D1;
}
.product-detail__variant-picker .variant-picker__swatch[data-swatch="black"],
.product-detail__variant-picker .variant-picker__swatch[data-swatch="zwart"] {
  --swatch: var(--color-darkbody);
}
/* Event ticket slots: date and language on separate lines, no time (components/product/event-slot-label.html) */
/* Grid with equal rows: every slot button matches the tallest one, across all rows */
.product-detail__variant-picker .variant-picker__options--event {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  grid-auto-rows: 1fr;
}
.product-detail__variant-picker .variant-picker__options--event .variant-picker__option {
  display: flex;
}
/* Slot button: "Sat 12 Sep" over a small uppercase language label, left-aligned */
.product-detail__variant-picker .variant-picker__button--event {
  flex: 1;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 4px;
  padding: var(--size-16) var(--size-24, 24px);
  text-align: start;
}
.product-detail__variant-picker .variant-picker__button--event .variant-picker__event-date {
  font-size: var(--font-size-r, 16px);
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
}
.product-detail__variant-picker .variant-picker__event-time {
  font-size: var(--font-size-s);
  opacity: 0.7;
}
.product-detail__variant-picker .variant-picker__event-language {
  font-size: var(--font-size-xs, 12px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.6;
}
/* Event "When & Where" accordion (product-informational-content.html):
   icon column + label/content column; slots as a hairline list, date left, time right */
.product-detail__accordion .pdp-event-info {
  display: flex;
  flex-direction: column;
  gap: var(--size-24);
  padding-top: var(--size-8, 8px);
}
.product-detail__accordion .pdp-event-info__row {
  display: grid;
  grid-template-columns: 20px 1fr;
  column-gap: var(--size-16);
  align-items: start;
}
.product-detail__accordion .pdp-event-info__icon {
  display: flex;
  width: 20px;
  height: 20px;
  color: var(--color-darkgrey);
}
.product-detail__accordion .pdp-event-info__icon svg {
  width: 100%;
  height: 100%;
}
.product-detail__accordion .pdp-event-info__body {
  min-width: 0;
}
.product-detail__accordion .av-faq__answer-inner .pdp-event-info__label {
  margin: 0 0 6px;
  font-size: var(--font-size-xs);
  line-height: 20px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-darkgrey);
}
.product-detail__accordion .av-faq__answer-inner .pdp-event-info__slots {
  margin: 0;
  padding: 0;
  list-style: none;
}
.product-detail__accordion .pdp-event-info__slots .product-detail__event-slot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  column-gap: var(--size-16);
  margin: 0;
  padding: 10px 0;
  list-style: none;
  border-bottom: 1px solid var(--color-border-light);
}
.product-detail__accordion .pdp-event-info__slots .product-detail__event-slot:first-child {
  padding-top: 2px;
}
.product-detail__accordion .pdp-event-info__slots .product-detail__event-slot:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.product-detail__accordion .pdp-event-info__slots .product-detail__event-slot::before,
.product-detail__accordion .pdp-event-info__slots .product-detail__event-slot::marker {
  content: none;
}
.product-detail__event-slots .variant-picker__event-date {
  font-weight: 500;
  color: var(--color-darkbody);
}
.product-detail__event-slots .variant-picker__event-time {
  color: var(--color-darkgrey);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.product-detail__accordion .av-faq__answer-inner .pdp-event-info__venue {
  margin: 0;
  font-weight: 500;
  color: var(--color-darkbody);
}
.product-detail__accordion .pdp-event-info__venue a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--color-border-grey);
  text-underline-offset: 4px;
  transition: text-decoration-color 0.2s ease;
}
.product-detail__accordion .pdp-event-info__venue a:hover {
  text-decoration-color: currentColor;
}
.product-detail__accordion .pdp-event-info__venue-arrow {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
}
.product-detail__variant-picker .variant-picker__option {
  position: relative;
}
.product-detail__variant-picker .variant-picker__option input[type="radio"] {
  position: absolute;
  z-index: -1;
  width: 0;
  height: 0;
  overflow: hidden;
  opacity: 0;
}
.product-detail__variant-picker
  .variant-picker__option
  input[type="radio"]:checked
  + * {
  --border-thickness: calc(var(--variant-selector-border-thickness, 0px) + 1px);
  --border-color: rgb(var(--color-text));
  border-color:var(--color-body);
  background-color:var(--color-body);
  color:white;
}
.product-detail__variant-picker .variant-picker__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--variant-selector-border-radius);
}
.product-detail__variant-picker .variant-picker__select-option {
  display: flex;
  gap: 8px;
  align-items: center;
}
.product-detail__variant-picker
  .variant-picker__select-option
  .variant-picker__image {
  width: 30px;
  height: 30px;
}
.product-detail-wrapper {
  background-color: rgba(var(--color-background, var(--color-page-background)));
}
.product-detail {
  background-color: rgba(var(--color-background, var(--color-page-background)));
}
.product-detail__row {
  display: flex;
  flex-direction: column;
  gap: var(--size-4);
}
.product-detail__media-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.product-detail__media-layer * {
  pointer-events: auto;
}
#lf-quick-add-modal-content {
  padding-inline: var(--page-padding);
}
@media (max-width: 959px) {
  .product-detail__info {
    width: 100%;margin-top:var(--size-12);
  }
}
@media (min-width: 960px) {
  .product-detail__info {
    width: 100%;
  }

  .product-detail[data-desktop-direction="row"] {
    z-index: var(--z-index-focus);
  }
  .product-detail[data-desktop-direction="row"] .product-detail__info {
    position: sticky;
    inset-block-start: var(--detail-padding-block-start, 0);
    z-index: var(--z-index-hover);
  }
  .product-detail[data-desktop-direction="row"] .product-detail__col--small {
    width: 34%;
  }

  .product-detail[data-desktop-direction="row"]
    .product-detail__col--small
    + .product-detail__col {
    width: 66%;
  }

  .product-detail[data-desktop-direction="row"] .product-detail__col--medium {
    width: 60%;
  }

  .product-detail[data-desktop-direction="row"]
    .product-detail__col--medium
    + .product-detail__col {
    width: 50%;
  }

  .product-detail[data-desktop-direction="row"] .product-detail__col--large {
    width: 66%;
  }

  .product-detail[data-desktop-direction="row"]
    .product-detail__col--large
    + .product-detail__col {
    width: 34%;
  }
}

/* Content blocks below the action group: stacked in editor order, each block owns its layout.
   Spacing between blocks is each block's "Block spacing" setting, applied as padding on its
   .product-detail-block wrapper so it sits outside full-bleed bands. */
/* No width on the children: column flex already stretches them, and a width rule here would
   override each block's "Section Width" class (same specificity, later stylesheet). */
.product-detail-sections__inner {
  display: flex;
  flex-direction: column;
}

/* AR Technical Information: match Vercel (small uppercase label, regular value) */
.product-detail__technical-information > .product-metafield-child {
  flex: 1 1 0;
  min-width: 140px;
  padding: var(--size-44) var(--size-24);
  color: var(--color-darkbody);
}

.product-detail__technical-information > .product-metafield-child > h4 {
  margin: 0 0 var(--size-12);
  font-family: var(--font-family-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-darkgrey);
}

@media (max-width: 767px) {
  .product-detail__technical-information > .product-metafield-child {
    padding: var(--size-24) var(--size-16);
  }
}

/* AR Breadcrumb (PDP): uppercase, letter-spaced, last crumb bold (match Vercel) */
.product-detail__breadcrumb .breadcrumb {
  font-family: var(--font-family-sans);
  font-size: var(--font-size-xxxs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-detail__breadcrumb .breadcrumb a {
  color: var(--color-darkgrey);
}

.product-detail__breadcrumb .breadcrumb a:hover {
  color: var(--color-darkbody);
}

/* AR: no extra margin around the divider; the spaces in the markup already separate it */
.product-detail__breadcrumb .breadcrumb__divider {
  margin-inline: 0;
  color: var(--color-mediumgrey);
}

.product-detail__breadcrumb .breadcrumb__last-crumb {
  font-weight: 600;
  color: var(--color-darkbody);
}

/* AR Product title (PDP): bold serif, 40px desktop / 28px mobile (match Vercel) */
.product-detail-sections h1.title2 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
}

@media (max-width: 767px) {
  .product-detail-sections h1.title2 {
    font-size: 28px;
  }
}

/* AR Format/Size labels: small uppercase like Vercel */
.product-detail-sections .form__label strong {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--color-darkgrey);
}

/*AR Price: large dark serif like Vercel */
.product-detail-sections .amount-container {
  font-family: var(--font-family-serif);
  color: var(--color-darkbody);
}

/* THOMAS - USP free-delivery threshold: match the surrounding USP text, not the price style */
.product-detail-sections .product-detail__usps .amount-container,
.product-detail__usps .amount-container {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

/* AR ADD TO CART/BUY NOW Buttons: small bold uppercase like Vercel */
.product-detail-sections .form__buttons .button span {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* AR Thumbnails: black border only on selected, like Vercel */
.product-detail__media-gallery .media-gallery__thumbnail.is-select {
  border-color: var(--color-darkbody);
}
/* AR: products with 7+ images use the desktop carousel layout (media.html); give its thumbnails the same
   5-up size as the flatten layout (6 or fewer images) so every PDP looks the same */
@media (min-width: 960px) {
  .product-detail__media-gallery[data-desktop-layout="thumbnail-carousel"] .media-gallery__thumbnail-list {
    --columns: 5;
    --gap-columns: 5;
  }
}
/* AR: thin thumbnail scrollbar that only shows on hover. The global scrollbar style in
   public/base/layout.css (thick bar on a dark track) overrides the carousel's hidden one, so it's set here.
   The bar always keeps its space and only its colour changes, so the thumbnails don't jump on hover. */
.product-detail__media-gallery .media-gallery__thumbnail-list {
  --gap: 10px;
  gap: var(--gap, 0);
  width: 100%;
  /* AR Thumbnails: 3 large squares like Vercel */
  --columns: 3;
  --gap-columns: 3;
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}
.product-detail__media-gallery .media-gallery__thumbnails:hover .media-gallery__thumbnail-list {
  scrollbar-color: var(--color-darkgrey) transparent;
}
/* Safari / older WebKit, which ignore scrollbar-width and scrollbar-color */
.product-detail__media-gallery .media-gallery__thumbnail-list::-webkit-scrollbar {
  height: 4px;
}
.product-detail__media-gallery .media-gallery__thumbnail-list::-webkit-scrollbar-track {
  background: transparent;
}
.product-detail__media-gallery .media-gallery__thumbnail-list::-webkit-scrollbar-thumb {
  background-color: transparent;
  box-shadow: none;
}
.product-detail__media-gallery .media-gallery__thumbnails:hover .media-gallery__thumbnail-list::-webkit-scrollbar-thumb {
  background-color: var(--color-darkgrey);
}

/* AR PDP USP lines: match Vercel */
.product-detail__usps--placeholder .product-metafield-child {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.75;
  text-transform: uppercase;
  color: rgb(15, 1, 1);
}

.product-detail__usps--placeholder .product-metafield-child span {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.75;
}

/* AR PDP description paragraph: match Vercel text style */
.product-detail__accordion .av-faq__answer-inner,
.product-detail__accordion .av-faq__answer-inner p {  
  font-size: var(--font-size-s);  
  line-height: 1.75;    
}

.product-detail__accordion .av-faq__answer-inner {margin-bottom:var(--size-24);}

/* PDP accordions reuse the collection FAQ CSS, which sets answers in italic; keep them upright here */
.product-detail-block .av-faq__answer-inner,
.product-detail-block .av-faq__answer-inner p,
.product-detail-block .av-faq__answer-inner li {
  font-style: normal;
}

.product-detail__accordion .av-faq__answer-inner strong {
  font-weight: 400;
}

/* Dark band bleeds to the viewport edges via border-image, so no 100vw overflow */
/* Long excerpt: band colour comes from the block's colour scheme (dark scheme by default) */
.product-detail__long-excerpt {
  padding-block: var(--size-60);
}

.product-detail__long-excerpt > .product-metafield-child {
  background-color: white;
  color: var(--color-darkbody);
  padding: var(--size-36);
}

.product-detail__long-excerpt > .product-metafield-child .long-excerpt-content {
  padding: var(--size-40);
  border: 1px solid var(--color-border-dark);
  outline: 4px solid var(--color-border-dark);
  outline-offset: var(--size-8);
}

@media (max-width: 767px) {
  .product-detail__breadcrumb .breadcrumb {
      letter-spacing: normal;
    }
  .product-detail__long-excerpt {
    padding-block: var(--size-32);
  }

  .product-detail__long-excerpt > .product-metafield-child {
    padding: var(--size-24);
  }
}

.product-detail__usps {
  border-top: 1px solid var(--color-border-grey);
    padding-top: var(--size-16);
}

/* Product USPs placeholder: icon + uppercase label rows. The pdp-icon SVGs have no width or
   height of their own, so they are sized here. */
.product-detail__usps--placeholder {
  display: flex;
  flex-direction: column;
  gap: var(--size-8);
}

.product-detail__usps--placeholder > .product-metafield-child {
  display: flex;
  align-items: center;
  gap: var(--size-16);
  font-size: var(--font-size-s);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-darkbody);
}

.product-detail__usps--placeholder svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--color-darkgrey);
}

/* Block colour schemes (color_scheme setting on each block). The color-* classes only set
   variables and text colour, so the wrapper paints the background itself, full screen width via
   border-image (no 100vw overflow) regardless of the block's Section Width. */
.product-detail-block[class*="color-"] {
  color: rgb(var(--color-text));
  background-color: rgb(var(--color-background));
}

/* Shared PDP typography: small uppercase label above headings and in detail rows */
.pdp-eyebrow {
  margin: 0 0 var(--size-16);
  font-size: var(--font-size-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-darkgrey);
  display:block;
}

/* Image columns beside long content stay in view while the content scrolls (tablet and up) */
@media (min-width: 768px) {
  .product-detail__informational-media,
  .product-detail__brewing-media {
    position: sticky;
    top: var(--size-92);
    align-self: start;
  }
}

/* Informational content: image left, eyebrow + large serif heading + accordion right */
.product-detail__informational {
  align-items: start;
  column-gap: var(--size-92);
  row-gap: var(--size-32);
}

.product-detail__informational-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  /* AR: About image follows the 4:5 size from PDP-SIZES (1200x1500) */
  aspect-ratio: 4 / 5;
}

.product-detail__informational-heading {
  margin: 0 0 var(--size-48);
  font-family: var(--font-family-serif);
  font-size: var(--font-size-h1);
  line-height: 1.1;
}

@media (max-width: 767px) {
  .product-detail__informational-heading {
    margin-bottom: var(--size-32);
  }
}

/* Tasting notes complete: full-bleed background image with a centred translucent box */
.product-detail__tasting-notes-complete {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tasting-min-height, 90vh);
  padding: var(--size-60) var(--size-16);
  overflow: hidden;
}

.product-detail__tasting-notes-complete-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail__tasting-notes-complete-box {
  position: relative;
  max-width: 820px;
}

/* rgba keeps the text fully opaque while the box itself is translucent */
.product-detail__tasting-notes-complete .metafield-key-tasting_notes {
  padding: var(--size-92) var(--size-60);
  background-color: rgba(255, 255, 255, 0.85);
  color: var(--color-darkbody);
  text-align: center;
}

.product-detail__tasting-notes-complete .pdp-eyebrow {
  margin-bottom: var(--size-28);
}

.product-detail__tasting-notes-complete-text {
  margin: 0;
  font-family: var(--font-family-serif);
  font-size: var(--font-size-h1);
  line-height: 1.15;
}

@media (max-width: 767px) {
  .product-detail__tasting-notes-complete .metafield-key-tasting_notes {
    padding: var(--size-48) var(--size-24);
  }
}

.product-detail__brewing {
  gap: var(--size-48);
  /* AR: Align brewing image and content at the top */
  align-items: start;
}

/* Brewing images share one grid cell so the outgoing and incoming images can crossfade on top of each other */
.product-detail__brewing-media {
  display: grid;
  overflow: hidden;
}

.product-detail__brewing-image {
  grid-area: 1 / 1;
  position: relative;
  z-index: 1;
  opacity: 1;
  transform: scale(1);
  transition:
    opacity 900ms cubic-bezier(0.4, 0, 0.2, 1) 150ms,
    transform 1400ms cubic-bezier(0.22, 1, 0.36, 1) 150ms;
}

/* Incoming image starts invisible and slightly zoomed, then settles while fading in */
.product-detail__brewing-image.is-entering {
  opacity: 0;
  transform: scale(1.04);
  transition: none;
}

/* Outgoing image fades out underneath the incoming one */
.product-detail__brewing-image.is-leaving {
  z-index: 0;
  opacity: 0;
  transition: opacity 700ms cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
  .product-detail__brewing-image,
  .product-detail__brewing-image.is-leaving {
    transition: none;
  }
}

.product-detail__brewing-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  /* AR: Brewing image follows the 4:5 size from PDP-SIZES (1200x1500) */
  aspect-ratio: 4 / 5;
}

.product-detail__brewing-tab[aria-selected="true"] {
  border-block-end-color: var(--color-darkbody);
  color: var(--color-darkbody);
}

/* 2x2 white box; the 1px gap over a grey background draws the inner and outer borders */
.product-detail__brewing-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background-color: var(--color-grey);
  border: 1px solid var(--color-grey);
}

/* A lone last cell spans both columns so no grey gap shows */
.product-detail__brewing-specs > .product-metafield-child:last-child:nth-child(odd) {
  grid-column: span 2;
}

.product-detail__brewing-spec-title {
  margin-bottom: 0;
  /* AR Brewing spec cells: left-aligned, small icon (match Vercel) */
  font-family: var(--font-family-sans);
  font-size: var(--font-size-xxs);
  text-transform: uppercase;
  color: var(--color-darkgrey);
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.14em;
}

.product-detail__brewing-excerpt {
  margin-top: var(--size-24);
}

@media (max-width: 767px) {
  .product-detail__brewing {
    gap: var(--size-24);
  }
}

@media (max-width: 767px) {
}

/*  AR Brewing (match Vercel): spec cells, subheading, heading, tabs */
.product-detail__brewing-specs > .product-metafield-child {
  display: flex;
  flex-direction: column;
  background-color: white;
  align-items: flex-start;
  text-align: left;
  gap: var(--size-12);
  padding: var(--size-32);
  font-family: var(--font-family-sans);
  font-size: var(--font-size-h5);
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: -0.006em;
  color: var(--color-darkbody);
}

.product-detail__brewing-specs svg {
  width: 24px;
  height: 24px;
}

.product-detail__brewing-heading {
  margin-bottom: var(--size-24);
  font-size: 54px;
  line-height: 1.1;
}

.product-detail__brewing-tab {
  margin-bottom: -1px;
  background: none;
  border: 0;
  border-block-end: 2px solid transparent;
  color: var(--color-darkgrey);
  cursor: pointer;
  flex: 1 1 0;
  min-width: 0;
  padding: var(--size-16) var(--size-12);
  border-block-end-width: 3px;
  text-align: left;
  font-family: var(--font-family-sans);
  font-size: var(--font-size-xxs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .product-detail__brewing-specs > .product-metafield-child {
    padding: var(--size-16);
    font-size: 20px;
    line-height: 1.5;
  }

  .product-detail__brewing-heading {
    font-size: 36px;
  }
}

/* Food pairing: intro left, ruled list of italic serif items with a leading dash right */
.product-detail__food-pairing {
  align-items: start;
  column-gap: var(--size-92);
  row-gap: var(--size-48);
}

.product-detail__food-pairing-intro {
  max-width: 580px;
}

.product-detail__food-pairing-heading {
  margin: 0 0 var(--size-32);
  font-family: var(--font-family-serif);
  font-size: var(--font-size-h1);
  line-height: 1.1;
}

.product-detail__food-pairing-content .pdp-eyebrow {
  margin-bottom: var(--size-24);
}

.product-detail__food-pairing-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--color-grey);
}

.product-detail__food-pairing-list li {
  display: flex;
  align-items: baseline;
  gap: var(--size-20);
  margin: 0;
  padding: var(--size-24) 0;
  border-bottom: 1px solid var(--color-grey);
  font-family: var(--font-family-serif);
  font-size: var(--font-size-h4);
  font-style: italic;
}

.product-detail__food-pairing-list li::before {
  content: "\2014";
  font-style: normal;
  color: var(--color-darkgrey);
}

/* Origins: colours come from the block's colour scheme (dark by default; the globe palette in
   origin-globe.js is built for a dark background) */
.product-detail__origins {
  align-items: center;
  column-gap: var(--size-60);
  row-gap: var(--size-48);
  padding-block: var(--size-80);
}

.product-detail__origins h2 {
  color: inherit;
}

.product-detail__origins-heading {
  margin: 0 0 var(--size-32);
  font-family: var(--font-family-serif);
  font-size: var(--font-size-h1);
  line-height: 1.1;
}

/* Second line of the heading, e.g. "to Italy." */
.product-detail__origins-heading em {
  color: rgba(var(--color-text), 0.6);
}

.product-detail__origins-description {
  max-width: 600px;
  color: rgba(var(--color-text), 0.75);
  line-height: 1.8;
}

/* Label / value rows */
.product-detail__origins-details {
  max-width: 600px;
  margin-top: var(--size-60);
}

.product-detail__origins-details > .product-metafield-child {
  display: grid;
  grid-template-columns: minmax(120px, 42%) 1fr;
  gap: var(--size-12);
  align-items: baseline;
  padding: var(--size-16) 0;
  border-bottom: 1px solid rgba(var(--color-text), 0.15);
}

.product-detail__origins-details > .product-metafield-child:last-child {
  border-bottom: 0;
}

.product-detail__origins-details .pdp-eyebrow {
  margin: 0;
}

.origin-globe {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.origin-globe.is-visible {
  opacity: 1;
}

.origin-globe.webgl-unavailable {
  display: none;
}

.origin-globe-canvas {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.06));
  /* Drag-to-rotate (origin-globe.js): vertical swipes still scroll the page on touch */
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.origin-globe.is-dragging .origin-globe-canvas {
  cursor: grabbing;
}

.origin-globe-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Positioned by origin-globe.js: bottom-centre of the label sits on the pin */
.globe-label {
  --tick: 22px;
  position: absolute;
  top: 0;
  left: 0;
  padding-bottom: calc(var(--tick) + var(--lift, 0px));
  text-align: center;
  white-space: nowrap;
  color: white;
  opacity: 0;
  will-change: transform, opacity;
}

.globe-label::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 1px;
  height: calc(var(--tick) + var(--lift, 0px));
  background-color: rgba(255, 255, 255, 0.4);
}

.globe-label-place {
  font-size: var(--font-size-xxs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.globe-label-pin {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: white;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.18), 0 0 0 10px rgba(255, 255, 255, 0.06);
  transform: translate(-50%, 50%);
}

.product-detail__origins-map {
  position: relative;
}

/* The numbered list sits over the lower part of the globe, as in the design */
.product-detail__origins-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  margin: -22% 0 0;
  padding: 0;
  list-style: none;
  border-block-start: 1px solid rgba(var(--color-text), 0.25);
}

.origin-strip-cell {
  display: flex;
  flex-direction: column;
  gap: var(--size-8);
  padding: var(--size-28) var(--size-12) 0 0;
  cursor: default;
}

.origin-strip-cell.is-globe-focusable {
  cursor: pointer;
}

.origin-strip-cell.is-active .marker-place,
.origin-strip-cell:hover .marker-place,
.origin-strip-cell:focus-visible .marker-place {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.product-detail__origins-number {
  font-size: var(--font-size-xxs);
  letter-spacing: 0.1em;
  opacity: 0.6;
}

.marker-place {
  font-family: var(--font-family-serif);
  font-size: var(--font-size-h2);
  line-height: 1.1;
}

.marker-product {
  font-size: var(--font-size-xxs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.6;
}

@media (max-width: 767px) {
  .product-detail__origins {
    padding-block: var(--size-48);
  }

  .product-detail__origins-list {
    margin-top: -15%;
  }

  .globe-label {
    --tick: 18px;
  }
}

/* Lifestyle media: every second image (the right column) drops by the offset.
   Uses margin on the grid item so rows stay aligned; the container's bottom
   padding reserves room for the last right-hand image. */
.product-detail__lifestyle-media {
  align-items: start;
  padding-bottom: var(--lifestyle-offset, 80px);
}

.product-detail__lifestyle-media > .product-metafield-child:nth-child(even) {
  margin-top: var(--lifestyle-offset, 80px);
  margin-bottom: calc(var(--lifestyle-offset, 80px) * -1);
}

.product-detail__lifestyle-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  /* AR: Origin Gallery images follow 12:7 (1200x700) from PDP-SIZES */
  aspect-ratio: 12 / 7;
}

@media (max-width: 767px) {
  .product-detail__lifestyle-media {
    padding-bottom: var(--lifestyle-offset-mobile, 40px);
  }

  .product-detail__lifestyle-media > .product-metafield-child:nth-child(even) {
    margin-top: 0;
    margin-bottom: 0;
  }
}

/* Product FAQ: accordion styling comes from the collection FAQ (av-faq__*) */
.product-detail__faq-title {
  margin: 0 0 var(--size-8);
  font-family: var(--font-family-serif);
  text-transform: none;
}

.product-detail__faq-subtitle {
  margin: 0 0 var(--size-32);
  color: var(--color-darkgrey);
}

.product-detail__specifications {
  align-items: start;
  column-gap: var(--size-92);
  row-gap: var(--size-32);
}

.product-detail__specifications-heading {
  font-family: var(--font-family-serif);
}

/* Label / value rows inside the accordion answers */
.product-detail__specifications-list {
  margin: 0;
}

.product-detail__specifications-list > div {
  display: grid;
  grid-template-columns: minmax(120px, 40%) 1fr;
  gap: var(--size-12);
  padding: var(--size-8) 0;
}

.product-detail__specifications-list dt {
  color: var(--color-darkgrey);
}

.product-detail__specifications-list dd {
  margin: 0;
}

/* Global USPs: up to four equal columns that share the row, wrapping on narrow screens */
.product-detail__global-usps {
  gap: var(--size-32);
}

.product-detail__global-usps > .product-metafield-child {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  gap: var(--size-8);
  min-width: 160px;
  text-align: center;
}

.product-detail__global-usps h5 {
  margin-bottom: 0;
}

/* Page navigation — fixed bottom left, directly above the purchase widget bar, and shown at the
   same scroll point as the widget. Desktop: dots that open on hover. Mobile: a menu box
   that opens on tap (see the mobile block below). */
html:has(.product-page-nav) {
  scroll-behavior: smooth;
}

/* Anchor ids are "pdp-" + block type, e.g. pdp-$product-usps */
[id^="pdp-$"] {
  scroll-margin-top: var(--size-92);
}

/* --purchase-widget-height is set by product-purchase-widget.js from the bar's measured height */
.product-page-nav {
  position: fixed;
  bottom: calc(var(--purchase-widget-height, 88px) + var(--size-16));
  left: var(--size-16);
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  transform: translateY(var(--size-16));
  transition: opacity 300ms ease, transform 450ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 450ms;
}

/* is-past-info: scrolled past the product info. On mobile the widget shows from page load,
   but the nav still waits for this scroll point. */
body:has(.product-purchase-widget.is-visible.is-past-info) .product-page-nav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 300ms ease, transform 450ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* No purchase widget on the page: keep the nav visible, resting at the bottom */
body:not(:has(.product-purchase-widget)) .product-page-nav {
  bottom: var(--size-24);
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* Collapsed: a column of dots. Hovering the nav (or tabbing into it) opens the panel and
   slides the labels out next to the dots. */
.product-page-nav__list {
  gap: var(--size-4);
  margin: 0;
  padding: var(--size-12);
  list-style: none;
  background-color: transparent;
  box-shadow: none;
  transition: background-color 250ms ease, box-shadow 250ms ease;
  display: flex;
  flex-direction: column;
}

.product-page-nav .product-page-nav__list,
.product-page-nav:focus-within .product-page-nav__list {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.product-page-nav__item a {
  display: flex;
  align-items: center;
  padding: var(--size-4) 0;
  font-size: var(--font-size-xs);
  color: var(--color-darkgrey);
  text-decoration: none;
  transition: color 200ms ease;
}

.product-page-nav__item a::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: currentColor;
  opacity: 0.6;
  transition: opacity 200ms ease, transform 200ms ease;
}

.product-page-nav__label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  transition: max-width 300ms ease, opacity 200ms ease, margin 300ms ease;
}

.product-page-nav:hover .product-page-nav__label,
.product-page-nav:focus-within .product-page-nav__label {
  max-width: 220px;
  margin-inline-start: var(--size-12);
  opacity: 1;
}

.product-page-nav__item a:hover,
.product-page-nav__item a:focus-visible {
  color: var(--color-darkbody);
}

.product-page-nav__item a:hover::before,
.product-page-nav__item a:focus-visible::before {
  opacity: 1;
  transform: scale(1.3);
}

/* Section currently on screen (set by product-page-navigation.js): dark dot and label */
.product-page-nav__item.is-active a {
  color: var(--color-darkbody);
}

.product-page-nav__item.is-active a::before {
  opacity: 1;
  transform: scale(1.3);
}

/* Menu button: mobile only (desktop opens on hover) */
.product-page-nav__toggle {
  display: none;
}

/* Mobile: the widget is a compact add to cart bar flush with the bottom, so the nav sits
   above that bar. It collapses to a small box with a menu icon; tapping the icon
   (product-page-navigation.js adds .is-open) opens the full list below the icon. */
@media (max-width: 767px) {
  .product-page-nav {
    bottom: calc(var(--purchase-widget-height, 60px) + var(--size-12));
    left: 0;
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: opacity 300ms ease, transform 450ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 450ms, background-color 250ms ease;
  }

  .product-page-nav.is-open {
    background-color: rgba(255, 255, 255, 0.92);
  }

  .product-page-nav__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--color-darkbody);
    cursor: pointer;
  }

  .product-page-nav__toggle svg {
    width: 16px;
    height: auto;
  }

  /* The box itself carries the background on mobile */
  .product-page-nav .product-page-nav__list,
  .product-page-nav:focus-within .product-page-nav__list {
    display: none;
    gap: 0;
    padding: 0 var(--size-16) var(--size-8) var(--size-16);
    background-color: transparent;
    backdrop-filter: none;
    box-shadow: none;
  }

  .product-page-nav.is-open .product-page-nav__list {
    display: flex;
    animation: product-page-nav-open 250ms ease;
  }

  .product-page-nav__item a {
    padding: var(--size-8) 0;
  }

  .product-page-nav__item a::before {
    width: 5px;
    height: 5px;
  }

  /* Open: labels always show (no hover on touch) */
  .product-page-nav .product-page-nav__label {
    max-width: 220px;
    margin-inline-start: var(--size-12);
    opacity: 1;
  }
}

@keyframes product-page-nav-open {
  from {
    opacity: 0;
    transform: translateY(var(--size-8));
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Purchase widget — moved to <body> by its script, so it sits outside the section's colour
   scheme; colours are set explicitly. Desktop: fixed bottom bar. Mobile: Purchase button
   that opens the same panel as a bottom sheet. */
.product-purchase-widget {
  --purchase-widget-ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* Shared height so the select, quantity selector and add to cart button line up */
  --purchase-widget-control-height: 44px;
}

.product-purchase-widget__panel {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 60;
  padding: var(--size-12) var(--size-24);
  background-color: white;
  color: var(--color-darkbody);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(100%);
  visibility: hidden;
  transition: transform 450ms var(--purchase-widget-ease), visibility 0s linear 450ms;
  border-top:2px solid var(--color-border-dark);
}

.product-purchase-widget.is-visible .product-purchase-widget__panel {
  transform: translateY(0);
  visibility: visible;
  transition: transform 450ms var(--purchase-widget-ease);
}

/* Mobile-only parts (see the mobile block below) */
.product-purchase-widget__price--mobile,
.product-purchase-widget__submit-icon {
  display: none;
}

.product-purchase-widget__grid {
  display: grid;
  grid-template-columns: 64px minmax(0, 1.4fr) minmax(0, 1fr) auto auto;
  align-items: center;
  gap: var(--size-20);
  max-width: var(--width-max, 1440px);
  margin-inline: auto;
}

/* Single-variant products have no select: drop its column so price, quantity and the button
   sit together on the right instead of the price filling the select's flexible column */
.product-purchase-widget__grid--no-select {
  grid-template-columns: 64px minmax(0, 1fr) auto auto;
}

.product-purchase-widget__image img {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: cover;
}

.product-purchase-widget__name,
.product-purchase-widget__variant-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-purchase-widget__variant-title {
  color: var(--color-darkgrey);
}

.product-purchase-widget__select {
  position: relative;
  max-width: 260px;
}

.product-purchase-widget__variant-select {
  width: 100%;
  height: var(--purchase-widget-control-height);
  padding: 0 var(--size-32) 0 var(--size-12);
  border: 1px solid var(--color-grey);
  background: white;
  color: inherit;
  line-height: 1.4;
  appearance: none;
  cursor: pointer;
}

/* icons/arrow-thin is already a down chevron */
.product-purchase-widget__select-arrow {
  position: absolute;
  top: 50%;
  right: var(--size-12);
  width: 10px;
  height: auto;
  transform: translateY(-50%);
  pointer-events: none;
}

.product-purchase-widget__price-quantity {
  display: flex;
  align-items: center;
  gap: var(--size-12);
  white-space: nowrap;
}

/* Quantity: same theme-input-number as the main PDP (base/layout.css + part 2 below), sized to
   the widget's control height. layout.css gives the input a fixed 70px width, so every part
   gets an explicit width here, otherwise the input pushes the - / + buttons out of the box. */
.product-purchase-widget__quantity {
  display: flex;
  flex-shrink: 0;
}

.product-purchase-widget__quantity theme-input-number {
  box-sizing: border-box;
  display: inline-flex;
  align-items: stretch;
  width: max-content;
  height: var(--purchase-widget-control-height);
  color: var(--color-body);
}

.product-purchase-widget__quantity theme-input-number button.minus-button,
.product-purchase-widget__quantity theme-input-number button.plus-button {
  display: flex;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  width: 40px;
  padding: 0;
  color: inherit;
}

.product-purchase-widget__quantity theme-input-number button .icon {
  display: block;
  width: 10px;
  height: 10px;
}

.product-purchase-widget__quantity theme-input-number input[type="number"] {
  flex: 0 0 40px;
  width: 40px;
  min-width: 0;
  padding: 0;
  font-size: var(--body4-font-size);
}

.product-purchase-widget__submit .button {
  height: var(--purchase-widget-control-height);
  padding-block: 0;
  white-space: nowrap;
}

.product-purchase-widget .form__error-message {
  max-width: var(--width-max, 1440px);
  margin: var(--size-8) auto 0;
}

/* Mobile: the same bar in a compact layout, flush with the bottom of the screen:
   image | price over selected variant | quantity | icon-only add to cart (full bar height, flush right).
   The variant select and product name are hidden; the variant follows the main picker. */
@media (max-width: 767px) {
  .product-purchase-widget {
    --purchase-widget-control-height: 36px;
  }

  .product-purchase-widget__panel,
  .product-purchase-widget.is-visible .product-purchase-widget__panel {
    padding: 0 0 env(safe-area-inset-bottom, 0px) var(--size-16);
  }

  /* Back-to-top sits above the bar instead of on top of it
     (--purchase-widget-height is measured by product-purchase-widget.js, safe-area padding included) */
  html.purchase-widget-bar-visible .scroll-to-top-button {
    bottom: calc(var(--purchase-widget-height, 60px) + var(--size-12));
  }

  .product-purchase-widget__grid,
  .product-purchase-widget__grid--no-select {
    grid-template-columns: 40px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: var(--size-12);
    min-height: 60px;
  }

  .product-purchase-widget__image {
    padding-block: var(--size-10, 10px);
  }

  .product-purchase-widget__image img {
    width: 40px;
    height: 40px;
  }

  .product-purchase-widget__name,
  .product-purchase-widget__select,
  .product-purchase-widget__price--desktop {
    display: none;
  }

  .product-purchase-widget__price--mobile {
    display: block;
    white-space: nowrap;
  }

  .product-purchase-widget__variant-title {
    margin-top: 2px;
    font-size: var(--font-size-xxs, 11px);
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .product-purchase-widget__quantity theme-input-number button.minus-button,
  .product-purchase-widget__quantity theme-input-number button.plus-button {
    flex-basis: 28px;
    width: 28px;
  }

  .product-purchase-widget__quantity theme-input-number input[type="number"] {
    flex-basis: 28px;
    width: 28px;
  }

  /* Icon-only button filling the bar's height, flush with the right edge */
  .product-purchase-widget__submit {
    align-self: stretch;
    display: flex;
  }

  .product-purchase-widget__submit .button {
    width: 52px;
    height: auto;
    min-height: 100%;
    padding: 0;
    border-radius: 0;
  }

  .product-purchase-widget__submit-icon {
    display: block;
    width: 22px;
    height: 22px;
  }

  /* The loading spinner takes the icon's place while adding */
  .product-purchase-widget__submit .button.loading .product-purchase-widget__submit-icon {
    visibility: hidden;
  }

  /* Text stays in the DOM for product/form.js and screen readers, hidden visually */
  .product-purchase-widget__submit-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .product-purchase-widget .form__error-message {
    margin: 0;
    padding: 0 var(--size-16) var(--size-8) 0;
  }
}

/* ==========================================================================
   Part 2: AR refinements (formerly detail-ar.css). Keep below part 1.
   ========================================================================== */

/* AR: organic badge sits inside the product image, top-left (Vercel match) */
.product-detail-sections *:has(> .block-product-card__layer) {
  position: relative;
}
.product-detail-sections .block-product-card__layer {  
  position: absolute;
  top: var(--size-12);
  left: var(--size-12);
  z-index: 2;
  width: auto;
}
.badge {background-color:white;}
/* AR: Organic badge styling (Vercel match) */
.product-detail-sections .badge.organic-eu, .product-detail-sections .badge.natural-farming, .product-detail-sections .badge.organic-jas {
  height: 28px;
  padding: var(--size-16) var(--size-12);
  gap: 4px;
  border-color: var(--color-border-grey);
}
.product-detail-sections .badge.organic-eu .badge__label, .product-detail-sections .badge.natural-farming .badge__label, .product-detail-sections .badge.organic-jas .badge__label {
  font-family: var(--font-family-sans);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-xxxs);
}
/* AR: qty left + Add to Cart right on one row, Buy Now full width below (Vercel match) */
theme-product-detail .product-detail__info {
  flex-flow: row wrap;
  column-gap: var(--size-12);
  /* Keep the rows packed at the top. On desktop the info column stretches to the gallery's height; with
     wrapping rows the default (stretch) spread that extra height across every row, so products with
     little info (accessories, gifts) got big gaps between title, price, qty and Buy Now. */
  align-content: flex-start;
}
theme-product-detail .product-detail__info > * {
  flex: 1 0 100%;
}
/* unwrap the form so its buttons become items of the info row */
theme-product-detail .product-detail__buy-buttons,
theme-product-detail .product-detail__buy-buttons theme-product-form,
theme-product-detail .product-detail__buy-buttons .product-detail__form,
theme-product-detail .product-detail__buy-buttons .form__buttons {
  display: contents;
}
/* AR: qty left + Add to Cart right on one row at all widths (as on desktop). Only very narrow
   phones (<360px) stack them, with a real gap between so they don't touch. */
theme-product-detail .product-detail__info > .product-detail__quantity-selector {
  flex: 0 0 auto;
  width: auto;
  min-width: max-content;
  align-self: stretch;
}
@media (max-width: 480px) {
  theme-product-detail .product-detail__buy-buttons .button[name="add"] {
    white-space: nowrap;
    padding-inline: var(--size-12);
  }
}
@media (max-width: 359px) {
  theme-product-detail .product-detail__info > .product-detail__quantity-selector {
    flex: 1 0 100%;
    width: 100%;
    min-width: 0;
  }
  theme-product-detail .product-detail__buy-buttons .button[name="add"] {
    flex: 1 0 100%;
    width: 100%;
    margin-top: var(--size-12);
  }
}
theme-product-detail .product-detail__buy-buttons .form__buttons > .dis10 {
  display: none;
}
theme-product-detail .product-detail__buy-buttons .button[name="add"] {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  align-self: flex-start;
  height: var(--pdp-buy-row-height);
}
/* Buy Now (and anything after Add to Cart) goes full width on its own row */
theme-product-detail .product-detail__buy-buttons .button[name="add"] ~ * {
  flex: 1 0 100%;
  margin-top: -12px;
}
/* AR: app widgets (bundles / add-ons) moved below Buy Now by detail-ar.js, full width on their own row */
theme-product-detail .product-detail__app-slot {
  flex: 1 0 100%;
  min-width: 0;
}
theme-product-detail .product-detail__app-slot:empty {
  display: none;
}
/* ==========================================================================
   AR: Bundle block (product-bundle.html)
   Hidden until detail-ar.js moves the app widget in, so products without a bundle show nothing.
   The Product Upsell & Add-ons widget is restyled here to the PDP design: 3 product cards, then
   "Bundle total" + price on the left and "Add bundle to cart (n)" on the right.
   Only the app's readable class names are used (bundle-product-*); its hashed ones (_list_13rc1_49 ...)
   change with app updates. Many rules need !important to beat the app's inline styles and apps.css.
   ========================================================================== */
.product-detail-block--bundle:not(:has(.product-detail__bundle-mount > *)) {
  display: none;
}
html body .product-detail-sections .product-detail-block.product-detail-block--bundle {
  --color-background: 250, 250, 250;
  background-color: var(--color-offwhite, #fafafa);
}
.product-detail__bundle {
  padding-top: var(--bundle-space-top, 40px);
}
.product-detail__bundle .product-detail__bundle-eyebrow,
.product-detail__bundle .product-detail__bundle-title,
.product-detail__bundle .product-detail__bundle-description {
  text-align: center;
}
.product-detail__bundle .product-detail__bundle-eyebrow {
  margin-bottom: var(--bundle-eyebrow-gap, 8px);
}
.product-detail__bundle .product-detail__bundle-title {
  margin: 0;
  font-size: var(--av-faq-title-size, var(--font-size-h1));
  line-height: 1.05;
}
/* AR: serif text on the PDP is always Sentence case, never all caps
   (overrides any uppercase coming from the bundle app's own stylesheet) */
.product-detail__bundle .product-detail__bundle-title,
.product-detail__bundle .product-detail__bundle-mount .bundle-products .bundle-product-item-name,
.product-detail__bundle .product-detail__bundle-mount .bundle-product-subtotal-amount .amount-container,
.product-detail__solo-luna .solo-luna__intro h2,
.product-detail__solo-luna .solo-luna__card-heading h3,
.ar-global-usps .global-usp h5 {
  text-transform: none !important;
}
.product-detail__bundle .product-detail__bundle-title:empty {
  display: none;
}
.product-detail__bundle .product-detail__bundle-description {
  max-width: 600px;
  margin: var(--size-24, 24px) auto 0;
  font-size: var(--font-size-s);
  line-height: 1.7;
  color: var(--color-darkgrey);
}
.product-detail__bundle-mount {
  min-width: 0;
  margin-top: var(--bundle-title-gap, 56px);
}

/* App widget: drop its own frame, background and title (the title is the block heading now) */
.product-detail__bundle .product-detail__bundle-mount .bundle-products,
.product-detail__bundle .product-detail__bundle-mount .bundle-product-container {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  counter-reset: ar-bundle-items;
}
.product-detail__bundle .product-detail__bundle-mount .bundle-product-container > i,
.product-detail__bundle .product-detail__bundle-mount .bundle-product-title {
  display: none !important;
}

/* Product cards: always one third of the row (sized as if there are three), centred when there are fewer,
   so two products don't grow into bigger cards. --ar-bundle-card-width sets the size. */
.product-detail__bundle .product-detail__bundle-mount .bundle-product-container > div:has(> .bundle-product-items) {
  display: block !important;
  width: 100% !important;
}
.product-detail__bundle .product-detail__bundle-mount .bundle-product-items {
  --ar-bundle-gap: 36px;
  --ar-bundle-card-width: calc((100% - 2 * var(--ar-bundle-gap)) / 3);
  display: grid !important;
  grid-template-columns: repeat(auto-fit, var(--ar-bundle-card-width));
  justify-content: center;
  gap: 48px var(--ar-bundle-gap) !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}
.product-detail__bundle .product-detail__bundle-mount .bundle-product-item {
  counter-increment: ar-bundle-items;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "img img"
    "variant variant"
    "name price";
  align-items: start;
  column-gap: 16px;
  flex: none !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  text-align: start;
}
.product-detail__bundle .product-detail__bundle-mount .bundle-product-item > a:first-child {
  grid-area: img;
  display: block !important;
  width: 100% !important;
  margin: 0 0 28px !important;
}
.product-detail__bundle .product-detail__bundle-mount .plugin-bundle-product-image-container {
  position: relative !important;
  width: 100% !important;
  padding-bottom: 66.6667% !important;
  background: #fff !important;
  overflow: hidden;
}
.product-detail__bundle .product-detail__bundle-mount .plugin-bundle-product-image-container img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

/* Variant (e.g. "20 TEABAGS"): the app's select, styled as the small uppercase label above the name.
   The arrow only shows when there is more than one variant to pick from. */
.product-detail__bundle .product-detail__bundle-mount .bundle-product-item > div:has(.bundle-select) {
  grid-area: variant;
  margin: 0 0 6px !important;
  padding: 0 !important;
}
.product-detail__bundle .product-detail__bundle-mount .bundle-select {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
}
.product-detail__bundle .product-detail__bundle-mount .bundle-select select {
  appearance: none;
  -webkit-appearance: none;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  font-family: var(--font-family-sans) !important;
  font-size: var(--font-size-xxxs) !important;
  font-weight: var(--font-weight-medium, 500) !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-darkgrey) !important;
  cursor: pointer;
}
.product-detail__bundle .product-detail__bundle-mount .bundle-select svg {
  position: static !important;
  flex-shrink: 0;
  color: var(--color-darkgrey);
}
.product-detail__bundle .product-detail__bundle-mount .bundle-select:has(option:only-child) select {
  pointer-events: none;
  cursor: default;
}
.product-detail__bundle .product-detail__bundle-mount .bundle-select:has(option:only-child) svg {
  display: none !important;
}

/* Name (serif, left) and price (right: bundle price, original price struck through under it) */
.product-detail__bundle .product-detail__bundle-mount .bundle-products .bundle-product-item-name {
  grid-area: name;
  margin: 0 !important;
  font-family: var(--font-family-serif) !important;
  font-size: var(--font-size-h6) !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
  color: var(--color-darkbody) !important;
  text-decoration: none !important;
  -webkit-line-clamp: unset !important;
  overflow: visible !important;
}
.product-detail__bundle .product-detail__bundle-mount .bundle-product-item-price {
  grid-area: price;
  display: flex !important;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  margin: 0 !important;
  padding-top: 4px;
  text-align: end;
  white-space: nowrap;
}
.product-detail__bundle .product-detail__bundle-mount .bundle-products .bundle-product-item-promotional-price,
.product-detail__bundle .product-detail__bundle-mount .bundle-products .bundle-product-item-promotional-price .sales-currency-object {
  font-family: var(--font-family-sans) !important;
  font-size: var(--font-size-xs) !important;
  font-weight: var(--font-weight-bold, 700) !important;
  color: var(--color-darkbody) !important;
}
.product-detail__bundle .product-detail__bundle-mount .bundle-products .bundle-product-item-origin-price,
.product-detail__bundle .product-detail__bundle-mount .bundle-products .bundle-product-item-origin-price .sales-currency-object,
.product-detail__bundle .product-detail__bundle-mount .bundle-products .bundle-product-item-origin-price .amount-container {
  font-family: var(--font-family-sans) !important;
  font-size: var(--font-size-xxs) !important;
  font-weight: var(--font-weight-medium, 500) !important;
  color: var(--color-darkgrey) !important;
  text-decoration: line-through !important;
  opacity: 1 !important;
}
/* The app spaces its prices for a side-by-side layout (margin on the bundle price, tall line height),
   which pushed the bundle price in from the right edge and left a big gap above the struck price.
   Both prices sit flush right, stacked tight. */
.product-detail__bundle .product-detail__bundle-mount .bundle-products .bundle-product-item-promotional-price,
.product-detail__bundle .product-detail__bundle-mount .bundle-products .bundle-product-item-origin-price,
.product-detail__bundle .product-detail__bundle-mount .bundle-product-item-price .sales-currency-object,
.product-detail__bundle .product-detail__bundle-mount .bundle-product-item-price .amount-container {
  display: inline-flex !important;
  align-items: baseline;
  justify-content: flex-end;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
}
.product-detail__bundle .product-detail__bundle-mount .bundle-product-subtotal {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px 40px;
  margin: 64px 0 0 !important;
  padding: 44px 0 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--color-grey) !important;
  border-radius: 0 !important;
  background: none !important;
}
.product-detail__bundle .product-detail__bundle-mount .bundle-product-subtotal > div:first-child,
.product-detail__bundle .product-detail__bundle-mount .bundle-product-subtotal > div:first-child > span:first-child {
  display: flex !important;
  flex-wrap: wrap;
  align-items: baseline !important;
  gap: 4px 16px;
  margin: 0 !important;
}
/* AR: the app draws its own divider on the total group, which showed as a second, shorter line under
   the full-width divider above. Only the subtotal row's own border-top is kept. */
.product-detail__bundle .product-detail__bundle-mount .bundle-product-subtotal > div:first-child,
.product-detail__bundle .product-detail__bundle-mount .bundle-product-subtotal > div:first-child * {
  border: 0 !important;
  box-shadow: none !important;
}
.product-detail__bundle .product-detail__bundle-mount .bundle-product-subtotal hr {
  display: none !important;
}
/* "Total:" (app text) hidden with font-size 0 and replaced by the translated "Bundle total" label */
.product-detail__bundle .product-detail__bundle-mount .bundle-product-subtotal-amount {
  display: inline-flex !important;
  align-items: baseline;
  gap: 16px;
  font-size: 0 !important;
}
.product-detail__bundle .product-detail__bundle-mount .bundle-product-subtotal-amount::before {
  content: var(--ar-bundle-total-label, "Bundle total");
  font-family: var(--font-family-sans);
  font-size: var(--font-size-xxs);
  font-weight: var(--font-weight-medium, 500);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-darkgrey);
}
.product-detail__bundle .product-detail__bundle-mount .bundle-product-subtotal-amount .sales-currency-object,
.product-detail__bundle .product-detail__bundle-mount .bundle-product-subtotal-amount .amount-container {
  font-family: var(--font-family-serif) !important;
  font-size: var(--font-size-h2) !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  color: var(--color-darkbody) !important;
}
.product-detail__bundle .product-detail__bundle-mount .bundle-product-subtotal-original-amount,
.product-detail__bundle .product-detail__bundle-mount .bundle-product-subtotal-original-amount .sales-currency-object,
.product-detail__bundle .product-detail__bundle-mount .bundle-product-subtotal-original-amount .amount-container {
  font-family: var(--font-family-sans) !important;
  font-size: var(--font-size-s) !important;
  font-weight: 400 !important;
  color: var(--color-darkgrey) !important;
  text-decoration: line-through !important;
  opacity: 1 !important;
}
/* "Save" (app text) replaced by "— You save" */
.product-detail__bundle .product-detail__bundle-mount .bundle-product-subtotal-save {
  display: inline-flex !important;
  align-items: baseline;
  margin: 0 !important;
  font-size: 0 !important;
  background: none !important;
  padding: 0 !important;
}
.product-detail__bundle .product-detail__bundle-mount .bundle-product-subtotal-save::before {
  content: "\2014\00a0" var(--ar-bundle-save-label, "You save");
  margin-inline-end: 0.4em;
}
.product-detail__bundle .product-detail__bundle-mount .bundle-product-subtotal-save::before,
.product-detail__bundle .product-detail__bundle-mount .bundle-product-subtotal-save .isolate,
.product-detail__bundle .product-detail__bundle-mount .bundle-product-subtotal-save .sales-currency-object,
.product-detail__bundle .product-detail__bundle-mount .bundle-product-subtotal-save .amount-container {
  font-family: var(--font-family-sans) !important;
  font-size: var(--font-size-xxs) !important;
  font-weight: var(--font-weight-medium, 500) !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-darkgrey) !important;
  opacity: 1 !important;
}

/* Button: "ADD TO CART (2)" (app text) replaced by "Add bundle to cart" + the product count.
   ::before is normally the theme's hover fill (layout.css), here it carries the label instead;
   the app's <i> (hidden in apps.css) carries the count, counted with a CSS counter on the cards. */
.product-detail__bundle .product-detail__bundle-mount .bundle-products .bundle-button {
  display: inline-flex !important;
  align-items: center;
  gap: 14px;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 18px 36px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--color-darkbody) !important;
  color: #fff !important;
  font-size: 0 !important;
  transition: background-color var(--speed-slow, 0.3s) ease;
}
.product-detail__bundle .product-detail__bundle-mount .bundle-products .bundle-button:hover {
  background: var(--color-body) !important;
}
.product-detail__bundle .product-detail__bundle-mount .bundle-products .bundle-button:disabled {
  opacity: 0.5;
  cursor: default;
}
.product-detail__bundle .product-detail__bundle-mount .bundle-products .bundle-button::before {
  content: var(--ar-bundle-add-label, "Add bundle to cart");
  position: static;
  inset: auto;
  transform: none;
  opacity: 1;
  background: none;
  transition: none;
}
.product-detail__bundle .product-detail__bundle-mount .bundle-products .bundle-button i {
  display: inline !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  background: none !important;
  animation: none !important;
  transform: none !important;
  font-style: normal;
  opacity: 0.6;
}
.product-detail__bundle .product-detail__bundle-mount .bundle-products .bundle-button i::before {
  content: "(" counter(ar-bundle-items) ")";
}
.product-detail__bundle .product-detail__bundle-mount .bundle-products .bundle-button::before,
.product-detail__bundle .product-detail__bundle-mount .bundle-products .bundle-button i {
  font-family: var(--font-family-sans);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold, 700);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.2;
  color: #fff;
}

@media (max-width: 959px) {
  .product-detail__bundle .product-detail__bundle-mount .bundle-product-items {
    --ar-bundle-card-width: calc((100% - var(--ar-bundle-gap)) / 2);
  }
}
@media (max-width: 749px) {
  .product-detail__bundle {
    padding-top: var(--bundle-space-top-mobile, 48px);
  }
  .product-detail__bundle-mount {
    margin-top: 40px;
  }
  .product-detail__bundle .product-detail__bundle-mount .bundle-product-items {
    --ar-bundle-card-width: 100%;
    gap: 40px !important;
  }
  /* Mobile bottom row, centred: "Bundle total" + price + struck price on one line,
     "— You save" centred under it, then the full-width button */
  .product-detail__bundle .product-detail__bundle-mount .bundle-product-subtotal {
    flex-direction: column;
    align-items: stretch !important;
    gap: 28px;
    margin-top: 48px !important;
    padding-top: 32px !important;
  }
  .product-detail__bundle .product-detail__bundle-mount .bundle-product-subtotal > div:first-child {
    flex-direction: column;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px;
    width: 100% !important;
    text-align: center;
  }
  .product-detail__bundle .product-detail__bundle-mount .bundle-product-subtotal > div:first-child > span:first-child {
    justify-content: center !important;
    align-items: baseline !important;
    gap: 6px 12px;
    width: auto !important;
    max-width: 100%;
  }
  /* the app's mobile styles stretch these apart; keep them their natural size */
  .product-detail__bundle .product-detail__bundle-mount .bundle-product-subtotal > div:first-child > span,
  .product-detail__bundle .product-detail__bundle-mount .bundle-product-subtotal > div:first-child > span:first-child > span {
    flex: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .product-detail__bundle .product-detail__bundle-mount .bundle-product-subtotal-amount {
    gap: 12px;
  }
  .product-detail__bundle .product-detail__bundle-mount .bundle-product-subtotal-save {
    justify-content: center;
  }
  .product-detail__bundle .product-detail__bundle-mount .bundle-products .bundle-button {
    justify-content: center;
    width: 100% !important;
  }
}
/* AR: arrow after the Buy Now label (Vercel match) */
theme-product-detail .pay-button-buy-now-text::after {
  content: "\2192";
  margin-inline-start: var(--size-8);
  
}
/* AR: Desktop sticky gallery and spacing */
@media (min-width: 960px) {
  theme-product-detail .product-detail__col:has(.product-detail__media-gallery) {
    position: sticky;
    top: 120px;
    align-self: flex-start;
    height: fit-content;
    z-index: 2;
  }

  theme-product-detail .product-detail__info {
    position: relative;
    z-index: 1;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  theme-product-detail .product-detail__info > :last-child {
    padding-bottom: 0;
    margin-bottom: 0;
  }
}
/* AR: smaller gallery thumbnails below 960px (Vercel match) */
@media (max-width: 959.96px) {
  theme-product-detail .media-gallery__thumbnail-list .media-gallery__thumbnail {
    flex: 0 0 auto;
    width: 88px;
    height: 88px;
  }
}
/* AR: full-width top and bottom lines around the technical info row (Vercel match). Bottom spacing moved from padding to margin so the line hugs the row; 2x2 grid on mobile */
body .product-detail-block.product-detail__technical-information_container {
  position: relative;
  border: 0;
  box-shadow: none;  
  background-color: var(--color-darkbody);
  color: var(--color-white, #fff);  
}
body .product-detail-block.product-detail__technical-information_container::before,
body .product-detail-block.product-detail__technical-information_container::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 0;
  border-top: 0;
  z-index: 2;
  pointer-events: none;
}
body .product-detail-block.product-detail__technical-information_container::before {
  top: 0;
}
body .product-detail-block.product-detail__technical-information_container::after {
  bottom: 0;
}
@media (max-width: 767px) {
  body .product-detail-block.product-detail__technical-information_container {
    padding-left: 0;
    padding-right: 0;
  }
  body .product-detail-block .product-detail__technical-information {
    display: grid;
    grid-template-columns: repeat(2, 1fr);    
    gap: 0;
    padding: 0;    
  }
  body .product-detail-block .product-detail__technical-information > .product-metafield-child {
    width: auto;
    min-width: 0;
    max-width: none;
    margin: 0;
    box-sizing: border-box;
    border: 0;
  }
    body .product-detail-block .product-detail__technical-information > .product-metafield-child:nth-child(even) {
    border-left: 1px solid var(--color-mediumgrey);
  }
  body .product-detail-block .product-detail__technical-information > .product-metafield-child:nth-child(n+3) {
    border-top: 1px solid var(--color-mediumgrey);
  }
}
/* AR: accordion titles (Description, About, Ingredients...) bold, as on Vercel */
.product-detail__accordion-title {
  /* PDP accordions use the collection FAQ markup and styles (av-faq__*, loaded by each block),
   so the global details animation behaves the same; only the title style differs. */
  margin: 0;
  font-family: var(--font-family-serif);
  font-style: italic;
  font-weight: var(--font-weight-medium);
}
/* AR: Tasting Notes background follows 3:1 (3600x1200) from PDP-SIZES on desktop. Overrides min-height from block setting */
@media (min-width: 960px) {
  .product-detail__tasting-notes-complete {
    aspect-ratio: 3 / 1;
    min-height: 0;
  }
}
/* AR: Buy Now same height as Add to Cart and qty (measured 54px) */
theme-product-detail .pay-button-buy-now {
  min-height: 48px;
  height:48px;
  margin-top:12px !important;
}
/* AR: Shopline's payment script fills in Buy Now after page load. Until then its empty wrapper still
   draws its 1px borders, which shows as a thin black line under Add to Cart. Hide the wrapper until
   the real button label is inside it. */
theme-product-detail .product-detail__buy-buttons .form__buttons > .button[name="add"] ~ :not(:has(.pay-button-buy-now-text)) {
  visibility: hidden;
}
/* AR: slimmer qty box, so Add to Cart gets more width (Vercel match) */
theme-product-detail .product-detail__quantity-selector .minus-button,
theme-product-detail .product-detail__quantity-selector .plus-button {
  width: 44px;
  padding-inline: 0;
}
theme-product-detail .product-detail__quantity-selector input {
  width: 44px;
}
/* AR: qty box and Add to Cart share one fixed height (same as Buy Now). Add to Cart used to
   stretch to the row height, which can shift while the page is still loading and left the
   button taller than the qty box on some products. Both now sit at the top of the row at 54px. */
theme-product-detail {
  --pdp-buy-row-height: 48px;
}
theme-product-detail .product-detail__quantity-selector theme-input-number {
  box-sizing: border-box;
  height: var(--pdp-buy-row-height);
}/* AR: Format and Size labels small uppercase, as on Vercel */
theme-product-detail .linked-products-formats .form__label strong,
theme-product-detail .variant-picker__group-label {
  font-size: var(--font-size-xxxs);
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-darkgrey);
}
/* AR: Tasting notes row under the subtitle, small uppercase label + italic serif notes, divider below (Vercel match) */
.product-detail__tasting-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--size-12);
  padding-bottom: var(--size-24);
  border-bottom: 1px solid var(--color-mediumgrey, #c9c9c9);
  margin-top: var(--size-24);
}
.product-detail__tasting-row-label {
  font-size: var(--font-size-xxxs);
  font-weight: var(--font-weight-medium);
  color: var(--color-link);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.product-detail__tasting-row-notes {
  font-family: var(--font-family-serif);
  font-style: italic;
}
/* AR: price size follows Vercel (~30px, regular) */
theme-product-detail .product-detail__price .amount-container {
  font-size: var(--font-size-h2);
}
/* AR: Buy Now hover as on Vercel: black background, white text (transition already 0.25s from theme) */
theme-product-detail .pay-button-buy-now:hover,
theme-product-detail .pay-button-buy-now:focus-visible {
  background-color: var(--color-black, #000);
  border-color: var(--color-black, #000);
  color: var(--color-white, #fff);
}
theme-product-detail .pay-button-buy-now:hover .pay-button-buy-now-text,
theme-product-detail .pay-button-buy-now:focus-visible .pay-button-buy-now-text {
  color: var(--color-white, #fff);
}

/* AR: Remove spacer between Format picker and Size selector (gap 44px -> 20px) */
.product-detail__info > .dis10:has(+ .product-detail__variant-picker) {
  display: none;
}
/* AR: PDP accordion icon is a plus that rotates to an x when open (Vercel).
   Scoped to .product-detail__accordion so the collection FAQ keeps its arrow/minus. */
.product-detail__accordion details > summary .icon__arrow {
  inset-block: 0;
  width: 13px;
  height: 13px;
  margin-block: auto;
}

.product-detail__accordion details > summary .icon__arrow svg,
.product-detail__accordion details > summary .icon__minus {
  display: none;
}

.product-detail__accordion details > summary .icon__arrow::before,
.product-detail__accordion details > summary .icon__arrow::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
}

.product-detail__accordion details > summary .icon__arrow::before {
  width: 100%;
  height: 0;
  border-top: 1.6px solid currentColor;
}

.product-detail__accordion details > summary .icon__arrow::after {
  width: 0;
  height: 100%;
  border-left: 1.6px solid currentColor;
}
.product-detail__accordion details[open] > summary .icon__arrow {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}

.product-detail__accordion details[open].is-collapse-closing > summary .icon__arrow {
  transform: rotate(0deg) scale(1);
}
/* AR: Disable global button pseudo-elements on brewing tabs */
.product-detail__brewing-tabs .product-detail__brewing-tab::before,
.product-detail__brewing-tabs .product-detail__brewing-tab::after {
    display: none;
    content: none;
}
/* AR: Smooth sliding underline for brewing tabs */
.product-detail__brewing-tabs {
  display: flex;
  margin-bottom: var(--size-24);
  border-block-end: 1px solid var(--color-grey);
  flex-wrap: nowrap;
  gap: 0;
  position: relative;
}

.product-detail__brewing-tabs::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: var(--brewing-underline-left, 0);
  width: var(--brewing-underline-width, 0);
  height: 3px;
  background-color: var(--color-darkbody);
  transition: left 0.6s ease, width 0.6s ease;
  pointer-events: none;
}

/* AR: Keep the active tab border transparent for the sliding indicator */
.product-detail__brewing-tabs .product-detail__brewing-tab[aria-selected="true"] {
  border-block-end-color: transparent;
}

/* AR: Keep specification values independently animatable */
.product-detail__brewing-spec-value {
  display: inline-block;
}
/* AR: smaller EU leaf inside the Organic badge (Vercel match) */
.product-detail-sections .badge.organic-eu img {
  height: 12px;
  width: auto;
}
/* AR: Subtle image zoom on Origin gallery hover */

.product-detail__lifestyle-media .product-metafield-child:hover img {
  transform: scale(1.05);
}
/* AR: Consistent 12:7 aspect ratio for Origin Gallery */
.product-detail__lifestyle-media .product-metafield-child {
  aspect-ratio: 12 / 7;
  overflow: hidden;
}

.product-detail__lifestyle-media .product-metafield-child img {
  transition: transform 0.7s ease;
  will-change: transform;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* AR: Technical info on black: white text, no dividers */
body .product-detail-block .product-detail__technical-information > .product-metafield-child {
  color: var(--color-lightergrey);  
}

body .product-detail-block .product-detail__technical-information > .product-metafield-child > h4 {
  color: var(--color-lightergrey);
}
/* AR: Full-width dark background for Origin sections */
.product-detail-block:has(.product-detail__origins),
.product-detail-block:has(.product-detail__lifestyle-media) {
  background-color: var(--color-darkbody);
  border-image: conic-gradient(var(--color-darkbody) 0 0) fill 0 / / 0 100vw;
}

.product-detail__solo-luna .solo-luna__card-heading span,
.product-detail__solo-luna .solo-luna__tea strong {
  font-size: var(--font-size-xxxs);
  font-weight: var(--font-weight-medium);
  letter-spacing: 1.5px;
}

.product-detail__solo-luna .solo-luna__intro p {
  margin: 0;
  font-size: var(--font-size-s);
  line-height: 1.6;
}

.product-detail__solo-luna .solo-luna__card p {
  font-size: var(--font-size-s);
  line-height: 1.6;
  min-height: 44px;
  margin: 24px 0 12px;
  font-weight:var(--font-weight-light);
}

.product-detail__solo-luna .solo-luna__tea {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--size-12);
  border-block: 1px solid var(--color-border-grey);
  padding: var(--size-16) 0;
  font-size: var(--body5-font-size);
}

.solo-luna__tea-value {font-weight:var(--font-weight-light);}

a.solo-luna-link {
  display: inline-block;
  color: inherit;
  font-weight:inherit;
  font-size: var(--font-size-xs);  
  text-decoration: none;
}

.solo-link-cta {margin-top: 18px;font-weight:var(--font-weight-medium);}
.solo-link-cta svg {width: 13px;margin-inline-start: var(--size-4);transition: all var(--speed-slow) var(--motion-ease);}

/* AR: Smooth hover effect */
.product-detail__solo-luna .solo-luna__card:hover {
  background-color: #fff;
  border-color: var(--color-border-dark);
}

.product-detail__solo-luna .solo-luna__card:hover .solo-link-cta svg {margin-inline-start: var(--size-8);}
/* AR: SOLO/LUNA typography refinement */

/* Grey eyebrow and tea labels */
.product-detail__solo-luna .solo-luna__card-heading span{
    color: var(--color-link);
}
.product-detail__solo-luna .solo-luna__tea strong {
  white-space: nowrap;
  color: var(--color-link);
}

/* Slightly bolder main heading */
.product-detail__solo-luna .solo-luna__intro h2 {
  font-size: var(--font-size-h4);
  font-style: italic;
  font-weight: var(--font-weight-medium);
}

/* AR: Solo/Luna equal height cards (Luna line is hidden when av_brew is empty), link stays at the bottom */
.product-detail__solo-luna .solo-luna__card {
  padding: 32px;
  min-width: 0;
  /* AR: Default card background */
  background-color: var(--color-offwhite);
  border: 1px solid var(--color-border-grey);
  transition: background-color 0.35s ease,
    border-color 0.35s ease;
  display: flex;
  flex-direction: column;
  align-self: stretch;
}
.product-detail__solo-luna .solo-luna__card a {  
  align-self: flex-start;
}

/* AR: Breadcrumb light weight, last crumb not bold*/
.product-detail__breadcrumb .breadcrumb,
.product-detail__breadcrumb .breadcrumb a,
.product-detail__breadcrumb .breadcrumb .breadcrumb__last-crumb {
  font-weight: var(--font-weight-medium);
}
/* AR: current product crumb stays black */
.product-detail__breadcrumb .breadcrumb .breadcrumb__last-crumb {
  color: var(--color-body);
}

/* AR: PDP cut price sits below the price*/
theme-product-detail .product-detail__price .product-price__item--compare {
  margin-left: 0;
  padding-left: 0;
}
/* AR: compare-at price styled like the bundle's struck-through price: small grey sans text with a real
   line-through, instead of the faded text + drawn line from public/base/index.css.
   The money output sits in .amount-container / .sales-currency-object, which get the big serif price
   styling directly (detail.css + the price size rule above), so those are reset here too. */
theme-product-detail .product-detail__price .product-price__item--compare,
theme-product-detail .product-detail__price .product-price__item--compare .amount-container,
theme-product-detail .product-detail__price .product-price__item--compare .sales-currency-object {
  font-family: var(--font-family-sans);
  font-size: var(--font-size-s);
  font-weight: 400;
  color: var(--color-darkgrey);
  text-decoration: line-through;
  opacity: 1;
}
theme-product-detail .product-detail__price .product-price__item--compare::after {
  display: none;
}
/* AR: compare-at price sits on the main price's baseline (bottom), as in the bundle total */
theme-product-detail .product-detail__price .product-price {
  align-items: baseline;
  column-gap: var(--size-16);
}

/* AR: USPs under Buy now use light font weight(covers placeholder labels and the metafield heading and value) */
theme-product-detail .product-detail__usps .product-metafield-child,
theme-product-detail .product-detail__usps .product-metafield-child span,
theme-product-detail .product-detail__usps .product-metafield-child h4 {
  font-weight: var(--font-weight-medium);
}

/* AR: Brewing Methods spec labels font adjusted */
brewing-methods .product-detail__brewing-spec-title,
brewing-methods .product-detail__brewing-spec-value {
  font-weight: var(--font-weight-medium);
}
/* AR: Food pairing rows align with the top line (UL had 15px left padding) and equal top/bottom padding */
body .product-detail__food-pairing .product-metafield-child ul {
  margin-inline: 0;
  padding-inline: 0;
}

body .product-detail__food-pairing .product-metafield-child ul li {
  margin-inline: 0;
  padding-block: var(--size-24);
}
/* AR: FAQ eyebrow ("FAQ") and title ("About this Tea") centered like Vercel, accordion stays as it is */
.product-detail__faq .product-detail__faq-subtitle,
.product-detail__faq .product-detail__faq-title {
  text-align: center;
}
/* AR: FAQ spacing, more room above the section and a tighter gap between "FAQ" and the title */
.product-detail__faq {
  padding-top: var(--faq-space-top, 40px);
}
.product-detail__faq .product-detail__faq-subtitle {
  margin-bottom: var(--faq-eyebrow-gap, 8px);
}
.product-detail__faq .product-detail__faq-title {
  margin-top: 0;
  margin-bottom: var(--faq-title-gap, 40px);
  font-size: var(--av-faq-title-size, var(--font-size-h1));
  line-height: 1.05;
}
@media (max-width: 749px) {
  .product-detail__faq {
    padding-top: var(--faq-space-top-mobile, 48px);
  }
}
/* AR: Specifications section - black background with white text */
html body .product-detail-sections .product-detail-block.color-scheme-1:has(.product-detail__specifications) {
  --color-background: 0, 0, 0;
  --color-text: 255, 255, 255;
  --color-light-text: 190, 190, 190;
  --color-entry-line: 70, 70, 70;
}

/* AR: Specifications accordion content text in white */
html body .product-detail-sections .product-detail-block.color-scheme-1:has(.product-detail__specifications) .product-detail__specifications-accordion .av-faq__answer-inner,
html body .product-detail-sections .product-detail-block.color-scheme-1:has(.product-detail__specifications) .product-detail__specifications-accordion .av-faq__answer-inner * {
  color: #fff;
}

/* AR: Global USPs strip before the footer, 4 columns with short dividers (Vercel). Extra top/bottom padding, 2x2 up to 980px */
.product-detail__global-usps.ar-global-usps {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  padding: var(--global-usps-padding-y, 56px) var(--global-usps-padding-x, 24px);
  background: var(--global-usps-bg, var(--color-offwhite));
}

.ar-global-usps .global-usp {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px 16px;
  text-align: center;
}

.ar-global-usps .global-usp + .global-usp {
  border-left: 1px solid var(--global-usps-line, var(--color-border-grey));
}

/* THOMAS - Fixed height, width follows each icon's (tightly cropped) viewBox aspect ratio,
   so wide icons aren't shrunk to fit a square box. max-width only kicks in on narrow columns. */
.ar-global-usps .global-usp__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
}

.ar-global-usps .global-usp__icon svg {
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
}

@media (max-width: 980px) {
  .product-detail__global-usps.ar-global-usps {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, 1fr);
    padding: 32px 12px;
    gap:0;
  }

  .ar-global-usps .global-usp {
    padding: 20px 10px;
  }

  .ar-global-usps .global-usp + .global-usp {
    border-left: 0;
  }

  .ar-global-usps .global-usp:nth-child(even) {
    border-left: 1px solid var(--global-usps-line, var(--color-border-grey));
  }

  /* THOMAS - Horizontal divider between the two rows; meets the vertical line to form a cross */
  .ar-global-usps .global-usp:nth-child(-n+2) {
    border-bottom: 1px solid var(--global-usps-line, var(--color-border-grey));
  }

    .pdp-image-container {height: 500px;overflow: hidden;}
    .pdp-image-container img {height: 100%;}
}

@media (max-width: 550px) {
  .pdp-image-container {height: 45vh;overflow: hidden;}
  .pdp-image-container img {height: 100%;}

    .product-detail-sections .badge {padding:var(--size-12) var(--size-8) !important;}
}
/* AR: keep the Solo/Luna card heading word on one line between 748 and 767px */
.product-detail__solo-luna .solo-luna__card-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  column-gap: var(--size-8, 8px);
}

.product-detail__solo-luna .solo-luna__card-heading h3 {
  font-family: var(--font-family-serif);
  font-size: var(--font-size-h3);
  font-weight: 400;
  margin: 0;
  white-space: nowrap;
  flex-shrink: 0;
}
/* AR: page-nav dots, Overview (product media & info) first (display order only, page order and links unchanged) */
.product-page-nav__item[data-nav-target="pdp-$product-action-group"] {
  order: -1;
}
/* AR: Global USPs heading in serif italic like Vercel, theme tokens only */
.ar-global-usps .global-usp h5 {
  margin: 0;
  font-size: var(--font-size-r);
  font-style: italic;
  line-height: 1.4;
  font-family: var(--font-family-serif);
  font-weight: var(--font-weight-light);
}

