/* PDP — 2-column layout: gallery left, product info + buy box right */

/* Minimal breadcrumb — isolated from legacy .wrapper.simple.wNav / #inNav */
.content .pvBreadcrumbClamp {
  display: block;
  margin: -6px 0 12px 0;
  padding: 0;
  border: 0 !important;
  background: transparent;
  box-sizing: border-box;
}

/* PDP — breadcrumb in left column of pvPdpPage */
.pvPdpLeft .pvBreadcrumbClamp--pdpLeft {
  margin: 0 0 14px 0;
  width: 100%;
}

/* Flush PDP under site header (no global content top/bottom gap) */
.content.content--pdp,
.content:has(.pvBxLayout) {
  padding-top: 0;
  padding-bottom: 0;
}

.content.content--pdp > .inside,
.content:has(.pvBxLayout) > .inside {
  padding-top: 0;
}

body:has(.content.content--pdp) .cc-footerZone,
body:has(.content:has(.pvBxLayout)) .cc-footerZone {
  margin-top: 0;
}

.pvBreadcrumbClamp__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--cc-font-sans);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
}

.pvBreadcrumbClamp__item {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  max-width: 100%;
}

.pvBreadcrumbClamp__sep {
  margin: 0 7px;
  color: #dfe2e8;
  font-size: 10px;
  font-weight: 300;
  user-select: none;
}

.pvBreadcrumbClamp__link,
.pvBreadcrumbClamp__current {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: min(200px, 34vw);
}

.pvBreadcrumbClamp__link {
  color: #a8adb6;
  text-decoration: none;
  transition: color 0.15s ease;
}

.pvBreadcrumbClamp__link:hover {
  color: var(--cc-bx-accent);
  text-decoration: none;
}

.pvBreadcrumbClamp__current {
  color: #c4c8cf;
  font-weight: 400;
}

@media (max-width: 760px) {
  .content.content--pdp,
  .content:has(.pvBxLayout) {
    padding-top: 12px;
  }

  .content .pvBreadcrumbClamp {
    margin: 0 0 12px 0;
  }

  .pvPdpLeft .pvBreadcrumbClamp--pdpLeft {
    margin: 10px 0 14px 0;
  }

  .pvPdpPage > .pvPdpLeft {
    padding-top: 8px;
  }

  .pvBreadcrumbClamp__link,
  .pvBreadcrumbClamp__current {
    max-width: min(140px, 42vw);
  }
}

/* PDP page shell — left content + full-height sticky sidebar */
.pvPdpPage {
  display: grid !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  grid-template-areas:
    "left aside"
    "rest aside";
  gap: 0;
  align-items: stretch;
  --pv-pdp-aside-inset-top: 14px;
}

.pvPdpPage > .pvPdpLeft {
  grid-area: left;
  min-width: 0;
  padding: 14px 40px 0 0;
  box-sizing: border-box;
}

.pvPdpPage > .cc {
  width: 100% !important;
  float: none !important;
  margin-top: 0 !important;
  border: 0 !important;
  box-sizing: border-box;
}

.pvPdpPage > .pvPdpGallery,
.pvPdpPage > .pvGallery {
  padding: 0 0 32px 0;
  box-sizing: border-box;
}

