.products-details {
  display: flex;
}

.products-details .col-product-image-wrapper {
  width: 600px;
  min-width: 600px;
  height: max-content;
  display: flex;
  gap: 10px;
  padding-left: 24px;
}

.products-details .product-images-carousel {
  width: calc(100% - 88px);
  position: relative;
  max-height: 800px;
  overflow: auto;
  scrollbar-width: none;
}

.products-details .product-images-carousel-thumbs {
  width: 78px;
  min-width: 78px;
  height: 500px;
}

#product-variants-options .form-group ul.ul-colors li img,
#product-variants-options .form-group ul.ul-colors li span,
.d-none-important,
.product-images-carousel .video-slide svg {
  display: none
}

.products-details .col-product-image-wrapper:has(.d-none-important) .product-images-carousel {
  width: 100%
}

.product-images-carousel-thumbs .thumb-image-a {
  display: block;
  height: 100%;
  border: 1px solid #C7C7CC;
  padding: 3px;
  cursor: pointer;
  margin: 0;
  width: 100%;
  position: relative;
  border-radius: 12px;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  -ms-border-radius: 12px;
  -o-border-radius: 12px;
}

.product-images-carousel-thumbs .swiper-slide.swiper-slide-thumb-active .thumb-image-a {
  border-color: var(--primary-color);
  opacity: 1
}

.product-images-carousel-thumbs .thumb-image-a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: initial;
  border-radius: 4px;
}

.product-images-carousel-thumbs .video-slide {
  position: relative;
  width: 100%;
  height: 100%
}

.product-images-carousel-thumbs .video-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  display: flex;
}

.product-images-carousel-thumbs svg {
  position: absolute;
  inset: 0;
  margin: auto;
  color: #fff;
  width: 28px;
  height: 28px
}

.no-tabs .tp-product-details-tab-nav .tab-content .tp-title-section,
.product-images-carousel .image-link {
  display: block;
}

.product-images-carousel .slick-slide {
  position: relative;
}

.product-images-carousel .slick-dots {
  bottom: 8px;
}

.product-images-carousel .image-link img,
.product-images-carousel .video-slide video {
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.product-images-carousel .swiper-slide:not(:last-child) {
  border-bottom: 1px solid #000;
}

.thumb-bottom .products-details .col-product-image-wrapper {
  flex-direction: column-reverse;
  justify-content: start
}

.modal-bottom-buttons .btn-submit-new-question,
.product-buttons,
.thumb-bottom .products-details .product-images-carousel,
.tp-product-details-review-avater-content,
.tp-product-details-review-list {
  width: 100%
}

.thumb-bottom .products-details .product-images-carousel-thumbs {
  width: 100%;
  min-width: unset;
  height: auto;
  display: none;
}

.thumb-bottom .products-details .product-images-carousel-thumbs .slick-track {
  display: flex;
}

.thumb-bottom .products-details .product-images-carousel-thumbs .slick-slide {
  padding: 0 5px;
  height: auto;
}

.thumb-bottom .product-images-carousel-thumbs .thumb-image-a img,
.thumb-bottom .product-images-carousel-thumbs .video-slide video {
  height: 85px;
  object-fit: contain;
}

#product-images-slick .swiper-wrapper {
  flex-direction: column;
}

.products-details .col-product-info {
  width: 100%;
  padding-right: 24px;
  border-right: 1px solid #000;
  height: max-content;
}

.product-images-carousel .badge-name {
  gap: 3px;
  position: absolute;
  right: 10px;
  top: 10px;
  margin: 0;
  padding: 2px 8px;
  font-weight: 500;
  background: #000 !important;
  border: 0 !important;
  color: #fff !important;
  line-height: 24px;
  z-index: 3;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}

.products-details .col-product-info .category-name {
  margin-bottom: 5px;
  display: inline-block;
  color: var(--primary-color)
}

.products-details-page .title-product {
  font-size: 30px;
  margin-bottom: 50px;
  text-align: center;
  font-family: 'osan-Medium';
}

.badge-cart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
  row-gap: 10px;
}

.badge-cart span {
  padding: 1px 7px;
  border: 1px solid #277e2a;
  color: #277e2a;
  border-radius: 6px;
}

.badge-cart p,
.no-tabs .tp-product-details-tab-nav .tab-content,
.questions-card-preview p,
.tf-product-info-liveview p,
.tp-product-details-review-summery-rating p {
  margin: 0
}

.badge-cart svg {
  color: #db1215;
  animation: 2s infinite tf-ani-flash
}

@keyframes tf-ani-flash {

  0%,
  50%,
  to {
    opacity: 1
  }

  25%,
  75% {
    opacity: 0
  }
}

.col-product-info .product-description {
  font-size: 16px;
  margin-bottom: 16px;
  color: #333;
}

.col-product-info .product-description img {
  display: none;
}

.col-product-info .product-description * {
  display: inline;
  font-weight: normal;
}

.col-product-info .product-description .read-more-btn {
  color: var(--primary-color);
  text-decoration: underline;
}

.description-box * {
  max-width: 100%
}

.description-box ul {
  list-style: inherit;
  padding-inline-start: 30px;
}

.description-box img {
  width: auto;
  height: auto;
  margin: auto;
  display: block;
}

.col-product-info .price-product {
  width: max-content;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.col-product-info .price-product .product-price-div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px
}

.col-product-info .price-product .product-formatted-price {
  margin: 0;
  font-size: 32px;
  line-height: 140%;
  font-weight: 500;
}

.col-product-info .price-product .product-formatted-price svg {
  width: 20px;
  height: 20px;
  position: relative;
  top: -4px;
}

.col-product-info .price-product .product-formatted-price-discount {
  padding: 5px 8px 1px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  width: max-content;
  color: #ed3838;
  background: #ed383821;
  position: relative;
  top: -2px;
  direction: ltr;
  font-family: 'osan-Medium', sans-serif;
  border-radius: 30px;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  -ms-border-radius: 30px;
  -o-border-radius: 30px;
}

.col-product-info .price-product .price-tawfer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  position: relative;
  top: -2px;
}

.col-product-info .price-product .product-formatted-price-old {
  text-decoration: line-through;
  color: #888;
  font-size: 20px;
  display: block;
}

.col-product-info .price-product .price-tawfer .wafar-price {
  font-size: 15px;
  color: #4caf50;
  font-weight: 500;
  display: none
}

.sku-weight {
  /* border-top: 1px solid var(--bs-gray-200); */
  /* padding-top: 16px; */
  margin-top: 16px;
}

.product-flex-box {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-bottom: 5px
}

.product-flex-box h3 {
  font-size: 16px;
  font-weight: 500;
  margin: 0;
  display: flex;
  gap: 5px;
  align-items: center;
  min-width: 110px
}

.product-flex-box h3 svg {
  color: currentColor;
  width: 20px;
  height: 20px
}

.product-flex-box span {
  opacity: .9
}

.rate-sku {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  row-gap: 3px;
}

.div-product-sku {
  display: flex;
  align-items: center;
  gap: 5px;
  opacity: .8;
  row-gap: 0;
}

.div-product-sku h3,
.div-product-sku h2 {
  font-size: 15px;
  font-weight: normal;
  margin: 0;
}

.div-product-sku::before {
  content: "|";
  margin: 0 5px;
  opacity: .3;
  display: none;
}

.rate-sku:has(.product-card-rating-count) .div-product-sku::before {
  display: block;
}

.div-product-weight {
  background: #fffdf7;
  border: 1px solid #ffe493;
  padding: 1px 8px;
  border-radius: 6px;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  margin-bottom: 12px;
}

.div-product-weight h4 {
  font-size: 15px;
  font-weight: normal;
  margin: 0;
}

.div-product-weight h4 svg {
  color: currentColor;
  width: 15px;
  height: 15px;
}

.product-flex-box .product-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px
}

.product-flex-box .product-social a {
  width: 34px;
  height: 34px;
  border: 1px solid var(--bs-gray-300);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center
}

.product-flex-box .product-social a svg,
.select-quantity-div .quantity-input button svg {
  color: currentColor;
  width: 18px;
  height: 18px
}

.product-flex-box .product-social a:hover {
  border-color: var(--primary-color);
  background: var(--primary-color);
  color: var(--text-color-primary-bg)
}

.share-social {
  margin-top: 8px
}

.quantity-add-cart label {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 3px
}

.quantity-add-cart label {
  margin-bottom: 0;
}

