body :is(.product-popup,.gbc-product-page) .gbc-product-heading[data-gbc-product-heading] {
  display: flex; align-items: flex-start; gap: var(--gbc-space-3); position: relative; min-width: 0; width: 100%;
}
body :is(.product-popup,.gbc-product-page) [data-gbc-product-heading] > :is(.productName,.product__title) { flex: 1; min-width: 0; margin: 0; }
body .gbc-product-share {
  flex: 0 0 var(--gbc-touch-target); display: grid; place-items: center;
  box-sizing: border-box; width: var(--gbc-touch-target); height: var(--gbc-touch-target);
  margin: 0; padding: 0; border: 0; border-radius: 50%; background: var(--gbc-color-surface-soft);
  color: var(--gbc-color-text); cursor: pointer;
}
body .gbc-product-share svg { display: block; width: 24px; height: 24px; }
body .gbc-product-rating { margin: var(--gbc-space-2) 0; color: var(--gbc-color-text); font-size: 14px; line-height: 20px; }
body .gbc-product-rating .singleReview { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 0; }
body .gbc-product-rating .singleReviewTitle { margin: 0; font-size: inherit; line-height: inherit; }
body .gbc-product-rating :is(.singleReviewRaiting,.gbc-product-rating__empty) { margin: 0; color: var(--gbc-color-text-muted); font-size: inherit; line-height: inherit; }
/* The legacy listing hides review nouns on phones; product summaries keep them readable. */
body .gbc-product-rating .singleReviewRaiting d { display: inline !important; font-size: inherit; }
body .gbc-product-rating .item-rating { display: flex; align-items: center; margin: 0; }
body .gbc-product-rating svg { display: block; width: 16px; height: 16px; }
body .gbc-product-share:hover { background: var(--gbc-color-brand-soft); }
body .gbc-product-share:focus-visible,body .gbc-product-tags a:focus-visible { outline: 2px solid var(--gbc-color-focus); outline-offset: 2px; }
body .gbc-product-share:disabled { cursor: wait; opacity: .65; }
body .gbc-product-share-status {
  box-sizing: border-box;
  position: absolute; z-index: 5; top: calc(var(--gbc-touch-target) + var(--gbc-space-2)); right: 0;
  max-width: 100%; padding: var(--gbc-space-2) var(--gbc-space-3); border-radius: var(--gbc-radius-card);
  background: var(--gbc-color-surface-soft); color: var(--gbc-color-text); font-size: 13px; line-height: 20px;
}
body .gbc-product-share-status input { box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0; margin-top: var(--gbc-space-2); font-size: 13px; }
body .gbc-product-tags { width: 100%; min-width: 0; margin-top: var(--gbc-space-4); }
body .gbc-product-tags__title { margin: 0 0 var(--gbc-space-3); }
body .gbc-product-tags__links { display: flex; flex-wrap: wrap; gap: var(--gbc-space-2); }
body .gbc-product-tags a {
  display: inline-flex; align-items: center; min-height: var(--gbc-product-tag-height); max-width: 100%;
  padding: var(--gbc-space-1) var(--gbc-space-2); border: 0; border-radius: var(--gbc-radius-card);
  background: var(--gbc-color-surface-soft); color: var(--gbc-color-text); font-size: var(--gbc-product-tag-size);
  line-height: var(--gbc-product-tag-line); text-decoration: none; overflow-wrap: anywhere;
}
body .gbc-product-tags a:hover { background: var(--gbc-color-brand-soft); }
/* Full product and quick view consume the same SKU presentation. */
body#main :is(.gbc-product-page,.product-popup) .listLinkToProducts {
  display: flex; flex-wrap: wrap; align-items: center; min-width: 0;
  justify-content: flex-start; gap: 6px; margin: 0 0 var(--gbc-space-3) !important;
}
body#main :is(.gbc-product-page,.product-popup) .product__sizes { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 6px; }
body#main :is(.gbc-product-page,.product-popup) :is(.product__sizes .product__size,.listLinkToProducts.merged > a) { width: auto; flex: 0 0 auto; }
body#main :is(.gbc-product-page,.product-popup) :is(.listLinkToProductsTitle,.listLinkToProductsTitleColor,.listLinkToProducts_title) {
  flex-basis: 100%; margin: 0; color: var(--gbc-color-text);
  font-size: var(--gbc-font-size-small); line-height: var(--gbc-line-height-small);
  font-weight: var(--gbc-font-weight-medium); text-transform: none;
}
body#main :is(.gbc-product-page,.product-popup) :is(.listLinkToProductsItem,.product__size,.listLinkToProducts.merged > a) {
  display: inline-flex; align-items: center; justify-content: center;
  box-sizing: border-box; flex: 0 0 auto; min-width: 34px; min-height: 32px !important; height: 32px;
  margin: 0; padding: var(--gbc-space-1) var(--gbc-space-2);
  border: 1px solid var(--gbc-color-border); border-radius: var(--gbc-radius-control);
  background: var(--gbc-color-surface); color: var(--gbc-color-text);
  font-size: 13px; line-height: 18px;
}
body#main :is(.gbc-product-page,.product-popup) :is(.listLinkToProductsItem,.product__size,.listLinkToProducts.merged > a):is(.active,:hover) {
  background: var(--gbc-color-text); color: var(--gbc-color-surface); border-color: transparent;
}
body#main :is(.gbc-product-page,.product-popup) .listLinkToProducts a:focus-visible { outline: 2px solid var(--gbc-color-focus); outline-offset: 2px; }
body .gbc-product-page .product-info-headnote .col-auto { width: 100%; min-width: 0; }
body .gbc-product-recommendations { margin-top: var(--gbc-space-6); }
body .gbc-product-recommendations > .ordered-block__title { font-size: var(--gbc-font-size-ui); margin: 0 0 var(--gbc-space-4); }
/* Popup actions share coordinates instead of following the product title. */
body .product-popup {
  --gbc-popup-action-top: calc((100dvh - var(--gbc-dialog-height)) / 2 + var(--gbc-space-3));
  --gbc-popup-action-right: max(var(--gbc-space-3), calc((100vw - var(--gbc-dialog-width)) / 2 + var(--gbc-space-3)));
}
body .product-popup .product-popup__close { position: fixed; top: var(--gbc-popup-action-top); right: var(--gbc-popup-action-right); }
body .product-popup .gbc-product-share {
  position: fixed; z-index: 12; top: var(--gbc-popup-action-top);
  right: calc(var(--gbc-popup-action-right) + var(--gbc-touch-target) + var(--gbc-space-2));
}
body .product-popup .gbc-product-share-status {
  position: fixed; z-index: 14; top: calc(var(--gbc-popup-action-top) + var(--gbc-touch-target) + var(--gbc-space-2));
  right: var(--gbc-popup-action-right); max-width: min(320px, calc(100vw - 2 * var(--gbc-space-4)));
}
body .product-popup .gbc-product-tags:not(.gbc-product-tags--footer) { box-sizing: border-box; padding-inline: var(--gbc-space-4); }
body .product-popup .gbc-product-recommendations > .ordered-block__title { margin-bottom: var(--gbc-space-2); }
body .product-popup [data-gbc-product-description] > .product-popup__extra > .maxwidth-theme { padding-inline: 0; }
body .gbc-product-tags--footer { margin-top: var(--gbc-space-7); padding-bottom: var(--gbc-space-5); }
body#main .product-popup .gbc-product-meta { display: flex; align-items: center; flex-wrap: wrap; gap: var(--gbc-space-3); margin: var(--gbc-space-2) 0 var(--gbc-space-3); }
body#main .product-popup .gbc-product-meta .product__article { margin: 0; font-size: 12px; line-height: 20px; }
body#main .product-popup .gbc-product-meta .gbc-product-rating { margin: 0; }
body#main #product-popup :is(.product-popup__close,.gbc-product-share) { background: var(--gbc-color-surface-soft); }
body#main #product-popup .product-popup__close svg { display: block; width: 24px; height: 24px; transition: transform var(--gbc-transition-fast); }
body#main #product-popup .product-popup__close:is(:hover,:focus-visible) svg { transform: rotate(90deg); }
@media (prefers-reduced-motion:reduce) {
  body#main #product-popup .product-popup__close svg { transition: none; }
  body#main #product-popup .product-popup__close:is(:hover,:focus-visible) svg { transform: none; }
}
/* The mobile bundle loads later; these shared product actions must win its legacy overrides. */
body#main #product-popup .gbc-product-photo-favorite .wish_item { background: var(--gbc-color-surface) !important; }
body#main #product-popup .gbc-product-photo-favorite .wish_item :is(i,svg) { width: 24px !important; height: 24px !important; }
body#main .gbc-product-page .gbc-product-meta { display: flex; align-items: center; flex-wrap: wrap; gap: var(--gbc-space-3); margin-top: var(--gbc-space-2); }
body#main .gbc-product-page .product-main .gbc-product-meta .productCode { position: static; margin: 0; padding: 0; font-size: 12px; line-height: 20px; color: var(--gbc-color-text-muted); }
body#main .gbc-product-page .gbc-product-meta .gbc-product-rating { margin: 0; }
body#main .gbc-product-page .product-main .info_ext_block { margin: 0; padding: var(--gbc-space-3) 0; border: 0; border-top: 1px solid var(--gbc-color-border); border-radius: 0; background: transparent; }
body#main .gbc-product-page .product-main .info_ext_block .title { border-radius: 0; }
/* One fulfilment presentation, whether the host is the full page or quick view. */
body#main :is(.gbc-product-page,#product-popup) .gbc-product-fulfilment {
  /* Existing PROD popup caption, shared with the full page. */
  --gbc-product-fulfilment-title-color: #727272;
  width: 100%; min-width: 0; margin: var(--gbc-space-5) 0; padding: 0; border: 0; border-radius: 0; background: transparent;
}
body#main :is(.gbc-product-page,#product-popup) .gbc-product-fulfilment__title { margin: 0 0 var(--gbc-space-3); font-size: var(--gbc-font-size-small); line-height: 1.2; font-weight: var(--gbc-font-weight-medium); color: var(--gbc-product-fulfilment-title-color); }
body#main :is(.gbc-product-page,#product-popup) .gbc-product-fulfilment__list { display: grid; gap: var(--gbc-space-3); }
body#main :is(.gbc-product-page,#product-popup) .gbc-product-fulfilment__item { display: flex; align-items: flex-start; gap: var(--gbc-space-2); margin: 0; }
body#main :is(.gbc-product-page,#product-popup) .gbc-product-fulfilment__item > img { flex: none; width: 24px; height: 24px; margin: 0; }
body#main :is(.gbc-product-page,#product-popup) .gbc-product-fulfilment__info { min-width: 0; font-size: 14px; line-height: 20px; }
body#main :is(.gbc-product-page,#product-popup) .gbc-product-fulfilment__info .dropdown-info { display: inline-block; position: relative; vertical-align: middle; color: var(--gbc-color-brand); }
body#main :is(.gbc-product-page,#product-popup) .gbc-product-fulfilment__info .dropdown-info__content p { margin: 0; }
/* Native price fields/IDs stay intact; both presentations consume these detail tokens. */
body#main :is(.gbc-product-page .product-main,#product-popup #htmlProduct) {
  --gbc-detail-price-size: 20px; --gbc-detail-price-line: 28px;
  --gbc-detail-old-price-size: 12px; --gbc-detail-old-price-line: 18px;
  --gbc-detail-badge-radius: 30px;
  --gbc-detail-saving-surface: #e6f1e7; --gbc-detail-saving-text: var(--gbc-color-buy);
}
body#main :is(.gbc-product-page .product-main,#product-popup #htmlProduct) :is(.cost.prices.detail .price:not(.discount),.product__price) {
  font-size: var(--gbc-detail-price-size) !important; line-height: var(--gbc-detail-price-line) !important;
  font-weight: var(--gbc-font-weight-medium); color: var(--gbc-color-text); margin: 0;
}
body#main :is(.gbc-product-page .product-main,#product-popup #htmlProduct) :is(.cost.prices.detail .price.discount,.product__price-old) {
  font-size: var(--gbc-detail-old-price-size) !important; line-height: var(--gbc-detail-old-price-line) !important;
  font-weight: 400; color: var(--gbc-color-text-muted); margin: 0; text-decoration: line-through;
}
body#main .gbc-product-page .cost.prices.detail .price :is(.values_wrapper,.price_value,.price_currency) { font-size: inherit !important; line-height: inherit !important; color: inherit; }
body#main .gbc-product-page .cost.prices.detail .price.discount .price_value::after { display: none; }
body#main .gbc-product-page .cost.prices.detail { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: flex-start; gap: var(--gbc-space-2); }
body#main .gbc-product-page .cost.prices.detail .price_matrix_wrapper { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--gbc-space-2); min-width: 0; max-width: 100%; }
body#main :is(.gbc-product-page .product-main,#product-popup #htmlProduct) .cost.prices.detail .prices-wrapper { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--gbc-space-2); width: 100%; min-width: 0; max-width: 100%; margin: 0; }
body#main .gbc-product-page .cost.prices.detail .sale_block { flex-basis: 100%; margin: 0; }
body#main :is(.gbc-product-page .product-main,#product-popup #htmlProduct) :is(.sale-number,.product__price-sale) {
  display: inline-flex; align-items: center; gap: var(--gbc-space-1); padding: 4px 8px; border: 0 !important;
  border-radius: var(--gbc-detail-badge-radius); background: var(--gbc-detail-saving-surface); color: var(--gbc-detail-saving-text); font-size: 11px; line-height: 18px;
}
body#main .gbc-product-page .sale-number :is(span,.price_value,.inner-sale,.value,.text) { padding: 0; border: 0 !important; background: transparent; color: inherit !important; font-size: inherit; line-height: inherit; }
body#main .gbc-product-page .cost.prices.detail > .dropdown-info { position: relative; top: auto; right: auto; margin: 0; align-self: flex-end; }
body#main :is(.gbc-product-page .product-main,#product-popup #htmlProduct) :is(.cost.prices.detail,.product__price-sales) .dropdown-info__content {
  padding: 4px 8px; border-radius: var(--gbc-detail-badge-radius); background: var(--gbc-color-brand-soft); color: var(--gbc-color-brand-text); font-size: 11px; line-height: 18px; font-weight: var(--gbc-font-weight-medium);
}
body#main :is(.gbc-product-page .product-main,#product-popup #htmlProduct) :is(.cost.prices.detail,.product__price-sales) .dropdown-info__content p { margin: 0; font: inherit; color: inherit; }
body#main:has(.gbc-product-page) .gbc-product-footer { padding-inline: 0; max-width: none; }
body#main .gbc-product-page .product-main .info_ext_block:has(> .title:not(:empty)) { padding-block: 0; }
body#main .gbc-product-page .product-main .info_ext_block > .title:not(:empty) {
  display: flex; align-items: center; box-sizing: border-box; min-height: var(--gbc-touch-target);
  margin: 0; padding: 0 var(--gbc-space-5) 0 0; font-size: 14px; line-height: 20px;
}
body#main .gbc-product-page .product-main .info_ext_block > .title::before { top: calc(50% - 6px) !important; bottom: auto; }
body#main .gbc-product-page .product-main .info_ext_block > .text { padding-block: var(--gbc-space-2) var(--gbc-space-3); font-size: 14px; line-height: 20px; }
/* Clear service hierarchy, shared at every width; data and native disclosures stay untouched. */
body#main :is(.gbc-product-page,#product-popup) .gbc-product-fulfilment__info {
  color: var(--gbc-color-text); font-size: var(--gbc-font-size-small); line-height: var(--gbc-line-height-small); font-weight: var(--gbc-font-weight-medium);
}
body#main :is(.gbc-product-page,#product-popup) .gbc-product-fulfilment__info > a {
  color: var(--gbc-color-brand); text-decoration: underline; text-underline-offset: 3px;
  font-weight: var(--gbc-font-weight-medium);
}
body#main :is(.gbc-product-page,#product-popup) .gbc-product-fulfilment__info > a:hover { color: var(--gbc-color-brand-hover); }
body#main :is(.gbc-product-page,#product-popup) .gbc-product-fulfilment__info > a:focus-visible { outline: 2px solid var(--gbc-color-focus); outline-offset: 2px; }
body#main :is(.gbc-product-page .product-main .product-chars,#product-popup) :is(.info_ext_block > .title,.product__subtitle) {
  color: var(--gbc-color-text); font-size: var(--gbc-font-size-small); line-height: var(--gbc-line-height-small); font-weight: var(--gbc-font-weight-semibold); text-transform: none;
}
body#main :is(.gbc-product-page .product-main .product-chars,#product-popup) :is(.info_ext_block > .text,.product__composition-list,.product__composition-list .sostav_item) {
  color: var(--gbc-color-text); font-size: var(--gbc-font-size-small); line-height: var(--gbc-line-height-small); font-weight: var(--gbc-font-weight-medium);
}
/* Photo footer owns its layout, rather than inheriting the old table/thirds at520px. */
body#main .product-popup .gbc-product-photo-footer {
  --gbc-photo-panel-surface: rgba(31,31,31,.75);
  position: absolute; z-index: 2; inset: auto var(--gbc-space-4) var(--gbc-space-3);
  display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: stretch; gap: var(--gbc-space-2);
  padding: 0; border-radius: 0; background: transparent; color: var(--gbc-color-surface);
}
body#main .product-popup .gbc-product-photo-footer .premCard {
  grid-column: 1; grid-row: 1; position: static; display: block;
  box-sizing: border-box; width: auto; min-width: 0; max-width: none; margin: 0; padding: var(--gbc-space-2); border: 0; border-radius: var(--gbc-radius-card); background: var(--gbc-photo-panel-surface);
}
body#main :is(.product-popup .premCardItems,.gbc-product-page .productPageTizers) {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--gbc-space-2) var(--gbc-space-3);
  min-width: 0; margin: 0; list-style: none;
}
body#main .product-popup .premCardItems { width: 100%; padding: 0; grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--gbc-space-1) var(--gbc-space-2); }
body#main .product-popup .gbc-product-photo-footer:not(:has(.item-size)) { grid-template-columns: minmax(0,1fr); }
body#main :is(.product-popup .premCardItems li,.gbc-product-page .productPageTizersItem .item.flexbox--row) {
  display: flex; align-items: center; gap: var(--gbc-space-2); width: auto; min-width: 0; margin: 0; padding: 0;
}
body#main .product-popup .premCardItems li { flex: none; width: auto !important; gap: var(--gbc-space-1); }
body#main .product-popup .premCardItems_ico { display: flex; align-items: center; flex: none; width: 14px; height: 14px; margin: 0; }
body#main .product-popup .premCardItems_ico :is(svg,img) { width: 14px; height: 14px; }
body#main .product-popup .premCardItems_text { min-width: 0; font-size: 10px; line-height: 14px; color: inherit; }
body#main .product-popup .gbc-product-photo-footer .item-size {
  grid-column: 2; grid-row: 1; position: static; display: flex; flex-direction: column; justify-content: center;
  box-sizing: border-box; width: auto; min-width: 0; height: auto; margin: 0; padding: var(--gbc-space-2);
  font-size: 10px; line-height: 14px; background: var(--gbc-photo-panel-surface); border-radius: var(--gbc-radius-card);
}
body#main .product-popup .gbc-product-photo-footer .item-size :is(.item-size-h,.item-size-w) { display: flex; align-items: center; gap: var(--gbc-space-1); margin: 0; }
body#main .product-popup .gbc-product-photo-footer .item-size svg { display: block; width: 12px; height: 12px; }
body#main .gbc-product-page .productPageTizers { display: grid !important; width: 100%; margin-top: var(--gbc-space-4); padding: var(--gbc-space-3); border: 0; border-radius: var(--gbc-radius-card); background: var(--gbc-color-surface-soft); }
body#main .gbc-product-page .productPageTizersItem { display: block !important; min-width: 0; margin: 0; }
body#main .gbc-product-page .productPageTizers .image { flex: none; width: 24px; height: 24px; margin: 0; padding: 0; float: none; }
body#main .gbc-product-page .productPageTizers .image :is(i,svg,img) { width: 24px; height: 24px; margin: 0; top: 0; }
body#main .gbc-product-page .productPageTizers .inner-text { min-width: 0; gap: 2px; text-align: left; }
body#main .gbc-product-page .productPageTizers .inner-text .title { font-size: 13px; line-height: 18px; text-transform: none; }
body#main .gbc-product-page .productPageTizers .inner-text .value { font-size: 12px; line-height: 18px; }
/* Reuse the native Swiper controls; only this related shelf reveals them. */
body#main :is(.gbc-product-recommendations.ordered-block.goods,#product-popup .gbc-product-recommendations.ordered-block.goods) { position: relative; margin-top: var(--gbc-space-7) !important; }
body#main .gbc-product-recommendations .top_wrapper { position: static; }
body#main .gbc-product-recommendations > .ordered-block__title {
  display: flex; align-items: center; box-sizing: border-box; min-height: var(--gbc-space-6);
  margin-bottom: var(--gbc-space-3); padding: 0 calc(2 * var(--gbc-space-6) + var(--gbc-space-5)) 0 0;
}
body#main .gbc-product-recommendations .navigation {
  position: absolute; top: 0; left: auto; right: 0;
  display: flex !important; align-items: center; justify-content: flex-end; gap: var(--gbc-space-2); z-index: 3;
  width: calc(2 * var(--gbc-space-6) + var(--gbc-space-2)); height: var(--gbc-space-6);
  margin: 0; padding: 0; opacity: 1; visibility: visible; transform: none; pointer-events: none;
}
body#main .gbc-product-recommendations .slider-nav {
  position: relative; inset: auto; flex: none; display: grid; place-items: center; box-sizing: border-box; transform: none;
  width: var(--gbc-space-6); height: var(--gbc-space-6); margin: 0; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: var(--gbc-color-text); pointer-events: auto;
  transition: color var(--gbc-transition-fast);
}
body#main .gbc-product-recommendations .slider-nav::before {
  content: ''; position: absolute; display: block; left: 6px; top: calc(50% - .75px);
  width: 20px; height: 1.5px; margin: 0; border: 0; background: currentColor; transform: none;
}
body#main .gbc-product-recommendations .slider-nav::after {
  content: ''; position: absolute; display: block; right: 6px; top: calc(50% - 4px);
  width: 8px; height: 8px; margin: 0; background: none;
  border: 0; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg);
}
body#main .gbc-product-recommendations .swiper-button-prev::after { left: 6px; right: auto; transform: rotate(225deg); }
body#main .gbc-product-recommendations .slider-nav:hover { background: transparent; color: var(--gbc-color-brand); }
body#main .gbc-product-recommendations .slider-nav:focus-visible { outline: 2px solid var(--gbc-color-focus); outline-offset: 2px; }
body#main .gbc-product-recommendations .swiper-button-lock { display: none !important; }
/* Keep full-page content edges; do not alter an open quick-view underneath it. */
body#main:has(.gbc-product-page) .bottom-info-wrapper:not(.product-popup .bottom-info-wrapper) { padding-inline: 0; }
body#main:has(.gbc-product-page) .bottom-info-wrapper:not(.product-popup .bottom-info-wrapper) .gbc-product-recommendations { margin: var(--gbc-space-7) 0 0; }
body#main:has(.gbc-product-page) .bottom-info-wrapper:not(.product-popup .bottom-info-wrapper) .gbc-product-recommendations > .ordered-block__title { margin: 0 0 var(--gbc-space-3); line-height: var(--gbc-product-detail-heading-line); }
/* One card gutter in both shelves, compensated at the outer content edge. */
body#main :is(.gbc-product-recommendations.ordered-block.goods,#product-popup .gbc-product-recommendations.ordered-block.goods) .cur { margin-inline: calc(-1 * var(--gbc-space-3)); }
body#main :is(.gbc-product-recommendations.ordered-block.goods,#product-popup .gbc-product-recommendations.ordered-block.goods) .catalog_block .inner_wrap { padding-top: 0; padding-inline: var(--gbc-space-3) !important; }
/* Legacy popup desktop width adds another 11px gutter outside the native rail. */
body#main #product-popup #htmlSimilar .slider-solution { width: 100% !important; padding-inline: 0 !important; margin-inline: 0 !important; }
/* Adjacent reviews share one lower separator, not two bordered frames. */
body#main:is(:has(.gbc-product-page),:has(.product-popup.is-visible)) :is(#htmlReview,.bottom-info-wrapper .reviews) .blog-comment { border: 0; border-top: 0 !important; border-bottom: 1px solid var(--gbc-color-border); border-radius: 0; }
/* One line below the shared review header, never a second upper card border. */
body#main:is(:has(.gbc-product-page),:has(.product-popup.is-visible)) :is(#htmlReview,.bottom-info-wrapper .reviews) .reviews-title__wrapper {
  padding-bottom: var(--gbc-space-3); margin-bottom: var(--gbc-space-3);
  border-bottom: 1px solid var(--gbc-color-border);
}
/* Compact numeric feedback is local to related shelves; the CMS wording stays
 * in aria-label/title and the primary product summary is unchanged. */