.pvPdpPage > .pvProductAside {
  grid-area: aside;
  display: flex;
  flex-direction: column;
  gap: 0;
  align-self: stretch;
  min-height: 100%;
  padding: 14px 36px 48px 32px;
  background: var(--cc-bx-accent-soft, #f5f1ed);
  box-sizing: border-box;
}

.pvPdpPage > .pvPdpRest {
  grid-area: rest;
  min-width: 0;
  padding: 0 40px 48px 0;
}

.pvPdpRest .prezentareProdus {
  margin: 0;
}

.pvPdpRest .bx-sectionTitle {
  margin-top: 8px;
}

.pvPdpRest .bx-homeProducts:first-of-type {
  margin-top: 0;
}

.pvPdpRest .cc-productCarousel {
  margin-bottom: 24px;
}

.pvPdpRest .cc-productCarousel--3up {
  overflow: hidden;
}

.pvPdpRest .cc-productCarousel__viewport {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  overflow-x: auto;
  overflow-y: hidden;
}

.pvPdpRest .cc-productCarousel--3up .cc-productCarousel__viewport {
  padding: 0;
  margin: 0;
}

.pvPdpRest .cc-productCarousel--3up .cc-productCarousel__slide {
  flex: 0 0 calc((100% - 40px) / 3);
  width: calc((100% - 40px) / 3);
  max-width: calc((100% - 40px) / 3);
}

.pvPdpRest .cc-productCarousel .owl-nav .owl-prev,
.pvPdpRest .cc-productCarousel .owl-nav .owl-next {
  opacity: 1;
}

.pvPdpRest .cc-productCarousel--3up .owl-nav .owl-prev { left: 2px; }
.pvPdpRest .cc-productCarousel--3up .owl-nav .owl-next { right: 2px; }

@media (max-width: 760px) {
  .pvPdpRest .cc-productCarousel--3up .cc-productCarousel__slide {
    flex: 0 0 calc((100% - 20px) / 2);
    width: calc((100% - 20px) / 2);
    max-width: calc((100% - 20px) / 2);
  }
}

@media (max-width: 480px) {
  .pvPdpRest .cc-productCarousel--3up .cc-productCarousel__slide {
    flex: 0 0 calc((100% - 20px) / 1.35);
    width: calc((100% - 20px) / 1.35);
    max-width: calc((100% - 20px) / 1.35);
  }
}

.pvPdpPage .pvProductAsideSticky {
  position: sticky;
  top: calc(var(--cc-header-sticky-h, 120px) + var(--pv-pdp-aside-inset-top, 14px));
  display: flex;
  flex-direction: column;
  width: 100%;
  max-height: calc(100vh - var(--cc-header-sticky-h, 120px) - var(--pv-pdp-aside-inset-top, 14px));
  overflow: auto;
  overscroll-behavior: contain;
}

.pvPdpPage .pvProductAsideCard {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  padding: 24px 26px;
  box-sizing: border-box;
}

.pvPdpPage .pvProductAsideCard .bx-buyBox,
.pvPdpPage .pvProductAsideCard .priceTable.pvBuyWrap.bx-buyBox--notify {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.pvPdpPage .pvProductAsideCard--main .bx-buyBox {
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

/* legacy inner grid — kept for old markup fallbacks */
.prezentareProdus .prodColumns.pvProdGrid {
  display: block !important;
}

.prezentareProdus .pvGallery {
  position: static;
}

/* Gallery — ~20% smaller, centered in left column (desktop) */
@media (min-width: 961px) {
  .pvPdpPage .pvPdpLeft .pvPdpGallery,
  .pvPdpPage .pvPdpLeft .pvGallery {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .pvPdpPage .pvGallery #mainImage,
  .pvPdpPage .pvPdpGallery > img.main {
    width: 80% !important;
    max-width: 80%;
    margin-inline: auto;
  }

  .pvPdpPage .pvGallery #thumbs {
    width: 80% !important;
    max-width: 80%;
    justify-content: center;
  }
}

.pvPdpPage .pvGallery #mainImage,
.prezentareProdus .pvGallery #mainImage,
.prezentareProdus .prodColumns.pvProdGrid .galerie #mainImage {
  width: 100% !important;
  float: none !important;
  margin-bottom: 24px;
  border-radius: 18px;
  overflow: hidden;
  background: #f8f9fb;
}

.pvPdpPage .pvGallery #mainImage img,
.prezentareProdus .pvGallery #mainImage img {
  border-radius: 18px;
}

.pvPdpPage .pvGallery #thumbs,
.prezentareProdus .pvGallery #thumbs,
.prezentareProdus .prodColumns.pvProdGrid .galerie #thumbs {
  width: 100% !important;
  float: none !important;
  padding-top: 14px !important;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pvPdpPage .pvGallery #thumbs a,
.prezentareProdus .pvGallery #thumbs a {
  width: 64px;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
}

/* ── Mobile-only title block above gallery (brand → name → ID/EAN) ── */
.pvPdpMobileHead {
  display: none;
}