#product-variants-options label {
  position: relative;
  display: flex;
  font-weight: 500;
  text-align: center;
  margin-bottom: 8px;
  font-size: 18px;
}

#product-variants-options label::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 80%;
  height: 1px;
}

#product-variants-options .form-group label span {
  background: #fff;
  display: block;
  z-index: 1;
  padding: 0 24px;
}

#product-variants-options .form-group ul {
  display: flex;
  gap: 10px;
}

#product-variants-options .form-group ul li {
  border: 1px solid #d1d1d1;
  padding: 12px;
  cursor: pointer;
  font-weight: 500;
  display: flex;
  align-items: center;
  border-radius: 8px;
  gap: 10px;
}

#product-variants-options .form-group ul li img {
  height: 90px;
  width: 90px;
  object-fit: contain
}

#product-variants-options .form-group ul li.active {
  border-color: var(--primary-color);
  color: var(--primary-color);
  opacity: 1;
  pointer-events: none;
}

#product-variants-options .form-group ul.ul-images li {
  padding: 6px;
  flex-direction: column-reverse
}

#product-variants-options .form-group ul.ul-images li span {
  margin-top: 4px;
  line-height: 20px
}

#product-variants-options .form-group ul.ul-colors li {
  position: relative;
  width: 24px;
  height: 24px;
  border-color: #fff;
  border-width: 2px;
  border-radius: 50%;
  padding: 0;
  box-shadow: rgba(0, 0, 0, .02) 0 1px 3px 0, rgb(27 31 35 / 21%) 0 0 0 1px;
  opacity: 1
}

#product-variants-options .form-group ul.ul-colors li.active {
  box-shadow: 0 0 0 1px var(--tp-text-body)
}

#product-variants-options .form-group ul li em {
  width: 28px;
  height: 28px;
  border: 1px solid #d1d1d1;
  border-radius: 50%;
  position: relative;
}

#product-variants-options .form-group ul li em::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 14px;
  height: 14px;
  margin: auto;
  background: var(--primary-color);
  border-radius: 50%;
  opacity: 0;
}

#product-variants-options .form-group ul li.active em {
  border-color: var(--primary-color);
}

#product-variants-options .form-group ul li.active em::after {
  opacity: 1;
}

#product-variants-options .form-group ul li .variant-price {
  margin-right: auto;
}

/* مصغرات الخيارات: مربعات متساوية، حد رمادي / حد أسود + علامة صح */
#product-variants-options.product-variants-options-thumbs .form-group.variant-option-group>label {
  display: block;
  text-align: start;
  margin-bottom: 10px;
  font-size: 17px;
  font-weight: 600;
}

#product-variants-options.product-variants-options-thumbs .form-group.variant-option-group>label::after {
  display: none;
}

#product-variants-options.product-variants-options-thumbs .form-group.variant-option-group>label .option-selected-display {
  background: transparent;
  padding: 0;
  display: block;
  z-index: auto;
}

#product-variants-options.product-variants-options-thumbs .form-group ul.ul-variant-thumbs {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0 0 14px;
  overflow: visible;
}

#product-variants-options.product-variants-options-thumbs .form-group ul.ul-variant-thumbs li {
  position: relative;
  overflow: visible;
  list-style: none;
  width: 60px;
  height: 60px;
  min-width: 60px;
  min-height: 60px;
  padding: 0;
  margin: 0;
  border-radius: 0;
  border: 1px solid #e0e0e0;
  box-sizing: border-box;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 0;
  pointer-events: auto;
  opacity: 1;
  background: #fff;
}

#product-variants-options.product-variants-options-thumbs .form-group ul.ul-variant-thumbs li:focus {
  outline: 2px solid #000;
  outline-offset: 2px;
}

#product-variants-options.product-variants-options-thumbs .form-group ul.ul-variant-thumbs li:focus:not(:focus-visible) {
  outline: none;
}

#product-variants-options.product-variants-options-thumbs .form-group ul.ul-variant-thumbs li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#product-variants-options.product-variants-options-thumbs .form-group ul.ul-variant-thumbs li.active {
  border: 3px solid #000;
  border-color: #000;
  color: inherit;
  pointer-events: auto;
  opacity: 1;
}

#product-variants-options.product-variants-options-thumbs .form-group ul.ul-variant-thumbs li.active::after {
  content: "\2713";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  font-size: 12px;
  line-height: 27px;
  text-align: center;
  font-weight: 700;
  box-sizing: border-box;
  pointer-events: none;
  z-index: 2;
}

.loyalty-points,
.product-payments {
  margin-bottom: 12px
}

.loyalty-points:has(.loyalty-points-products-section-d-none) {
  display: none
}

.loyalty-points .loyalty-points-products-section {
  border: 1px solid var(--bs-gray-300);
  border-radius: 10px;
  font-weight: 500;
  padding: 6px 16px;
  font-size: 15px
}

.image-preview-container {
  display: flex;
  align-items: center;
  width: 100%;
}

.image-preview-container {
  width: 100%;
  max-width: 50%;

}

.lens-title {
  display: none;
  color: #1582d9 !important;
  text-decoration: underline;
}

.lens-title.active {
  display: inline-block;
}

.total-prices-box {
  background: #ebeef1;
  padding: 15px;
  border-radius: 12px;
  margin-bottom: 16px;
}

.total-prices-box p {
  margin-bottom: 8px;
}

.total-prices-box p:last-child {
  margin: 0;
  font-family: 'osan-Medium';
  border-top: 1px solid #d3d3d3;
  padding-top: 1rem;
  font-size: 17px;
}

.size-box {
  margin-bottom: 20px
}

#product-view-add-to-cart,
.end-in-box .tp-countdown ul li:first-child::after,
.no-tabs .tp-product-details-tab-nav nav,
.rate-sold-count:not(:has(div)),
.size-box:not(:has(*)),
.tp-product-bottom:not(:has(.container section)),
.tp-product-details-tab-nav .tab-content .tp-title-section {
  display: none
}

.select-quantity-div .quantity-input {
  display: flex;
  background: #fff;
  padding: 6px 7px;
  gap: 2px;
  align-items: center;
  width: max-content;
  border: 1px solid #9f9f9f;
  border-radius: 50px;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  -ms-border-radius: 50px;
  -o-border-radius: 50px;
}

.product-buttons-flex,
.quantity-add-cart {
  align-items: center;
  gap: 12px;
  display: flex
}

.select-quantity-div .quantity-input button {
  border-radius: 50%;
  width: 28px;
  height: 28px;
  transition: .2s;
  -webkit-transition: .2s;
  -moz-transition: .2s;
  -ms-transition: .2s;
  -o-transition: .2s
}

.select-quantity-div .quantity-input button:hover {
  background: #f5f5f5
}

.select-quantity-div .quantity-input input {
  width: 50px;
  border: 0;
  text-align: center;
  padding: 0;
  direction: rtl;
  outline: unset;
  font-weight: 500;
  font-size: 20px;
  height: 26px;
  padding-top: 3px;
}

input::-webkit-inner-spin-button,
input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0
}

input[type=number] {
  -moz-appearance: textfield
}

.quantity-add-cart {
  margin-bottom: 16px;
}

.product-buttons-flex {
  width: 100%
}

/* صف: مفضلة | اختيار العدسة | أضف للسلة — نفس ترتيب الصورة (LTR بصرياً) */
.product-buttons-flex.product-buttons-flex--lens-row {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  direction: ltr;
}

.product-buttons .product-buttons-flex--lens-row>button,
.product-buttons .product-buttons-flex--lens-row>.add-to-wishlist {
  width: auto !important;
  flex: 0 0 auto;
}

.product-buttons .product-buttons-flex--lens-row .btn-add-to-cart {
  flex: 1 1 140px;
  min-width: 0;
}

.product-buttons .product-buttons-flex--lens-row .btn-buy-now {
  flex: 0 1 auto;
  min-width: 0;
  margin-top: 0;
}

