/*
 * shop interface single-product detail layout and variation controls.
 * Scope: standard single-product pages only.
 */
body.single-product .product-summary-wrap {
  margin-left: 0;
  margin-right: 0;
  margin-top: 10px;
  max-width: none;
  width: 100%;
}

body.single-product .storefront-product-breadcrumb {
  box-sizing: border-box;
  display: flex;
  width: 100%;
  height: 42px;
  margin: 0;
  padding: 10px 15px;
  align-items: center;
  gap: 0;
  overflow: hidden;
  background: #fff;
  color: #999;
  font: 400 13px/22px "Montserrat", Arial, sans-serif;
  letter-spacing: .02em;
  white-space: nowrap;
}

body.single-product .storefront-product-breadcrumb a {
  flex: 0 0 auto;
  color: #999;
  font: inherit;
  text-decoration: none;
  transition: all .3s ease;
}

@media (min-width: 1025px) {
  body.single-product .storefront-product-breadcrumb a:hover,
  body.single-product .storefront-product-breadcrumb a:focus-visible {
    color: #232323;
  }
}

body.single-product .storefront-product-breadcrumb__separator {
  display: block;
  position: relative;
  flex: 0 0 auto;
  padding: 0 7px;
  color: #999;
  line-height: 22px;
}

body.single-product .storefront-product-breadcrumb__separator svg {
  display: inline-block;
  position: relative;
  top: -1px;
  width: 9px;
  height: 10px;
  fill: currentColor;
}

body.single-product .storefront-product-breadcrumb__current {
  min-width: 0;
  overflow: hidden;
  color: #999;
  text-overflow: ellipsis;
}

body.single-product .page-wrapper > .column1.boxed.no-breadcrumbs > .container {
  width: 100%;
  max-width: var(--storefront-wide-shell-max);
  margin-right: auto;
  margin-left: auto;
  padding-left: 0;
  padding-right: 0;
}

body.single-product .page-wrapper > .column1.boxed.no-breadcrumbs > .container > .main-content-wrap {
  margin-left: 0;
  margin-right: 0;
}

body.single-product .page-wrapper > .column1.boxed.no-breadcrumbs > .container > .main-content-wrap > .main-content {
  flex: 0 0 100%;
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
  width: 100%;
}

body.single-product .woocommerce-tabs {
  box-sizing: border-box;
  margin-right: 15px;
  margin-left: 15px;
  width: calc(100% - 30px) !important;
}

body.single-product .product-summary-wrap > .row {
  margin-left: 0;
  margin-right: 0;
  width: 100%;
}

body.single-product .product-summary-wrap > .row > .summary.entry-summary {
  display: flex;
  flex-direction: column;
  font: 400 15px/26px "Montserrat", Arial, sans-serif;
  padding-right: 0 !important;
}

body.single-product .product-summary-wrap .product-nav {
  display: none !important;
}

body.single-product .summary.entry-summary > form.variations_form {
  margin: 0;
  order: 6;
  width: 100%;
}

body.single-product .summary.entry-summary > .storefront-product-purchase-extras {
  order: 7;
}

body.single-product .summary.entry-summary table.variations,
body.single-product .summary.entry-summary table.variations tbody,
body.single-product .summary.entry-summary table.variations tr,
body.single-product .summary.entry-summary table.variations th.label,
body.single-product .summary.entry-summary table.variations td.value {
  display: block;
  min-width: 0;
  width: 100%;
}

body.single-product .summary.entry-summary table.variations {
  margin: 0 0 20px;
  padding-bottom: 6px;
}

