.elementor-widget-wp_factory_product_detail,
.elementor-widget-wp_factory_product_detail > .elementor-widget-container {
  width: 100%;
}

.wpf-product-detail {
  --wpf-detail-bg: #fff;
  --wpf-detail-media-bg: #f8f8f8;
  --wpf-detail-text: #1e2b24;
  --wpf-detail-muted: #67726c;
  --wpf-detail-border: #d8d6cf;
  --wpf-detail-accent: #b14f32;
  --wpf-detail-button-bg: #1e2b24;
  --wpf-detail-button-text: #fff;
  --wpf-detail-button-hover: #b14f32;
  --wpf-detail-container: 1380px;
  --wpf-detail-gap: 58px;
  --wpf-detail-side-desktop: 30px;
  --wpf-detail-side: 15px;
  --wpf-detail-top: 28px;
  --wpf-detail-bottom: 90px;
  --wpf-detail-media-radius: 20px;
  --wpf-detail-title-size: 38px;
  --wpf-detail-title-mobile: 28px;
  width: calc(100% - (2 * var(--wpf-detail-side-desktop)));
  max-width: var(--wpf-detail-container);
  margin-inline: auto;
  padding: var(--wpf-detail-top) 0 var(--wpf-detail-bottom);
  color: var(--wpf-detail-text);
  background: var(--wpf-detail-bg);
  font-family: "WPF Nunito", Nunito, sans-serif;
  overflow: clip;
}

.wpf-product-detail,
.wpf-product-detail *,
.wpf-product-detail *::before,
.wpf-product-detail *::after {
  box-sizing: border-box;
}

.wpf-product-detail svg {
  width: 22px;
  height: 22px;
}

.wpf-product-detail__breadcrumbs {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 40px;
  margin: 0 0 28px;
  color: var(--wpf-detail-muted);
  font-size: 14px;
  line-height: 1.45;
}

.wpf-product-detail__breadcrumbs a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--wpf-detail-text);
  text-decoration: none;
}

.wpf-product-detail__breadcrumbs a:hover {
  color: var(--wpf-detail-accent);
}

.wpf-product-detail__breadcrumbs svg {
  width: 18px;
  height: 18px;
}

.wpf-product-detail__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.074fr) minmax(0, 1fr);
  align-items: start;
  gap: var(--wpf-detail-gap);
}

.wpf-product-detail__gallery {
  min-width: 0;
}

.wpf-product-detail__main-media {
  position: relative;
  aspect-ratio: 648 / 588;
  overflow: hidden;
  border-radius: var(--wpf-detail-media-radius);
  background: var(--wpf-detail-media-bg);
}

.wpf-product-detail__slide,
.wpf-product-detail__placeholder {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0 !important;
  background: transparent;
}

.wpf-product-detail__slide {
  display: block;
  cursor: zoom-in;
}

.wpf-product-detail__slide[hidden] {
  display: none;
}

.wpf-product-detail__image,
.wpf-product-detail__placeholder img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wpf-product-detail__media-controls {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid color-mix(in srgb, var(--wpf-detail-border) 75%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--wpf-detail-bg) 92%, transparent);
}

.wpf-product-detail__media-controls button,
.wpf-product-detail__share,
.wpf-product-detail__zoom > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: var(--wpf-detail-text);
  background: transparent;
  cursor: pointer;
}

.wpf-product-detail__media-controls button {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
}

.wpf-product-detail__media-controls button:hover {
  background: var(--wpf-detail-media-bg);
}

.wpf-product-detail__media-controls output {
  min-width: 43px;
  color: var(--wpf-detail-muted);
  font-size: 12px;
  text-align: center;
}

.wpf-product-detail__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 130px));
  gap: 15px;
  margin-top: 15px;
}

.wpf-product-detail__thumbs button {
  width: 100%;
  aspect-ratio: 1;
  padding: 6px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--wpf-detail-media-bg);
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease;
}

.wpf-product-detail__thumbs button:hover,
.wpf-product-detail__thumbs button:focus,
.wpf-product-detail__thumbs button:focus-visible,
.wpf-product-detail__thumbs button[aria-selected="true"] {
  border-width: 1px;
  border-color: var(--wpf-detail-text);
  background: var(--wpf-detail-media-bg);
  outline: 0;
  box-shadow: none;
}

.wpf-product-detail__thumbs button:active {
  transform: translateY(1px);
}

.wpf-product-detail__thumbs img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wpf-product-detail__info {
  min-width: 0;
}

.wpf-product-detail__vendor,
.wpf-product-detail__title,
.wpf-product-detail__description,
.wpf-product-detail__sku,
.wpf-product-detail__dispatch p,
.wpf-product-detail__highlights h2,
.wpf-product-detail__highlights p {
  margin: 0;
}

