/* Product detail page */
.ep-product-breadcrumb {
  padding: 22px 0;
  border-top: 1px solid rgba(7, 28, 52, .08);
  border-bottom: 1px solid rgba(7, 28, 52, .08);
  background: #f6f7f9;
}

.ep-product-breadcrumb .tf-breadcrumb-wrap,
.ep-product-breadcrumb .tf-breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.ep-product-breadcrumb a,
.ep-product-breadcrumb span {
  color: #5f6b7a;
  font-size: 15px;
  line-height: 1.4;
}

.ep-product-breadcrumb a:hover {
  color: var(--pbmit-global-color, #de7436);
}

.ep-product-breadcrumb .text_secondary2 {
  min-width: 0;
  overflow: hidden;
  color: #071c34;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ep-product-breadcrumb-separator {
  color: rgba(7, 28, 52, .35);
}

.ep-product-detail {
  padding: 70px 0 55px;
  background: #fff;
}

.ep-product-hero-row {
  row-gap: 34px;
}

.ep-product-gallery {
  top: 116px;
}

.ep-product-gallery .thumbs-slider {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.ep-product-gallery .tf-product-media-thumbs,
.ep-product-gallery .tf-product-media-main {
  overflow: hidden;
}

.ep-product-gallery .tf-product-media-thumbs .swiper-wrapper {
  display: grid;
  gap: 12px;
  transform: none !important;
}

.ep-product-gallery .tf-product-media-thumbs .swiper-slide {
  width: 88px !important;
  height: 88px;
}

.ep-product-gallery .tf-product-media-thumbs .item,
.ep-product-gallery .tf-product-media-main .item {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(7, 28, 52, .08);
  border-radius: 6px;
  background: #f7f8fa;
}

.ep-product-gallery .tf-product-media-thumbs .item {
  width: 88px;
  height: 88px;
}

.ep-product-gallery .tf-product-media-main .item {
  min-height: 540px;
  padding: 34px;
}

.ep-product-gallery img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.ep-product-info-card {
  padding: 40px;
  border: 1px solid rgba(7, 28, 52, .08);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(7, 28, 52, .08);
}

.ep-product-eyebrow {
  margin-bottom: 12px;
  color: var(--pbmit-global-color, #de7436);
  font-family: Quicksand, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}

.ep-product-info-card .name {
  margin: 0 0 18px;
  color: #071c34;
  font-size: clamp(34px, 3.2vw, 54px);
  line-height: 1.08;
}

.ep-product-info-card .tf-product-info-price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.ep-product-info-card .price-on-sale {
  margin: 0;
  color: var(--pbmit-global-color, #de7436);
  font-size: 34px;
  line-height: 1;
}

.ep-product-info-card .compare-at-price {
  color: #8a94a3;
  font-size: 18px;
  text-decoration: line-through;
}

.ep-product-sale-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 4px;
  background: rgba(222, 116, 54, .10);
  color: var(--pbmit-global-color, #de7436);
  font-size: 13px;
  font-weight: 700;
}

.ep-product-info-card .tf-product-info-desc p {
  margin-bottom: 26px;
  color: #5f6b7a;
  font-size: 17px;
  line-height: 1.7;
}

.ep-product-info-card .ep-variant {
  margin-bottom: 18px;
}

.ep-product-info-card .variant-picker-label {
  color: #071c34;
  font-weight: 700;
}

.ep-product-info-card .size-guide {
  color: var(--pbmit-global-color, #de7436);
  font-weight: 700;
}

.ep-product-info-card .form-select {
  min-height: 54px;
  border-color: rgba(7, 28, 52, .14);
  border-radius: 4px;
  color: #071c34;
}

.ep-product-buy-row {
  display: flex;
  align-items: stretch;
  gap: 14px;
  margin-top: 24px;
}

.ep-product-buy-row .wg-quantity {
  min-width: 128px;
  height: 56px;
  border-color: rgba(7, 28, 52, .14);
}

.ep-product-buy-row .btn-quantity,
.ep-product-buy-row .quantity-product {
  height: 56px;
}

.ep-product-buy-row .btn-quantity {
  width: 40px;
  font-size: 20px;
  font-weight: 700;
}

.ep-product-buy-row .quantity-product {
  width: 48px;
  color: #071c34;
  font-weight: 700;
}

.ep-product-add {
  flex: 1 1 auto;
  min-height: 56px;
  justify-content: center;
  border-radius: 4px;
  background: var(--pbmit-global-color, #de7436);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
}

.ep-product-add:hover {
  background: #071c34;
  color: #fff;
}

.ep-product-add-disabled {
  pointer-events: none;
  background: #8a94a3;
}

.ep-product-info-card .tf-product-info-help {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 28px 0;
}

.ep-product-info-card .tf-product-info-time,
.ep-product-info-card .tf-product-extra-icon {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 14px;
  border: 1px solid rgba(7, 28, 52, .08);
  border-radius: 6px;
  background: #f7f8fa;
}

.ep-product-info-card .tf-product-info-time p,
.ep-product-info-card .tf-product-extra-icon p {
  margin: 0;
  color: #526071;
}

.ep-product-meta-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ep-product-meta-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid rgba(7, 28, 52, .08);
}

.ep-product-meta-list p {
  margin: 0;
  color: #5f6b7a;
}

.ep-product-meta-list b,
.ep-product-meta-list a {
  color: #071c34;
}

.ep-product-tabs-section {
  padding: 20px 0 60px;
  background: #fff;
}

.ep-product-tabs {
  border: 1px solid rgba(7, 28, 52, .08);
  border-radius: 6px;
  background: #fff;
}

.ep-product-tabs .widget-menu-tab {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid rgba(7, 28, 52, .08);
  list-style: none;
}

.ep-product-tabs .item-title {
  padding: 18px 24px;
  color: #071c34;
  font-weight: 700;
  cursor: pointer;
}

.ep-product-tabs .item-title.active {
  color: var(--pbmit-global-color, #de7436);
}

.ep-product-tabs .widget-content-tab {
  padding: 30px;
}

.ep-product-tabs .widget-content-inner {
  display: none;
}

.ep-product-tabs .widget-content-inner.active {
  display: block;
}

.ep-product-description-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, .8fr);
  gap: 34px;
  color: #526071;
  font-size: 16px;
  line-height: 1.75;
}

.ep-product-description-grid h6 {
  color: #071c34;
  font-size: 18px;
}

.ep-product-description-grid ul {
  margin: 0 0 18px;
  padding-left: 20px;
}

.ep-product-related {
  padding: 55px 0 70px;
  background: #f6f7f9;
}

.ep-product-related .tab-product {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.ep-product-related .tab-product a {
  color: #071c34;
}

.ep-product-related-card {
  height: 100%;
  border: 1px solid rgba(7, 28, 52, .08);
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}

.ep-product-related-card .image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  padding: 20px;
  background: #fff;
}

.ep-product-related-card img {
  max-width: 100%;
  max-height: 200px;
  object-fit: contain;
}

.ep-product-related-card .card-product-info {
  padding: 18px;
}

.ep-product-related-card .title {
  display: block;
  color: #071c34;
  font-weight: 700;
}

.ep-product-related-card .current-price {
  color: var(--pbmit-global-color, #de7436);
  font-weight: 700;
}

.ep-product-related-card .old-price {
  margin-left: 8px;
  color: #8a94a3;
  text-decoration: line-through;
}

.modal-size-guide img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 991px) {
  .ep-product-detail {
    padding: 45px 0;
  }

  .ep-product-gallery {
    position: static;
  }

  .ep-product-gallery .thumbs-slider {
    grid-template-columns: 1fr;
  }

  .ep-product-gallery .tf-product-media-thumbs .swiper-wrapper {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .ep-product-gallery .tf-product-media-main .item {
    min-height: 380px;
  }

  .ep-product-info-card {
    padding: 28px;
  }

  .ep-product-description-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .ep-product-breadcrumb {
    padding: 16px 0;
  }

  .ep-product-breadcrumb .tf-breadcrumb-list {
    overflow: hidden;
  }

  .ep-product-gallery .tf-product-media-main .item {
    min-height: 300px;
    padding: 20px;
  }

  .ep-product-info-card {
    padding: 22px;
  }

  .ep-product-info-card .name {
    font-size: 34px;
  }

  .ep-product-info-card .price-on-sale {
    font-size: 28px;
  }

  .ep-product-buy-row,
  .ep-product-info-card .tf-product-info-help {
    grid-template-columns: 1fr;
  }

  .ep-product-buy-row {
    display: grid;
  }

  .ep-product-buy-row .wg-quantity,
  .ep-product-add {
    width: 100%;
  }

  .ep-product-tabs .widget-content-tab {
    padding: 22px;
  }

  .ep-product-tabs .item-title {
    width: 100%;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(7, 28, 52, .08);
  }
}
