/* =========================================================
   PAGINA DE PRODUS – layout 50/50
   Selectorii încep cu „html body.single-product" ca să treacă
   peste regulile !important vechi din style.css.
   ========================================================= */
.single-product {
  --vs-pp-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --vs-pp-ink: #111827;
  --vs-pp-text: #374151;
  --vs-pp-soft: #4b5563;
  --vs-pp-muted: #9ca3af;
  --vs-pp-line: #e5e7eb;
  --vs-pp-price: #11519b;
  --vs-pp-green: #2878b8;      /* „Adaugă în coș" */
  --vs-pp-green-hover: #1f6299;
  --vs-pp-wa: #1ea952;         /* WhatsApp */
  --vs-pp-wa-hover: #178a43;
  --vs-pp-buy: #02968a;        /* „Cumpără acum" – turcoazul site-ului, puțin mai închis pentru contrast */
  --vs-pp-buy-hover: #027d73;
  --vs-pp-cream: #eef5fc;
  --vs-pp-brown: #11519b;
}

/* ---------- Breadcrumb ---------- */
html body.single-product .woocommerce-breadcrumb,
html body.single-product .breadcrumbs {
  font-family: var(--vs-pp-font);
  font-size: 12px !important;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: #6b7280 !important;
}

html body.single-product .woocommerce-breadcrumb a,
html body.single-product .breadcrumbs a {
  color: #6b7280 !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

html body.single-product .breadcrumbs .divider { margin: 0 8px; color: #9ca3af; opacity: 1; }

/* Săgețile produs anterior / următor */
html body.single-product .next-prev-thumbs .button.icon {
  min-height: 0;
  width: 34px;
  height: 34px;
  padding: 0 !important;
  background: #fff !important;
  border: 1px solid var(--vs-pp-line) !important;
  border-radius: 50% !important;
  color: #4b5563 !important;
  box-shadow: none !important;
}

html body.single-product .next-prev-thumbs .button.icon::before { display: none !important; }

/* ---------- Grid 50 / 50 (desktop) ---------- */
@media (min-width: 850px) {
  html body.single-product .product-main .product-gallery {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding-right: 18px !important;
  }

  html body.single-product .product-main .product-info {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding-left: 18px !important;
  }
}

/* ---------- Galerie ---------- */
html body.single-product .product-gallery .product-images {
  border-radius: 16px;
  overflow: hidden;
  background: #f5f5f4;
}

html body.single-product .product-gallery .product-images img { border-radius: 16px; }

html body.single-product .product-thumbnails { margin-top: 12px; }
html body.single-product .product-thumbnails .col { padding: 0 10px 0 0 !important; }

html body.single-product .product-thumbnails a {
  display: block;
  padding: 0;
  border: 1px solid var(--vs-pp-line);
  border-radius: 8px;
  background: #f5f5f4;
  overflow: hidden;
  transform: none !important;
}

html body.single-product .product-thumbnails img {
  border-radius: 8px;
  opacity: 1 !important;
  transform: none !important;
}

html body.single-product .product-thumbnails .is-nav-selected a,
html body.single-product .product-thumbnails a:hover { border-color: var(--vs-pp-ink); }

/* Butonul de zoom */
html body.single-product .zoom-button.button {
  min-height: 0;
  width: 38px;
  height: 38px;
  padding: 0 !important;
  background: rgba(255, 255, 255, .95) !important;
  border: 1px solid var(--vs-pp-line) !important;
  border-radius: 50% !important;
  color: #374151 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08) !important;
}

html body.single-product .zoom-button.button::before { display: none !important; }

/* ---------- Coloana dreaptă ---------- */
html body.single-product .product-info {
  padding-top: 0 !important;
  font-family: var(--vs-pp-font);
  color: var(--vs-pp-text);
}

html body.single-product .product-info .is-divider { display: none !important; }

/* a) Titlu */
html body.single-product .product-info .product_title.entry-title,
html body.single-product .product-info .product-title {
  margin: 0 0 8px !important;
  font-family: "Inter", var(--vs-pp-font) !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  text-align: left !important;
  color: var(--vs-pp-ink) !important;
}

/* b) Rating */
.vs-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1;
}

html body.single-product .vs-rating .star-rating {
  margin: 0 !important;
  font-size: 14px;
  color: #f5b301 !important;
}

html body.single-product .vs-rating .star-rating::before { color: #e5e7eb; }

.vs-rating-value { font-weight: 700; color: var(--vs-pp-ink); }

html body.single-product .vs-rating-count {
  color: #6b7280 !important;
  text-decoration: none !important;
}

html body.single-product .vs-rating-count:hover { color: var(--vs-pp-ink) !important; text-decoration: underline !important; }

/* „ECONOMISEȘTE X%" pe imagine, sub „PREȚ PROMO" (mutat de scriptul din product-page.php;
   stilul de bază al pastilei vine din product-cards.css) */
.vs-single-badges,
.vs-single-new,
.vs-single-save { display: none; line-height: 1; pointer-events: none; }
.vs-single-badges.is-ready,
.vs-single-new.is-ready,
.vs-single-save.is-ready { display: block; }

/* Fiecare pe rândul ei, împreună cu eticheta pluginului */
html body.single-product .product-gallery .advanced-woo-labels .vs-single-new { flex: 0 0 100%; margin: 0 0 8px; }
html body.single-product .product-gallery .advanced-woo-labels .vs-single-save { flex: 0 0 100%; margin: 8px 0 0; }

/* Fără eticheta pluginului: direct stânga-sus pe imagine, una sub alta */
html body.single-product .product-gallery .vs-single-badges.is-floating {
  position: absolute;
  top: 0;
  left: 15px;
  z-index: 9;
}
html body.single-product .product-gallery .vs-single-badges.is-floating .vs-single-new + .vs-single-save { margin-top: 8px; }

/* „NOU" – aceeași pastilă ca pe carduri, puțin mai mare, în flux (nu absolută) */
html body.single-product .product-gallery .vs-single-new .vs-card-new {
  position: relative;
  top: auto;
  left: auto;
  height: 30px;
  padding: 0 14px 0 11px;
  font-size: 13px;
}

.vs-single-save .vs-card-save {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 12px;
  font-size: 11px;
  box-shadow: 0 4px 12px rgba(77, 124, 15, .3), inset 0 1px 0 rgba(255, 255, 255, .25);
}

/* c) Preț */
html body.single-product .product-info .price-wrapper { margin: 0; text-align: left !important; }

html body.single-product .product-info .price-wrapper .price {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  justify-content: flex-start !important;
  gap: 4px 12px !important;
  margin: 0 0 14px !important;
  font-family: var(--vs-pp-font) !important;
}

/* Ordinea: prețul vechi tăiat (del), apoi prețul nostru (ins) */
html body.single-product .product-info .price-wrapper .price ins,
html body.single-product .product-info .price-wrapper .price > .woocommerce-Price-amount {
  order: 0 !important;
  text-decoration: none !important;
  background: none !important;
}

html body.single-product .product-info .price-wrapper .price ins .woocommerce-Price-amount,
html body.single-product .product-info .price-wrapper .price > .woocommerce-Price-amount {
  font-size: 28px !important;
  font-weight: 700 !important;
  color: var(--vs-pp-price) !important;
}

html body.single-product .product-info .price-wrapper .price del {
  order: -1 !important;
  opacity: 1 !important;
}

html body.single-product .product-info .price-wrapper .price del,
html body.single-product .product-info .price-wrapper .price del .woocommerce-Price-amount {
  font-size: 19px !important;
  font-weight: 500 !important;
  color: #6b7280 !important;
  text-decoration: line-through !important;
  text-decoration-color: #e11d48 !important;
  text-decoration-thickness: 2px !important;
}

/* Fără eticheta „PRP" și fără „-X%" lângă prețul principal */
html body.single-product .product-info .price-wrapper .price del::before { content: none !important; display: none !important; }
html body.single-product .product-info .price-wrapper .vs-discount-badge { display: none !important; }

/* d) Pastila de livrare */
.vs-delivery-pill {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 14px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--vs-pp-cream);
  color: var(--vs-pp-brown);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.vs-delivery-pill .vs-delivery-label { text-transform: uppercase; letter-spacing: .03em; }
.vs-delivery-pill strong { font-weight: 800; color: var(--vs-pp-price); }
.vs-delivery-truck { width: 18px; height: 18px; flex: 0 0 18px; }

.vs-delivery-info {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--vs-pp-brown);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  font-style: normal;
  cursor: help;
  outline: none;
}

/* Tooltip negru cu costurile de livrare */
.vs-delivery-tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: max-content;
  max-width: 260px;
  padding: 14px 16px;
  border-radius: 8px;
  background: #000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
  cursor: default;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 4px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}

