/* Stella PDP pilot — white canvas, cream panels, accent only on action */

body.stella-pdp-pilot {
  --stella-ink: #2a2a2a;
  --stella-muted: #6b6b6b;
  --stella-line: #e8e2d8;
  --stella-cream: #f7f4ef;
  --stella-paper: #ffffff;
  --stella-accent: #ba7040;
  --stella-accent-soft: #f3ebe3;
  --stella-stock: #3f6b4a;
  --stella-stock-bg: #eef5ef;
  --stella-stock-row: #f4faf5;
}

/* White page — product photos with white bg stay clean */
body.stella-pdp-pilot #content,
body.stella-pdp-pilot .content-wrapper,
body.stella-pdp-pilot .messages {
  background: #fff !important;
}

/* Breadcrumbs */
body.stella-pdp-pilot .breadcrumbs {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center;
  gap: 2px 0;
  max-width: 1480px;
  margin: 12px auto 0 !important;
  padding: 0 24px !important;
  font-family: Inter, sans-serif;
  font-size: 12px;
  line-height: 1.45;
  color: var(--stella-muted);
  overflow: visible !important;
  height: auto !important;
  min-height: 0 !important;
}

body.stella-pdp-pilot .breadcrumbs > span {
  display: inline-flex !important;
  align-items: center;
  flex-wrap: wrap;
  max-width: 100%;
  position: static !important;
  float: none !important;
}

body.stella-pdp-pilot .breadcrumbs a {
  color: var(--stella-muted);
  text-decoration: none;
  border: 0;
}

body.stella-pdp-pilot .breadcrumbs a:hover {
  color: var(--stella-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.stella-pdp-pilot .breadcrumbs .navigation-bullet {
  display: inline-block;
  width: 1em;
  margin: 0 0.1em;
  font-size: 0;
  text-align: center;
}

body.stella-pdp-pilot .breadcrumbs .navigation-bullet::before {
  content: "›";
  font-size: 13px;
  color: #b8b2a8;
}

body.stella-pdp-pilot .breadcrumbs .navigation-home-icon {
  width: 15px;
  height: 15px;
  opacity: 0.55;
}

body.stella-pdp-pilot .stella-pdp-crumb-current,
body.stella-pdp-pilot .breadcrumbs > span.stella-pdp-crumb-product {
  display: none !important;
}

/* product name stays in h1 only — hide trailing › before hidden product crumb */
body.stella-pdp-pilot .breadcrumbs > span:has(+ span.stella-pdp-crumb-product) .navigation-bullet {
  display: none !important;
}

/* Stage — use width */
body.stella-pdp-pilot .p-detail {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 24px 36px;
}

body.stella-pdp-pilot .p-detail-inner {
  display: grid !important;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  column-gap: 36px !important;
  row-gap: 12px !important;
  align-items: start;
  width: 100% !important;
  margin: 0 !important;
  padding: 4px 0 0 !important;
  float: none !important;
  box-sizing: border-box;
}

body.stella-pdp-pilot .p-detail-inner > * {
  box-sizing: border-box;
}

body.stella-pdp-pilot .p-image-wrapper {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  float: none !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  left: auto !important;
  right: auto !important;
  flex: none !important;
  order: 1 !important;
}

body.stella-pdp-pilot .p-data-wrapper {
  grid-column: 2;
  grid-row: 1;
  float: none !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  left: auto !important;
  right: auto !important;
  flex: none !important;
  order: 2 !important;
}

body.stella-pdp-pilot .p-image-wrapper .row {
  display: contents;
}

/* Gallery — Cloud Zoom wrap must fill box */
body.stella-pdp-pilot .p-image {
  position: relative !important;
  width: 100% !important;
  margin: 0 !important;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--stella-line);
  aspect-ratio: 3 / 4;
  min-height: 0 !important;
}

body.stella-pdp-pilot .p-image #wrap {
  position: absolute !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 1 !important;
  margin: 0 !important;
}

body.stella-pdp-pilot .p-main-image,
body.stella-pdp-pilot .p-image > a.p-main-image {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: #fff !important;
  transition: opacity 0.22s ease;
}

body.stella-pdp-pilot .p-main-image img,
body.stella-pdp-pilot .p-image #wrap img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  opacity: 1 !important;
  visibility: visible !important;
  transition: opacity 0.22s ease;
}

