:root {
  --brand: #0f66d7;
}

/* ---------------------------------------------
   SUBHEADER
--------------------------------------------- */
.product-subheader {
  background: #fff;
  /* border-bottom: 1px solid #ddd; */
}
.product-breadcrumbs {
  color: #666;
  font-size: 15px;
}
.product-breadcrumbs a {
  color: var(--brand);
  text-decoration: none;
}
.product-search input {
  border: 2px solid var(--brand);
  padding: 8px 20px;
  border-radius: 25px;
}

/* ---------------------------------------------
   HERO
--------------------------------------------- */
.product-hero-banner {
  border-radius: 12px;
  overflow: hidden;
}
.product-hero-img {
  width: 100%;
  display: block;
}

/* ---------------------------------------------
   MAIN PRODUCT
--------------------------------------------- */
/* ---------------------------------------------
   ICON BUTTONS + TOOLTIP
--------------------------------------------- */

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.icon-btn:hover {
  background: var(--brand);
  border-color: var(--brand);
  transform: translateY(-3px);
}

.icon-btn:hover i {
  color: #fff;
}

.icon-btn i {
  font-size: 18px;
  color: #555;
}

/* TOOLTIP */
.icon-btn:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  right: 60px;
  white-space: nowrap;
  background: #1b1b1b;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: none;
  z-index: 10;
}

.icon-btn::after {
  opacity: 0;
  transform: translateY(5px);
  transition: 0.2s ease;
}

/* ---------------------------------------------
   PRODUCT IMAGE
--------------------------------------------- */

.product-image-box {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  position: relative;

  /* SUPER IMPORTANT pentru zoom intern */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media screen and (max-width: 992px) {
  .product-image-box {
    display: block;
  }
}
.product-caption-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 12px;
  backdrop-filter: blur(2px);
  z-index: 1;
}

.zoom-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #d0d0d0;
  position: absolute;
  bottom: 15px;
  right: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.zoom-btn i {
  font-size: 18px;
  color: #333;
}

.zoom-btn:hover {
  background: var(--brand);
  border-color: var(--brand);
}

.zoom-btn:hover i {
  color: white;
}

/* ---------------------------------------------
   LIGHTBOX (FULLSCREEN IMAGE)
--------------------------------------------- */
/* ---------------------------------------------
   PRODUCT IMAGE ZOOM ON HOVER
--------------------------------------------- */

.zoomable {
  cursor: zoom-in;
  transition: transform 0.35s ease;
  transform-origin: center center; /* zoom natural */
}

.zoomable:hover {
  transform: scale(1.15); /* poți ajusta 1.10 / 1.12 / 1.20 */
}

/* Disable zoom on mobile */
@media (max-width: 768px) {
  .zoomable:hover {
    transform: none;
  }
}

/* LIGHTBOX stays same */
.image-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9000;
  backdrop-filter: blur(6px);
}

.image-lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  cursor: zoom-out;
}

.close-lightbox {
  position: absolute;
  top: 25px;
  right: 35px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  transition: 0.2s ease;
}

.close-lightbox:hover {
  color: var(--brand);
}

.product-detail-wrap .product-title {
  font-size: 32px;
  font-weight: 700;
}
.product-sku span {
  color: var(--brand);
  font-weight: 600;
}
.product-short-description {
  font-size: 16px;
  color: #555;
}

.product-price span.product-price-tva {
  font-size: 16px;
  color: #000;
  font-weight: bold;
}
.product-detail-wrap .product-stock .stock {
  margin-bottom: 0;
}

/* START PRODUCT PRICE */
/* Pret redus - pret vechi (del) */
body .product-price del {
  color: #999; /* gri */
  opacity: 0.7; /* mai discret */
  margin-right: 8px;
  font-size: 24px;
}

body .product-price del .woocommerce-Price-amount {
  /* text-decoration: line-through !important; */
  font-weight: 600;
}

/* Pret redus - pret nou (ins) */
body .product-price ins {
  text-decoration: none !important;
}

body .product-price ins .woocommerce-Price-amount {
  color: var(--brand);
  font-weight: 700;
  font-size: 32px;
}