.vs-delivery-tip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  border: 6px solid transparent;
  border-top-color: #000;
  transform: translateX(-50%);
}

.vs-delivery-info:hover .vs-delivery-tip,
.vs-delivery-info:focus .vs-delivery-tip {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.vs-delivery-tip-row { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.vs-delivery-tip-row b { font-weight: 700; }
.vs-delivery-tip-row .amount { color: #fff; font-weight: 500; }

.vs-delivery-tip-note {
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, .25);
  font-size: 11.5px;
  font-weight: 600;
}

/* Etichete SKU / EAN */
.vs-codes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.vs-code-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px 5px 5px;
  border: 1px solid var(--vs-pp-line);
  border-radius: 999px;
  background: #f9fafb;
  color: var(--vs-pp-ink);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

.vs-code-label {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--vs-pp-ink);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
}

/* e) + j) Acordeoane */
.vs-acc { border-top: 1px solid var(--vs-pp-line); margin: 0 0 8px; }

.vs-acc--top {
  margin: 0 0 16px;
  border-bottom: 1px solid var(--vs-pp-line);
}

.vs-accordions { margin-top: 18px; border-bottom: 1px solid var(--vs-pp-line); }

.vs-acc summary {
  position: relative;
  display: block;
  padding: 13px 32px 13px 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--vs-pp-text);
  cursor: pointer;
  list-style: none;
}

.vs-acc summary::-webkit-details-marker { display: none; }

.vs-acc summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #6b7280;
  border-bottom: 1.5px solid #6b7280;
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s ease;
}

.vs-acc[open] summary::after { transform: translateY(-30%) rotate(-135deg); }

.vs-acc-body {
  padding: 0 0 14px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--vs-pp-soft);
}

.vs-acc-body p { margin: 0 0 8px; }
.vs-acc-body p:last-child { margin-bottom: 0; }
.vs-acc-body ul { margin: 0 0 8px 18px; }
.vs-acc-body li { margin-bottom: 6px; }
.vs-acc-body.product_meta p > span:first-child { color: var(--vs-pp-muted); } /* „Categorii:" / „Etichete:" */
.vs-acc-body a { color: var(--vs-pp-text); text-decoration: underline; }
.vs-acc-body a:hover { color: var(--vs-pp-price); }