@media (max-width: 960px) {
  .pvPdpMobileHead {
    display: block;
    margin: 0 0 14px 0;
    padding: 0;
  }

  .pvPdpMobileHead__brand {
    margin: 0 0 6px 0;
    font-family: var(--cc-font-sans);
    font-size: clamp(18px, 5.2vw, 22px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
    text-transform: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .pvPdpMobileHead__brand a {
    color: var(--cc-bx-ink);
    text-decoration: none;
    font-weight: 700;
  }

  .pvPdpMobileHead__brand a:hover {
    color: var(--cc-bx-accent);
    text-decoration: none;
  }

  .pvPdpMobileHead__title {
    margin: 0 0 8px 0;
    font-family: var(--cc-font-sans);
    font-size: clamp(18px, 5.2vw, 22px);
    font-weight: 400;
    line-height: 1.3;
    color: var(--cc-bx-ink);
  }

  .pvPdpMobileHead__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    margin: 0;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.35;
    color: #b0b4bc;
  }

  .pvPdpMobileHead__id,
  .pvPdpMobileHead__ean {
    white-space: nowrap;
    color: #b0b4bc;
  }
}

/* ── Head: brand, title, rating + SKU ── */
.pvPdpPage .pvProductHead,
.prezentareProdus .pvProductHead {
  position: relative;
  margin-bottom: 18px;
  padding-right: 52px;
}

.pvPdpPage .pvProductHead__wish,
.prezentareProdus .pvProductHead__wish {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  min-height: 44px;
}

.prezentareProdus .pvProductBrand,
.pvPdpPage .pvProductBrand {
  margin: 0 0 8px 0;
  font-size: 12.1px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}

.pvPdpPage .pvProductBrand a,
.prezentareProdus .pvProductBrand a {
  color: #8a8a96;
  text-decoration: none;
  font-weight: 700;
}

.pvPdpPage .pvProductBrand a:hover,
.prezentareProdus .pvProductBrand a:hover {
  color: var(--cc-bx-ink);
}

.pvPdpPage .pvProductHead h1,
.pvPdpPage .pvProductTitle,
.prezentareProdus .pvProductHead h1,
.prezentareProdus .pvProductHead h3 {
  margin: 0 0 18px 0;
  font-size: clamp(21px, 2.2vw, 29px);
  font-weight: 700;
  line-height: 1.18;
  color: var(--cc-bx-ink);
}

.pvPdpPage .pvProductRatingRow,
.prezentareProdus .pvProductRatingRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
  width: 100%;
}

.pvPdpPage .pvProductRating,
.prezentareProdus .pvProductRating {
  flex: 1 1 auto;
  min-width: 0;
}

.pvPdpPage .pvProductRating .starsScroll,
.pvPdpPage .infoProdus .starsScroll,
.pvPdpPage .pvProductRating .stars,
.prezentareProdus .pvProductRating .starsScroll,
.prezentareProdus .pvProductRating .stars {
  display: inline-flex !important;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
  margin: 0 !important;
  font-size: 13px;
  color: var(--cc-bx-muted);
  cursor: default;
}

.pvPdpPage .pvProductRating .stars .fa-star,
.prezentareProdus .pvProductRating .stars .fa-star {
  color: var(--cc-bx-accent);
}

.pvPdpPage .pvProductRating .stars .fa-star-o,
.prezentareProdus .pvProductRating .stars .fa-star-o {
  color: #d1d5db;
}

.pvPdpPage .pvProductSku,
.prezentareProdus .pvProductSku {
  flex: 0 0 auto;
  margin-left: auto;
  font-size: 12px;
  font-weight: 500;
  color: var(--cc-bx-muted);
  white-space: nowrap;
  text-align: right;
}

/* ── Supply badge ── */
.prezentareProdus .pvProductSupply {
  margin: 0 0 14px 0;
}

.prezentareProdus .pvProductSupplyBadge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #faf8f5;
  border: 1px solid rgba(10, 10, 12, 0.08);
  font-size: 12px;
  font-weight: 600;
  color: #374151;
}

.prezentareProdus .pvProductSupplyBadge img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* ── Highlights 2x2 ── */
.prezentareProdus .pvProductHighlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
  margin: 0 0 20px 0;
  padding: 20px 18px;
  border-radius: 16px;
  background: #f8f9fb;
  border: 1px solid #eceef2;
}

.prezentareProdus .pvProductHighlight {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.prezentareProdus .pvProductHighlightMark {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-top: 1px;
  border-radius: 11px;
  background: rgba(196, 165, 116, 0.14);
  color: var(--cc-bx-accent);
}

.prezentareProdus .pvProductHighlightMark .fa {
  font-size: 18px;
  line-height: 1;
}

.prezentareProdus .pvProductHighlightText {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--cc-bx-muted);
}

.prezentareProdus .pvProductHighlightText strong {
  font-size: 12px;
  font-weight: 700;
  color: var(--cc-bx-accent);
}