body.stella-pdp-pilot .p-image .mousetrap {
  display: none !important;
}

body.stella-pdp-pilot .p-image .flags,
body.stella-pdp-pilot .p-image .flags-default {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  margin: 0;
}

body.stella-pdp-pilot .p-image .flags-extra {
  display: none !important;
}

body.stella-pdp-pilot .flag.flag-action {
  background: rgba(42, 42, 42, 0.88) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 5px 10px !important;
  font-family: Inter, sans-serif;
  font-size: 11px !important;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

body.stella-pdp-pilot .p-thumbnails-wrapper {
  position: static !important;
  left: auto !important;
  top: auto !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
  overflow: visible !important;
}

body.stella-pdp-pilot .p-thumbnails,
body.stella-pdp-pilot .p-thumbnails-horizontal,
body.stella-pdp-pilot .p-thumbnails-inner,
body.stella-pdp-pilot .p-thumbnails-inner > div {
  position: static !important;
  left: 0 !important;
  top: auto !important;
  width: 100% !important;
  height: auto !important;
  display: flex !important;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding: 0;
  transform: none !important;
}

body.stella-pdp-pilot .p-thumbnail:not(.stella-thumb-active) {
  display: block !important;
  visibility: visible !important;
  opacity: 0.85 !important;
}

body.stella-pdp-pilot .p-thumbnail {
  flex: 0 0 68px;
  width: 68px !important;
  height: 90px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid var(--stella-line) !important;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.15s ease, opacity 0.15s ease;
}

body.stella-pdp-pilot .p-thumbnail img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
  background: #fff;
}

body.stella-pdp-pilot .p-thumbnail:hover {
  opacity: 1;
  border-color: var(--stella-accent) !important;
}

body.stella-pdp-pilot .p-thumbnail.stella-thumb-active,
body.stella-pdp-pilot .p-thumbnail.highlighted.stella-thumb-active {
  display: none !important;
}

body.stella-pdp-pilot .p-thumbnails .navigate,
body.stella-pdp-pilot .p-thumbnails .arrow,
body.stella-pdp-pilot .thumbnail-prev,
body.stella-pdp-pilot .thumbnail-next {
  display: none !important;
}

/* Buy column */
body.stella-pdp-pilot .p-detail-inner-header {
  margin: 0 0 8px;
  padding-right: 0;
}

body.stella-pdp-pilot .p-detail-inner-header h1 {
  margin: 0 0 6px !important;
  padding: 0 !important;
  font-family: Inter, sans-serif;
  font-size: clamp(24px, 2.1vw, 32px) !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.015em;
  text-transform: none !important;
  color: var(--stella-ink);
  max-width: 100%;
}

body.stella-pdp-pilot .p-detail-inner-header .newcode {
  display: inline-block;
  margin: 0 10px 0 0;
  font-family: Inter, sans-serif;
  font-size: 12px;
  color: #9a948c;
}

body.stella-pdp-pilot .stars-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  vertical-align: middle;
}

body.stella-pdp-pilot .stars-label,
body.stella-pdp-pilot .starsLabel--productDetail {
  font-family: Inter, sans-serif;
  font-size: 13px;
  color: var(--stella-muted);
}

body.stella-pdp-pilot .js-ratingDialogTrigger {
  display: none !important;
}

body.stella-pdp-pilot .stella-pdp-meta {
  display: none !important;
}

body.stella-pdp-pilot .p-basic-info-block,
body.stella-pdp-pilot .stella-pdp-basic {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin: 8px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  font-family: Inter, sans-serif;
  font-size: 13px;
  width: 100%;
}

body.stella-pdp-pilot .p-basic-info-block .availability-label,
body.stella-pdp-pilot .p-basic-info-block .availability-value {
  color: var(--stella-stock) !important;
  font-weight: 600;
}

body.stella-pdp-pilot .p-basic-info-block .p-manufacturer,
body.stella-pdp-pilot .p-basic-info-block .manufacturer {
  color: var(--stella-muted);
  margin: 0 !important;
}

body.stella-pdp-pilot .p-basic-info-block .p-manufacturer a,
body.stella-pdp-pilot .p-basic-info-block .manufacturer a {
  color: var(--stella-muted);
  text-decoration: none;
}

