/* Shared arrow system: preserve native handlers, links, visibility and gallery hit areas. */
body.template-13 {
  --es-arrow-size: 44px;
  --es-arrow-color: #185d8b;
  --es-arrow-border: #84919b;
}
body.template-13 :is(#carousel .carousel-control, .product-slider-navigation, .thumbnail-prev, .thumbnail-next, nav.pagination .pagination__link--prev, nav.pagination .pagination__link--next) {
  box-sizing: border-box;
  width: var(--es-arrow-size);
  min-width: var(--es-arrow-size);
  height: var(--es-arrow-size);
  min-height: var(--es-arrow-size);
  padding: 0;
  border: 1px solid var(--es-arrow-border);
  border-radius: var(--es-radius);
  background: #fff;
  color: var(--es-arrow-color);
  font-size: 0;
  line-height: 1;
  text-decoration: none;
  text-shadow: none;
  box-shadow: none;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
body.template-13 :is(#carousel .carousel-control, .product-slider-navigation, .thumbnail-prev, .thumbnail-next, nav.pagination .pagination__link--prev, nav.pagination .pagination__link--next)::before {
  content: "";
  position: absolute;
  display: block;
  box-sizing: border-box;
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: currentColor;
  color: inherit;
  opacity: 1;
  box-shadow: none;
  -webkit-mask: var(--es-icon-chevron-right) center/contain no-repeat;
  mask: var(--es-icon-chevron-right) center/contain no-repeat;
  transform: translate(-50%, -50%) rotate(var(--es-arrow-rotation, 0deg));
  pointer-events: none;
}
body.template-13 :is(#carousel .carousel-control.left, .product-slider-navigation.navigation-prev, .thumbnail-prev, nav.pagination .pagination__link--prev) { --es-arrow-rotation: 180deg; }
body.template-13 :is(#carousel .carousel-control, .product-slider-navigation, .thumbnail-prev, .thumbnail-next, nav.pagination .pagination__link--prev, nav.pagination .pagination__link--next):hover {
  background: var(--es-arrow-color);
  border-color: var(--es-arrow-color);
  color: #fff;
}
body.template-13 :is(#carousel .carousel-control, .product-slider-navigation, .thumbnail-prev, .thumbnail-next, nav.pagination .pagination__link--prev, nav.pagination .pagination__link--next):hover::before {
  background: currentColor;
  color: inherit;
}
body.template-13 :is(#carousel .carousel-control, .product-slider-navigation, .thumbnail-prev, .thumbnail-next, nav.pagination .pagination__link--prev, nav.pagination .pagination__link--next):focus-visible {
  outline: 2px solid var(--es-arrow-color);
  outline-offset: 3px;
  opacity: 1;
}
body.template-13 nav.pagination :is(.pagination__link--prev, .pagination__link--next) { position: relative; }
body.template-13 :is(.thumbnail-prev, .thumbnail-next) { margin-top: -22px; z-index: 2; }
body.template-13 :is(.thumbnail-prev, .thumbnail-next)::after { display: none; }
body.template-13 :is(.thumbnail-prev, .thumbnail-next):focus-visible { transform: scale(1); }
body.template-13 #content .product-slider-navigation { margin-top: 0; }
body.template-13 #content .product-slider-navigation.navigation-prev { left: 0; }
body.template-13 #content .product-slider-navigation.navigation-next { right: 0; }
body.template-13 #carousel .carousel-control.left { left: 8px; }
body.template-13 #carousel .carousel-control.right { right: 8px; }
body.template-13 .product-slider-navigation:disabled,
body.template-13 .product-slider-navigation[aria-disabled="true"] {
  background: #f2f4f6;
  border-color: #c4ced6;
  color: #737b82;
  cursor: not-allowed;
}
/* Colorbox owns half-image hit areas. Draw the same control without shrinking them. */
body.template-13 :is(#cboxPrevious, #cboxNext) { --es-arrow-rotation: 0deg; color: var(--es-arrow-color); }
body.template-13 #cboxPrevious { --es-arrow-rotation: 180deg; }
body.template-13 :is(#cboxPrevious, #cboxNext)::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
  top: 50%;
  width: var(--es-arrow-size);
  height: var(--es-arrow-size);
  margin-top: -22px;
  border: 1px solid var(--es-arrow-border);
  border-radius: var(--es-radius);
  background: #fff;
  opacity: 1;
  pointer-events: none;
  transition: background-color .16s ease, border-color .16s ease;
}
body.template-13 #cboxPrevious::after { left: 8px; }
body.template-13 #cboxNext::after { right: 8px; }
body.template-13 :is(#cboxPrevious, #cboxNext)::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: currentColor;
  color: inherit;
  opacity: 1;
  -webkit-mask: var(--es-icon-chevron-right) center/contain no-repeat;
  mask: var(--es-icon-chevron-right) center/contain no-repeat;
  transform: rotate(var(--es-arrow-rotation));
  pointer-events: none;
}
body.template-13 #cboxPrevious::before { left: 20px; right: auto; }
body.template-13 #cboxNext::before { right: 20px; left: auto; }
body.template-13 :is(#cboxPrevious, #cboxNext):hover { color: #fff; }
body.template-13 :is(#cboxPrevious, #cboxNext):is(:hover,:focus-visible)::after { background: var(--es-arrow-color); border-color: var(--es-arrow-color); }
body.template-13 :is(#cboxPrevious, #cboxNext):focus-visible { outline: none; color: #fff; }
body.template-13 :is(#cboxPrevious, #cboxNext):focus-visible::after { outline: 2px solid var(--es-arrow-color); outline-offset: 3px; }
/* Small directional signs share the same line weight, without a standalone button box. */
body.template-13 .top-navigation-menu-trigger::after,
body.template-13 .icon-chevron-down::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background: currentColor;
  -webkit-mask: var(--es-icon-chevron-down) center/contain no-repeat;
  mask: var(--es-icon-chevron-down) center/contain no-repeat;
  vertical-align: middle;
}
body.template-13 .top-navigation-menu-trigger::after { margin-left: 6px; }
body.template-13 .goToTop__button::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 6px;
  background: currentColor;
  -webkit-mask: var(--es-icon-chevron-right) center/contain no-repeat;
  mask: var(--es-icon-chevron-right) center/contain no-repeat;
  transform: rotate(-90deg);
  vertical-align: middle;
}
/* On narrow banners, put the full-size controls below the artwork, clear of its text. */
@media (max-width: 767px) {
  body.template-13 #carousel { padding-bottom: 52px; }
  body.template-13 #carousel .carousel-control { top: auto; bottom: 0; margin: 0; transform: none; }
  body.template-13 #carousel .carousel-control.left { left: calc(50% - 48px); }
  body.template-13 #carousel .carousel-control.right { right: calc(50% - 48px); }
}
@media (prefers-reduced-motion: reduce) {
  body.template-13 :is(#carousel .carousel-control, .product-slider-navigation, .thumbnail-prev, .thumbnail-next, nav.pagination .pagination__link--prev, nav.pagination .pagination__link--next),
  body.template-13 :is(#cboxPrevious, #cboxNext)::after { transition: none; }
}