.wpf-product-detail__vendor {
  margin-bottom: 8px;
  color: var(--wpf-detail-muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.wpf-product-detail__title {
  max-width: 15ch;
  color: var(--wpf-detail-text);
  font: 600 var(--wpf-detail-title-size) / 1.16 "WPF Nunito", Nunito, sans-serif;
  letter-spacing: -0.035em;
}

.wpf-product-detail__status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 28px 0 30px;
}

.wpf-product-detail__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.wpf-product-detail__badges strong,
.wpf-product-detail__badges span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 14px;
  border-radius: 999px;
  color: var(--wpf-detail-text);
  background: var(--wpf-detail-media-bg);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.wpf-product-detail__badges .is-available {
  color: #116a14;
}

.wpf-product-detail__badges .is-unavailable {
  color: #9e2f2f;
}

.wpf-product-detail__share {
  flex: 0 0 auto;
  min-height: 42px;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 10px;
  background: var(--wpf-detail-media-bg);
  font-size: 13px;
}

.wpf-product-detail__description {
  max-width: 64ch;
  margin-bottom: 27px;
  color: var(--wpf-detail-text);
  font-size: 16px;
  line-height: 1.75;
}

.wpf-product-detail__description > :last-child {
  margin-bottom: 0;
}

.wpf-product-detail__price-row,
.wpf-product-detail__sku {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.wpf-product-detail__price-row {
  margin-bottom: 14px;
}

.wpf-product-detail__price-row > span,
.wpf-product-detail__sku > span {
  font-weight: 600;
}

.wpf-product-detail__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  color: var(--wpf-detail-text);
  font-size: 20px;
  font-weight: 700;
}

.wpf-product-detail__price ins {
  color: inherit;
  text-decoration: none;
}

.wpf-product-detail__price del {
  color: var(--wpf-detail-muted);
  font-size: 14px;
  font-weight: 500;
}

.wpf-product-detail__sku {
  margin-bottom: 24px;
  color: var(--wpf-detail-muted);
  font-size: 14px;
}

.wpf-product-detail__purchase > label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
}

.wpf-product-detail__quantity {
  display: grid;
  grid-template-columns: 55px 75px 55px;
  width: 185px;
  height: 57px;
  overflow: hidden;
  border: 1px solid var(--wpf-detail-border);
  border-radius: 10px;
  background: var(--wpf-detail-media-bg);
}

.wpf-product-detail__quantity button,
.wpf-product-detail__quantity input {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--wpf-detail-text);
  background: transparent;
  text-align: center;
}

.wpf-product-detail__quantity button {
  cursor: pointer;
}

.wpf-product-detail__quantity button:hover:not(:disabled) {
  background: color-mix(in srgb, var(--wpf-detail-border) 30%, transparent);
}

.wpf-product-detail__quantity button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.wpf-product-detail__quantity input {
  appearance: textfield;
}

.wpf-product-detail__quantity input::-webkit-inner-spin-button,
.wpf-product-detail__quantity input::-webkit-outer-spin-button {
  appearance: none;
}

.wpf-product-detail__subtotal {
  display: flex;
  gap: 6px;
  margin: 10px 0 18px;
  color: var(--wpf-detail-muted);
  font-size: 14px;
}

.wpf-product-detail__subtotal strong {
  color: var(--wpf-detail-text);
}

.wpf-product-detail__add,
.wpf-product-detail__native-cart .single_add_to_cart_button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 58px;
  margin: 0 !important;
  padding: 16px 28px !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: var(--wpf-detail-button-text) !important;
  background: var(--wpf-detail-button-bg) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  cursor: pointer;
  transition: background-color 220ms cubic-bezier(0.16, 1, 0.3, 1), transform 120ms ease;
}

.wpf-product-detail__add:hover,
.wpf-product-detail__native-cart .single_add_to_cart_button:hover {
  background: var(--wpf-detail-button-hover) !important;
}

.wpf-product-detail__add:active,
.wpf-product-detail__native-cart .single_add_to_cart_button:active {
  transform: translateY(1px);
}

.wpf-product-detail__add:disabled,
.wpf-product-detail__add.is-loading {
  opacity: 0.6;
  cursor: wait;
}

.wpf-product-detail__dispatch {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-top: 20px;
  padding: 17px 0;
  border-block: 1px solid var(--wpf-detail-border);
}

.wpf-product-detail__dispatch svg {
  flex: 0 0 auto;
  margin-top: 2px;
}

.wpf-product-detail__dispatch strong,
.wpf-product-detail__highlights h2 {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.wpf-product-detail__dispatch p,
.wpf-product-detail__highlights p {
  margin-top: 3px;
  color: var(--wpf-detail-muted);
  font-size: 13px;
  line-height: 1.5;
}

.wpf-product-detail__highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid var(--wpf-detail-border);
  border-radius: 14px;
  background: var(--wpf-detail-border);
}