.product-buttons .product-buttons-flex--lens-row .btn-choose-lens {
  padding: 11px 20px;
  min-height: 50px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  background: transparent;
  border-color: var(--primary-color, #000);
  color: #000;
  box-shadow: none !important;
}

.sticky-cart .product-buttons-flex--lens-row .btn-choose-lens--sticky {
  padding: 8px 14px;
  min-height: 44px;
  font-size: 14px;
}

.sticky-cart .add-to-wishlist {
  display: none;
}

.product-buttons-flex .add-to-wishlist {
  position: static;
  border: 1px solid #7a7a7a;
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: #fff;
  border-radius: 50px;
}

.product-buttons .add-to-wishlist .icon-heart-mask {
  width: 28px;
  height: 28px
}

.product-buttons .apple-pay-button {
  min-width: max-content;
  height: auto !important;
  margin-top: 10px;
  height: auto !important;
  border-radius: 50px;
}

.product-buttons .buyNow .apple-pay-button,
.product-buttons .donateNow .apple-pay-button {
  height: auto !important;
  display: block;
  margin: 0;
  padding: 22px;
}

.product-buttons .apple-pay-button img {
  max-height: 26px
}

.product-buttons .checkout-btns {
  width: 100%;
}

.product-buttons a,
.product-buttons button {
  width: 100%;
  padding: 11px 12px;
  background: #000;
  color: var(--tp-white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 18px;
  border: 1px solid transparent;
}

.product-buttons .btn-add-to-cart {
  color: #fff;
  border-color: var(--primary-color);
  background: var(--primary-color);
  border-radius: 50px;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  -ms-border-radius: 50px;
  -o-border-radius: 50px;
}

.product-buttons .btn-buy-now {
  color: #000;
  border-color: #000;
  background: #fff;
  border-radius: 50px;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  -ms-border-radius: 50px;
  -o-border-radius: 50px;

  &:hover {
    color: #fff;
    border-color: var(--primary-color);
    background: var(--primary-color);
  }
}



.product-buttons .btn-add-to-cart svg {
  color: currentColor;
  width: 24px;
  height: 24px;
}

.product-buttons .btn-add-to-cart.checkout-btn {
  background: var(--primary-color);
  color: var(--text-color-primary-bg);
}

.product-buttons .btn-add-to-cart.checkout-btn svg {
  fill: currentColor;
}

.tp-product-details-tab-nav {
  margin-top: 32px;
}

.tp-product-details-tab-nav .nav-tabs {
  border-bottom: 1px solid #e0e2e3;
  justify-content: center;
  gap: 40px
}

.tp-tab .nav-tabs .nav-link {
  padding: 0;
  margin: 0;
  border: 0
}

.tp-product-details-tab-nav .nav-tabs .nav-link {
  font-size: 20px;
  color: var(--tp-text-1);
  padding: 0 9px;
  position: relative;
  font-weight: 500;
  outline: unset;
  box-shadow: unset;
  background: unset;
  padding-bottom: 12px;
}

.tp-product-details-tab-nav .nav-tabs .nav-link.active,
.tp-product-details-tab-nav .nav-tabs .nav-link:hover {
  color: var(--tp-text-body)
}

.tp-product-details-tab-nav .nav-tabs .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  width: 0;
  height: 1px;
  background: transparent;
  transition: .3s;
  -webkit-transition: .3s;
  -moz-transition: .3s;
  -ms-transition: .3s;
  -o-transition: .3s;
}

.tp-product-details-tab-nav .nav-tabs .nav-link.active::after {
  width: 100%;
  background: var(--tp-text-body);
}

.tp-product-details-tab-nav .tab-content {
  margin-top: 32px;
  scroll-margin-top: 32px;
}

.no-tabs .tp-product-details-tab-nav .tab-content>.tab-pane {
  display: block;
  opacity: 1;
  margin-bottom: 40px;
}

.no-tabs .tp-product-details-tab-nav .tab-content>.tab-pane:last-child {
  margin-bottom: 0;
  padding: 0;
  border: 0
}

#nav-variants {
  background: #fafafa;
  padding: 10px
}

#nav-variants .card {
  border: 0;
  box-shadow: rgb(149 157 165 / 1%) 0 8px 24px;
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0
}

#nav-variants .card:has(.card-table-header) {
  box-shadow: unset;
  background: unset
}

#nav-variants .card .card-body.card-table-header {
  padding: 4px 10px
}

#nav-variants .card img {
  height: 40px
}

.no-tabs .tp-product-details-tab-nav .tab-content .tp-title-section h3 {
  font-size: 24px
}