body.stella-pdp-pilot .dkLabFavouriteDiv {
  position: static !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  float: none !important;
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  margin: 10px 0 14px !important;
  padding: 0 !important;
  font-family: Inter, sans-serif;
  font-size: 13px;
  color: var(--stella-muted);
  width: auto !important;
}

body.stella-pdp-pilot .dkLabFavouriteDiv span {
  color: var(--stella-muted);
}

body.stella-pdp-pilot .p-final-price-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  margin: 10px 0 0 !important;
  padding: 10px 0 !important;
  border-top: 1px solid var(--stella-line);
  border-bottom: 1px solid var(--stella-line);
}

body.stella-pdp-pilot .p-final-price-wrapper .price-measure,
body.stella-pdp-pilot .p-final-price-wrapper .price-range,
body.stella-pdp-pilot .price-additional {
  display: none !important;
}

body.stella-pdp-pilot .price-standard,
body.stella-pdp-pilot .price-standard span {
  font-family: Inter, sans-serif;
  font-size: 14px !important;
  color: #9a948c !important;
}

body.stella-pdp-pilot .flag-discount,
body.stella-pdp-pilot .flags-extra .flag-discount {
  background: var(--stella-accent-soft) !important;
  color: var(--stella-accent) !important;
  border: 0 !important;
  border-radius: 6px !important;
  padding: 3px 7px !important;
  font-family: Inter, sans-serif;
  font-size: 12px !important;
  font-weight: 650;
}

body.stella-pdp-pilot .price-final,
body.stella-pdp-pilot #productCardPrice,
body.stella-pdp-pilot .price-final-holder {
  font-family: Inter, sans-serif !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  color: var(--stella-ink) !important;
  line-height: 1.1;
}

body.stella-pdp-pilot a.link-icon.print,
body.stella-pdp-pilot .link-icons .print {
  display: none !important;
}

body.stella-pdp-pilot .link-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  font-family: Inter, sans-serif;
}

body.stella-pdp-pilot .link-icons .link-icon {
  color: var(--stella-muted);
  font-size: 13px;
  text-decoration: none;
}

body.stella-pdp-pilot .p-short-description,
body.stella-pdp-pilot .short-description,
body.stella-pdp-pilot .p-desc {
  font-family: Inter, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #484848;
  margin: 0 0 12px;
}

body.stella-pdp-pilot .p-param-block {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--stella-line);
  font-family: Inter, sans-serif;
  font-size: 13px;
  color: var(--stella-muted);
}

body.stella-pdp-pilot .p-variants-block .detail-parameters {
  position: absolute !important;
  left: -10000px !important;
  top: 0 !important;
  width: 1px !important;
  height: 1px !important;
  max-height: 1px !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Variant picker — Goldea structure, Stella accent */
body.stella-pdp-pilot .stella-pdp-pilot-ui {
  font-family: Inter, sans-serif;
  color: var(--stella-ink);
  margin: 0 0 14px;
  width: 100%;
}

body.stella-pdp-pilot .stella-pdp-pilot-ui__benefits {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}

body.stella-pdp-pilot .stella-pdp-pilot-ui__benefit {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 7px;
  font-size: 14px;
  line-height: 1.4;
  color: #484848;
}

body.stella-pdp-pilot .stella-pdp-pilot-ui__check {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--stella-stock-bg);
  color: var(--stella-stock);
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

body.stella-pdp-pilot .stella-pdp-pilot-ui__selector {
  border: 1px solid var(--stella-line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  width: 100%;
}

body.stella-pdp-pilot .stella-pdp-pilot-ui__head {
  padding: 12px 14px;
  border-bottom: 1px solid var(--stella-line);
}

body.stella-pdp-pilot .stella-pdp-pilot-ui__title {
  margin: 0;
  font-size: 15px;
  font-weight: 650;
  color: var(--stella-ink);
}

body.stella-pdp-pilot .stella-pdp-pilot-ui__group-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 11px 14px 9px;
  background: var(--stella-cream);
  border-top: 1px solid var(--stella-line);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
  color: var(--stella-ink);
}

body.stella-pdp-pilot .stella-pdp-pilot-ui__group-label:first-of-type {
  border-top: 0;
}

body.stella-pdp-pilot .stella-pdp-pilot-ui__group-label--stock {
  background: var(--stella-stock-bg);
}

body.stella-pdp-pilot .stella-pdp-pilot-ui__group-status {
  font-size: 12px;
  font-weight: 500;
  color: var(--stella-muted);
  white-space: nowrap;
}

body.stella-pdp-pilot .stella-pdp-pilot-ui__group-label--stock .stella-pdp-pilot-ui__group-status {
  color: var(--stella-stock);
  font-weight: 600;
}

body.stella-pdp-pilot .stella-pdp-pilot-ui__row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 10px 14px;
  border: 0;
  border-top: 1px solid #f0ebe4;
  background: #fff;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  appearance: none;
  -webkit-appearance: none;
  transition: background 0.15s ease;
}