body#main:not(.blog_page) :is(.gbc-product-recommendations,#product-popup .gbc-product-recommendations) .catalog_block .catalog_item .linePriceButton {
  grid-template-columns: auto minmax(0,1fr); align-items: start; gap: var(--gbc-space-1); min-height: var(--gbc-space-6);
}
body#main:not(.blog_page) :is(.gbc-product-recommendations,#product-popup .gbc-product-recommendations) .catalog_block .catalog_item .linePriceButton .singleReview {
  grid-column: 1; grid-row: 1; align-self: start; display: flex; flex-wrap: nowrap; align-items: center;
  width: auto; min-width: 0; max-width: none; margin: 0; padding: var(--gbc-space-1) 0 0;
  gap: var(--gbc-space-1); font-size: var(--gbc-product-tag-size); line-height: var(--gbc-line-height-small);
}
body#main:not(.blog_page) :is(.gbc-product-recommendations,#product-popup .gbc-product-recommendations) .catalog_block .catalog_item .linePriceButton .singleReview :is(.item-rating,.svg,svg) { flex: none; width: 14px; height: 14px; margin: 0; position: static; }
body#main:not(.blog_page) :is(.gbc-product-recommendations,#product-popup .gbc-product-recommendations) .catalog_block .catalog_item .linePriceButton .singleReview :is(.item-rating,.svg) { display: flex; align-items: center; justify-content: center; line-height: 1; }
body#main:not(.blog_page) :is(.gbc-product-recommendations,#product-popup .gbc-product-recommendations) .catalog_block .catalog_item .linePriceButton .singleReviewTitle { flex: none; margin: 0; font: inherit; }
body#main:not(.blog_page) :is(.gbc-product-recommendations,#product-popup .gbc-product-recommendations) .catalog_block .catalog_item .singleReviewRaiting[data-compact-count] { flex: none; margin: 0; gap: 0; font-size: 0; line-height: var(--gbc-line-height-small); }
body#main:not(.blog_page) :is(.gbc-product-recommendations,#product-popup .gbc-product-recommendations) .catalog_block .catalog_item .singleReviewRaiting[data-compact-count]::after { content: attr(data-compact-count); font-size: var(--gbc-product-tag-size); line-height: var(--gbc-line-height-small); }
body#main:not(.blog_page) :is(.gbc-product-recommendations,#product-popup .gbc-product-recommendations) .catalog_block .catalog_item .linePriceButton .cost.prices {
  grid-column: 2; grid-row: 1; justify-self: end; width: max-content; min-width: 0; min-height: 0;
  display: grid; grid-template-columns: minmax(0,1fr); align-items: start; justify-items: end; margin: 0; padding: 0 !important;
}
body#main:not(.blog_page) :is(.gbc-product-recommendations,#product-popup .gbc-product-recommendations) .catalog_block .catalog_item .linePriceButton .price_matrix_wrapper { display: flex; justify-content: flex-end; align-items: flex-start; min-height: 0; margin: 0; padding: 0; }
body#main:not(.blog_page) :is(.gbc-product-recommendations,#product-popup .gbc-product-recommendations) .catalog_block .catalog_item .linePriceButton .prices-wrapper {
  width: max-content; min-width: 0; min-height: 0; max-width: 100%; margin: 0;
  padding: var(--gbc-space-1) var(--gbc-space-2) !important; flex-wrap: nowrap; align-items: center; gap: var(--gbc-space-1);
}
body#main:not(.blog_page) :is(.gbc-product-recommendations,#product-popup .gbc-product-recommendations) .catalog_block .catalog_item .linePriceButton .prices-wrapper .price { font-size: var(--gbc-font-size-small) !important; line-height: var(--gbc-line-height-small) !important; }
body#main:not(.blog_page) :is(.gbc-product-recommendations,#product-popup .gbc-product-recommendations) .catalog_block .catalog_item .linePriceButton .prices-wrapper .price.discount { font-size: 12px !important; }
body#main:not(.blog_page) :is(.gbc-product-recommendations,#product-popup .gbc-product-recommendations) .catalog_block .catalog_item .linePriceButton .prices-wrapper .price :is(.price_value,.price_currency,.values_wrapper) { font-size: inherit !important; line-height: inherit !important; }
body#main:not(.blog_page) :is(.gbc-product-recommendations,#product-popup .gbc-product-recommendations) .catalog_block .catalog_item .linePriceButton .price_matrix_wrapper > .price {
  display: inline-flex; align-items: center; box-sizing: border-box; min-width: 0; min-height: 0; max-width: 100%; margin: 0;
  padding: var(--gbc-space-1) var(--gbc-space-2) !important; font-size: var(--gbc-font-size-small) !important; line-height: var(--gbc-line-height-small) !important;
}
body#main:not(.blog_page) :is(.gbc-product-recommendations,#product-popup .gbc-product-recommendations) .catalog_block .catalog_item .linePriceButton .price_matrix_wrapper > .price :is(.price_value,.price_currency,.values_wrapper) { font-size: inherit !important; line-height: inherit !important; }
@media (min-width:992px) {
  body#main:not(.blog_page) :is(.gbc-product-recommendations,#product-popup .gbc-product-recommendations) .catalog_block .catalog_item .linePriceButton .cost.prices { min-width: var(--gbc-catalog-action-min-width); }
}
@container gbc-product-card (max-width:180px) {
  body#main:not(.blog_page) :is(.gbc-product-recommendations,#product-popup .gbc-product-recommendations) .catalog_block .catalog_item .linePriceButton .singleReview { gap: 2px; }
  body#main:not(.blog_page) :is(.gbc-product-recommendations,#product-popup .gbc-product-recommendations) .catalog_block .catalog_item .linePriceButton .prices-wrapper { flex-direction: column; align-items: flex-end; gap: 0; padding-inline: var(--gbc-space-1) !important; }
  body#main:not(.blog_page) :is(.gbc-product-recommendations,#product-popup .gbc-product-recommendations) .catalog_block .catalog_item .linePriceButton .prices-wrapper .price { font-size: var(--gbc-product-tag-size) !important; }
  body#main:not(.blog_page) :is(.gbc-product-recommendations,#product-popup .gbc-product-recommendations) .catalog_block .catalog_item .linePriceButton .prices-wrapper .price.discount { font-size: 11px !important; line-height: 16px !important; }
  body#main:not(.blog_page) :is(.gbc-product-recommendations,#product-popup .gbc-product-recommendations) .catalog_block .catalog_item .linePriceButton .price_matrix_wrapper > .price { padding-inline: var(--gbc-space-1) !important; font-size: var(--gbc-product-tag-size) !important; }
  /* A native in-cart action replaces the price. Keep its target and feedback
   * separate only in that state; ordinary current prices still share a row. */
  body#main:not(.blog_page) :is(.gbc-product-recommendations,#product-popup .gbc-product-recommendations) .catalog_block .catalog_item .linePriceButton:has(.in-cart:not([style*="display: none"]):not([style*="display:none"])) { grid-template-columns: minmax(0,1fr); }
  body#main:not(.blog_page) :is(.gbc-product-recommendations,#product-popup .gbc-product-recommendations) .catalog_block .catalog_item .linePriceButton:has(.in-cart:not([style*="display: none"]):not([style*="display:none"])) .singleReview { grid-column: 1; grid-row: 2; padding-top: 0; }
  body#main:not(.blog_page) :is(.gbc-product-recommendations,#product-popup .gbc-product-recommendations) .catalog_block .catalog_item .linePriceButton:has(.in-cart:not([style*="display: none"]):not([style*="display:none"])) .cost.prices { grid-column: 1; grid-row: 1; width: 100%; }
  body#main:not(.blog_page) :is(.gbc-product-recommendations,#product-popup .gbc-product-recommendations) .catalog_block .catalog_item .linePriceButton .cost.prices > .offer_buy_block:has(.in-cart:not([style*="display: none"]):not([style*="display:none"])) { position: static; margin: 0; padding: 0; }
  body#main:not(.blog_page) :is(.gbc-product-recommendations,#product-popup .gbc-product-recommendations) .catalog_block .catalog_item .linePriceButton .cost.prices > .offer_buy_block .in-cart:not([style*="display: none"]):not([style*="display:none"]) { width: 100%; max-width: 100%; min-width: min(100%,calc(var(--gbc-catalog-action-min-width) + 2 * var(--gbc-space-4))); }
}
body#main:has(.gbc-product-page) .bottom-info-wrapper:not(.product-popup .bottom-info-wrapper) .gbc-product-recommendations .swiper-wrapper { margin-inline: 0 !important; }
@media (min-width:768px) {
  body .product-popup [data-gbc-product-heading] { padding-right: calc(2 * var(--gbc-touch-target) + var(--gbc-space-4)); }
}
@media (min-width:768px) and (max-width:991px) {
  /* The legacy tablet shell uses 24px; the product text uses the 16px content gutter. */
  body#main:has(.gbc-product-page) .gbc-product-footer {
    margin-inline: calc(var(--gbc-space-4) - var(--gbc-space-5));
    width: calc(100% + 2 * (var(--gbc-space-5) - var(--gbc-space-4)));
  }
}
@media (max-width:767px) {
  body .product-popup { --gbc-popup-action-top: calc(var(--gbc-space-3) + env(safe-area-inset-top)); --gbc-popup-action-right: var(--gbc-space-3); }
  /* Native mobile shelves pin slides to 200px; quick view uses two equal cards. */
  body#main #product-popup #htmlSimilar .slider-solution { display: block !important; }
  body#main #product-popup #htmlSimilar .swiper-wrapper { width: 100% !important; }
  body#main #product-popup #htmlSimilar .swiper-slide { width: calc((100% + 1px) / 2) !important; }
  body#main #product-popup #htmlSimilar .swiper-slide > .item_block { width: 100% !important; }
  body#main .product-popup .gbc-product-photo-favorite { top: calc(var(--gbc-popup-action-top) + var(--gbc-touch-target) + var(--gbc-space-1)) !important; }
  body#main .product-popup .gbc-product-photo-favorite .wish_item_button { padding: 0; }
  body#main #product-popup .product__wrapper { margin-bottom: 0; }
  body#main .product-popup .gbc-product-meta {
    display: flex; align-items: center; flex-wrap: wrap; gap: var(--gbc-space-3);
    margin: var(--gbc-space-1) 0 var(--gbc-space-4);
  }
  body#main :is(.product-popup,.gbc-product-page) .gbc-product-meta .gbc-product-rating { margin: 0; font-size: 13px; line-height: 20px; }
  body#main .product-popup .product__info .listLinkToProducts { margin-bottom: var(--gbc-space-4); }
  body#main .product-popup .product__price-block {
    margin-top: var(--gbc-space-1); padding-top: var(--gbc-space-3);
    border-top: 1px solid var(--gbc-color-border); gap: var(--gbc-space-2);
  }
  body#main .product-popup .product__info .couponCopy--hide-pc {
    margin: 0; font-size: 14px; line-height: 20px; font-weight: 400;
  }
  body#main .product-popup .couponCopyText { font-weight: 400; }
  body#main .product-popup .product__price-sales .dropdown-info__content { font-size: 12px; line-height: 18px; font-weight: 500; }
  body#main .product-popup .product__delivery { margin-block: var(--gbc-space-5); }
  /* Shared review fragment, in quick view and on the full mobile product page. */
  body#main:is(:has(.gbc-product-page),:has(.product-popup.is-visible)) :is(#htmlReview,.bottom-info-wrapper .reviews) .reviews-title__wrapper {
    display: flex; flex-wrap: nowrap; align-items: center; gap: var(--gbc-space-2); margin-bottom: var(--gbc-space-3);
  }
  body#main:is(:has(.gbc-product-page),:has(.product-popup.is-visible)) :is(#htmlReview,.bottom-info-wrapper .reviews) .reviews-title__wrapper .ordered-block__title {
    flex: 1; min-width: 0; width: auto; gap: var(--gbc-space-1); align-items: center;
  }
  body#main:is(:has(.gbc-product-page),:has(.product-popup.is-visible)) :is(#htmlReview,.bottom-info-wrapper .reviews) .right_reviews_info { flex: 0 0 auto; width: auto; margin: 0; }
  body#main:is(:has(.gbc-product-page),:has(.product-popup.is-visible)) :is(#htmlReview,.bottom-info-wrapper .reviews) .reviews-title__wrapper .show-comment.btn {
    display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
    width: auto; min-height: var(--gbc-touch-target); height: var(--gbc-touch-target); padding: var(--gbc-space-2);
    font-size: 12px; line-height: 18px; font-weight: 500; white-space: nowrap;
    border: 0; border-radius: var(--gbc-radius-control); background: var(--gbc-color-surface-soft); color: var(--gbc-color-text);
  }
  body#main:is(:has(.gbc-product-page),:has(.product-popup.is-visible)) :is(#htmlReview,.bottom-info-wrapper .reviews) .show-comment.btn:hover { background: var(--gbc-color-brand-soft); }
  body#main:is(:has(.gbc-product-page),:has(.product-popup.is-visible)) :is(#htmlReview,.bottom-info-wrapper .reviews) .blog-comment {
    margin-block: 0 var(--gbc-space-3); padding: var(--gbc-space-3) 0;
  }
  body#main:is(:has(.gbc-product-page),:has(.product-popup.is-visible)) :is(#htmlReview,.bottom-info-wrapper .reviews) :is(.blog-comment-content,.comment-text__text,.blog-author) { font-size: 14px; line-height: 20px; }
  body#main:is(:has(.gbc-product-page),:has(.product-popup.is-visible)) :is(#htmlReview,.bottom-info-wrapper .reviews) .blog-comment-date { font-size: 12px; line-height: 18px; }
  body#main:is(:has(.gbc-product-page),:has(.product-popup.is-visible)) :is(#htmlReview,.bottom-info-wrapper .reviews) .blog-comment-info { padding-bottom: var(--gbc-space-1); }
  body#main:is(:has(.gbc-product-page),:has(.product-popup.is-visible)) :is(#htmlReview,.bottom-info-wrapper .reviews) .blog-comment-cont { padding: 0; }
  body#main:has(.gbc-product-page) .bottom-info-wrapper:not(.product-popup .bottom-info-wrapper) .gbc-product-recommendations .mobile-offset { padding-inline: 0 !important; }
}
@media (max-width:991px) {
  body#main .gbc-product-page .product-main { margin-top: var(--gbc-space-4); }
  body#main .gbc-product-page .product-main .product-info-headnote { margin: 0 0 var(--gbc-space-4); padding: 0; }
  body#main .gbc-product-page .product-info #pagetitle.productName { font-size: var(--gbc-mobile-section-size,18px); line-height: var(--gbc-mobile-section-line,24px); font-weight: var(--gbc-product-title-weight); }
  body#main .gbc-product-page .product-main .gbc-product-meta { margin: var(--gbc-space-2) 0 var(--gbc-space-4); width: 100%; }
  body#main .gbc-product-page .product-main .product-info-headnote .col-auto { gap: 0; }
  body#main .gbc-product-page .product-main .info_item { display: flex; flex-direction: column; gap: var(--gbc-space-4); }
  body#main .gbc-product-page .product-main .info_item > .listLinkToProducts { order: 0; margin: 0 !important; }
  body#main .gbc-product-page .product-main .middle-info-wrapper { order: 1; padding: var(--gbc-space-3) 0 0; border-top: 1px solid var(--gbc-color-border); }
  body#main .gbc-product-page .product-main .gbc-product-fulfilment { order: 2; }
  body#main .gbc-product-page .product-main .couponCopy { bottom: auto; margin: 0 0 var(--gbc-space-3); padding: 0; font-size: var(--gbc-font-size-small); line-height: var(--gbc-line-height-small); font-weight: var(--gbc-font-weight-medium); background: transparent; }
  body#main .gbc-product-page .couponCopy b { color: var(--gbc-color-brand); }
  body#main .gbc-product-page .product-main .cost.prices.detail { margin: var(--gbc-space-3) 0; }
  body#main .gbc-product-page .product-main .buy_block.buttonsInline { margin: 0; padding: 0; }
  body#main .gbc-product-page .buy_block .counter_wrapp.list { width: 100%; margin: 0; }
  body#main .gbc-product-page .buy_block .button_block { width: 100%; max-width: none; flex: 1 1 auto; min-width: 0; }
}
/* These service and section primitives remain identical on phone, tablet and desktop. */
body#main :is(.gbc-product-page .buy_block .to-cart,.product-popup .product__add-to-cart.to-cart) {
  background: var(--gbc-color-buy) !important; color: var(--gbc-color-on-buy) !important;
  min-height: var(--gbc-control-height); border: 0 !important; border-radius: calc(var(--gbc-control-height) / 2) !important;
  font-size: var(--gbc-font-size-small) !important; line-height: var(--gbc-line-height-small); font-weight: var(--gbc-font-weight-medium);
}
body#main :is(.gbc-product-page .buy_block .to-cart,.product-popup .product__add-to-cart.to-cart):hover { background: var(--gbc-color-buy-hover) !important; }
body#main .gbc-product-tags__title,
body#main :is(.product-popup,.gbc-product-page,.bottom-info-wrapper) .ordered-block__title {
  font-size: var(--gbc-product-detail-heading-size) !important; line-height: var(--gbc-product-detail-heading-line);
  font-weight: var(--gbc-font-weight-heading) !important; color: var(--gbc-color-text); letter-spacing: -.01em;
}