/* ── Technical specs (compact) ── */
.prezentareProdus .pvProductSpecs {
  margin: 0 0 18px 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.prezentareProdus .pvProductSpec.tehLine {
  margin: 0;
  padding: 8px 0;
  line-height: 1.35;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.prezentareProdus .pvProductSpec.tehLine:first-child {
  border-top: 0;
  padding-top: 0;
}

.prezentareProdus .pvProductAside .priceTable.pvBuyWrap {
  margin-bottom: 14px;
}

/* ── Secondary links ── */
.prezentareProdus .pvProductLinks {
  float: none !important;
  margin: 0 0 16px 0 !important;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.prezentareProdus .pvProductLinks--secondary {
  margin-top: 0 !important;
}

.prezentareProdus .pvProductLinks .line {
  display: inline-flex;
  margin: 0 !important;
  padding: 0;
  font-size: 13px;
}

.prezentareProdus .pvProductLinks .line a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e3e6eb;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.prezentareProdus .pvProductLinks .line a:hover,
.prezentareProdus .pvProductLinks .line a.active {
  border-color: var(--cc-bx-accent);
  background: #faf8f5;
  color: #111 !important;
}

.prezentareProdus .pvTesterNote {
  border: 1px solid #d5d8de;
  border-radius: 12px;
  padding: 10px 14px;
  color: #333;
  text-align: center;
  margin: 0 0 16px 0;
  font-weight: 500;
  font-size: 13px;
  background: #fafbfc;
}

/* ── Delivery / support meta strip (subtle card) ── */
.prezentareProdus .pvProductInfoBar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 20px 0 0 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, #fafbfc 0%, #f6f7f9 100%);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.prezentareProdus .pvProductInfoBar__item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  min-width: 0;
  padding: 4px 14px;
}

.prezentareProdus .pvProductInfoBar__item:not(:last-child) {
  border-right: 1px solid rgba(15, 23, 42, 0.05);
}

.prezentareProdus .pvProductInfoBar__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-top: 1px;
  border-radius: 10px;
  background: rgba(196, 165, 116, 0.1);
  border: 1px solid rgba(196, 165, 116, 0.12);
  color: var(--cc-bx-accent);
}

.prezentareProdus .pvProductInfoBar__icon .material-symbols-rounded {
  font-size: 16px;
  line-height: 1;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 20;
}

.prezentareProdus .pvProductInfoBar__copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.prezentareProdus .pvProductInfoBar__title {
  font-family: var(--cc-pdp-display, var(--cc-font-display));
  font-weight: 600;
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: #5f6570;
}

.prezentareProdus .pvProductInfoBar__sub {
  font-size: 11px;
  line-height: 1.35;
  color: var(--cc-bx-muted);
}

.prezentareProdus .pvProductInfoBar__phone {
  color: inherit;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  transition: color 0.15s ease;
}

.prezentareProdus .pvProductInfoBar__phone:hover {
  color: var(--cc-bx-accent);
  text-decoration: none;
}

@media (max-width: 760px) {
  .prezentareProdus .pvProductInfoBar {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 12px 14px;
  }

  .prezentareProdus .pvProductInfoBar__item {
    padding: 10px 2px;
  }

  .prezentareProdus .pvProductInfoBar__item:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  }

  .prezentareProdus .pvProductInfoBar__item:last-child {
    padding-bottom: 2px;
  }
}

/* legacy trucks — unused on modern PDP */
.prezentareProdus .pvProductDelivery.trucks {
  margin: 0;
  padding: 14px 0 0 0;
  border-top: 1px solid #eceef2;
}

.prezentareProdus .pvProductDelivery .colsCurieri span {
  font-size: 12px;
}

@media (max-width: 960px) {
  .content.content--pdp,
  .content:has(.pvBxLayout) {
    overflow-x: clip;
  }

  .pvPdpPage {
    grid-template-columns: 1fr;
    grid-template-areas:
      "left"
      "aside"
      "rest";
  }

  .pvPdpPage > .pvPdpLeft {
    padding: 0 0 0 0;
  }

  .pvPdpPage > .pvPdpGallery,
  .pvPdpPage > .pvGallery {
    padding: 0 0 20px 0;
  }

  .pvPdpPage > .pvPdpRest {
    padding: 0 0 32px 0;
  }

  .pvPdpPage .pvProductAsideSticky {
    position: static;
    top: auto;
    max-height: none;
    overflow: visible;
  }

  /* Desktop head lives in aside — hide on mobile (title is above gallery) */
  .pvPdpPage .pvProductAside .pvProductHead {
    display: none;
  }

  .pvProductHead__wish--desktop {
    display: none !important;
  }

  .pvPdpPage > .pvProductAside {
    /* Inset rounded card — same column width + 12px radius as Product details */
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 16px;
    min-height: 0;
    padding: 22px 18px 24px !important;
    background: var(--cc-bx-accent-soft, #fff4f2);
    border-radius: 12px;
    box-sizing: border-box;
  }

  .pvPdpPage .pvProductAsideCard {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    width: 100%;
    max-width: 100%;
  }

  .pvPdpPage .pvProductAsideCard--main .bx-buyBox {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }

  .pvPdpPage > .pvPdpRest {
    padding-top: 4px;
  }

  .prezentareProdus .pvProductHighlights {
    grid-template-columns: 1fr;
  }

  .prezentareProdus .pvProductLinks {
    justify-content: flex-start;
  }
}

@media (min-width: 768px) and (max-width: 960px) {
  .pvPdpPage > .pvProductAside {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

@media (max-width: 520px) {
  .prezentareProdus .pvProductHighlights {
    gap: 16px;
    padding: 18px 16px;
  }
}