.total-review-progress {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review-summery {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.rating-progress {
  margin-top: 16px;
}

.add-review-btn {
  padding: 10px 16px;
  color: var(--primary-color);
  border: 1px solid;
  display: flex;
  justify-content: center;
  gap: 5px;
  align-items: center;
  font-size: 18px;
  font-weight: 400;
  transition: .3s;
  -webkit-transition: .3s;
  -moz-transition: .3s;
  -ms-transition: .3s;
  -o-transition: .3s;
  margin: auto;
  margin-top: 24px;
  border-radius: 50px;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  -ms-border-radius: 50px;
  -o-border-radius: 50px;
}

.add-review-btn:hover {
  color: var(--text-color-primary-bg);
  background: var(--primary-color);
  border-color: var(--primary-color);
}


.tp-product-details-review-wrapper {
  width: 100%;
}

.tp-product-details-review-wrapper:has(.tp-product-details-review-avater) {
  margin-top: 24px;
}

.tp-product-details-review-number {
  min-width: 300px;
  width: 300px;
}

.tp-product-details-review-number p {
  color: #828282;
  margin: 0;
}

.tp-product-details-review-number-title {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 20px;
}

.tp-product-details-review-summery-value {
  font-size: 40px;
  font-weight: 500;
}

.tp-product-details-review-summery-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 20px;
}

.tp-product-details-review-rating-item {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  margin-bottom: 1px;
  gap: 7px;
}

.tp-product-details-review-avater:last-of-type,
.tp-product-details-review-rating-item:last-child {
  margin-bottom: 0
}

.tp-product-details-review-rating-item span {
  font-size: 16px;
  width: 20px;
  text-align: center;
  position: relative;
  top: 3px;
}

.tp-product-details-review-rating-item i.deactive:before {
  color: #ccc
}

.tp-product-details-review-rating-item p {
  width: 38px;
  margin: 0;
  color: var(--tp-text-body);
  display: flex;
  gap: 3px;
  flex-direction: row-reverse;
}

.tp-product-details-review-rating-item .progress {
  width: 100%;
  background: #d5d5d5;
  height: 8px;
}

.tp-product-details-review-rating-item .progress .progress-bar {
  background: var(--primary-color);
}

.tp-product-details-review-title {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 24px
}

.all-reviews-box .all-reviews-btn:hover,
.questions-view_more a:hover {
  background: var(--primary-color);
  color: var(--tp-white)
}

.all-reviews-box,
.questions-view_more {
  width: max-content;
  margin: 24px auto 0
}

.all-reviews-box .all-reviews-btn,
.questions-view_more a {
  border: 1px solid var(--primary-color);
  padding: 6px 16px;
  border-radius: 50px;
  display: flex;
  gap: 5px;
  align-items: center;
  font-size: 18px;
  font-weight: 400;
  transition: .3s;
  -webkit-transition: .3s;
  -moz-transition: .3s;
  -ms-transition: .3s;
  -o-transition: .3s
}

.reviews-empty {
  text-align: center;
  margin-top: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center
}

.reviews-empty svg {
  width: 60px;
  height: 60px;
  color: var(--tp-text-body);
  margin-bottom: 12px;
  opacity: .3;
}

.reviews-empty span {
  font-size: 20px
}

.tp-product-details-review-avater {
  display: flex;
  gap: 16px;
  margin-bottom: 8px;
  padding: 20px;
  border: 1px solid #CECECE;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
}

.tp-product-details-review-avater-thumb .account_circle {
  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: var(--tp-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  overflow: hidden
}

.tp-product-details-review-avater-rating {
  line-height: 1;
  margin-bottom: 8px;
  font-size: 12px
}

.tp-product-details-review-avater-title {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 10px;
  display: inline-block
}

.tp-product-details-review-avater-meta {
  position: relative;
  padding-right: 16px;
  margin-right: 10px;
  width: max-content;
  display: inline-block;
  opacity: .8;
}

.tp-product-details-review-avater-meta::after {
  position: absolute;
  content: "";
  right: 0;
  top: 13px;
  width: 6px;
  height: 1px;
  border-radius: 50%;
  background-color: #000000;
}

.questions-card-preview .answer,
.tp-product-details-review-avater-comment {
  font-size: 17px
}

.review-images-box {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px
}

.form-notify-me-phone-row,
.modal-bottom-buttons {
  gap: 16px;
  display: flex
}

.review-images-box img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 5px
}

.review-reply-box {
  background: var(--tp-white);
  margin-top: 20px
}

.review-reply-box.tp-product-details-review-avater-thumb .account_circle img {
  object-fit: contain
}

.questions-card-init {
  padding: 24px
}

.questions-card-init .content-box,
.questions-card-init .image-box {
  margin-bottom: 18px
}

.questions-card-init .content-box p {
  font-size: 16px;
  color: #81808c;
  font-weight: 400
}

.questions-card-preview {
  margin-bottom: 12px;
  background: var(--bs-gray-100);
  padding: 20px;
  border-radius: 16px
}

.questions-card-preview .customer-name {
  margin-bottom: 8px;
  color: var(--primary-color);
  font-size: 17px
}

.questions-card-preview .question {
  font-size: 19px;
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 7px
}

.questions-pagination .page-item {
  font-size: 16px
}

.questions-pagination .page-item .page-link {
  color: var(--primary-color)
}

.questions-pagination .page-item.selected a {
  background-color: var(--primary-color);
  color: #fff
}

.play-icon,
.iframe-video {
  position: absolute;
  inset: 0;
  margin: auto;
}

.iframe-video iframe {
  width: 100%;
  height: 100%;
}

.play-icon {
  z-index: 2;
  cursor: pointer;
  max-width: 55%;
  width: auto !important;
  height: auto !important;
  border: none !important;
  opacity: .65;
}

.play-icon:hover {
  opacity: 1;
}

.iframe-video {
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  background-color: black;
}

.modal-product-title {
  font-size: 22px;
  font-weight: 500;
  color: var(--tp-text-body);
  margin-bottom: 20px
}

.form-group {
  margin-bottom: 14px
}

.form-group .form-control {
  border-radius: 10px;
  padding: 10px;
  font-size: 16px
}

.form-group .text-danger {
  font-size: 14px;
  margin-bottom: 0;
  line-height: 18px
}

.modal-bottom-buttons {
  margin-top: 32px;
  border-top: 1px solid var(--bs-gray-200);
  padding-top: 20px
}

.modal-bottom-buttons button {
  padding: 8px 24px;
  font-size: 16px;
  border-radius: 10px;
  width: max-content;
  border: 1px solid var(--tp-text-body) !important;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px
}

.card-body.card-table-header {
  font-weight: 500;
  font-size: 17px
}

.card-table.options-table {
  margin-top: 6px
}

.section-out-of-stock-notify-me {
  margin-bottom: 24px
}

.section-out-of-stock-notify-me .product-title {
  font-size: 17px;
  font-weight: 500;
  color: var(--bs-danger);
  margin-bottom: 14px;
}

.section-out-of-stock-notify-me h4 {
  font-size: 16px;
  margin-bottom: 8px
}

.form-notify-me-phone-row .send-notify-country-key {
  width: 100px;
  font-weight: 500
}

.form-notify-me-submit-button-row .btn-send-notify {
  padding: 8px 24px;
  border-radius: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 16px
}

.form-notify-me-submit-button-row .btn-send-notify svg {
  color: currentColor;
  width: 22px;
  height: 22px
}

.end-in-box {
  margin-bottom: 14px;
  font-weight: 500;
  width: 100%;
  padding: 8px 16px 8px 8px;
  border: 1px solid #db1215;
  text-align: center;
  display: flex;
  justify-content: space-between;
  border-radius: 8px;
}

.end-in-box .end-in {
  margin: 0;
  font-size: 15px;
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center
}

.end-in-box .end-in svg {
  animation: 2s infinite tf-ani-tada;
  width: 18px;
  height: 18px;
  color: currentColor
}

.end-in-box .tp-countdown ul {
  display: flex;
  gap: 7px;
  flex-direction: row-reverse
}

.end-in-box .tp-countdown ul li {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 0;
  font-size: 13px;
  color: #fff;
  background: #db1215;
  width: 44px;
  line-height: 17px;
  padding-bottom: 5px;
  border-radius: 8px;
}

.end-in-box .tp-countdown ul li::after {
  content: ":";
  margin-right: 5px;
  font-size: 20px;
  display: none
}

.end-in-box .tp-countdown ul li span {
  display: block;
  text-align: center;
  font-size: 20px;
  padding-top: 7px
}

.rate-sold-count {
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 8px;
  row-gap: 4px;
}

.sold-count {
  gap: 4px;
  align-items: center;
  margin-bottom: 8px;
}

.sold-count svg {
  color: #df392d;
  width: 20px;
  height: 20px;
  animation: pulseScale 1.2s ease-in-out infinite;
}

@keyframes pulseScale {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.08);
    opacity: 0.9;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.sold-count span {
  font-size: 17px;
  font-weight: 500
}

.show-now-section {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
}

.bundle-offer-section {
  margin-bottom: 8px;
}

.tf-product-info-liveview {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px
}

.tf-product-info-liveview .liveview-count {
  display: flex;
  justify-content: center;
  min-width: 34px;
  min-height: 24px;
  line-height: 24px;
  color: var(--tp-white);
  background-color: var(--tp-text-body);
  border-radius: 3px;
  font-weight: 500;
  padding-top: 1px
}

.sticky-cart {
  display: flex;
  align-items: center;
  position: fixed;
  bottom: 10px;
  z-index: 99;
  background: #fff;
  right: 0;
  left: 0;
  padding: 10px;
  gap: 10px;
  box-shadow: 0 0 9px #0000001f;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  width: max-content;
  margin: auto;
  border-radius: 16px;
  -webkit-border-radius: 16px;
  -moz-border-radius: 16px;
  -ms-border-radius: 16px;
  -o-border-radius: 16px;
}

.sticky-cart.active {
  animation: .3s ease-in-out forwards slideUp;
  -webkit-animation: .3s ease-in-out forwards slideUp;
  visibility: visible
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(100%);
    -webkit-transform: translateY(100%);
    -moz-transform: translateY(100%);
    -ms-transform: translateY(100%);
    -o-transform: translateY(100%)
  }

  to {
    opacity: 1;
    transform: translateY(0);
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0)
  }
}

.sticky-cart .product-img {
  height: 80px;
  width: 80px;
  min-width: 80px;
  object-fit: contain;
  border-radius: 8px;
}

.sticky-cart .title-product {
  font-size: 17px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 240px;
  line-height: inherit
}

.sticky-cart .product-price-div {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  row-gap: 0
}

.sticky-cart .product-formatted-price {
  margin: 0;
  font-size: 18px;
  font-family: 'osan-Medium';
}

.sticky-cart .product-price-div .product-formatted-price-old {
  text-decoration: line-through;
  color: #6b7280;
}

.sticky-cart .select-quantity-div {
  margin-right: auto
}

.sticky-cart .product-buttons {
  width: auto
}

.sticky-cart .product-buttons .btn-add-to-cart {
  min-width: 200px
}

.sticky-cart .product-buttons-flex--lens-row .btn-add-to-cart {
  min-width: 0;
  flex: 1 1 100px;
}

.sticky-cart .product-buttons .btn-choose-lens {
  background: var(--primary-color, #000);
  border-color: var(--primary-color, #000);
  color: #fff;
}

.t4s-ani-shake {
  animation: 1.5s infinite t4s-ani-shake
}

@keyframes t4s-ani-shake {

  from,
  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0)
  }

  10%,
  30%,
  50%,
  70%,
  90% {
    -webkit-transform: translate3d(-5px, 0, 0);
    transform: translate3d(-5px, 0, 0);
    -moz-transform: translate3d(-5px, 0, 0);
    -ms-transform: translate3d(-5px, 0, 0);
    -o-transform: translate3d(-5px, 0, 0)
  }

  20%,
  40%,
  60%,
  80% {
    -webkit-transform: translate3d(5px, 0, 0);
    transform: translate3d(5px, 0, 0);
    -moz-transform: translate3d(5px, 0, 0);
    -ms-transform: translate3d(5px, 0, 0);
    -o-transform: translate3d(5px, 0, 0)
  }
}

.payment-methods {
  margin-top: 24px;
  border-bottom: 1px solid #e0e2e3;
  padding-bottom: 16px;
  width: 80%;
}

.payment-methods.tp-mask {
  gap: 40px
}

.payment-methods.tp-mask:not(:has(img)) {
  display: none;
}

.payment-methods .tp-marquee {
  flex-shrink: 0;
  display: flex;
  gap: 40px;
  animation: 50s linear infinite move;
  -webkit-animation: 50s linear infinite move;
  animation-direction: reverse;
}

.payment-methods .tp-marquee img {
  height: 24px;
  width: auto;
  max-width: 50px;
  object-fit: contain;
}

.payment-methods:not(:has(+ .features-product)) {
  border: 0;
  padding: 0;
}

.flex-bundle {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px
}

