/**
 * TEST-only v78.
 * PhotoSwipe controls belong to the photo viewer; the question drawer must
 * never cover a gallery arrow. Age consent uses theme-owned accessible actions.
 */
body.single-product .pswp.pswp--open {
  z-index: 20020 !important;
}
body.single-product .pswp.pswp--open .pswp__button--arrow--left,
body.single-product .pswp.pswp--open .pswp__button--arrow--right {
  position: absolute !important;
  /* Make the 44px arrow buttons share the inset toolbar centre line. */
  top: 14px !important;
  bottom: auto !important;
  right: auto !important;
  margin: 0 !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px;
  border: 1px solid rgba(225, 187, 129, .72) !important;
  border-radius: 5px;
  background: #451420 !important;
  color: #f0d6ac !important;
  opacity: 1 !important;
  z-index: 20021;
  cursor: pointer;
  transition: background-color .18s, border-color .18s;
}
body.single-product .pswp.pswp--open .pswp__button--arrow--left {
  left: calc(50% - 49px) !important;
}
body.single-product .pswp.pswp--open .pswp__button--arrow--right {
  left: calc(50% + 5px) !important;
}
body.single-product .pswp.pswp--open :is(.pswp__button--arrow--left, .pswp__button--arrow--right)::before {
  display: none !important;
}
body.single-product .pswp.pswp--open .pswp__button--arrow--left::after,
body.single-product .pswp.pswp--open .pswp__button--arrow--right::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 11px;
  box-sizing: border-box;
  border-right: 2px solid #f0d6ac;
  border-bottom: 2px solid #f0d6ac;
  pointer-events: none;
}
body.single-product .pswp.pswp--open .pswp__button--arrow--left::after {
  transform: translate(-35%, -50%) rotate(135deg);
}
body.single-product .pswp.pswp--open .pswp__button--arrow--right::after {
  transform: translate(-65%, -50%) rotate(-45deg);
}
/* PhotoSwipe's native toolbar buttons are 44px high. All actions share
 * that vertical centre line, including fullscreen and close. */
body.single-product .pswp.pswp--open .pswp__top-bar {
  /* Match the arrows' inset without modifying PhotoSwipe image transforms. */
  top: 14px !important;
  height: 44px !important;
}
body.single-product .pswp.pswp--open .pswp__top-bar .pswp__button {
  height: 44px !important;
}
body.single-product .pswp.pswp--open :is(.pswp__button--arrow--left, .pswp__button--arrow--right):is(:hover, :focus-visible) {
  background: #682336 !important;
  border-color: #efca8d !important;
}
body.single-product .pswp.pswp--open :is(.pswp__button--arrow--left, .pswp__button--arrow--right):focus-visible {
  outline: 2px solid #f0d6ac;
  outline-offset: 2px;
}

/* Theme-owned age notice and actions: no duplicated CMS buttons or legacy cross. */

/* On phones, arrange Previous → Next → Fullscreen → Close on one right-aligned row. */
@media (max-width: 640px) {
  body.single-product .pswp.pswp--open .pswp__button--arrow--left {
    left: auto !important;
    right: 148px !important;
  }
  body.single-product .pswp.pswp--open .pswp__button--arrow--right {
    left: auto !important;
    right: 96px !important;
  }
  body.single-product .pswp.pswp--open :is(.pswp__button--arrow--left, .pswp__button--arrow--right) {
    border-radius: 4px;
    width: 44px !important;
    height: 44px !important;
  }
  body.single-product .pswp.pswp--open .pswp__button--zoom {
    display: none !important;
  }
}