html body.single-product .vs-acc-body h2,
html body.single-product .vs-acc-body h3,
html body.single-product .vs-acc-body h4,
html body.single-product .vs-acc-body h5,
html body.single-product .vs-acc-body h6 {
  margin: 0 0 8px;
  font-size: 14px !important;
  color: var(--vs-pp-ink); /* culorile din descriere (inline) au prioritate */
}

/* f) Card „Cadou surpriză" */
.vs-gift-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 18px;
  padding: 16px 20px;
  border: 1px solid #ffc2dc;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff0f7 0%, #fff8fb 100%);
  box-shadow: 0 6px 18px rgba(227, 25, 122, .08);
}

.vs-gift-card-text { flex: 1 1 auto; min-width: 0; }

.vs-gift-card-text p {
  margin: 2px 0 !important;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--vs-pp-text);
}

html body.single-product .vs-gift-card-text .vs-gift-card-title {
  margin: 0 0 6px !important;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #e3197a;
}

html body.single-product .vs-gift-card-text .vs-gift-card-stock {
  margin-top: 8px !important;
  font-weight: 800;
  color: #e3197a;
}

html body.single-product .vs-gift-card-text .vs-gift-card-hl { color: #e3197a; font-weight: 800; }

.vs-gift-card-img { flex: 0 0 96px; }
.vs-gift-box { display: block; width: 96px; height: 96px; filter: drop-shadow(0 6px 10px rgba(227, 25, 122, .22)); }

/* g) Stoc – bilă verde care pulsează */
html body.single-product .product-info p.stock {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: auto !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-align: left !important;
}

html body.single-product .product-info p.stock.in-stock { color: #15803d !important; }

html body.single-product .product-info p.stock.in-stock::before {
  content: "" !important;
  display: inline-block !important;
  flex: 0 0 9px;
  width: 9px !important;
  height: 9px !important;
  border-radius: 50% !important;
  background: #22c55e !important;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, .55);
  animation: vs-stock-pulse 1.8s ease-out infinite !important;
}

html body.single-product .product-info p.stock.out-of-stock { color: #b91c1c !important; }

html body.single-product .product-info p.stock.out-of-stock::before {
  content: "" !important;
  display: inline-block !important;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ef4444;
}

@keyframes vs-stock-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); }
  70%  { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

@media (prefers-reduced-motion: reduce) {
  html body.single-product .product-info p.stock.in-stock::before { animation: none !important; }
}

/* h) Cantitate + „Adaugă în coș" + „Cumpără acum" pe un rând */
html body.single-product .product-info form.cart,
html body.single-product .product-info form.cart .woocommerce-variation-add-to-cart {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 10px !important;
  width: 100% !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
}

html body.single-product .product-info form.variations_form { display: block !important; }

html body.single-product .product-info form.cart .ux-quantity.quantity,
html body.single-product .product-info form.cart .quantity {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: stretch !important;
  height: 44px !important;
  margin: 0 !important;
  border: 1px solid var(--vs-pp-line) !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  background: #f3f4f6 !important;
  opacity: 1 !important;
}

html body.single-product .product-info form.cart .quantity input.minus,
html body.single-product .product-info form.cart .quantity input.plus {
  width: 34px !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #f3f4f6 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #374151 !important;
  font-size: 16px !important;
  font-weight: 400 !important;
}

html body.single-product .product-info form.cart .quantity input.minus:hover,
html body.single-product .product-info form.cart .quantity input.plus:hover { background: #e5e7eb !important; color: var(--vs-pp-ink) !important; }

html body.single-product .product-info form.cart .quantity input.qty {
  width: 44px !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff !important;
  border: 0 !important;
  border-left: 1px solid var(--vs-pp-line) !important;
  border-right: 1px solid var(--vs-pp-line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--vs-pp-ink) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-align: center !important;
}

html body.single-product .product-info form.cart button.single_add_to_cart_button,
html body.single-product .product-info form.cart button.vs-buy-now {
  position: relative;
  display: inline-flex !important;
  flex: 1 1 0 !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  max-width: none !important;
  height: 44px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 0 !important;
  border-radius: 8px !important;
  color: #fff !important;
  font-family: var(--vs-pp-font) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  text-transform: none !important;
  text-shadow: none !important;
  white-space: nowrap;
  transform: none !important;
  transition: background .2s ease, box-shadow .2s ease !important;
}

html body.single-product .product-info form.cart button.vs-buy-now::before { content: none !important; display: none !important; }

/* Iconița de coș – aceeași ca pe cardurile de produs */
html body.single-product .product-info form.cart button.single_add_to_cart_button { gap: 8px; }

html body.single-product .product-info form.cart button.single_add_to_cart_button::before {
  content: "" !important;
  position: static !important;
  display: block !important;
  flex: 0 0 17px;
  width: 17px !important;
  height: 17px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  opacity: 1 !important;
  transform: none !important;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='white' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 18a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm10 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4zM1 2v2h2l3.6 7.6-1.35 2.4C4.52 15.37 5.48 17 7 17h12v-2H7.42a.25.25 0 0 1-.22-.37L8.1 13h7.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49A1 1 0 0 0 20 4H5.21l-.94-2H1z'/%3E%3C/svg%3E") no-repeat center / 17px 17px !important;
}

/* După adăugare: bifă în loc de coș */
html body.single-product .product-info form.cart button.single_add_to_cart_button.vs-added::before {
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center / 16px 16px !important;
}

html body.single-product .product-info form.cart button.single_add_to_cart_button {
  order: 1 !important;
  background: var(--vs-pp-green) !important;
  box-shadow: 0 4px 12px rgba(40, 120, 184, .28) !important;
}

html body.single-product .product-info form.cart button.single_add_to_cart_button:hover { background: var(--vs-pp-green-hover) !important; }

html body.single-product .product-info form.cart button.vs-buy-now {
  order: 2 !important;
  background: var(--vs-pp-buy) !important;
  box-shadow: 0 4px 12px rgba(2, 150, 138, .25) !important;
}

html body.single-product .product-info form.cart button.vs-buy-now:hover { background: var(--vs-pp-buy-hover) !important; }

html body.single-product .product-info form.cart button.single_add_to_cart_button.disabled,
html body.single-product .product-info form.cart button.single_add_to_cart_button:disabled { opacity: .55; }

.sticky-add-to-cart .vs-buy-now { display: none !important; }

/* i) WhatsApp pe toată lățimea */
html body.single-product .vs-whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin: 0 0 6px;
  padding: 13px 16px;
  border-radius: 8px;
  background: var(--vs-pp-wa);
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(30, 169, 82, .25);
  transition: background .2s ease;
}

html body.single-product .vs-whatsapp-btn:hover { background: var(--vs-pp-wa-hover); color: #fff !important; }
.vs-whatsapp-btn svg { width: 18px; height: 18px; flex: 0 0 18px; }

/* ---------- Layout tab-uri: forțat „tab-uri sus, conținut dedesubt"
   (pe live există CSS extra – din Customizer / plugin – care le punea
   una lângă alta, cu o casetă în jur; aici îl neutralizăm) ---------- */
html body.single-product .product-footer .woocommerce-tabs,
html body.single-product .product-footer .woocommerce-tabs.tabbed-content {
  display: block !important;
  float: none !important;
  width: auto !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-bottom: 0 !important;
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

html body.single-product .product-footer .woocommerce-tabs > ul.product-tabs {
  float: none !important;
  flex: none !important;
  position: static !important;
}

html body.single-product .product-footer .woocommerce-tabs > .tab-panels {
  display: block !important;
  float: none !important;
  flex: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

html body.single-product .product-footer .woocommerce-tabs .woocommerce-Tabs-panel {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

html body.single-product .product-footer .woocommerce-tabs .woocommerce-Tabs-panel:not(.active) { display: none !important; }
html body.single-product .product-footer .woocommerce-tabs .woocommerce-Tabs-panel.active { display: block !important; }

/* ---------- Tab-uri: pastilă gri cu umbră, tab activ bej ---------- */
html body.single-product .product-footer .woocommerce-tabs { padding-top: 48px; border-top: 0 !important; }

html body.single-product .woocommerce-tabs ul.product-tabs {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: center;
  gap: 4px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 30px !important;
  padding: 6px !important;
  border: 1px solid #f0f0f2 !important;
  border-radius: 999px;
  background: #f6f6f8;
  box-shadow: 0 10px 28px rgba(17, 24, 39, .08);
  overflow-x: auto;
  scrollbar-width: none;
}

html body.single-product .woocommerce-tabs ul.product-tabs::-webkit-scrollbar { display: none; }

html body.single-product .woocommerce-tabs ul.product-tabs > li {
  display: block !important;
  width: auto !important;
  margin: 0 !important;
  border: 0 !important;
}

html body.single-product .woocommerce-tabs ul.product-tabs > li > a {
  display: block;
  padding: 10px 22px !important;
  border: 1px solid transparent !important;
  border-radius: 999px;
  background: transparent !important;
  font-family: var(--vs-pp-font);
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  white-space: nowrap;
  color: #4b5563 !important;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

html body.single-product .woocommerce-tabs ul.product-tabs > li > a::before,
html body.single-product .woocommerce-tabs ul.product-tabs > li > a::after { display: none !important; }

html body.single-product .woocommerce-tabs ul.product-tabs > li > a:hover { color: var(--vs-pp-ink) !important; background: #eeeef1 !important; }

html body.single-product .woocommerce-tabs ul.product-tabs > li.active > a {
  border-color: #c9dcf2 !important;
  background: #e7f0fa !important;
  color: var(--vs-pp-price) !important;
}

/* Conținutul tab-urilor – minimalist: fără card, coloană centrată */
html body.single-product .woocommerce-tabs .vs-panel-card {
  max-width: none; /* la fel de lată ca slider-ele și restul conținutului */
  margin: 0;
  padding: 34px 44px;
  border: 1px solid var(--vs-pp-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(17, 24, 39, .05);
}

html body.single-product .woocommerce-Tabs-panel {
  font-family: var(--vs-pp-font);
  font-size: 15px;
  line-height: 1.7;
  color: var(--vs-pp-soft);
}

html body.single-product .woocommerce-Tabs-panel .vs-panel-card > :first-child { margin-top: 0 !important; }
html body.single-product .woocommerce-Tabs-panel .vs-panel-card p:empty { display: none; }
html body.single-product .woocommerce-Tabs-panel .vs-panel-card p { margin: 0 0 14px; }

/* Culoare de bază pentru titluri – culorile puse în descriere (inline) au prioritate */
html body.single-product .woocommerce-Tabs-panel .vs-panel-card h1,
html body.single-product .woocommerce-Tabs-panel .vs-panel-card h2,
html body.single-product .woocommerce-Tabs-panel .vs-panel-card h3,
html body.single-product .woocommerce-Tabs-panel .vs-panel-card h4 {
  font-family: var(--vs-pp-font);
  color: var(--vs-pp-ink);
}

html body.single-product .woocommerce-Tabs-panel .vs-panel-card h1,
html body.single-product .woocommerce-Tabs-panel .vs-panel-card h2 {
  margin: 32px 0 12px !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
}

html body.single-product .woocommerce-Tabs-panel .vs-panel-card h3,
html body.single-product .woocommerce-Tabs-panel .vs-panel-card h4 {
  margin: 28px 0 10px !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
}

/* Primul titlu (de obicei numele produsului) puțin mai mare */
html body.single-product .woocommerce-Tabs-panel .vs-panel-card > h1:first-child,
html body.single-product .woocommerce-Tabs-panel .vs-panel-card > h2:first-child,
html body.single-product .woocommerce-Tabs-panel .vs-panel-card > h3:first-child { font-size: 19px !important; }

/* Liste: bulinele native (respectă marcajele / emoticoanele puse în descriere), colorate albastru */
html body.single-product .woocommerce-Tabs-panel .vs-panel-card ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

html body.single-product .woocommerce-Tabs-panel .vs-panel-card ul li { margin: 0 0 8px; }

html body.single-product .woocommerce-Tabs-panel .vs-panel-card ol { margin: 0 0 18px 20px !important; }
html body.single-product .woocommerce-Tabs-panel .vs-panel-card ol li { margin-bottom: 8px; }
html body.single-product .woocommerce-Tabs-panel .vs-panel-card li::marker { color: var(--vs-pp-price); }

html body.single-product .woocommerce-Tabs-panel .vs-panel-card strong { font-weight: 600; }

/* Emoticoanele transformate de WordPress în imagini rămân mici, în linie cu textul */
html body.single-product .woocommerce-Tabs-panel .vs-panel-card img.emoji,
html body.single-product .vs-acc-body img.emoji {
  display: inline !important;
  width: 1em !important;
  height: 1em !important;
  margin: 0 .1em !important;
  border-radius: 0 !important;
  vertical-align: -0.1em !important;
}

html body.single-product .woocommerce-Tabs-panel .vs-panel-card hr {
  margin: 6px 0 22px !important;
  border: 0 !important;
  border-top: 1px solid #e5e7eb !important;
}

html body.single-product .woocommerce-Tabs-panel .vs-panel-card img { border-radius: 12px; }

/* Titlurile din descriere: semi-bold */
html body.single-product .woocommerce-Tabs-panel .vs-panel-card h1,
html body.single-product .woocommerce-Tabs-panel .vs-panel-card h2,
html body.single-product .woocommerce-Tabs-panel .vs-panel-card h3,
html body.single-product .woocommerce-Tabs-panel .vs-panel-card h4 { font-weight: 600 !important; }

/* După o linie separatoare, titlul nu mai are spațiu în plus deasupra */
html body.single-product .woocommerce-Tabs-panel .vs-panel-card hr + h1,
html body.single-product .woocommerce-Tabs-panel .vs-panel-card hr + h2,
html body.single-product .woocommerce-Tabs-panel .vs-panel-card hr + h3,
html body.single-product .woocommerce-Tabs-panel .vs-panel-card hr + h4 { margin-top: 0 !important; }

/* Descriere restrânsă: fade alb + blur ușor, buton „Vezi toată descrierea" */
html body.single-product .woocommerce-Tabs-panel .vs-panel-card.vs-collapsible {
  position: relative;
  overflow: hidden;
  transition: max-height .55s cubic-bezier(.4, 0, .2, 1);
}

html body.single-product .woocommerce-Tabs-panel .vs-panel-card.vs-collapsible::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 170px;
  border-radius: 0 0 18px 18px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .75) 55%, #fff 100%);
  -webkit-backdrop-filter: blur(2.5px);
  backdrop-filter: blur(2.5px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 60%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 60%);
  opacity: 1;
  transition: opacity .35s ease;
}

html body.single-product .woocommerce-Tabs-panel .vs-panel-card.vs-collapsible:not(.is-collapsed)::after { opacity: 0; }

.vs-desc-more-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  margin: -22px 0 8px; /* butonul stă peste marginea de jos a casetei */
}

html body.single-product .vs-desc-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 0;
  margin: 0;
  padding: 11px 22px;
  border: 1px solid #c9dcf2;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(17, 81, 155, .12);
  color: var(--vs-pp-price);
  font-family: var(--vs-pp-font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

html body.single-product .vs-desc-more:hover {
  border-color: var(--vs-pp-price);
  background: var(--vs-pp-price);
  color: #fff;
  box-shadow: 0 10px 26px rgba(17, 81, 155, .25);
}

.vs-desc-more svg {
  width: 16px;
  height: 16px;
  transition: transform .3s ease;
}

.vs-desc-more[aria-expanded="true"] svg { transform: rotate(180deg); }

@media (max-width: 849px) {
  html body.single-product .woocommerce-tabs ul.product-tabs { margin-bottom: 22px !important; padding: 4px !important; }
  html body.single-product .woocommerce-tabs ul.product-tabs > li > a { padding: 9px 16px !important; font-size: 14px !important; }
  html body.single-product .woocommerce-Tabs-panel { font-size: 14.5px; }
  html body.single-product .woocommerce-tabs .vs-panel-card { padding: 22px 18px 26px; border-radius: 14px; }
  html body.single-product .woocommerce-Tabs-panel .vs-panel-card h1,
  html body.single-product .woocommerce-Tabs-panel .vs-panel-card h2,
  html body.single-product .woocommerce-Tabs-panel .vs-panel-card > :first-child { font-size: 17px !important; }
  html body.single-product .woocommerce-Tabs-panel .vs-panel-card h3,
  html body.single-product .woocommerce-Tabs-panel .vs-panel-card h4 { font-size: 16px !important; }
}
}

/* =========================================================
   PRODUSE SIMILARE – slider modern sub tab-uri
   ========================================================= */
html body.single-product .related-products-wrapper {
  padding: 40px 0 10px !important;
  border-top: 0 !important;
}

html body.single-product .related-products-wrapper .product-section-title {
  position: relative;
  margin: 0 0 26px !important;
  padding: 0 0 14px !important;
  border: 0 !important;
  text-align: center;
  font-family: var(--vs-pp-font);
  font-size: 22px !important;
  font-weight: 800 !important;
  letter-spacing: .02em;
  color: var(--vs-pp-ink) !important;
}

html body.single-product .related-products-wrapper .product-section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 56px;
  height: 3px;
  border-radius: 3px;
  background: var(--vs-pp-price);
  transform: translateX(-50%);
}

html body.single-product .related-products-wrapper .product-small.col { padding-bottom: 18px !important; }

html body.single-product .related-products-wrapper .product-small.col > .col-inner {
  height: 100%;
  box-sizing: border-box;
  padding: 14px 14px 16px !important;
  background: #fff;
  border: 1px solid #ececf0;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(20, 20, 40, .04);
  transition: box-shadow .25s ease, transform .25s ease;
}

html body.single-product .related-products-wrapper .product-small.col:hover > .col-inner {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(20, 20, 40, .1);
}

html body.single-product .related-products-wrapper .product-small.box {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

html body.single-product .related-products-wrapper .box-image {
  border-radius: 10px;
  overflow: hidden;
  background: #f5f5f4;
}

html body.single-product .related-products-wrapper .box-image img { transition: transform .4s ease; }
html body.single-product .related-products-wrapper .product-small.col:hover .box-image img { transform: scale(1.04); }

html body.single-product .related-products-wrapper .badge-container .callout { display: none !important; }

html body.single-product .related-products-wrapper .box-text {
  padding: 14px 0 0 !important;
  text-align: center !important;
}

html body.single-product .related-products-wrapper .box-text .category { display: none !important; }
html body.single-product .related-products-wrapper .box-text .title-wrapper { margin-bottom: 10px; }

html body.single-product .related-products-wrapper .box-text .name,
html body.single-product .related-products-wrapper .box-text .name a,
html body.single-product .related-products-wrapper .woocommerce-loop-product__title a {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 !important;
  font-family: var(--vs-pp-font);
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  text-transform: none !important;
  color: var(--vs-pp-ink) !important;
}

html body.single-product .related-products-wrapper .box-text .name a:hover { color: var(--vs-pp-price) !important; }

html body.single-product .related-products-wrapper .price {
  display: flex !important;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 2px 8px;
  margin: 0 0 12px !important;
}

html body.single-product .related-products-wrapper .price ins,
html body.single-product .related-products-wrapper .price > .amount { order: -1; text-decoration: none !important; }

html body.single-product .related-products-wrapper .price ins .woocommerce-Price-amount,
html body.single-product .related-products-wrapper .price > .woocommerce-Price-amount {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--vs-pp-price) !important;
}

html body.single-product .related-products-wrapper .price del .woocommerce-Price-amount {
  font-size: 13px !important;
  font-weight: 400 !important;
  color: var(--vs-pp-muted) !important;
}

html body.single-product .related-products-wrapper .vs-discount-badge {
  align-self: center;
  margin: 0 !important;
  padding: 3px 8px !important;
  background: var(--vs-pp-price) !important;
  font-size: 11px !important;
}

html body.single-product .related-products-wrapper .add-to-cart-button { margin: 0 !important; }

html body.single-product .related-products-wrapper .box-text a.button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  background: var(--vs-pp-green) !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 12px rgba(17, 81, 155, .22) !important;
  color: #fff !important;
  font-family: var(--vs-pp-font);
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-shadow: none !important;
  white-space: nowrap;
  transition: background .25s ease;
}

html body.single-product .related-products-wrapper .box-text a.button:hover { background: var(--vs-pp-green-hover) !important; }

html body.single-product .related-products-wrapper .box-text a.button::before {
  content: "";
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'/%3E%3C/svg%3E") no-repeat center / 18px 18px;
}

html body.single-product .related-products-wrapper .flickity-prev-next-button {
  top: 38% !important;
  width: 44px !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 1 !important;
  background: #fff !important;
  border: 1px solid #ececf0 !important;
  border-radius: 50% !important;
  box-shadow: 0 4px 14px rgba(20, 20, 40, .12) !important;
  color: var(--vs-pp-ink) !important;
  transform: none !important;
  transition: background .2s ease, color .2s ease !important;
}

html body.single-product .related-products-wrapper .flickity-prev-next-button.previous { left: -14px !important; }
html body.single-product .related-products-wrapper .flickity-prev-next-button.next { right: -14px !important; }

html body.single-product .related-products-wrapper .flickity-prev-next-button svg {
  position: static !important;
  width: 16px !important;
  height: 16px !important;
  margin: 0 auto;
  padding: 0 !important;
}

html body.single-product .related-products-wrapper .flickity-prev-next-button:hover {
  background: var(--vs-pp-price) !important;
  color: #fff !important;
}

html body.single-product .related-products-wrapper .flickity-prev-next-button:disabled { opacity: .35 !important; }

/* =========================================================
   PRODUSE RELEVANTE – slider pe toată lățimea, deasupra tab-urilor
   ========================================================= */
/* Spațiul dintre zona de cumpărare și „Produse relevante" (Flatsome pune 30px + 40px) */
html body.single-product .product-main { padding-bottom: 12px !important; }
html body.single-product .product-main .product-info { padding-bottom: 0 !important; }

.vs-relevant {
  font-family: var(--vs-pp-font);
  margin: 12px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--vs-pp-line);
}

/* „Produse similare" sub tab-uri – aceeași componentă, cu spațiu față de footer */
.vs-relevant--similar { margin: 48px 0 40px; }

.vs-relevant-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

html body.single-product .vs-relevant-title {
  margin: 0 !important;
  font-family: var(--vs-pp-font) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--vs-pp-ink) !important;
}

.vs-relevant-arrows { display: flex; gap: 6px; }

html body.single-product .vs-relevant-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: #e7f0fa;
  color: var(--vs-pp-price);
  box-shadow: none;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

html body.single-product .vs-relevant-arrow:hover { background: var(--vs-pp-price); color: #fff; }
.vs-relevant-arrow svg { width: 16px; height: 16px; }
.vs-relevant-arrow--next svg { transform: rotate(180deg); }

/* 3 carduri vizibile, restul la derulare */
.vs-relevant-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 5 * 14px) / 6);
  gap: 14px;
  padding: 2px 2px 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.vs-relevant-track::-webkit-scrollbar { display: none; }

.vs-rel-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--vs-pp-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(17, 24, 39, .04);
  scroll-snap-align: start;
  transition: transform .2s ease, box-shadow .2s ease;
}