/* Ajustăm alinierea */
body .product-price del,
body .product-price ins {
  display: inline-block;
  vertical-align: middle;
}
/* END PRODUCT PRICE */
.product-price > .woocommerce-Price-amount {
  font-size: 32px;
  font-weight: 700;
  color: var(--brand);
}
.product-stock {
  color: #2d8a32;
  font-size: 14px;
  display: flex;
  align-items: center;
}
.product-stock .dot {
  width: 8px;
  height: 8px;
  background: #2d8a32;
  display: inline-block;
  border-radius: 50%;
  margin-right: 6px;
}
.product-actions .cart {
  display: flex;
  column-gap: 10px;
}
/* Add to cart button */
.btn-add-cart {
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 26px 0 0;
  border-radius: 40px;
  border: none;
  font-weight: 600;
  font-size: 16px;
  transition: 0.3s all ease-in-out;
}
.btn-add-cart.btn-add-cart-single-produs:hover {
  background-color: black;
}
.product-detail-wrap {
  padding: 24px;
  background-color: #f5f7ff;
  border-radius: 16px;
  height: 100%;
}
.product-qty input {
  width: 60px;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

/* ------------------------------------------------
   PRODUCT IMAGE + ICON PANEL
-------------------------------------------------- */

.product-icon-panel {
  gap: 18px;
  margin-right: 25px;
  padding-top: 25px;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.icon-btn i {
  font-size: 18px;
  color: #555;
}

.icon-btn:hover {
  background: var(--brand);
  border-color: var(--brand);
  transform: translateY(-3px);
}

.icon-btn:hover i {
  color: #fff;
}

/* MOBILE ICON PANEL */
.product-icon-panel-mobile {
  gap: 16px;
}

/* ---------------------------------------------
   DISCOUNT BOX (LEFT SIDE)
--------------------------------------------- */

.discount-box {
  background: #f8fbff;
  border: 1px solid #e2ecf9;
  padding: 18px 20px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

/* Header: icon + text */
.discount-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #222;
  font-size: 16px;
}

.discount-header i {
  font-size: 18px;
  color: var(--brand); /* #0F66D7 */
}

/* List styling */
.discount-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.discount-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 15px;
  color: #444;
}

.discount-list li i {
  color: var(--brand);
  font-size: 15px;
}

/* ---------------------------------------------
   BENEFIT SECTION
--------------------------------------------- */

.product-benefits {
  background: #f8fbff;
}

.benefit-wrapper {
  display: flex;
  justify-content: space-between;
  background: #ffffff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  gap: 30px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  min-width: 250px;
}
.benefit-item i {
  font-size: 24px;
}

.benefit-title-2 {
  font-size: 17px;
  font-weight: 700;
  color: #222;
}

.benefit-sub {
  font-size: 15px;
  color: #444;
  margin-top: 2px;
}

/* Responsive */

/* ---------------------------------------------
   TABS
--------------------------------------------- */
.tabs-header {
  display: flex;
  gap: 20px;
  border-bottom: 2px solid #eee;
  margin-bottom: 20px;
}

.tab-btn {
  background: none;
  border: none;
  font-size: 17px;
  padding: 10px 0;
  cursor: pointer;
  color: #666;
  border-bottom: 3px solid transparent;
  font-weight: 600;
}
.tab-btn.active {
  color: #000;
  border-color: var(--brand);
}

.tab {
  display: none;
}
.tab.active {
  display: block;
}

/* ---------------------------------------------
   STICKY CART (MOBILE)
--------------------------------------------- */
.sticky-cart {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: space-between;
  padding: 12px 20px;
  z-index: 900;
  display: none;
}

.sticky-price {
  font-size: 20px;
  font-weight: 700;
}

.sticky-btn {
  background: var(--brand);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 600;
}

@media screen and (max-width: 992px) {
  .benefit-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .benefit-item {
    justify-content: center;
    flex-direction: column;
  }
  .benefit-icon {
    margin-bottom: 8px;
  }
  .product-benefits {
    background: transparent;
  }
}
@media screen and (max-width: 768px) {
  .sticky-cart {
    display: flex;
    align-items: center;
  }
  .product-detail-wrap .product-title {
    font-size: 24px;
  }
  .product-short-description {
    font-size: 14px;
  }
}
@media screen and (max-width: 576px) {
  .product-icon-panel-mobile {
    gap: 10px;
  }
  .icon-btn i {
    font-size: 14px;
  }
  .icon-btn {
    width: 36px;
    height: 36px;
  }
  .btn-add-cart.btn-add-cart-single-produs {
    padding: 0 16px 0 0;
    font-size: 14px;
  }
  .btn-add-cart.btn-add-cart-single-produs img {
    height: 40px;
  }
  .product-detail-wrap {
    padding: 18px 14px;
  }
  .discount-header,
  .benefit-sub {
    font-size: 12px;
  }
  .tab-btn {
    font-size: 14px;
    padding: 5px 0;
  }
  .tabs-header {
    gap: 15px;
  }
  .benefit-title-2 {
    font-size: 14px;
  }
  .benefit-item {
    gap: 10px;
  }
  .benefit-wrapper {
    gap: 18px;
    gap: 14px;
  }
  .product-tabs .tabs-content {
    font-size: 14px;
  }
  .discount-box {
    padding: 14px 10px;
  }
  .discount-list li {
    gap: 5px;
    font-size: 9px;
  }
}
