/* A single document-length skin. Decorative layers stay behind page content;
   only the two bounded offer links accept clicks. No scroll JS/fixed/sticky art. */
.pcr-page-skin { display: none; }

@media (min-width: 1600px) {
  body.pcr-has-page-skin { position: relative; isolation: isolate; min-height: 100vh; }
  /* One continuous soft background is visible through the central canvas. */
  html:not([data-theme="dark"]):not([data-pcr-sale-bg]):not([data-pcr-layout]) body.pcr-has-page-skin {
    background: linear-gradient(90deg, #f0f5ee 0%, #dcefdc 18%, #e7f3e4 35%, #edf6e9 50%, #e7f3e4 65%, #dcefdc 82%, #f0f5ee 100%);
  }
  html[data-theme="dark"]:not([data-pcr-sale-bg]):not([data-pcr-layout]) body.pcr-has-page-skin {
    background: linear-gradient(90deg, #202d24 0%, #243b2a 18%, #223529 35%, #203328 50%, #223529 65%, #243b2a 82%, #202d24 100%) !important;
  }
  html:not([data-theme="dark"]):not([data-pcr-sale-bg]):not([data-pcr-layout]) .pcr-side-sale::before { background: none; }
  html[data-theme="dark"]:not([data-pcr-sale-bg]):not([data-pcr-layout]) .pcr-side-sale::before { background: none; }
  .pcr-page-skin {
    --pcr-skin-ink: #26451f;
    --pcr-skin-copy: #48623e;
    --pcr-skin-green: 91, 177, 18;
    --pcr-skin-haze: .11;
    --pcr-skin-sky-haze: .18;
    --pcr-skin-art: 1;
    --pcr-skin-art-height: clamp(280px, calc(75vw - 922.5px), 420px);
    display: block;
    position: absolute;
    inset: 0;
    pointer-events: none;
  }
  html[data-theme="dark"] .pcr-page-skin {
    --pcr-skin-ink: #e3f2dd;
    --pcr-skin-copy: #bdceb5;
    --pcr-skin-green: 91, 177, 18;
    --pcr-skin-haze: .18;
    --pcr-skin-sky-haze: .055;
    --pcr-skin-art: .94;
  }
  /* The footer keeps its own opaque background, including on very short pages. */
  body.pcr-has-page-skin > footer { position: relative; z-index: 2; }
  .pcr-side-sale {
    position: absolute;
    top: 0;
    bottom: 0;
    width: calc((100% - var(--pcr-shop-width, 1230px)) / 2);
    overflow: hidden;
  }
  .pcr-side-sale--left { left: 0; --pcr-skin-fade-direction: 90deg; --pcr-skin-glow-x: 100%; }
  .pcr-side-sale--right { right: 0; --pcr-skin-fade-direction: 270deg; --pcr-skin-glow-x: 0%; }
  .pcr-side-sale::before {
    content: "";
    position: absolute;
    inset: 0;
    left: auto;
    width: min(100%, 480px);
    z-index: -1;
    /* Continuous brand colour all the way down; no repeated image tiles. */
    background:
      radial-gradient(ellipse 150% 560px at var(--pcr-skin-glow-x) 490px, rgba(132, 204, 235, var(--pcr-skin-sky-haze)), transparent 90%),
      radial-gradient(ellipse 160% 650px at var(--pcr-skin-glow-x) 490px, rgba(var(--pcr-skin-green), var(--pcr-skin-haze)), transparent 85%),
      radial-gradient(ellipse 130% 1100px at var(--pcr-skin-glow-x) 55%, rgba(var(--pcr-skin-green), .10), transparent 100%),
      radial-gradient(ellipse 160% 750px at var(--pcr-skin-glow-x) 100%, rgba(var(--pcr-skin-green), .14), transparent 95%),
      linear-gradient(90deg, rgba(var(--pcr-skin-green), .05), rgba(var(--pcr-skin-green), .025));
    -webkit-mask-image: linear-gradient(var(--pcr-skin-fade-direction), transparent, #000 70%, #000 92%, transparent);
    mask-image: linear-gradient(var(--pcr-skin-fade-direction), transparent, #000 70%, #000 92%, transparent);
  }
  .pcr-side-sale--right::before { left: 0; right: auto; }
  .pcr-side-sale__visual {
    position: absolute;
    z-index: -1;
    top: 420px;
    right: 0;
    width: min(100%, 280px);
    height: var(--pcr-skin-art-height);
    background: url('/image/catalog/banner/pcr-last-stock-wing-left-20261015-v1.png') center top / contain no-repeat;
    background-image: image-set(url('/image/catalog/banner/pcr-wing-left-560-lossless-20261109.webp') type('image/webp') 2x, url('/image/catalog/banner/pcr-last-stock-wing-left-20261107-lossless.webp') type('image/webp') 3x, url('/image/catalog/banner/pcr-last-stock-wing-left-20261015-v1.png') type('image/png') 3x);
    opacity: var(--pcr-skin-art);
    filter: none;
    mix-blend-mode: normal;
    /* Transparent artwork blends into both themes without a dark image panel. */
  }
  .pcr-side-sale--right .pcr-side-sale__visual {
    left: 0;
    right: auto;
    background-image: url('/image/catalog/banner/pcr-last-stock-wing-right-20261015-v1.png');
    background-image: image-set(url('/image/catalog/banner/pcr-wing-right-560-lossless-20261109.webp') type('image/webp') 2x, url('/image/catalog/banner/pcr-last-stock-wing-right-20261107-lossless.webp') type('image/webp') 3x, url('/image/catalog/banner/pcr-last-stock-wing-right-20261015-v1.png') type('image/png') 3x);
  }
  .pcr-side-sale__link {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(100%, 280px);
    height: calc(var(--pcr-skin-art-height) + 170px);
    margin: 300px auto 0;
    padding: 20px 18px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    color: var(--pcr-skin-ink);
    text-decoration: none;
    pointer-events: auto;
  }
  .pcr-side-sale__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 220px;
    text-align: center;
  }
  .pcr-side-sale__kicker {
    margin-bottom: 9px;
    color: var(--pcr-skin-copy);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .12em;
    text-transform: uppercase;
  }
  .pcr-side-sale--left .pcr-side-sale__link { margin-right: 0; }
  .pcr-side-sale--right .pcr-side-sale__link { margin-left: 0; }
  .pcr-side-sale__title {
    margin-bottom: 10px;
    color: var(--pcr-skin-ink);
    font-size: clamp(20px, 1.2vw, 26px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.025em;
  }
  .pcr-side-sale__copy { max-width: 190px; color: var(--pcr-skin-copy); font-size: 12px; line-height: 1.6; }
  .pcr-side-sale__cta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    max-width: 220px;
    margin-top: auto;
    padding: 10px 14px;
    border: 1px solid rgba(var(--pcr-skin-green), .65);
    border-radius: 0;
    background: #bee97c;
    box-shadow: 0 5px 18px rgba(91, 177, 18, .16);
    color: #1a2b13;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
  }
  .pcr-side-sale__link:hover, .pcr-side-sale__link:focus { color: var(--pcr-skin-ink); text-decoration: none; }
  .pcr-side-sale__link:hover .pcr-side-sale__cta { border-bottom-color: currentColor; }
  /* Keep the call to action legible over the artwork in either theme. */
  html[data-theme="dark"] .pcr-page-skin .pcr-side-sale__cta,
  html[data-theme="dark"] .pcr-page-skin .pcr-side-sale__cta:hover {
    background: #bee97c !important;
    color: #1a2b13 !important;
  }
  .pcr-side-sale__link:focus-visible { outline: 2px solid #5b992c; outline-offset: -5px; }
}
@media (min-width: 1600px) and (max-width: 1779px) {
  .pcr-side-sale__link { padding-inline: 16px; }
  .pcr-side-sale__title { font-size: 20px; }
  .pcr-side-sale__copy { font-size: 11px; }
  .pcr-side-sale__kicker { font-size: 9px; }
  .pcr-side-sale__cta { font-size: 10px; gap: 6px; }
}

/* Narrow screens keep a small, clickable glimpse without covering the shop. */
@media (max-width: 1599px) {
  html:not([data-pcr-layout]):not([data-pcr-sale-bg]) body.pcr-has-page-skin { position: relative; isolation: isolate; }
  html:not([data-theme="dark"]):not([data-pcr-layout]):not([data-pcr-sale-bg]) body.pcr-has-page-skin { background: #e0f0df; }
  html:not([data-pcr-layout]):not([data-pcr-sale-bg]) body.pcr-has-page-skin .pcr-page-skin {
    --pcr-wing-width: 24px;
    display: block;
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
  }
  html:not([data-pcr-layout]):not([data-pcr-sale-bg]) body.pcr-has-page-skin .pcr-side-sale {
    position: absolute;
    top: 180px;
    bottom: 30px;
    width: var(--pcr-wing-width);
    overflow: hidden;
    background: linear-gradient(to bottom, transparent, #e0f0df 70px, #e0f0df calc(100% - 60px), transparent);
  }
  .pcr-side-sale--left { left: 0; }
  .pcr-side-sale--right { right: 0; }
  html:not([data-pcr-layout]):not([data-pcr-sale-bg]) .pcr-side-sale__visual {
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    height: 160px;
    background: url('/image/catalog/banner/pcr-last-stock-wing-left-20261015-v1.png') center / auto 150px no-repeat;
    background-image: image-set(url('/image/catalog/banner/pcr-wing-left-560-lossless-20261109.webp') type('image/webp') 2x, url('/image/catalog/banner/pcr-last-stock-wing-left-20261107-lossless.webp') type('image/webp') 3x, url('/image/catalog/banner/pcr-last-stock-wing-left-20261015-v1.png') type('image/png') 3x);
  }
  html:not([data-pcr-layout]):not([data-pcr-sale-bg]) .pcr-side-sale--right .pcr-side-sale__visual {
    background-image: url('/image/catalog/banner/pcr-last-stock-wing-right-20261015-v1.png');
    background-image: image-set(url('/image/catalog/banner/pcr-wing-right-560-lossless-20261109.webp') type('image/webp') 2x, url('/image/catalog/banner/pcr-last-stock-wing-right-20261107-lossless.webp') type('image/webp') 3x, url('/image/catalog/banner/pcr-last-stock-wing-right-20261015-v1.png') type('image/png') 3x);
  }
  html:not([data-pcr-layout]):not([data-pcr-sale-bg]) .pcr-side-sale__link {
    position: absolute;
    inset: 96px 0 auto;
    height: 168px;
    pointer-events: auto;
  }
  html:not([data-pcr-layout]):not([data-pcr-sale-bg]) .pcr-side-sale__content,
  html:not([data-pcr-layout]):not([data-pcr-sale-bg]) .pcr-side-sale__cta { display: none; }
  html:not([data-pcr-layout]):not([data-pcr-sale-bg]) body.pcr-has-page-skin #main-content > .container,
  html:not([data-pcr-layout]):not([data-pcr-sale-bg]) body.pcr-has-page-skin .wrap-breadcrumb > .container {
    max-width: calc(100% - 48px);
  }
  html[data-theme="dark"] body.pcr-has-page-skin .pcr-side-sale { background: linear-gradient(to bottom, transparent, #263b2b 70px, #263b2b calc(100% - 60px), transparent); }
  /* Wings must not paint over the footer's full-width background. */
  html:not([data-pcr-layout]):not([data-pcr-sale-bg]) body.pcr-has-page-skin > footer { position:relative; z-index:3; }
}
@media (max-width: 767px) {
  html:not([data-pcr-layout]):not([data-pcr-sale-bg]) body.pcr-has-page-skin .pcr-page-skin { --pcr-wing-width: 12px; }
  html:not([data-pcr-layout]):not([data-pcr-sale-bg]) body.pcr-has-page-skin #main-content > .container,
  html:not([data-pcr-layout]):not([data-pcr-sale-bg]) body.pcr-has-page-skin .wrap-breadcrumb > .container { max-width: calc(100% - 24px); }
}


/* Align the wings to the home slider, not to a fixed viewport or page edge. */
@media (min-width: 1600px) {
  body.common-home .pcr-side-sale__link { margin-top: var(--pcr-wing-top, 300px); }
  body.common-home .pcr-side-sale__visual { top: calc(var(--pcr-wing-top, 300px) + 120px); }
}

@media (min-width: 768px) and (max-width: 1599px) {
  html:not([data-pcr-layout]):not([data-pcr-sale-bg]) body.pcr-has-page-skin .pcr-page-skin {
    --pcr-wing-width: clamp(82px, 8vw, 128px);
    --pcr-wing-illustration-height: clamp(120px, 14vw, 180px);
  }
  html:not([data-pcr-layout]):not([data-pcr-sale-bg]) body.pcr-has-page-skin .pcr-side-sale {
    top: 0;
    bottom: 0;
    width: var(--pcr-wing-width);
    background: none;
  }
  html:not([data-pcr-layout]):not([data-pcr-sale-bg]) body.pcr-has-page-skin .pcr-side-sale__visual {
    top: calc(var(--pcr-wing-top, 300px) + 58px);
    height: var(--pcr-wing-illustration-height);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }
  html:not([data-pcr-layout]):not([data-pcr-sale-bg]) body.pcr-has-page-skin .pcr-side-sale__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    inset: var(--pcr-wing-top, 300px) 0 auto;
    height: calc(var(--pcr-wing-illustration-height) + 105px);
    padding: 0 5px;
    text-align: center;
    text-decoration: none;
    color: #26451f;
  }
  html:not([data-pcr-layout]):not([data-pcr-sale-bg]) body.pcr-has-page-skin .pcr-side-sale__content {
    display: block;
  }
  html:not([data-pcr-layout]):not([data-pcr-sale-bg]) body.pcr-has-page-skin .pcr-side-sale__kicker {
    display: block;
    color: #48623e;
    font-size: 9px;
    line-height: 1.3;
  }
  html:not([data-pcr-layout]):not([data-pcr-sale-bg]) body.pcr-has-page-skin .pcr-side-sale__title {
    display: block;
    color: #26451f;
    font-size: clamp(12px, 1.1vw, 15px);
    line-height: 1.2;
  }
  html:not([data-pcr-layout]):not([data-pcr-sale-bg]) body.pcr-has-page-skin .pcr-side-sale__copy { display: none; }
  html:not([data-pcr-layout]):not([data-pcr-sale-bg]) body.pcr-has-page-skin .pcr-side-sale__cta {
    display: block;
    margin-top: auto;
    padding: 6px 4px;
    background: #bee97c;
    color: #1a2b13;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.25;
  }
  html[data-theme="dark"] body.pcr-has-page-skin .pcr-side-sale__title,
  html[data-theme="dark"] body.pcr-has-page-skin .pcr-side-sale__kicker { color: #e3f2dd; }
  html:not([data-pcr-layout]):not([data-pcr-sale-bg]) body.pcr-has-page-skin #main-content > .container,
  html:not([data-pcr-layout]):not([data-pcr-sale-bg]) body.pcr-has-page-skin .wrap-breadcrumb > .container {
    max-width: calc(100% - 2 * clamp(82px, 8vw, 128px));
  }
  /* Keep the fixed newsletter tab away from the compact left wing. */
  html:not([data-pcr-layout]) body.pcr-has-page-skin #brevo-tab.brevo-tab {
    top: auto !important;
    bottom: 0 !important;
    transform: none !important;
  }
}
@media (max-width: 767px) {
  html:not([data-pcr-layout]):not([data-pcr-sale-bg]) body.pcr-has-page-skin .pcr-page-skin { display: none; }
  html:not([data-pcr-layout]):not([data-pcr-sale-bg]) body.pcr-has-page-skin #main-content > .container,
  html:not([data-pcr-layout]):not([data-pcr-sale-bg]) body.pcr-has-page-skin .wrap-breadcrumb > .container { max-width: 100%; }
}