.flex-bundle .icon-gift {
  font-size: 32px
}

.flex-bundle .bundle-offer-title {
  font-size: 18px;
  font-weight: 500
}

span.swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 3px !important;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

span.swiper-pagination-bullet.swiper-pagination-bullet-active {
  background: var(--primary-color);
}

.size-box .text-color-primary {
  color: #222;
  font-size: 16px;
  font-family: 'osan-Medium';
}

.size-box .form-group .form-control {
  border-radius: 7px;
  padding: 7px 10px;
  font-size: 15px;
  border-color: #878787;
}

.size-box .form-group select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9L12 15L18 9' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 10px center;
  background-size: 18px;
}

.size-box .form-group:has(input[required]) label::after,
.size-box .form-group:has(select[required]) label::after {
  content: " * ";
  color: red;
  font-size: .875em;
  margin: 0 3px;
}

.size-box .checkbox-container {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  top: 5px;
}

.size-box .custom-checkbox-input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
  display: none;
}

.size-box .custom-checkmark {
  width: 20px;
  height: 20px;
  background-color: #ffffff;
  border: 2px solid #2d2d2d;
  border-radius: 4px;
  transition: all 0.2s ease;
  display: inline-block;
  position: relative;
}

.size-box .custom-checkbox-label {
  margin-right: 5px;
  font-size: 16px;
  cursor: pointer;
}

.size-box .checkbox-container:hover .custom-checkmark {
  border-color: #999;
}

.size-box .custom-checkbox-input:checked+.custom-checkmark {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.size-box .custom-checkmark::after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.size-box .custom-checkbox-input:checked+.custom-checkmark::after {
  display: block;
}

.size-box .form-group {
  margin-bottom: 8px;
}

.size-box .form-group:has(.checkbox-container) {
  margin-bottom: 5px;
}

.size-box .border-product {
  margin-top: 10px !important;
}

.size-box .form-group .form-control:has(.file-label) {
  padding: 0;
  overflow: hidden;
}

.size-box .form-group .form-control .file-label {
  display: flex;
  flex-direction: row-reverse;
  gap: 10px;
  justify-content: start;
  align-items: center;
}

.size-box .form-group .form-control:has(.file-label) button {
  padding: 4px 10px;
  font-size: 15px;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
}

.size-box .form-group .form-control:has(.file-label) .icon-close {
  cursor: pointer;
}

.size-box .form-group .form-control:has(.file-label) .icon-close::after {
  content: "\e95b";
}

.size-box .form-group .form-control:has(.file-label) span[data-hint-text] {
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}

.size-box .form-group .form-control:has(.custom-upload-box) {
  border-style: dashed;
}

.custom-upload-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  gap: 7px;
}

.custom-upload-box .upload-preview {
  max-width: 200px;
  max-height: 100px;
  object-fit: contain;
}

.custom-upload-box .delete-icon {
  cursor: pointer;
  width: 24px;
  height: 24px;
  text-align: center;
  line-height: 30px;
}

.custom-upload-box .tp-btn::after {
  display: none;
}

.custom-line-placeholder {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0;
}

.custom-line-placeholder span {
  height: 1px;
  width: 100%;
  background: #cbcbcb;
}

.low-quantity-section {
  margin-bottom: 8px;
  color: #EC5550;
}

.available-share {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.available-product {
  display: flex;
  align-items: center;
  gap: 3px;
}

.icon--inventory {
  width: 20px;
  height: 20px;
  position: relative;
  top: -1px;
}

.icon--inventory::before,
.icon--inventory::after {
  width: 9px;
  height: 9px;
  background: #54c63a;
  border-radius: 9px;
  position: absolute;
  inset: 0;
  content: "";
  margin: auto;
}

.out-stock .icon--inventory::before,
.out-stock .icon--inventory::after {
  background: #da4761;
}

.pre-order .icon--inventory::before,
.pre-order .icon--inventory::after {
  background: #ffa507;
}

.icon--inventory:before {
  animation: inventory-pulse 2s linear infinite;
}

@keyframes inventory-pulse {
  0% {
    opacity: 0.5;
  }

  to {
    transform: scale(2.5);
    opacity: 0;
  }
}

.share-box {
  cursor: pointer;
  display: flex;
  gap: 4px;
  align-items: center;
}

.bar-product-single {
  margin-top: 16px;
}

.compare-part table tr:first-child {
  font-family: 'osan-Medium';
}

.sm-banner {
  margin-bottom: 16px;
  border-radius: 10px;
}

.faqs-part .faqs-box .accordion-item .accordion-body {
  padding-top: 16px;
}

.pre-order-text {
  text-align: center;
  display: block;
  margin: auto;
  margin-top: 16px;
  background: #faebd7;
  padding: 5px 12px;
  border-radius: 8px;
  color: #3b2201;
}

.face-shape-product {
  position: sticky;
  top: 12px;
  left: 5px;
  z-index: 9;
  width: max-content;
  margin-right: auto;
}

.face-shape-product img {
  width: 55px;
  height: 55px;
  object-fit: contain;
}

.product-try-face-shape {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: sticky;
  top: 75px;
  z-index: 9;
  display: none !important;
}

.product-try-face-shape button {
  border: 1px solid var(--primary-color);
  border-radius: 50px;
  background: #fff;
  color: var(--primary-color);
  font-size: 20px;
  padding: 16px 32px;
  z-index: 9;
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-try-face-shape svg {
  width: 26px;
  height: 26px;
}

.product-try-face-shape button:hover {
  background: var(--primary-color);
  color: #fff;
}

.btn-product-page-try-vto.js-vto-open.vto-visible {
  display: flex !important;
}

.vto-face-shape-tools {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}

.fbx-vto-analyze-faceshape-result-screen-wrapper.hide {
  display: none;
}

.fbx-vto-analyze-faceshape-result-screen-wrapper {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  pointer-events: auto;
}

.fbx-vto-analyze-faceshape-result-detail-wrapper {
  background: rgba(0, 0, 0, 0.88);
  color: #fff;
  border-radius: 14px;
  padding: 14px 14px 12px;
}

.btn-close-btn.vto-faceshape-close-inline {
  position: absolute;
  top: 6px;
  right: 8px;
  color: #fff;
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 1;
}

.faceshape-result-text {
  font-size: 18px;
  text-align: center;
  margin-bottom: 10px;
}

.faceshape-result-text a {
  font-size: 15px;
}

.faceshape-result-heading-inner {
  row-gap: 8px;
}

.faceshape-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.faceshape-icon-img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.faceshape-result-copy {
  font-size: inherit;
}

.faceshape-match-cta-text {
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 10px;
}

.view-match-faceshape-grid-page {
  width: 100%;
  background: #fff !important;
  color: #000 !important;
  border-radius: 50px;
  padding: 10px 12px;
  text-align: center;
  display: block;
  font-size: 16px;
}

.vto-face-shape-loader {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.vto-face-shape-loader.is-visible {
  display: flex;
}

.vto-face-shape-spinner {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: vtoSpin 0.8s linear infinite;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.25);
}

@keyframes vtoSpin {
  to {
    transform: rotate(360deg);
  }
}

#vtoModal .modal-body {
  position: relative;
}


/* reviews-page */
.products-reviews-page .products-details {
  flex-direction: column;
  padding: 24px;
  margin: 0 !important;
}

.products-reviews-page .products-details a .d-flex {
  gap: 24px;
  flex-direction: column;
  justify-content: center;
  margin: auto;
  width: 600px;
  max-width: 100%;
}

.products-reviews-page .products-details a .d-flex img,
.products-reviews-page .products-details a .d-flex h1 {
  width: 100%;
  text-align: center;
}

.products-reviews-page .products-details .review-details .d-flex {
  gap: 12px;
}

.products-reviews-page .products-details .review-details .d-flex .add-review-btn {
  margin-right: auto;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.products-reviews-page .products-details .reviews-break-down-div .d-flex {
  flex-direction: column;
  align-items: start !important;
  gap: 4px;
}

.products-reviews-page .products-details .reviews-break-down-div .rating-average {
  font-size: 30px;
}

.products-reviews-page .products-details .reviews-break-down-div .card-rate {
  flex-wrap: nowrap;
  align-items: center;
}

.products-reviews-page .products-details .reviews-break-down-div .card-rate.row>* {
  width: auto;
}

.products-reviews-page .products-details .reviews-break-down-div .card-rate .icon-star1 {
  padding: 0;
}

.products-reviews-page .products-details .reviews-break-down-div .card-rate .rating_count_5,
.products-reviews-page .products-details .reviews-break-down-div .card-rate .rating_count_4,
.products-reviews-page .products-details .reviews-break-down-div .card-rate .rating_count_3,
.products-reviews-page .products-details .reviews-break-down-div .card-rate .rating_count_2,
.products-reviews-page .products-details .reviews-break-down-div .card-rate .rating_count_1 {
  width: 50px;
}

.products-reviews-page .products-details .products-pagination {
  margin-top: 0;
}

@media (max-width:768px) {
  .products-reviews-page .products-details a .d-flex h1 {
    font-size: 20px;
  }

  .products-reviews-page .products-details .reviews-break-down-div .card-rate span:last-child {
    font-size: 14px;
    padding: 0;
  }

  .products-reviews-page .products-details .reviews-break-down-div .rating-average {
    font-size: 26px;
  }
}

@media (max-width: 450px) {
  .products-reviews-page .products-details a .d-flex h1 {
    font-size: 18px;
  }

  .products-reviews-page .products-details .review-details .d-flex .add-review-btn {
    width: 100%;
    justify-content: center;
  }

  .tp-product-details-review-avater-comment {
    font-size: 16px;
  }

  .tp-product-details-review-avater-title {
    font-size: 17px;
  }

  .tp-product-details-review-avater-meta {
    font-size: 14px;
  }

  .tp-product-details-review-avater-comment {
    font-size: 15px;
  }

  .tp-product-details-review-avater-thumb {
    display: none;
  }

  .products-reviews-page .products-details {
    padding: 16px;
  }
}

#variants-view-container {
  display: none;
}

html.view-variants #variants-view-container {
  display: block !important;
  visibility: visible !important;
}