.vs-rel-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(17, 24, 39, .08);
}

.vs-rel-img {
  position: relative;
  display: block;
  margin-bottom: 9px;
  border-radius: 11px;
  overflow: hidden;
  background: #f5f5f4;
}

html body.single-product .vs-rel-img img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 11px;
}

html body.single-product .vs-rel-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  color: var(--vs-pp-ink) !important;
  text-decoration: none !important;
}

html body.single-product .vs-rel-title:hover { color: var(--vs-pp-price) !important; }

/* „NOU" și „ECONOMISEȘTE X%" pe imagine, stânga-sus, una sub alta
   (stilul pastilelor vine din product-cards.css) */
.vs-rel-badges {
  position: absolute;
  top: 7px;
  left: 7px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  pointer-events: none;
}

html body.single-product .vs-rel-badges .vs-card-new {
  position: relative;
  top: auto;
  left: auto;
  height: 22px;
  padding: 0 9px 0 7px;
  font-size: 10px;
}

/* „PREȚ PROMO" – aceeași pastilă portocalie ca eticheta pluginului Advanced Woo Labels */
.vs-promo-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 9px 0 6px;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(135deg, #fb923c 0%, #f97316 50%, #ea580c 100%);
  box-shadow: 0 4px 12px rgba(234, 88, 12, .35), inset 0 1px 0 rgba(255, 255, 255, .35);
  color: #fff;
  font-family: var(--vs-card-font);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.vs-promo-pill::before {
  content: "%";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  color: #ea580c;
  font-size: 8.5px;
  font-weight: 900;
  letter-spacing: 0;
}

.vs-promo-pill::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg);
  animation: vs-card-new-shine 3.2s ease-in-out infinite;
  animation-delay: 1.2s;
}

