/* Product-only chrome; the store's native navigation, search, cart and subscription remain. */
body[data-page-type="product"]:has(.opreshyne-pdp) { --op-announcement-height:0px; --op-header-height:80px; padding-top:calc(var(--op-header-height) + var(--op-announcement-height)); background:#fcf9f4; }
body[data-page-type="product"]:has(.opreshyne-pdp):has([id^="shopline-section-"][id$="__announcement-bar"]) { --op-announcement-height:32px; }
body[data-page-type="product"]:has(.opreshyne-pdp) [id^="shopline-section-"][id$="__announcement-bar"] {
  position:fixed!important; inset:0 0 auto!important; z-index:1020; height:auto; min-height:32px;
  color:#1c1c19; background:#f0ede9; border-bottom:1px solid rgba(204,197,189,.3);
}
body[data-page-type="product"]:has(.opreshyne-pdp) .announcement-bar__group-item { min-height:32px; padding:6px 16px; color:#1c1c19; background:#f0ede9; }
body[data-page-type="product"]:has(.opreshyne-pdp) .announcement-bar__group-item-inner { justify-content:center; padding:0; margin:0 auto; }
body[data-page-type="product"]:has(.opreshyne-pdp) .announcement-bar__group-item-content,
body[data-page-type="product"]:has(.opreshyne-pdp) .announcement-bar__group-item-inner .rte { padding:0; margin:0; color:#1c1c19; font:400 11px/20px var(--sort-body-font, "Montserrat", Arial, sans-serif); }
body[data-page-type="product"]:has(.opreshyne-pdp) .announcement-bar__group-item-inner .rte p { margin:0; }
/* Keep a single fixed containing block. Native scroll-up classes must not
   reposition the inner header relative to a second offset. */
body[data-page-type="product"]:has(.opreshyne-pdp) [id^="shopline-section-"][id$="__header"] {
  position:fixed!important; inset:var(--op-announcement-height) 0 auto!important;
  display:block!important; z-index:1019; width:100%; transform:none!important;
}
body[data-page-type="product"]:has(.opreshyne-pdp) theme-sticky-header {
  position:relative!important; inset:auto!important; display:block; width:100%;
  animation:none!important; transform:none!important;
}
body[data-page-type="product"]:has(.opreshyne-pdp) theme-announcement-bar-sticky {
  position:static!important; inset:auto!important; display:block;
}
body[data-page-type="product"]:has(.opreshyne-pdp) .header-section {
  --header-background:252,249,244; --header-color-text:28,28,25;
  --header-column-gap:24px; --header-column-gap-mobile:16px;
  background:rgba(252,249,244,.85); backdrop-filter:blur(12px); box-shadow:0 1px 8px rgba(0,0,0,.04);
  color:#1c1c19; font-family:var(--sort-body-font, "Montserrat", Arial, sans-serif); border:0;
}
body[data-page-type="product"]:has(.opreshyne-pdp) .header__container { background:transparent; }
body[data-page-type="product"]:has(.opreshyne-pdp) .header__container-top-wrap {
  display:grid; grid-template-areas:"logo nav action-bar-right"; grid-template-columns:auto minmax(0,1fr) auto;
  gap:24px; width:100%; max-width:1440px; height:auto; min-height:80px;
  padding:0 clamp(24px,4vw,48px); margin-inline:auto;
}
body[data-page-type="product"]:has(.opreshyne-pdp) .header__logo { margin:0; justify-content:flex-start; }
body[data-page-type="product"]:has(.opreshyne-pdp) .header__logo-image { width:auto; height:clamp(28px,2.5vw,34px); max-height:34px; object-fit:contain; }
body[data-page-type="product"]:has(.opreshyne-pdp) .header__logo-text { font:400 28px/1 var(--sort-body-font, "Montserrat", Arial, sans-serif); }
body[data-page-type="product"]:has(.opreshyne-pdp) .header-nav { justify-self:center; margin:0; }
body[data-page-type="product"]:has(.opreshyne-pdp) .header-nav__menu { gap:32px; flex-wrap:nowrap; }
body[data-page-type="product"]:has(.opreshyne-pdp) .header-nav__menu-item { --nav-menu-item-padding-block:12px; margin:0; min-height:0; }
body[data-page-type="product"]:has(.opreshyne-pdp) .header-nav__menu-item > a { font:400 13px/20px var(--sort-body-font, "Montserrat", Arial, sans-serif); text-transform:uppercase; letter-spacing:.05em; }
body[data-page-type="product"]:has(.opreshyne-pdp) .header-nav__underline { --underline-size:1px; }
body[data-page-type="product"]:has(.opreshyne-pdp) .header-action-bar.right { grid-area:action-bar-right; width:auto; gap:20px; margin:0; }
body[data-page-type="product"]:has(.opreshyne-pdp) .header-action-bar > .button--icon { width:24px; height:28px; padding:0; }
body[data-page-type="product"]:has(.opreshyne-pdp) .header-action-bar > .button--icon .icon,
body[data-page-type="product"]:has(.opreshyne-pdp) .header-action-bar .cart-bubble .icon { width:20px; height:20px; }
body[data-page-type="product"]:has(.opreshyne-pdp) .header-action-bar .theme-locale-picker__inner { gap:12px; font:400 12px/20px var(--sort-body-font, "Montserrat", Arial, sans-serif); }
body[data-page-type="product"]:has(.opreshyne-pdp) .header-action-bar .dropdown-menu__label { font-size:12px; }
body[data-page-type="product"]:has(.opreshyne-pdp) .cart-bubble__count { inset-block-end:auto; top:-5px; inset-inline-start:14px; min-width:16px; height:16px; padding:0 4px; font:500 9px/16px var(--sort-body-font, "Montserrat", Arial, sans-serif); color:#fff; background:#1c1c19; }
body[data-page-type="product"]:has(.opreshyne-pdp) .header-nav-dropdown-panel,
body[data-page-type="product"]:has(.opreshyne-pdp) .header-nav-dropdown-menu { background:#fcf9f4; }
/* Launchers live outside the product component. PageLayout measures the
   real purchase bar and chat height on body, including responsive changes. */
/* Suppress the unsolicited review toast only on redesigned product pages.
   The product review section and its write-review controls remain available. */
body[data-page-type="product"]:has(.opreshyne-pdp) #plugin-product-commentPop {
  display:none!important;
}
body[data-page-type="product"]:has(.opreshyne-pdp) {
  --op-floating-base:calc(var(--op-purchase-bar-height,77px) + 16px + var(--op-preview-toolbar-height,0px) + env(safe-area-inset-bottom,0px));
}
body[data-page-type="product"]:has(.opreshyne-pdp) #J-mc-chat-widget > .preview-button-right:has(.chat-widget-button-circle) {
  bottom:var(--op-floating-base)!important;
}
body[data-page-type="product"]:has(.opreshyne-pdp) #member-system-plugin > button[aria-label="Rewards"],
body[data-page-type="product"]:has(.opreshyne-pdp) #member-system-plugin > button[aria-label="Close"] {
  bottom:calc(var(--op-floating-base) + var(--op-chat-launcher-height,56px) + 12px)!important;
}
/* Keep the installed back-to-top control above the real Rewards launcher. */
body[data-page-type="product"]:has(.opreshyne-pdp) #advc-backTop.advc-back-to-top {
  bottom:calc(var(--op-floating-base) + var(--op-chat-launcher-height,56px) + 12px + var(--op-rewards-launcher-height,50px) + 12px)!important;
}
@media (max-width:639px) {
  body[data-page-type="product"]:has(.opreshyne-pdp) {
    --op-floating-base:calc(var(--op-purchase-bar-height,69px) + 16px + var(--op-preview-toolbar-height,0px) + env(safe-area-inset-bottom,0px));
  }
}

@media (min-width:1024px) {
  body[data-page-type="product"]:has(.opreshyne-pdp) .header__container[type="dropdown"] .header-action-bar.left { display:none; }
}
@media (min-width:1024px) and (max-width:1199px) {
  body[data-page-type="product"]:has(.opreshyne-pdp) .header-nav__menu { gap:20px; }
  body[data-page-type="product"]:has(.opreshyne-pdp) .header-action-bar.right { gap:14px; }
}
@media (max-width:1023px) {
  body[data-page-type="product"]:has(.opreshyne-pdp) .header__container[mobile-layout] .header__container-top-wrap { display:grid; grid-template-areas:"action-bar-left logo action-bar-right"; grid-template-columns:auto auto minmax(0,1fr); gap:16px; }
  body[data-page-type="product"]:has(.opreshyne-pdp) .header-nav,
  body[data-page-type="product"]:has(.opreshyne-pdp) .header__container-bottom { display:none!important; }
  body[data-page-type="product"]:has(.opreshyne-pdp) .header-action-bar.left { grid-area:action-bar-left; display:flex; width:auto; margin:0; }
  body[data-page-type="product"]:has(.opreshyne-pdp) .header-action-bar.left .header-action-bar__menu { display:inline-flex; }
  body[data-page-type="product"]:has(.opreshyne-pdp) .header-action-bar.right { justify-self:end; gap:16px; }
  body[data-page-type="product"]:has(.opreshyne-pdp) .header-action-bar.right .header-action-bar__menu { display:none; }
}
@media (max-width:639px) {
  body[data-page-type="product"]:has(.opreshyne-pdp) .header__container[mobile-layout] .header__container-top-wrap { gap:12px; }
  body[data-page-type="product"]:has(.opreshyne-pdp) .header-action-bar.right { gap:12px; }
  body[data-page-type="product"]:has(.opreshyne-pdp) .header__logo-image { max-width:125px; }
}