html.view-variants #standard-view-container {
  display: none !important;
  visibility: hidden !important;
}

/* ═══════════════════════════════════════════
   Product Configurator – Step-by-Step Wizard
   ═══════════════════════════════════════════ */
/* زر «اختيار العدسة» في صف الأزرار — التفاصيل الكاملة في product-details.css */
.btn-choose-lens {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  min-height: 50px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  border: 1px solid #000;
  background: #000;
  color: #fff;
  white-space: nowrap;
  transition: opacity .2s, transform .15s
}

.btn-choose-lens:hover {
  opacity: .92
}

.btn-choose-lens:active {
  transform: scale(.98)
}

.btn-choose-lens.cfg-completed {
  background: #111;
  border-color: #198754;
  box-shadow: 0 0 0 2px rgba(25, 135, 84, .25)
}

.cfg-summary-box {
  background: #f8fffe;
  border: 1px solid #d1e7dd;
  border-radius: 12px;
  padding: 16px;
  margin: 10px 0 14px
}

.cfg-summary-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-weight: 600;
  color: #198754;
  font-size: 15px
}

.cfg-summary-header .cfg-check-icon {
  width: 22px;
  height: 22px;
  background: #198754;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0
}

.cfg-summary-edit {
  margin-right: auto;
  margin-left: 0;
  background: none;
  border: none;
  color: #0d6efd;
  cursor: pointer;
  font-size: 13px;
  font-family: inherit;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background .2s
}

.cfg-summary-edit:hover {
  background: #e7f1ff
}

.cfg-summary-items {
  display: flex;
  flex-direction: column;
  gap: 2px
}

.cfg-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  font-size: 13px;
  border-bottom: 1px solid #f0f0f0
}

.cfg-summary-item:last-child {
  border-bottom: none
}

.cfg-summary-item-label {
  color: #6c757d;
  flex-shrink: 0;
  padding-left: 12px
}

.cfg-summary-item-value {
  color: #333;
  font-weight: 500;
  text-align: left
}

.cfg-summary-total {
  display: flex;
  justify-content: space-between;
  padding: 10px 0 0;
  margin-top: 6px;
  border-top: 2px solid #dee2e6;
  font-weight: 700;
  font-size: 14px;
  color: #1a1a2e
}

/* شاشة منقسمة: 50% صورة + 50% خطوات (بدل offcanvas ضيق) */
#cfgOffcanvas.cfg-split-offcanvas {
  --bs-offcanvas-width: 100%;
  width: 100% !important;
  max-width: 100vw !important;
  height: 100vh;
  height: 100dvh;
  border: 0 !important;
  box-shadow: none !important
}

#cfgOffcanvas.cfg-split-offcanvas .cfg-split-layout {
  display: flex;
  flex-direction: row;
  direction: ltr;
  height: 100%;
  min-height: 0;
  width: 100%;
  overflow: hidden
}

#cfgOffcanvas.cfg-split-offcanvas .cfg-split-visual {
  order: 2;
  flex: 0 0 50%;
  width: 50%;
  max-width: 50%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-left: 1px solid #ececec;
  ;
  padding: 0px;
  box-sizing: border-box
}

#cfgOffcanvas.cfg-split-offcanvas .cfg-split-visual-inner {
  flex: 1;
  min-height: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px
}

#cfgOffcanvas.cfg-split-offcanvas .cfg-split-visual-inner img {
  width: 100%;
  height: 100%;
  object-fit: contain
}

#cfgOffcanvas.cfg-split-offcanvas .cfg-split-caption {
  flex-shrink: 0;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 16px 20px 20px;
  text-align: center;
  font-size: 16px;
  line-height: 1.5;
  color: #111;
  font-weight: 600;
  direction: rtl
}

#cfgOffcanvas.cfg-split-offcanvas .cfg-split-layout--no-visual .cfg-split-visual {
  display: none
}

#cfgOffcanvas.cfg-split-offcanvas .cfg-split-layout--no-visual .cfg-split-panel {
  flex: 1 1 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  border-left: 0 !important
}

#cfgOffcanvas.cfg-split-offcanvas .cfg-split-panel {
  flex: 0 0 50%;
  width: 50%;
  max-width: 50%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-left: 1px solid #ddd;
  direction: rtl;
  text-align: right
}

#cfgOffcanvas.cfg-split-offcanvas .offcanvas-header.cfg-split-header {
  padding: 12px 20px;
  border-bottom: 1px solid #eee;
  gap: 16px;
  justify-content: start;
}

#cfgOffcanvas.cfg-split-offcanvas .offcanvas-title {
  font-size: 17px;
  font-weight: 700;
  margin: 0
}

#cfgOffcanvas.cfg-split-offcanvas .offcanvas-header.cfg-split-header .btn-close {
  padding: 0;
  width: 40px;
  height: 34px;
  font-size: 20px;
  padding-top: 8px;
}

#cfgOffcanvas.cfg-split-offcanvas .offcanvas-header.cfg-split-header.cfg-split-header--cart-status .btn-close {
  margin-inline-start: auto;
}

#cfgOffcanvas.cfg-split-offcanvas .cfg-split-body {
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1;
  min-height: 0;
  overflow: hidden
}

#cfgOffcanvas.cfg-split-offcanvas .cfg-split-panel .cfg-choice.cfg-selected {
  border-color: #326fa8;
  outline: 1px solid #326fa8;
}

@media(max-width:768px) {
  #cfgOffcanvas.cfg-split-offcanvas .cfg-split-layout {
    flex-direction: column
  }

  #cfgOffcanvas.cfg-split-offcanvas .cfg-split-visual {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    min-height: 32vh;
    max-height: 42vh;
    padding: 16px
  }

  #cfgOffcanvas.cfg-split-offcanvas .cfg-split-visual-inner img {
    max-height: min(36vh, 280px)
  }

  #cfgOffcanvas.cfg-split-offcanvas .cfg-split-panel {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
    border-left: 0;
    border-top: 1px solid #ddd;
    min-height: 0
  }
}

#cfgOffcanvas .cfg-progress {
  height: 3px;
  background: #e0e0e0;
  flex-shrink: 0
}

#cfgOffcanvas .cfg-progress-fill {
  height: 100%;
  background: #111;
  width: 0;
  transition: width .22s ease;
  border-radius: 0
}

#cfgOffcanvas .cfg-step-info {
  padding: 7px 12px;
  font-size: 14px;
  margin-left: auto;
  background: #f5f6f6;
  border-radius: 50px;
}

#cfgOffcanvas #cfg-step-price {
  font-size: 15px;
  font-weight: 600;
  color: #111;
  display: none;
}

#cfgOffcanvas .cfg-content {
  flex: 1;
  overflow-y: auto;
  padding: 28px 24px 24px;
  -webkit-overflow-scrolling: touch
}