@media (prefers-reduced-motion: reduce) {
  .vs-promo-pill::after { animation: none; display: none; }
}

html body.single-product .vs-rel-badges .vs-card-save {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  font-size: 9px;
  box-shadow: 0 3px 8px rgba(77, 124, 15, .3);
}

/* Prețul și ratingul centrate, unul sub altul */
.vs-rel-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin: auto 0 9px;
  text-align: center;
}


/* Preț: nou (albastru) + vechi tăiat (gri), pe același rând */
html body.single-product .vs-rel-price {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0 4px;
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.3;
}

/* Ordinea WooCommerce: prețul vechi tăiat (del), apoi prețul nostru (ins) */
html body.single-product .vs-rel-price ins { text-decoration: none !important; background: none !important; }

html body.single-product .vs-rel-price ins .amount,
html body.single-product .vs-rel-price > .amount,
html body.single-product .vs-rel-price > .woocommerce-Price-amount {
  font-size: 14px !important;
  font-weight: 800 !important;
  color: var(--vs-pp-price) !important;
}

html body.single-product .vs-rel-price del { opacity: 1 !important; }

html body.single-product .vs-rel-price del,
html body.single-product .vs-rel-price del .amount,
html body.single-product .vs-rel-price del span.amount {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #6b7280 !important;
  text-decoration: line-through !important;
  text-decoration-color: #e11d48 !important;
  text-decoration-thickness: 1.5px !important;
}