body.single-product .summary.entry-summary table.variations th.label {
  color: var(--storefront-color-ink, #232323);
  font: 500 13px/22px "Montserrat", Arial, sans-serif;
  margin: 0;
  padding: 0;
  text-align: left;
  text-transform: capitalize;
  white-space: normal;
}

body.single-product .summary.entry-summary table.variations th.label label {
  color: var(--storefront-color-ink, #232323);
  font: 500 13px/22px "Montserrat", Arial, sans-serif;
  text-transform: capitalize;
}

body.single-product .summary.entry-summary table.variations th.label label::after {
  content: ":";
}

body.single-product .summary.entry-summary form.variations_form table.variations th.label [data-storefront-selected-separator] {
  display: inline;
  margin-left: -4px;
  color: var(--storefront-color-ink, #232323);
  font: 500 13px/22px "Montserrat", Arial, sans-serif;
}

body.single-product .summary.entry-summary form.variations_form table.variations th.label [data-storefront-selected-separator]::before {
  content: none;
}

body.single-product .summary.entry-summary form.variations_form table.variations th.label [data-storefront-selected-value] {
  margin-left:2px;
  color:#969696;
  font:400 13px/22px "Montserrat", Arial, sans-serif;
}

body.single-product .summary.entry-summary table.variations td.value {
  padding: 0;
}

body.single-product .summary.entry-summary .filter-item-list {
  display: block;
  font-size: 0;
  line-height: 0;
  letter-spacing: 0;
  margin: 0;
  padding: 0;
}

body.single-product .summary.entry-summary .filter-item-list > li {
  display: inline-block;
  margin: 5px 10px 10px 0;
  max-width: 100%;
  vertical-align: top;
}

body.single-product .summary.entry-summary .filter-item-list .filter-item {
  background: #fff;
  border: 1px solid #cbcbcb;
  border-radius: 0;
  box-sizing: border-box;
  color: var(--storefront-color-ink, #232323);
  display: block;
  font:400 13px/40px "Montserrat", Arial, sans-serif;
  height:40px;
  letter-spacing:.02em;
  margin: 0;
  max-width: 100%;
  min-height: 40px;
  min-width: 40px;
  padding:0 10px;
  text-align: center;
  text-transform: capitalize;
  white-space: normal;
  overflow-wrap: normal;
  transition:all .3s ease;
}

body.single-product .summary.entry-summary .filter-item-list .filter-item:hover {
  background:#fff;
  border-color: #cbcbcb;
}

body.single-product .summary.entry-summary .filter-item-list > li.active > .filter-item {
  background: #ffc107;
  border-color: #000;
  color: #000;
  box-shadow: none;
}

body.single-product .summary.entry-summary .filter-item-list .filter-item:not(.active):not([aria-pressed="true"]) {
  border-color:#cbcbcb;
  box-shadow:none;
}

/* Porto retains the administrator's color or image value on the swatch anchor.
 * Apply the circular pattern surface without replacing that value. */
body.single-product .summary.entry-summary .filter-item-list :is(.filter-color, .filter-image) {
  display: inline-block;
  box-sizing: border-box;
  width: 40px;
  min-width: 40px;
  max-width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 3px;
  border: 1px solid #cbcbcb !important;
  border-radius: 20px;
  background-clip: content-box;
  background-size: cover;
  background-position: center;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  transition: all .3s ease;
}
body.single-product .summary.entry-summary .filter-item-list > li.active > :is(.filter-color, .filter-image) {
  border-color: #000 !important;
  background-color: revert;
}
body.single-product .summary.entry-summary .filter-item-list :is(.filter-color, .filter-image)[data-availability="out_of_stock"] {
  position: relative;
  opacity: .5;
  overflow: hidden;
}

@media (max-width: 551px) {
  body.single-product .summary.entry-summary .filter-item-list > li {
    margin-right: 6px;
  }
}

body.single-product .summary.entry-summary .single_variation_wrap {
  border-top: 0 none;
}

body.single-product .storefront-recently-viewed-products > .container > .porto-products > .slider-title {
  border-top: 0;
  margin: 0 0 30px;
  padding-top: 0;
  font: 700 18px/22px "Montserrat", Arial, sans-serif;
  letter-spacing: .18px;
  text-align: center;
  text-transform: uppercase;
  color: var(--storefront-color-ink, #232323);
}

body.single-product .storefront-recently-viewed-products > .container {
  width: 100%;
  max-width: var(--storefront-wide-shell-max);
  margin-right: auto;
  margin-left: auto;
  padding-left: var(--storefront-wide-shell-gutter);
  padding-right: var(--storefront-wide-shell-gutter);
}

body.single-product .storefront-recently-viewed-products .products-slider,
body.single-product .storefront-recently-viewed-products .product-content {
  text-align: center;
}

body.single-product .storefront-recently-viewed-products .product-loop-title {
  padding-right: 0;
}

/* Hide only Porto's popup-icon controls; keep the gallery sliders, images and popup runtime intact. */
body.single-product .product-images > .zoom[data-index],
body.single-product .product-images .img-thumbnail > .inner > a.zoom {
  display: none !important;
}

body.single-product .woocommerce-product-gallery .product-image-slider .img-thumbnail {
  box-sizing: border-box;
  width: 100%;
  height: auto;
  padding: 0;
  aspect-ratio: 1 / 1;
  border: 0;
  background: transparent;
}

body.single-product .woocommerce-product-gallery .product-image-slider .img-thumbnail > .inner,
body.single-product .woocommerce-product-gallery .product-image-slider .img-thumbnail img {
  width: 100%;
  height: 100%;
}

body.single-product .woocommerce-product-gallery .product-image-slider .img-thumbnail > .inner {
  border: 0;
}

body.single-product .woocommerce-product-gallery .product-image-slider .img-thumbnail img {
  display: block;
  object-fit: contain;
}

body.single-product .woocommerce-product-gallery .product-thumbnails {
  box-sizing: border-box;
  width: 100%;
  height: auto;
  margin-top: 20px;
  padding: 0 35px;
}

body.single-product .woocommerce-product-gallery .product-thumbs-slider .img-thumbnail {
  box-sizing: border-box;
  width: 100%;
  height: auto;
  padding: 0 10px;
  aspect-ratio: auto;
  border: 0;
  background: transparent;
}

body.single-product .woocommerce-product-gallery .product-thumbs-slider .img-thumbnail img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 25 / 37;
  object-fit: contain;
}

body.single-product .woocommerce-product-gallery .product-thumbs-slider.owl-carousel .owl-stage-outer .img-thumbnail,
body.single-product .woocommerce-product-gallery .product-thumbs-slider.owl-carousel .owl-item.selected .img-thumbnail,
html:not(.touch) body.single-product .woocommerce-product-gallery .product-thumbs-slider .owl-item:hover .img-thumbnail {
  border: 0;
}

body.single-product .woocommerce-product-gallery .product-image-slider,
body.single-product .woocommerce-product-gallery .product-thumbs-slider {
  width: 100%;
  max-width: none;
}

@media (min-width: 768px) {
  body.single-product .product-summary-wrap > .row > .summary-before {
    padding-left: 15px !important;
    padding-right: 30px !important;
  }

  body.single-product .product-summary-wrap > .row > .summary.entry-summary {
    padding-left: 0 !important;
    padding-right: 15px !important;
  }
}

@media (min-width: 1200px) {
  body.single-product .product-summary-wrap > .row > .summary-before {
    padding-right: 0 !important;
  }
}

@media (min-width: 1200px) and (max-width: 1440px) {
  body.single-product .product-summary-wrap > .row > .summary-before {
    padding-right: 60px !important;
  }
}

@media (max-width: 1199px) {
  body.single-product .storefront-product-breadcrumb {
    margin-top: -20px;
  }

  body.single-product .product-summary-wrap {
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    max-width: none;
    width: 100%;
  }
}

@media (max-width: 767px) {
  body.single-product .storefront-product-breadcrumb {
    padding-left: 10px;
    padding-right: 10px;
    background: #f6f6f6;
    font-size: 11px;
  }

  body.single-product .storefront-product-breadcrumb a,
  body.single-product .storefront-product-breadcrumb__separator {
    color: #232323;
  }

  body.single-product .product-summary-wrap > .row > .summary-before,
  body.single-product .product-summary-wrap > .row > .summary.entry-summary {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  body.single-product .product-summary-wrap > .row > .summary-before {
    margin-bottom: 0;
  }

  body.single-product .product-summary-wrap > .row > .summary.entry-summary {
    margin-top: 10px;
  }

  body.single-product .storefront-recently-viewed-products > .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  body.single-product .woocommerce-tabs {
    margin-right: 10px;
    margin-left: 10px;
    width: calc(100% - 20px) !important;
  }
}

@media (min-width: 552px) and (max-width: 767px) {
  body.single-product .storefront-product-breadcrumb,
  body.single-product .product-summary-wrap > .row > .summary-before,
  body.single-product .product-summary-wrap > .row > .summary.entry-summary,
  body.single-product .storefront-recently-viewed-products > .container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  body.single-product .woocommerce-tabs {
    margin-right: 15px;
    margin-left: 15px;
    width: calc(100% - 30px) !important;
  }
}

/* Gallery controls on WooCommerce PhotoSwipe and Porto Magnific Popup.
 * Use the installed viewer: no second gallery, handlers or product content. */
body.single-product .pswp .pswp__bg,
body.single-product .mfp-bg.mfp-ready {
  background: #1e1e1e;
  opacity: .9;
}
body.single-product .pswp .pswp__top-bar { background: transparent; }
body.single-product .pswp .pswp__button,
body.single-product .mfp-image-holder .mfp-close {
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 0;
  color: #ccc;
  background: rgba(30,30,30,.6);
  box-shadow: none;
  opacity: 1;
  font-size: 0;
  transition: color .2s ease;
}
body.single-product .pswp .pswp__button:hover,
body.single-product .mfp-image-holder .mfp-close:hover { color: #fff; }
body.single-product .pswp .pswp__button::before,
body.single-product .mfp-image-holder .mfp-close::before {
  content: "";
  display: block;
  position: static;
  width: 24px;
  height: 24px;
  margin: 0;
  border: 0;
  background: currentColor;
  mask: var(--storefront-gallery-icon) center / contain no-repeat;
}
body.single-product .pswp .pswp__button--close,
body.single-product .mfp-image-holder .mfp-close { --storefront-gallery-icon: url("images/storefront/gallery-close.svg"); }
body.single-product .pswp .pswp__button--fs { --storefront-gallery-icon: url("images/storefront/gallery-fullscreen.svg"); }
body.single-product .pswp .pswp__button--zoom { --storefront-gallery-icon: url("images/storefront/gallery-zoom.svg"); }
body.single-product .pswp .pswp__button--share { --storefront-gallery-icon: url("images/storefront/gallery-share.svg"); }
body.single-product .pswp .pswp__button--arrow--left,
body.single-product .mfp-image-holder .mfp-arrow-left { --storefront-gallery-icon: url("images/storefront/gallery-previous.svg"); }
body.single-product .pswp .pswp__button--arrow--right,
body.single-product .mfp-image-holder .mfp-arrow-right { --storefront-gallery-icon: url("images/storefront/gallery-next.svg"); }
body.single-product .pswp .pswp__button--arrow--left,
body.single-product .pswp .pswp__button--arrow--right,
body.single-product .mfp-image-holder .mfp-arrow {
  box-sizing: border-box;
  width: 70px;
  height: 100px;
  border: 0;
  border-radius: 0;
  background: rgba(30,30,30,.6);
  color: #ccc;
  opacity: 1;
  transition: opacity .25s ease, visibility .25s ease;
}
body.single-product .pswp .pswp__button--arrow--left,
body.single-product .mfp-image-holder .mfp-arrow-left { padding: 31px 26px 31px 6px; }
body.single-product .pswp .pswp__button--arrow--right,
body.single-product .mfp-image-holder .mfp-arrow-right { padding: 31px 6px 31px 26px; }
body.single-product .mfp-image-holder .mfp-arrow::before {
  content: "";
  display: block;
  position: static;
  width: 24px;
  height: 24px;
  margin: 0;
  border: 0;
  background: currentColor;
  mask: var(--storefront-gallery-icon) center / contain no-repeat;
}
body.single-product .mfp-image-holder .mfp-arrow::after { display: none; }
body.single-product .pswp .pswp__counter,
body.single-product .mfp-image-holder .mfp-counter {
  color: #ccc;
  font: 400 13px/44px Montserrat, Arial, sans-serif;
}
@media (prefers-reduced-motion: reduce) {
  body.single-product .pswp .pswp__button,
  body.single-product .mfp-image-holder .mfp-close,
  body.single-product .mfp-image-holder .mfp-arrow { transition: none; }
}

/* The main gallery uses the square sale badge. */
body.single-product .woocommerce-product-gallery .labels .onsale { position: absolute; top: 0; left: 0; margin: 0; padding: 0 8px; height: 20px; border: 0; border-radius: 0; background: #ff0000; color: #fff; font: 400 12px/20px "Montserrat", Arial, sans-serif; letter-spacing: .02em; text-transform: capitalize; }