.cfg-cart-add-status {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  padding: 24px 12px;
  height: 100%;
}

.cfg-cart-add-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #111;
  line-height: 1.35;
}

.cfg-cart-add-sub {
  margin: 0;
  font-size: 15px;
  color: #666;
  line-height: 1.5;
}

.cfg-cart-add-spinner {
  width: 52px;
  height: 52px;
  border: 3px solid #e8e8e8;
  border-top-color: #111;
  border-radius: 50%;
  animation: cfg-cart-add-spin .8s linear infinite;
}

@keyframes cfg-cart-add-spin {
  to { transform: rotate(360deg); }
}

.cfg-cart-add-progress {
  width: min(100%, 280px);
  height: 6px;
  background: #ececec;
  border-radius: 999px;
  overflow: hidden;
}

.cfg-cart-add-progress-fill {
  height: 100%;
  background: #111;
  border-radius: 999px;
  transition: width .25s ease;
}

.cfg-cart-add-check {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #e8f7ee;
  color: #1f8b4c;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cfg-cart-add-error-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fdecec;
  color: #d93025;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.cfg-cart-add-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: min(100%, 420px);
  margin-top: 8px;
}

.cfg-cart-add-actions--single {
  grid-template-columns: 1fr;
}

.cfg-cart-add-actions .cfg-btn {
  width: 100%;
  justify-content: center;
}

.cfg-cart-add-actions .cfg-btn-outline {
  background: #fff;
  color: #111;
  border: 1px solid #d8d8d8;
}

.cfg-step {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .35s ease, transform .35s ease
}

.cfg-step.cfg-visible {
  opacity: 1;
  transform: translateY(0)
}

#cfgOffcanvas .cfg-field-label {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin: 0 0 16px;
}

#cfgOffcanvas .cfg-field-hint {
  font-size: 15px;
  color: #666;
  margin: 0 0 24px;
  line-height: 1.45
}

#cfgOffcanvas .cfg-field-hint--warn {
  font-size: 15px;
  color: #F44336;
  margin: 0 0 24px;
  line-height: 1.45
}

#cfgOffcanvas .cfg-rx-notes {
  margin: 0 0 18px;
  padding: 12px 14px;
  background: linear-gradient(180deg, #f8fbff 0%, #f3f8ff 100%);
  border: 1px solid #dbe8fb;
  border-radius: 10px
}

#cfgOffcanvas .cfg-rx-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #2d3f5f;
  font-size: 14px;
  line-height: 1.6
}

#cfgOffcanvas .cfg-rx-note+.cfg-rx-note {
  margin-top: 6px
}

#cfgOffcanvas .cfg-rx-note-bullet {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #326fa8;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px
}

#cfgOffcanvas .cfg-rx-note strong {
  color: #1f3355
}

#cfgOffcanvas .cfg-card-dual-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 10px
}

#cfgOffcanvas .cfg-card-dual-field {
  text-align: right
}

#cfgOffcanvas .cfg-card-dual-label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  line-height: 1.4
}

#cfgOffcanvas .cfg-card-dual-stack .cfg-text-input {
  width: 100%;
  min-height: 52px
}

#cfgOffcanvas .cfg-card-dual-stack textarea.cfg-text-input {
  min-height: 120px
}

#cfgOffcanvas .cfg-rx-table-wrap {
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  overflow: hidden;
  background: #fff
}

#cfgOffcanvas .cfg-rx-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed
}

#cfgOffcanvas .cfg-rx-table th,
#cfgOffcanvas .cfg-rx-table td {
  border-bottom: 1px solid #ececec;
  border-left: 1px solid #ececec;
  padding: 10px 8px;
  text-align: center;
  vertical-align: middle
}

#cfgOffcanvas .cfg-rx-table tr:last-child td {
  border-bottom: none
}

#cfgOffcanvas .cfg-rx-table th:first-child,
#cfgOffcanvas .cfg-rx-table td:first-child {
  border-left: none
}

#cfgOffcanvas .cfg-rx-table thead th {
  background: #f6f6f6;
  color: #666;
  font-size: 14px;
  font-weight: 700
}

#cfgOffcanvas .cfg-rx-table .cfg-rx-label {
  background: #fafafa;
  color: #555;
  font-size: 14px;
  font-weight: 600;
  text-align: right;
  padding-right: 12px
}

#cfgOffcanvas .cfg-rx-text {
  width: 100%;
  min-width: 90px;
  height: 42px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #fff;
  color: #333;
  font-size: 14px;
  padding: 0 8px;
  box-sizing: border-box;
  text-align: center;
  direction: ltr
}

#cfgOffcanvas .cfg-rx-text:focus {
  outline: none;
  border-color: #111;
  box-shadow: unset
}

#cfgOffcanvas .cfg-rx-text.is-invalid {
  border-color: #e53935 !important;
  box-shadow: 0 0 0 1px #e53935 inset
}

#cfgOffcanvas .cfg-rx-signed {
  display: flex;
  align-items: center;
  gap: 6px
}

#cfgOffcanvas .cfg-rx-sign-btn {
  width: 24px;
  height: 24px;
  line-height: 26px;
  border: 1px solid #ddd;
  border-radius: 50px;
  background: #fff;
  color: #444;
  font-weight: 700;
  font-size: 16px;
  padding: 0;
  cursor: pointer;
  flex: 0 0 24px;
}

#cfgOffcanvas .cfg-rx-sign-btn.is-active {
  background: #111;
  border-color: #111;
  color: #fff
}

/* بطاقات خيار: بدون راديو/تشيك — تحديد بإطار أسود فقط (مثل المرجع) */
#cfgOffcanvas .cfg-choices {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px
}

#cfgOffcanvas .cfg-choice {
  padding: 10px 20px;
  direction: ltr;
  width: 100%;
  min-height: 92px;
  margin: 0;
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .2s, background .2s, box-shadow .2s;
  text-align: right;
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent
}

#cfgOffcanvas .cfg-choice:hover {
  border-color: #686868
}

#cfgOffcanvas .cfg-choice.cfg-selected {
  border-color: #326fa8;
  outline: 1px solid #326fa8;
}

#cfgOffcanvas .cfg-choice-info {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin: 0 0 0 16px;
  border: 1px solid #c5c5c5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  font-style: italic;
  color: #555;
  font-family: Georgia, serif;
  display: none;
}

#cfgOffcanvas .cfg-choice-thumb {
  flex-shrink: 0;
  width: 120px;
  height: 110px;
  margin: 0 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px
}

#cfgOffcanvas .cfg-choice-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  vertical-align: middle
}

#cfgOffcanvas .cfg-choices.cfg-choices--package .cfg-choice-thumb img {
  object-fit: contain;
}

#cfgOffcanvas .cfg-choice-thumb.cfg-choice-thumb--empty {
  background: linear-gradient(145deg, #eee, #f8f8f8)
}

#cfgOffcanvas .cfg-choice-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 18px 12px;
  direction: rtl;
  text-align: right
}

#cfgOffcanvas .cfg-choice-textstack {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  text-align: right
}

#cfgOffcanvas .cfg-choice-side-price {
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 700;
  color: #111;
  line-height: 1.25;
  padding: 0 2px;
  min-width: 72px;
  text-align: left;
  white-space: nowrap
}

#cfgOffcanvas .cfg-choice-title {
  font-size: 17px;
  font-weight: 700;
  color: #111;
  line-height: 1.35;
  display: block;
  width: 100%
}

#cfgOffcanvas .cfg-choice-meta {
  font-size: 14px;
  font-weight: 400;
  color: #666;
  line-height: 1.4;
  display: block;
  width: 100%
}

#cfgOffcanvas .cfg-choice-subtitle {
  white-space: pre-line;
  font-size: 13px;
  color: #777;
  font-weight: 400;
  line-height: 1.45
}

#cfgOffcanvas .cfg-choice-separator {
  display: none
}

#cfgOffcanvas .cfg-choices.cfg-choices--additional {
  margin-top: 30px;
}

#cfgOffcanvas .cfg-choices.cfg-choices--additional .cfg-choice-separator {
  display: block;
  height: 2px;
  background: #cfd8e6;
  margin: 20px 0;
}

#cfgOffcanvas .cfg-choice-group-title {
  font-size: 16px;
  font-weight: 700;
  color: #4a4a4a;
  margin-bottom: -8px
}

#cfgOffcanvas .cfg-nested-choice-group {
  margin-top: 12px;
}

