[data-prefix="product"] .ct-container-full[data-vertical-spacing] {
  padding-top: var(--fdl-space-5) !important;
}

.woocommerce-tabs ul.tabs li.active:before {
  background: var(--fdl-primary, #000000) !important;
}

.woocommerce-tabs ul.tabs li.active a {
  color: var(--fdl-primary, #000000) !important;
}

.woocommerce-tabs ul.tabs li > a {
  display: inline-flex;
  align-items: center;
  gap: var(--fdl-space-2);
}

.woocommerce-tabs ul.tabs li > a:before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background-color: currentColor;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
}

.description_tab > a:before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3C/svg%3E");
}

.additional_information_tab > a:before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='8' y1='6' x2='21' y2='6'/%3E%3Cline x1='8' y1='12' x2='21' y2='12'/%3E%3Cline x1='8' y1='18' x2='21' y2='18'/%3E%3Cline x1='3' y1='6' x2='3.01' y2='6'/%3E%3Cline x1='3' y1='12' x2='3.01' y2='12'/%3E%3Cline x1='3' y1='18' x2='3.01' y2='18'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='8' y1='6' x2='21' y2='6'/%3E%3Cline x1='8' y1='12' x2='21' y2='12'/%3E%3Cline x1='8' y1='18' x2='21' y2='18'/%3E%3Cline x1='3' y1='6' x2='3.01' y2='6'/%3E%3Cline x1='3' y1='12' x2='3.01' y2='12'/%3E%3Cline x1='3' y1='18' x2='3.01' y2='18'/%3E%3C/svg%3E");
}

.woocommerce-product-attributes {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--theme-border-color, #e1e8ed);
  border-radius: var(--fdl-radius);
  overflow: hidden;
}

.woocommerce-product-attributes-item th,
.woocommerce-product-attributes-item td {
  padding: var(--fdl-space-3) var(--fdl-space-4);
  font-size: var(--fdl-font-size-sm);
  border-bottom: 1px solid var(--theme-border-color, #e1e8ed);
}

.woocommerce-product-attributes-item:last-child th,
.woocommerce-product-attributes-item:last-child td {
  border-bottom: none;
}

.woocommerce-product-attributes-item th {
  font-weight: 600;
  background-color: rgba(0, 0, 0, 0.03);
  width: 200px;
}

.woocommerce-product-attributes-item td p {
  margin: 0;
}

.ct-product-gallery-container img,
.ct-product-gallery-container .ct-media-container {
  aspect-ratio: 1 / 1 !important;
  object-fit: cover;
  border-radius: var(--fdl-radius) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.ct-product-gallery-container img {
  transition: transform 0.1s ease;
}

.ct-product-gallery-container .ct-media-container {
  overflow: hidden;
  cursor: zoom-in;
}

.ct-product-gallery-container .ct-media-container.fdl-zoom-active img {
  transform: scale(1.3);
}

.ct-product-gallery-container .flexy-pills {
  display: none;
}

.ct-product-gallery-container [class*="flexy-arrow"] {
  border-radius: var(--fdl-radius-sm);
  --flexy-nav-background-hover-color: var(--fdl-primary, #000000);
  --flexy-nav-arrow-hover-color: var(--fdl-button-text, #ffffff);
}

.fdl-product-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--fdl-space-2);
  margin-top: var(--fdl-space-2);
}

.fdl-product-thumbs__item {
  display: block;
  padding: 0;
  border: none;
  border-radius: var(--fdl-radius-sm);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1 / 1;
  background: none;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.fdl-product-thumbs__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  transition: transform 0.4s ease;
}

.fdl-product-thumbs__item:hover img {
  transform: scale(1.08);
}

.fdl-product-thumbs__item--active,
.fdl-product-thumbs__item:hover {
  opacity: 1;
}

.ct-product-gallery-container .fdl-sale-badge {
  font-size: 12px !important;
  padding: 5px 10px !important;
  gap: 5px !important;
}

.ct-product-gallery-container .fdl-sale-badge svg {
  width: 13px;
  height: 13px;
}

.ct-breadcrumbs {
  font-size: var(--fdl-font-size-xs) !important;
  font-weight: 300 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  opacity: 0.7;
}

.ct-product-add-to-cart {
  display: none !important;
}

.fdl-product-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--fdl-space-2);
}