.wpf-product-detail__highlights article {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 114px;
  padding: 20px;
  background: var(--wpf-detail-bg);
}

.wpf-product-detail__highlights svg {
  flex: 0 0 auto;
}

.wpf-product-detail__accordions {
  margin-top: 20px;
  border-top: 1px solid var(--wpf-detail-border);
}

.wpf-product-detail__accordions details {
  border-bottom: 1px solid var(--wpf-detail-border);
}

.wpf-product-detail__accordions summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 58px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  list-style: none;
}

.wpf-product-detail__accordions summary::-webkit-details-marker {
  display: none;
}

.wpf-product-detail__accordions summary svg {
  width: 18px;
  height: 18px;
  transition: transform 220ms ease;
}

.wpf-product-detail__accordions details[open] summary svg {
  transform: rotate(45deg);
}

.wpf-product-detail__accordions details > div {
  padding: 0 34px 20px 0;
  color: var(--wpf-detail-muted);
  font-size: 14px;
  line-height: 1.65;
}

.wpf-product-detail__feedback {
  min-height: 20px;
  margin-top: 10px;
  color: var(--wpf-detail-muted);
  font-size: 13px;
}

.wpf-product-detail__feedback.is-error {
  color: #9e2f2f;
}

.wpf-product-detail__zoom {
  width: min(92vw, 1040px);
  height: min(92dvh, 900px);
  padding: 42px;
  border: 0;
  border-radius: 18px;
  background: var(--wpf-detail-bg);
}

.wpf-product-detail__zoom::backdrop {
  background: rgba(20, 25, 22, 0.68);
}

.wpf-product-detail__zoom > button {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--wpf-detail-media-bg);
}

.wpf-product-detail__zoom img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wpf-product-detail__native-cart .variations,
.wpf-product-detail__native-cart .variations tbody,
.wpf-product-detail__native-cart .variations tr,
.wpf-product-detail__native-cart .variations th,
.wpf-product-detail__native-cart .variations td {
  display: block;
  width: 100%;
}

.wpf-product-detail__native-cart .variations label {
  margin-bottom: 7px;
}

.wpf-product-detail__native-cart .variations select {
  width: 100%;
  min-height: 48px;
  margin-bottom: 14px;
  border: 1px solid var(--wpf-detail-border);
  border-radius: 9px;
  background: var(--wpf-detail-bg);
}

.wpf-product-detail__native-cart .quantity {
  margin: 16px 10px 16px 0 !important;
}

.wpf-product-detail__native-cart .quantity input {
  min-height: 50px;
  border: 1px solid var(--wpf-detail-border);
  border-radius: 9px;
}

.wpf-product-detail :focus-visible {
  outline: 3px solid color-mix(in srgb, var(--wpf-detail-accent) 55%, transparent);
  outline-offset: 3px;
}

.wpf-product-detail__notice {
  padding: 16px;
  border: 1px solid #d8d6cf;
  background: #fff;
}

@media (max-width: 1199px) {
  .wpf-product-detail {
    width: calc(100% - (2 * var(--wpf-detail-side)));
  }

  .wpf-product-detail__layout {
    gap: 38px;
  }

  .wpf-product-detail__thumbs {
    grid-template-columns: repeat(auto-fit, minmax(80px, 100px));
    gap: 10px;
  }
}

@media (max-width: 991px) {
  .wpf-product-detail__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 35px;
  }

  .wpf-product-detail__title {
    max-width: none;
    font-size: var(--wpf-detail-title-mobile);
  }
}

@media (max-width: 575px) {
  .wpf-product-detail {
    padding-bottom: max(58px, calc(var(--wpf-detail-bottom) * 0.7));
  }

  .wpf-product-detail__breadcrumbs {
    gap: 8px;
    margin-bottom: 24px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .wpf-product-detail__thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
  }

  .wpf-product-detail__thumbs button {
    padding: 4px;
    border-radius: 8px;
  }

  .wpf-product-detail__media-controls {
    right: 10px;
    bottom: 10px;
  }

  .wpf-product-detail__status-row {
    align-items: flex-start;
    margin: 24px 0;
  }

  .wpf-product-detail__share span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .wpf-product-detail__share {
    width: 42px;
    padding: 0;
  }

  .wpf-product-detail__price-row,
  .wpf-product-detail__sku {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .wpf-product-detail__highlights {
    grid-template-columns: minmax(0, 1fr);
  }

  .wpf-product-detail__highlights article {
    min-height: 0;
  }

  .wpf-product-detail__zoom {
    width: calc(100vw - 20px);
    height: calc(100dvh - 20px);
    padding: 36px 12px 12px;
    border-radius: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wpf-product-detail *,
  .wpf-product-detail *::before,
  .wpf-product-detail *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