#cfgOffcanvas .cfg-nested-choice-title {
  margin-bottom: 12px;
  ;
  font-size: 14px;
  font-weight: 700;
  color: #5a5a5a
}

#cfgOffcanvas .cfg-nested-choice-title .cfg-nested-choice-title-text {
  display: flex;
  align-items: center;
  gap: 10px
}

#cfgOffcanvas .cfg-nested-choice-title .cfg-nested-choice-title-text::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #cfd8e6
}

#cfgOffcanvas .cfg-nested-choice-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#cfgOffcanvas .cfg-nested-choice-options .cfg-choice {
  padding: 6px 20px;
  min-height: unset;
}

#cfgOffcanvas .cfg-nested-choice-options .cfg-choice-thumb {
  width: 70px;
  height: 60px;
}

#cfgOffcanvas .cfg-addon-color-group {}

#cfgOffcanvas .cfg-addon-color-options {}

#cfgOffcanvas .cfg-addon-color-choice {}

#cfgOffcanvas .cfg-choice--has-inline-colors {
  align-items: stretch
}

#cfgOffcanvas .cfg-choice-mainrow {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  width: 100%
}

#cfgOffcanvas .cfg-addon-color-inline {
  display: flex;
  flex-wrap: wrap;
  direction: rtl;
  gap: 8px;
  width: 100%;
  padding-top: 10px;
  margin-top: 10px;
  border-top: 1px solid #ddd;
}

#cfgOffcanvas .cfg-addon-color-inline-option {
  display: flex;
  align-items: center;
  flex-direction: column;
  position: relative;
}

#cfgOffcanvas .cfg-addon-color-inline-option .cfg-addon-color-inline-thumb {
  width: 80px;
  height: 75px;
}

#cfgOffcanvas .cfg-addon-color-inline-option .cfg-addon-color-inline-thumb .cfg-choice-thumb {
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 5px
}

#cfgOffcanvas .cfg-addon-color-inline-option .cfg-addon-color-inline-name {
  font-size: 12px;
  font-weight: 600;
  color: #334;
  margin-top: 3px;
}

#cfgOffcanvas .cfg-addon-color-inline-option.is-selected::after {
  content: "✓";
  position: absolute;
  top: -2px;
  left: -6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #326fa8;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  padding-top: 5px;
}

#cfgOffcanvas .cfg-text-input {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid #d8d8d8;
  border-radius: 10px;
  font-size: 16px;
  transition: border-color .2s;
  outline: none;
  resize: vertical;
  font-family: inherit;
  min-height: 52px;
  background: #fff;
  color: #333
}

#cfgOffcanvas .cfg-text-input:focus {
  border-color: #000;
  box-shadow: 0 0 0 1px #000
}

#cfgOffcanvas .cfg-text-input::placeholder {
  color: #999
}

#cfgOffcanvas .cfg-file-wrap {
  width: 100%
}

#cfgOffcanvas .cfg-file-input {
  padding: 12px 14px;
  width: 100%;
  border: 1px solid #ddd;
}

#cfgOffcanvas .cfg-file-name {
  margin-top: 8px;
  font-size: 13px;
  color: #666;
  word-break: break-word
}

#cfgOffcanvas .cfg-file-input.is-invalid {
  border-color: #dc3545
}

#cfgOffcanvas .cfg-file-error {
  margin-top: 8px;
  font-size: 13px;
  color: #dc3545;
  line-height: 1.45;
  word-break: break-word
}

#cfgOffcanvas .cfg-footer {
  padding: 18px 20px 22px;
  border-top: 1px solid #e8e8e8;
  background: #fff;
  flex-shrink: 0
}

#cfgOffcanvas .cfg-price-line {
  text-align: center;
  font-size: 14px;
  color: #666;
  margin-bottom: 12px
}

#cfgOffcanvas .cfg-price-line:empty {
  display: none;
  margin: 0
}

#cfgOffcanvas .cfg-footer-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%
}

#cfgOffcanvas .cfg-footer-btns.cfg-footer-btns--row {
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 10px;
  align-items: stretch
}

#cfgOffcanvas .cfg-footer-btns.cfg-footer-btns--row .cfg-btn-primary {
  flex: 1;
  min-width: 0;
  width: auto
}

#cfgOffcanvas .cfg-footer-btns.cfg-footer-btns--row .cfg-btn-link {
  flex: 0 0 auto;
  width: auto;
  padding: 14px 10px;
  align-self: center
}

#cfgOffcanvas .cfg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 22px;
  border-radius: 50px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .2s, background .2s;
  border: none;
  text-align: center;
  font-family: inherit
}

#cfgOffcanvas .cfg-btn-primary {
  background: #111;
  color: #fff
}

#cfgOffcanvas .cfg-btn-primary:hover {
  background: #333
}

#cfgOffcanvas .cfg-btn-primary:disabled {
  background: #bbb;
  cursor: not-allowed
}

#cfgOffcanvas .cfg-btn-primary.is-disabled {
  background: #bbb;
  cursor: not-allowed;
  pointer-events: none
}

#cfgOffcanvas .cfg-btn-add-cart {
  background: #000;
  color: #fff;
  font-size: 18px;
  padding: 18px 24px;
  min-height: 56px;
  border-radius: 50px;
  font-weight: 500;
}

#cfgOffcanvas .cfg-btn-add-cart:hover {
  background: #222
}

#cfgOffcanvas .cfg-btn-add-cart svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0
}

#cfgOffcanvas .cfg-btn-add-cart.cfg-btn-add-cart--loading {
  pointer-events: none;
  opacity: 0.9;
  cursor: wait
}

#cfgOffcanvas .cfg-btn-add-cart-icon--hidden {
  display: none
}

#cfgOffcanvas .cfg-btn-add-cart-spinner {
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: cfg-btn-add-cart-spin 0.7s linear infinite;
  flex-shrink: 0
}

@keyframes cfg-btn-add-cart-spin {
  to {
    transform: rotate(360deg)
  }
}

#cfgOffcanvas .cfg-btn-ghost {
  background: transparent;
  color: #555;
  border: 1px solid #ccc;
  font-size: 15px;
  padding: 12px 20px
}

#cfgOffcanvas .cfg-btn-ghost:hover {
  background: #f5f5f5
}

#cfgOffcanvas .cfg-btn-link {
  background: none;
  border: none;
  color: #666;
  text-decoration: underline;
  font-size: 20px;
  cursor: pointer;
  font-family: inherit;
  padding: 8px;
  width: auto;
  align-self: center
}

#cfgOffcanvas .cfg-btn-link:hover {
  color: #000
}

.cfg-back-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  font-size: 15px;
  padding: 16px 20px;
  width: max-content;
  font-weight: 700;
}

.cfg-back-btn:hover {
  text-decoration: underline
}

.cfg-back-btn svg {
  width: 18px;
  height: 18px
}

#cfgOffcanvas .cfg-done-screen {
  text-align: center;
  padding: 32px 20px 24px
}

#cfgOffcanvas .cfg-done-title {
  font-size: 21px;
  font-weight: 700;
  color: #111;
  margin-bottom: 10px
}

#cfgOffcanvas .cfg-done-subtitle {
  font-size: 15px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 8px
}

@media(max-width:1200px) {
  #cfgOffcanvas.cfg-split-offcanvas .cfg-split-visual {
    display: none;
  }

  #cfgOffcanvas.cfg-split-offcanvas .cfg-split-panel {
    flex: 100%;
    width: 100%;
    max-width: 100%;
  }
}

@media(max-width:768px) {
  #cfgOffcanvas .cfg-choice-thumb {
    width: 70px;
    height: 60px;
  }

  #cfgOffcanvas .cfg-choice-body {
    padding: 10px 16px 10px 0;
    flex-direction: column;
    align-items: start;
    gap: 8px;
  }

  #cfgOffcanvas .cfg-choice {
    padding: 6px 16px;
    min-height: 60px;
  }

  #cfgOffcanvas .cfg-choice-side-price {
    min-width: unset;
    font-size: 14px;
    font-weight: 500;
  }

  #cfgOffcanvas .cfg-field-label {
    font-size: 20px;
  }
}

@media(max-width:576px) {
  #cfgOffcanvas .cfg-content {
    padding: 20px 16px
  }

  #cfgOffcanvas .cfg-field-label {
    font-size: 19px
  }

  #cfgOffcanvas .cfg-choice {
    min-height: 84px
  }

  #cfgOffcanvas .cfg-choice-title {
    font-size: 16px
  }

  #cfgOffcanvas .cfg-btn-link {
    font-size: 18px;
  }
}