.fdl-product-info-list li {
  display: flex;
  align-items: center;
  gap: var(--fdl-space-3);
  font-size: var(--fdl-font-size-sm);
  color: var(--theme-text-color, #3a4f66) !important;
}

.fdl-product-info-list__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: var(--fdl-radius-sm);
  background-color: var(--fdl-primary, #000000);
  color: #fff;
}

.fdl-product-info-list svg {
  flex-shrink: 0;
}

.fdl-product-actions {
  display: flex;
  align-items: center;
  gap: var(--fdl-space-2);
  margin-top: var(--fdl-space-5);
}

.fdl-product-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: var(--fdl-space-2);
  padding: var(--fdl-space-2) var(--fdl-space-4);
  border: 1px solid transparent;
  border-radius: var(--fdl-radius);
  background-color: var(--fdl-primary, #000000);
  color: var(--fdl-button-text, #ffffff);
  text-decoration: none;
  box-sizing: border-box;
}

.fdl-product-share {
  position: relative;
  display: inline-flex;
}

.fdl-product-share__trigger {
  display: inline-flex;
  align-items: center;
  gap: var(--fdl-space-2);
  padding: var(--fdl-space-2) var(--fdl-space-4);
  border: 1px solid var(--theme-border-color, #e1e8ed);
  border-radius: var(--fdl-radius);
  background: none;
  color: var(--theme-text-color, #3a4f66) !important;
  font-size: var(--fdl-font-size-sm);
  cursor: pointer;
  box-sizing: border-box;
}

.fdl-product-share__trigger:hover {
  border-color: var(--fdl-primary, #000000);
}

.fdl-product-share__panel {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 20;
  padding-top: var(--fdl-space-2);
}

.fdl-product-share__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--fdl-space-2);
  padding: var(--fdl-space-3);
  background-color: #fff;
  border-radius: var(--fdl-radius-lg);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.fdl-product-share__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: var(--fdl-radius-sm);
  background-color: rgba(0, 0, 0, 0.04);
  color: var(--theme-text-color, #3a4f66) !important;
  cursor: pointer;
}

.fdl-product-share__item:hover {
  background-color: var(--fdl-primary, #000000);
  color: #fff !important;
}

.entry-summary-items > *:has(+ .ct-product-divider) {
  margin-bottom: 0 !important;
}

.ct-product-divider {
  margin: var(--fdl-space-5) 0 !important;
}

.woocommerce-product-details__short-description {
  max-height: 290px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--fdl-primary, #000000) transparent;
}

.woocommerce-product-details__short-description::-webkit-scrollbar {
  width: 0.2px;
}

.woocommerce-product-details__short-description::-webkit-scrollbar-track {
  background: transparent;
}

.woocommerce-product-details__short-description::-webkit-scrollbar-thumb {
  background-color: var(--fdl-primary, #000000);
  border-radius: var(--fdl-radius-sm);
}

body .woocommerce-product-details__short-description,
body .woocommerce-product-details__short-description *,
body #tab-description,
body #tab-description * {
  color: var(--theme-text-color, #3a4f66) !important;
}

body #tab-description h1,
body #tab-description h2,
body #tab-description h3,
body #tab-description h4,
body #tab-description h5,
body #tab-description h6 {
  color: var(--theme-headings-color, #192a3d) !important;
}

body .woocommerce-product-details__short-description a,
body #tab-description a {
  color: var(--theme-link-initial-color, #2872fa) !important;
}

body .woocommerce-product-details__short-description img,
body #tab-description img {
  border-radius: var(--fdl-radius) !important;
}

#tab-description h1,
.woocommerce-product-details__short-description h1 {
  font-size: var(--fdl-font-size-xl) !important;
  font-weight: 700 !important;
}

#tab-description h2,
.woocommerce-product-details__short-description h2 {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
}

#tab-description h3,
.woocommerce-product-details__short-description h3 {
  font-size: var(--fdl-font-size-lg) !important;
  font-weight: 600 !important;
}

#tab-description h4,
#tab-description h5,
#tab-description h6,
.woocommerce-product-details__short-description h4,
.woocommerce-product-details__short-description h5,
.woocommerce-product-details__short-description h6 {
  font-size: var(--fdl-font-size-base) !important;
  font-weight: 600 !important;
}

#tab-description p,
#tab-description li,
.woocommerce-product-details__short-description p,
.woocommerce-product-details__short-description li {
  font-size: var(--fdl-font-size-base) !important;
  line-height: 1.7;
}

.product_meta > span {
  font-size: 11px !important;
  opacity: 0.65;
}

.product_meta > span {
  display: block;
  margin-bottom: var(--fdl-space-1);
}

@media (max-width: 1024px) {
  body.single-product h1.product_title {
    font-size: 24px !important;
  }

  .fdl-product-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .fdl-product-whatsapp,
  .fdl-product-share,
  .fdl-product-share__trigger {
    width: 100%;
    justify-content: center;
  }

  .fdl-product-share__panel {
    left: 0;
    right: 0;
    width: max-content;
    margin-inline: auto;
  }

  #tab-description h1,
  .woocommerce-product-details__short-description h1 {
    font-size: 22px !important;
  }

  #tab-description h2,
  .woocommerce-product-details__short-description h2 {
    font-size: 19px !important;
  }

  #tab-description h3,
  .woocommerce-product-details__short-description h3 {
    font-size: 17px !important;
  }

  #tab-description h4,
  #tab-description h5,
  #tab-description h6,
  .woocommerce-product-details__short-description h4,
  .woocommerce-product-details__short-description h5,
  .woocommerce-product-details__short-description h6 {
    font-size: 15px !important;
  }

  #tab-description p,
  #tab-description li,
  .woocommerce-product-details__short-description p,
  .woocommerce-product-details__short-description li {
    font-size: 15px !important;
  }
}

.fdl-product-share__save-image.is-loading {
  opacity: 0.5;
  pointer-events: none;
}

.fdl-product-card {
  position: fixed;
  top: -9999px;
  left: -9999px;
  width: 640px;
  padding: var(--fdl-space-5);
  background-color: var(--theme-palette-color-6, #f4f6f4);
  font-family: var(--fdl-font-family);
}

.fdl-product-card__inner {
  border-radius: var(--fdl-radius-lg);
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.fdl-product-card__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--fdl-space-5) var(--fdl-space-5) var(--fdl-space-4);
}

.fdl-product-card__brand img {
  display: block;
  max-width: 200px;
  max-height: 56px;
  width: auto;
  height: auto;
}

.fdl-product-card__brand-text {
  font-size: var(--fdl-font-size-lg);
  font-weight: 700;
  color: var(--fdl-primary, #000000);
}

.fdl-product-card__image {
  margin: 0 var(--fdl-space-5);
  height: 460px;
  border-radius: var(--fdl-radius);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.fdl-product-card__body {
  padding: var(--fdl-space-5);
}

.fdl-product-card__title {
  margin: 0 0 var(--fdl-space-2);
  font-size: var(--fdl-font-size-xl);
  font-weight: 700;
  color: var(--theme-headings-color);
}

.fdl-product-card__price {
  margin-bottom: var(--fdl-space-3);
  font-size: var(--fdl-font-size-lg);
  font-weight: 700;
  color: var(--fdl-primary, #000000);
}

.fdl-product-card__price del {
  margin-right: var(--fdl-space-2);
  font-weight: 400;
  text-decoration: line-through !important;
  opacity: 0.5;
}

.fdl-product-card__price del * {
  text-decoration: line-through !important;
}

.fdl-product-card__desc {
  margin: 0;
  font-size: var(--fdl-font-size-sm);
  line-height: 1.6;
  color: var(--theme-text-color);
  opacity: 0.7;
}

.fdl-product-card__footer {
  padding: var(--fdl-space-3) var(--fdl-space-5) var(--fdl-space-4);
  border-top: 1px solid var(--theme-palette-color-6, #eef1ee);
  color: var(--theme-text-color);
  opacity: 0.6;
  font-size: var(--fdl-font-size-xs);
  text-align: center;
}