body.stella-pdp-pilot .stella-pdp-pilot-ui__row:hover {
  background: #fafafa;
}

body.stella-pdp-pilot .stella-pdp-pilot-ui__row.is-selected {
  background: var(--stella-accent-soft);
}

body.stella-pdp-pilot .stella-pdp-pilot-ui__row.is-selected.is-stock {
  background: var(--stella-stock-row);
}

body.stella-pdp-pilot .stella-pdp-pilot-ui__radio {
  width: 16px;
  height: 16px;
  border: 1.5px solid #b8b2a8;
  border-radius: 50%;
  background: #fff;
}

body.stella-pdp-pilot .stella-pdp-pilot-ui__row.is-selected .stella-pdp-pilot-ui__radio {
  border: 5px solid var(--stella-accent);
}

body.stella-pdp-pilot .stella-pdp-pilot-ui__row.is-selected.is-stock .stella-pdp-pilot-ui__radio {
  border-color: var(--stella-stock);
}

body.stella-pdp-pilot .stella-pdp-pilot-ui__name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--stella-ink);
}

body.stella-pdp-pilot .stella-pdp-pilot-ui__meta {
  display: none;
}

body.stella-pdp-pilot .stella-pdp-pilot-ui__price {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--stella-ink);
}

body.stella-pdp-pilot .stella-pdp-pilot-ui__note {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--stella-muted);
}

body.stella-pdp-pilot #product-detail-form .btn-primary,
body.stella-pdp-pilot #product-detail-form button.btn.btn-primary {
  width: 100%;
  min-height: 48px;
  border-radius: 10px !important;
  border: 0 !important;
  background: var(--stella-ink) !important;
  color: #fff !important;
  font-family: Inter, sans-serif;
  font-size: 15px !important;
  font-weight: 600;
  box-shadow: none !important;
}

body.stella-pdp-pilot #product-detail-form .btn-primary:hover {
  background: #1f1f1f !important;
}

@media (max-width: 991px) {
  body.stella-pdp-pilot .p-detail-inner {
    grid-template-columns: 1fr !important;
    column-gap: 0 !important;
    row-gap: 16px !important;
  }

  body.stella-pdp-pilot .p-image-wrapper,
  body.stella-pdp-pilot .p-data-wrapper {
    grid-column: 1 !important;
  }

  body.stella-pdp-pilot .p-image-wrapper {
    grid-row: 1 !important;
  }

  body.stella-pdp-pilot .p-data-wrapper {
    grid-row: 2 !important;
  }

  body.stella-pdp-pilot .p-image {
    aspect-ratio: 1 / 1;
  }

  body.stella-pdp-pilot .p-detail,
  body.stella-pdp-pilot .breadcrumbs {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  body.stella-pdp-pilot .breadcrumbs {
    margin-top: 8px !important;
    font-size: 11px;
  }

  body.stella-pdp-pilot .p-detail-inner-header h1 {
    font-size: 24px !important;
  }
}

@media (max-width: 767px) {
  body.stella-pdp-pilot .breadcrumbs > span {
    flex-wrap: wrap;
  }

  body.stella-pdp-pilot .stella-pdp-pilot-ui__row {
    min-height: 48px;
    padding: 9px 12px;
  }

  body.stella-pdp-pilot .stella-pdp-pilot-ui__name,
  body.stella-pdp-pilot .stella-pdp-pilot-ui__price {
    font-size: 13px;
  }

  body.stella-pdp-pilot .p-thumbnail {
    flex-basis: 60px;
    width: 60px !important;
    height: 80px !important;
  }
}