html body.single-product .vs-rel-price del::before,
html body.single-product .vs-rel-price .vs-discount-badge { display: none !important; }

html body.single-product .vs-rel-price .woocommerce-Price-currencySymbol { font-size: inherit; vertical-align: baseline; }

.vs-rel-rating {
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--vs-pp-text);
}

.vs-rel-rating span { color: #f5b301; }
.vs-rel-rating em { font-style: normal; color: var(--vs-pp-muted); }

html body.single-product .vs-rel-add,
html body.single-product .vs-rel-view {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  margin: 0 0 6px;
  padding: 6px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

html body.single-product .vs-rel-add {
  border: 1px solid var(--vs-pp-green);
  background: var(--vs-pp-green);
  color: #fff !important;
}

html body.single-product .vs-rel-add:hover { background: var(--vs-pp-green-hover); border-color: var(--vs-pp-green-hover); }
html body.single-product .vs-rel-add.loading { opacity: .7; }

/* Iconița de coș – aceeași ca pe cardurile de produs */
html body.single-product .vs-rel-add { gap: 6px; }

html body.single-product .vs-rel-add::before {
  content: "";
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='white' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 18a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm10 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4zM1 2v2h2l3.6 7.6-1.35 2.4C4.52 15.37 5.48 17 7 17h12v-2H7.42a.25.25 0 0 1-.22-.37L8.1 13h7.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49A1 1 0 0 0 20 4H5.21l-.94-2H1z'/%3E%3C/svg%3E") no-repeat center / 15px 15px;
}

/* După adăugare: verde, cu bifă */
html body.single-product .vs-rel-add.added { background: #15803d; border-color: #15803d; }
html body.single-product .vs-rel-add.added::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 14px 14px;
}

html body.single-product .vs-rel-view {
  margin-bottom: 0;
  border: 1px solid #c9dcf2;
  background: #fff;
  color: var(--vs-pp-price) !important;
}

html body.single-product .vs-rel-view:hover { border-color: var(--vs-pp-price); background: #f3f8fd; }

/* Linkul „Vezi coșul" adăugat de WooCommerce după Ajax */
html body.single-product .vs-rel-card .added_to_cart {
  display: block;
  margin: -2px 0 6px;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  font-size: 11.5px;
  text-align: center;
  color: var(--vs-pp-price) !important;
}

@media (max-width: 1099px) {
  .vs-relevant-track { grid-auto-columns: calc((100% - 3 * 14px) / 4); }
}

@media (max-width: 849px) {
  .vs-relevant { margin-top: 12px; padding-top: 18px; }
  .vs-relevant-track { grid-auto-columns: calc((100% - 2 * 14px) / 3); }
}

@media (max-width: 549px) {
  .vs-relevant-track { grid-auto-columns: 44%; gap: 12px; }
}

/* Confirmarea „Produsul a fost adăugat în coș" (fără reîncărcare) */
.vs-cart-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 99999;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100vw - 32px);
  padding: 13px 18px;
  border-radius: 12px;
  background: #111827;
  box-shadow: 0 12px 32px rgba(17, 24, 39, .28);
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity .25s ease, transform .25s ease;
}

.vs-cart-toast.is-visible { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.vs-cart-toast.is-error { background: #b91c1c; }

.vs-cart-toast-ok {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #22c55e;
  font-size: 13px;
  font-weight: 800;
}

.vs-cart-toast a { color: #93c5fd !important; font-weight: 700; text-decoration: underline !important; white-space: nowrap; }

html body.single-product .product-info form.cart button.single_add_to_cart_button.vs-added { background: #15803d !important; }

/* ---------- Mobil ---------- */
@media (max-width: 849px) {
  html body.single-product .product-info { padding-top: 18px !important; }

  html body.single-product .product-info .product_title.entry-title,
  html body.single-product .product-info .product-title { font-size: 21px !important; }

  html body.single-product .product-info .price-wrapper .price ins .woocommerce-Price-amount,
  html body.single-product .product-info .price-wrapper .price > .woocommerce-Price-amount { font-size: 24px !important; }

  /* Cantitatea pe rând separat, butoanele jumătate-jumătate */
  html body.single-product .product-info form.cart,
  html body.single-product .product-info form.cart .woocommerce-variation-add-to-cart { flex-wrap: wrap !important; }

  html body.single-product .product-info form.cart button.single_add_to_cart_button,
  html body.single-product .product-info form.cart button.vs-buy-now {
    flex: 1 1 calc(50% - 5px) !important;
    font-size: 13px !important;
  }

  html body.single-product .product-info form.cart .quantity { flex: 0 0 100% !important; justify-content: center; }
  html body.single-product .product-info form.cart .quantity input.qty { flex: 1 1 auto; }

  .vs-gift-card { padding: 14px 16px; }
  .vs-gift-card-img { flex-basis: 72px; }
  .vs-gift-box { width: 72px; height: 72px; }

  .vs-delivery-tip,
  .vs-delivery-info:hover .vs-delivery-tip,
  .vs-delivery-info:focus .vs-delivery-tip { left: auto; right: -8px; transform: none; }
  .vs-delivery-tip::after { left: auto; right: 10px; transform: none; }

  html body.single-product .related-products-wrapper .product-section-title { font-size: 18px !important; }
  html body.single-product .related-products-wrapper .product-small.col > .col-inner { padding: 10px 10px 12px !important; }
  html body.single-product .related-products-wrapper .box-text .name a { font-size: 13px !important; }
  html body.single-product .related-products-wrapper .flickity-prev-next-button { display: none !important; }
}

/* ---------- Captcha din formularul de recenzii (WP Captcha), strâns de scriptul din product-page.php ---------- */
html body.single-product #commentform .vs-captcha {
  flex: 0 0 100%;
  width: 100%;
  padding: 0 10px;
  margin: 0 0 18px;
}

html body.single-product #commentform .vs-captcha-label {
  display: block;
  margin: 0 0 6px;
  font-size: .9em;
  font-weight: 700;
}

html body.single-product #commentform .vs-captcha-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Imaginea pluginului e mică (45×15) – o mărim curat, fără s-o deformăm */
html body.single-product #commentform .wpcaptcha-captcha-img {
  display: block;
  flex: 0 0 auto;
  width: 108px !important;
  max-width: none !important;
  height: 36px !important;
  margin: 0 !important;
  padding: 2px 6px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
  image-rendering: pixelated;
  vertical-align: middle !important;
}

html body.single-product #commentform #wpcaptcha_captcha {
  flex: 0 1 160px;
  width: 160px !important;
  height: 38px;
  margin: 0 !important;
}