body.kcv20-chrome #modal-14 {
  box-sizing: border-box;
  width: min(92vw, 610px);
  max-width: 610px;
  max-height: 90vh;
  max-height: 90dvh;
  padding: 0;
  z-index: 20100;
  overflow: visible;
}
body.kcv20-chrome #modal-14 .md-content {
  box-sizing: border-box;
  overflow: auto;
  max-height: 90vh;
  max-height: 90dvh;
  margin: 0;
  padding: clamp(26px, 4vw, 46px);
  background: #fbf5eb;
  border: 1px solid #bd9462;
  border-radius: 9px;
  box-shadow: 0 22px 75px rgba(22, 3, 8, .47), inset 0 0 0 5px #fbf5eb, inset 0 0 0 6px #d8b98c;
  color: #481824;
}
body.kcv20-chrome #modal-14 .kupetz-age-gate__brand {
  text-align: center;
  color: #a8793f;
  font: 600 12px/1.4 Georgia, serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 22px;
}
body.kcv20-chrome #modal-14 .kupetz-age-gate__content {
  text-align: center;
  color: #4c2630;
  font: 17px/1.6 Georgia, serif;
}
body.kcv20-chrome #modal-14 .kupetz-age-gate__content :is(h1, h2, h3, h4, h5) {
  margin: 0 0 18px;
  padding: 0;
  color: #590d20;
  text-align: center;
  text-transform: none;
  letter-spacing: 0;
  font: 400 clamp(26px, 3.2vw, 38px)/1.2 Georgia, serif;
}
body.kcv20-chrome #modal-14 .kupetz-age-gate__content p {
  margin: 0 0 14px;
  color: inherit;
  font: inherit;
  text-align: center;
}
body.kcv20-chrome #modal-14 .kupetz-age-gate__content .danet_buttons {
  display: none !important;
}
body.kcv20-chrome #modal-14 .kupetz-age-gate__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 25px;
}
body.kcv20-chrome #modal-14 .kupetz-age-gate__accept,
body.kcv20-chrome #modal-14 .kupetz-age-gate__decline {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 22px;
  border: 1px solid #611729;
  border-radius: 4px;
  font: 600 14px/1.4 Georgia, serif;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s, color .18s;
}
body.kcv20-chrome #modal-14 .kupetz-age-gate__accept {
  background: #611729;
  color: #fff2de;
}
body.kcv20-chrome #modal-14 .kupetz-age-gate__accept:hover {
  background: #812c41;
  color: #fff;
}
body.kcv20-chrome #modal-14 .kupetz-age-gate__decline {
  background: transparent;
  color: #611729;
}
body.kcv20-chrome #modal-14 .kupetz-age-gate__decline:hover {
  background: #f3e4cf;
}
body.kcv20-chrome #modal-14 :is(.kupetz-age-gate__accept, .kupetz-age-gate__decline):focus-visible {
  outline: 2px solid #b58341;
  outline-offset: 3px;
}
body.kcv20-chrome #modal-14 .clos {
  display: none !important;
}
body.kcv20-chrome #modal-14 .action-footer {
  display: none;
}
body.kcv20-chrome:has(#modal-14.md-show) .bfon {
  z-index: 20090;
}
@media (max-width: 480px) {
  body.kcv20-chrome #modal-14 .md-content { padding: 28px 21px; }
  body.kcv20-chrome #modal-14 .kupetz-age-gate__actions { flex-direction: column; }
  body.kcv20-chrome #modal-14 :is(.kupetz-age-gate__accept, .kupetz-age-gate__decline) { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  body.kcv20-chrome #modal-14 .md-content,
  body.kcv20-chrome #modal-14 :is(.kupetz-age-gate__accept, .kupetz-age-gate__decline) {
    transition: none;
  }
}

/* Age notice must fully obscure the underlying page, not merely dim it. */
body.kcv20-chrome:has(#modal-14.md-show) {
  overflow: hidden;
}
body.kcv20-chrome:has(#modal-14.md-show) .bfon {
  display: block !important;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #2b1019 !important;
  opacity: 1 !important;
  z-index: 20090 !important;
}
body.kcv20-chrome #modal-14.md-show {
  z-index: 20100 !important;
  background: none;
  opacity: 1;
}
body.kcv20-chrome #modal-14 .md-content {
  background: #fbf5eb !important;
  opacity: 1 !important;
}
body.kcv20-chrome #modal-14 .kupetz-age-gate__content h2 {
  display: block;
  width: auto;
  margin: 0 auto 18px;
}
body.kcv20-chrome #modal-14 .kupetz-age-gate__content h2::before,
body.kcv20-chrome #modal-14 .kupetz-age-gate__content h2::after {
  content: none;
}

/* Equal action geometry despite native button/link styles. */
body.kcv20-chrome #modal-14 .kupetz-age-gate__actions {
  align-items: stretch;
}
body.kcv20-chrome #modal-14 .kupetz-age-gate__actions :is(.kupetz-age-gate__accept, .kupetz-age-gate__decline) {
  align-self: stretch;
  height: auto;
  min-height: 48px;
  margin: 0;
  padding: 11px 22px;
  line-height: 1.4;
}
