/* =============================================================================
   productPageRedesign.css - On Yer Bike product page, top section redesign
   Pairs with ../js/productPageRedesign.js.

   Layout follows the OYBB 23-11 design; typography, colours, buttons and
   radii follow the current site (Theme-Global.css, Variables.css,
   detail.css): Poppins via the site's citrfontreg / citrfontbold faces,
   --but-bg-color orange, --color-success basket green, --radius-small /
   --radius-large corners. Tokens point at the site's own variables, so a
   theme change there carries through here.

   Every rule is scoped to html.oyb-pdp, which the script adds on product pages
   only, so this file does nothing anywhere else. Selectors start with
   html.oyb-pdp #webdes_pdp where they must beat modules/CSS/detail/detail.css
   and the platform's citr-pdp.css (both use ids and !important).
   Breakpoints: two columns from 900px; mobile layout below 768px.
   ============================================================================= */

/* ---------- Tokens (site variables, with their current values as fallback) ---------- */
html.oyb-pdp {
    /* Text */
    --oyb-ink: var(--cg-color-1, #000000);
    --oyb-body: var(--cg-color-9, #2b2b2b);
    --oyb-muted: #707070;                          /* site's price / secondary grey */

    /* Brand + actions */
    --oyb-orange: var(--but-bg-color, #dc6b0f);
    --oyb-orange-dark: #b35609;                    /* --but-bg-color, darkened for hover/text */
    --oyb-orange-soft: #fdf3ea;
    --oyb-orange-line: #f1cba9;
    --oyb-buy: var(--oyb-orange);
    --oyb-buy-hover: #389a2e;
    --oyb-good: #2f7d27;                           /* --color-success, darkened to pass AA as text */
    --oyb-good-soft: #ebf7e9;
    --oyb-alert: var(--color-sale, #b1351f);
    --oyb-amber: #8a4a00;
    --oyb-amber-soft: #fdf3ea;

    /* Surfaces + lines */
    --oyb-stage: var(--cg-color-7, #f2f4f8);
    --oyb-line: #e8e8e8;                           /* detail.css accordions */
    --oyb-line-soft: #f2f2f2;
    --oyb-input: #dfdfeb;                          /* platform basket inputs */
    --oyb-dot: #c4c4c4;

    /* Shape */
    --oyb-radius: var(--radius-small, 4px);
    --oyb-radius-card: var(--radius-small, 4px);
    --oyb-radius-stage: var(--radius-large, 6px);

    /* Type: the site's Poppins faces */
    --oyb-display: 'citrfontbold', Poppins, Arial, sans-serif;
    --oyb-text: 'citrfontreg', Poppins, Arial, sans-serif;
}

html.oyb-pdp .oyb-sr {
    position: absolute !important;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* ---------- Page frame ---------- */
html.oyb-pdp #webdes_pdp #pdp_area1 {
    font-family: var(--oyb-text);
    color: var(--oyb-ink);
    background: #fff;
}
html.oyb-pdp #webdes_pdp #pdp_area1 a { color: var(--oyb-ink); }
html.oyb-pdp #webdes_pdp #pdp_area1 a:hover { color: var(--oyb-orange-dark); }
html.oyb-pdp #webdes_pdp #pdp_area1 :focus-visible { outline: 2px solid var(--oyb-ink); outline-offset: 2px; }

html.oyb-pdp #webdes_pdp .productPageTop,
html.oyb-pdp #webdes_pdp .productPageTop .container {
    max-width: none;
    padding: 0;
    border: 0;
}
html.oyb-pdp #webdes_pdp .productPageTop .maxInner {
    box-sizing: border-box;
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px 40px 64px;
    border: 0;
}

/* Breadcrumb */
html.oyb-pdp .oyb-crumbs { margin: 0 0 20px; font-size: 12px; color: var(--oyb-muted); }
html.oyb-pdp .oyb-crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
html.oyb-pdp .oyb-crumbs li { display: flex; gap: 8px; margin: 0; }
html.oyb-pdp .oyb-crumbs li + li::before { content: "/"; color: var(--oyb-muted); }
html.oyb-pdp #webdes_pdp #pdp_area1 .oyb-crumbs a { color: var(--oyb-muted); }
html.oyb-pdp #webdes_pdp #pdp_area1 .oyb-crumbs a:hover { color: var(--oyb-ink); text-decoration: underline; }

/* Two columns: gallery 740 / buy box 484 with a 56 gap at 1280 */
@media screen and (min-width: 900px) {
    html.oyb-pdp #webdes_pdp .productPageTop .oyb-row,
    html.oyb-pdp #webdes_pdp .productPageTop .zflex-w:has(> #prodInfoLeft) {
        display: grid;
        grid-template-columns: minmax(0, 740fr) minmax(0, 484fr);
        gap: 0 clamp(32px, 4.4vw, 56px);
        align-items: start;
    }
}
html.oyb-pdp #webdes_pdp #prodInfoLeft,
html.oyb-pdp #webdes_pdp #prodInfoRight {
    width: auto;
    max-width: none;
    flex: none;
    min-width: 0;
}

/* ---------- Gallery ---------- */
html.oyb-pdp #webdes_pdp #prodInfoLeft {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0;
}
html.oyb-pdp #webdes_pdp #detailMiv {
    position: relative;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 740 / 560;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: var(--oyb-stage);
    border-radius: var(--oyb-radius-stage);
}
html.oyb-pdp #webdes_pdp #detailMiv > a[data-fancybox] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
}
html.oyb-pdp #webdes_pdp #detailMiv > a[data-fancybox] > img {
    width: auto !important;
    height: auto !important;
    max-width: 86.5%;
    max-height: 100%;
    aspect-ratio: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    border-radius: 0;
}
html.oyb-pdp #webdes_pdp #brand-logo-area { display: none !important; }

/* Zoom button: the platform's MIV icon, redrawn */
html.oyb-pdp #webdes_pdp #detailMiv .MIVicon {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    display: block;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border-radius: 50%;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4M11 8v6M8 11h6'/%3E%3C/svg%3E") center / 18px no-repeat;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
    opacity: 1;
}
html.oyb-pdp #webdes_pdp #detailMiv .MIVicon > * { display: none; }

html.oyb-pdp .oyb-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    padding: 8px 12px;
    border-radius: var(--oyb-radius);
    background: var(--oyb-ink);
    color: #fff;
    font-family: var(--oyb-display);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.1em;
    line-height: 1;
    text-transform: uppercase;
    pointer-events: none;
}
html.oyb-pdp .oyb-counter {
    position: absolute;
    right: 20px;
    bottom: 16px;
    z-index: 2;
    font-size: 12px;
    color: var(--oyb-muted);
    pointer-events: none;
}
html.oyb-pdp .oyb-dots,
html.oyb-pdp .oyb-video-pill { display: none; }

/* Thumbnails: 6 across, 84px tall */
html.oyb-pdp #webdes_pdp #prodInfoLeft[data-oyb-gallery] #detailMivThumb { display: none !important; }
html.oyb-pdp .oyb-thumbs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}
html.oyb-pdp .oyb-thumb {
    box-sizing: border-box;
    height: 84px;
    margin: 0;
    padding: 4px;
    overflow: hidden;
    border: 1px solid var(--oyb-line);
    border-radius: var(--oyb-radius);
    background: var(--oyb-stage);
    cursor: pointer;
    font: inherit;
}
html.oyb-pdp .oyb-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}
html.oyb-pdp .oyb-thumb:hover { border-color: var(--oyb-ink); }
html.oyb-pdp .oyb-thumb[aria-pressed="true"] { border: 2px solid var(--oyb-ink); padding: 3px; }
html.oyb-pdp .oyb-thumb--video {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: 0;
    background: var(--oyb-orange);
    color: #fff;
    font-family: var(--oyb-display);
    font-size: 11px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
html.oyb-pdp .oyb-thumb--video:hover { background: var(--oyb-orange-dark); }
html.oyb-pdp .oyb-thumb--more {
    border: 0;
    background: var(--oyb-ink);
    color: #fff;
    font-family: var(--oyb-display);
    font-size: 12px;
}
html.oyb-pdp .oyb-thumb--more:hover { background: var(--oyb-body); }

/* About this build */
html.oyb-pdp .oyb-about {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 20px;
    border-top: 1px solid var(--oyb-line);
}
html.oyb-pdp #webdes_pdp .oyb-about h2 {
    margin: 0;
    font-family: var(--oyb-display);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.25;
    letter-spacing: normal;
    text-transform: none;
    color: var(--oyb-ink);
}
html.oyb-pdp .oyb-about p {
    max-width: 640px;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--oyb-body);
}
html.oyb-pdp #webdes_pdp #pdp_area1 .oyb-about a { align-self: flex-start; font-family: var(--oyb-display); font-size: 14px; text-decoration: underline; }

/* ---------- Buy box ----------
   #firstdetails is a flex column; the design's order is set with `order`
   so platform elements stay where the platform put them in the DOM. */
html.oyb-pdp #webdes_pdp #prodInfoRight { padding: 0; }
html.oyb-pdp #webdes_pdp #prodInfoRight .pdp-detail {
    display: flex;
    flex-direction: column;
    gap: 0;
    height: auto;
}
html.oyb-pdp #webdes_pdp #firstdetails {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 !important;
    background: transparent;
    text-align: left;
}
html.oyb-pdp #webdes_pdp #firstdetails > .pdp-pips          { order: -30; }
html.oyb-pdp #webdes_pdp #firstdetails > .oyb-eyebrow       { order: -20 !important; }
html.oyb-pdp #webdes_pdp #firstdetails > #devProductName    { order: -19 !important; }
html.oyb-pdp #webdes_pdp #firstdetails > .oyb-subtitle      { order: -18 !important; }
html.oyb-pdp #webdes_pdp #firstdetails > .oyb-price         { order: -17 !important; }
html.oyb-pdp #webdes_pdp #firstdetails > .oyb-colours      { order: -16 !important; }
html.oyb-pdp #webdes_pdp #firstdetails > #cart-target       { order: -15 !important; }
html.oyb-pdp #webdes_pdp #firstdetails > .oyb-talk          { order: -14 !important; }
html.oyb-pdp #webdes_pdp #firstdetails > .oyb-offers        { order: -13 !important; }
html.oyb-pdp #webdes_pdp #firstdetails > .oyb-delivery      { order: -12 !important; }
html.oyb-pdp #webdes_pdp #firstdetails > .cc-lookup-service-wrapper { order: -11 !important; }
html.oyb-pdp #webdes_pdp #firstdetails > .oyb-about         { order: -9 !important; margin-top: 24px; }

/* Things the design drops or that now live elsewhere */
html.oyb-pdp #webdes_pdp #firstdetails > div[data-hideshow="false"],
html.oyb-pdp #webdes_pdp #firstdetails > #Brand,
html.oyb-pdp #webdes_pdp #firstdetails > .productPrices:not(.oyb-price):has(> #financeTopPanel:empty),
html.oyb-pdp #webdes_pdp #firstdetails > .col-1.zflex-ws:not(:has(*)) { display: none !important; }
html.oyb-pdp.oyb-pdp--no-pips #webdes_pdp .pdp-pips,
html.oyb-pdp.oyb-pdp--no-pips #webdes_pdp .pdp-pips-container { display: none !important; }
html.oyb-pdp.oyb-pdp--no-sl-delivery #webdes_pdp #cta-delivery { display: none !important; }

/* Brand line (site style: small uppercase, tracked), title, subtitle */
html.oyb-pdp #webdes_pdp #pdp_area1 #firstdetails > .oyb-eyebrow {
    display: block;
    margin: 0 0 8px;
    font-family: var(--oyb-display);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.1em;
    line-height: 1.2;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--oyb-muted);
}
html.oyb-pdp #webdes_pdp #pdp_area1 #firstdetails > .oyb-eyebrow:hover { color: var(--oyb-orange-dark); }
html.oyb-pdp #webdes_pdp #firstdetails > #devProductName {
    margin: 0 0 8px;
    padding: 0;
    border: 0;
    font-family: var(--oyb-display);
    font-weight: 700;
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-transform: none;
    color: var(--oyb-ink);
}
html.oyb-pdp #webdes_pdp #firstdetails > .oyb-subtitle {
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--oyb-muted);
}
html.oyb-pdp #webdes_pdp #firstdetails > .oyb-subtitle[hidden] { display: none; }
html.oyb-pdp #webdes_pdp #firstdetails > #devProductName:has(+ .oyb-subtitle[hidden]) { margin-bottom: 20px; }

/* Price (site style: bold, tight tracking) */
html.oyb-pdp #webdes_pdp #firstdetails > .oyb-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin: 0 0 24px;
    padding: 0;
}
html.oyb-pdp #webdes_pdp #firstdetails > .oyb-price > div { margin: 0; padding: 0; }
html.oyb-pdp #webdes_pdp #firstdetails #productPrice {
    font-family: var(--oyb-display);
    font-weight: 400;
    font-size: 2rem;
    line-height: 1.15;
    letter-spacing: 0em;
    color: var(--oyb-ink);
}
html.oyb-pdp #webdes_pdp #firstdetails #productPriceWas:not(:empty) {
    margin-left: 8px;
    font-size: 16px;
    color: var(--oyb-muted);
    text-decoration: line-through;
}
html.oyb-pdp #webdes_pdp #firstdetails #productPriceDiscount:not(:empty) {
    margin-left: 8px;
    padding: 5px 12px;
    border-radius: 5px;
    background: var(--oyb-alert);
    color: #fff;
    font-size: 12px;
    vertical-align: middle;
}
html.oyb-pdp .oyb-finance { margin: 0; font-size: 14px; line-height: 1.5; color: var(--oyb-body); }
html.oyb-pdp .oyb-finance strong { font-family: var(--oyb-display); font-weight: 700; color: var(--oyb-ink); }
html.oyb-pdp #webdes_pdp #pdp_area1 .oyb-finance a { text-decoration: underline; }

/* ---------- Colour tiles (replace the platform's .productColourPicker) ---------- */
html.oyb-pdp.oyb-pdp--colours #webdes_pdp .productColourPicker { display: none !important; }
html.oyb-pdp #webdes_pdp #firstdetails > .oyb-colours {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 0 24px;
    padding: 0;
}
html.oyb-pdp .oyb-colours-list { display: flex; flex-wrap: wrap; gap: 12px; }
html.oyb-pdp #webdes_pdp #pdp_area1 .oyb-colour {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 88px;
    color: var(--oyb-body);
    text-decoration: none;
}
html.oyb-pdp .oyb-colour-img {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 64px;
    padding: 4px;
    overflow: hidden;
    border: 1px solid var(--oyb-input);
    border-radius: var(--oyb-radius);
    background: #fff;
    transition: border-color .15s;
}
html.oyb-pdp .oyb-colour-img img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
html.oyb-pdp .oyb-colour-name {
    max-width: 100%;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.3;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}
html.oyb-pdp .oyb-colour:hover .oyb-colour-img { border-color: var(--oyb-ink); }
html.oyb-pdp .oyb-colour[aria-current] { cursor: default; }
html.oyb-pdp .oyb-colour[aria-current] .oyb-colour-img { border: 2px solid var(--oyb-ink); padding: 3px; background: var(--oyb-stage); }
html.oyb-pdp #webdes_pdp #pdp_area1 .oyb-colour[aria-current] .oyb-colour-name { font-family: var(--oyb-display); font-weight: 700; color: var(--oyb-ink); }

/* ---------- Sizes + basket button (inside the platform's #cart-target) ---------- */
html.oyb-pdp #webdes_pdp #firstdetails > #cart-target { margin: 0 0 12px; }
html.oyb-pdp #cart-target .add-to-cart-area-dropdown select.oyb-sizes-select { display: none; }
html.oyb-pdp #cart-target .add-to-cart-area-dropdown.has-oyb-sizes {
    margin: 0 0 24px;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
}
html.oyb-pdp #cart-target .add-to-cart-area-dropdown.has-oyb-sizes::after { display: none; }

html.oyb-pdp .oyb-sizes { display: flex; flex-direction: column; gap: 16px; width: 100%; }
html.oyb-pdp .oyb-sizes-row { display: flex; flex-direction: column; gap: 10px; }
/* An option with only one value (e.g. the colour, already shown in the colour
   tiles) is chosen automatically, so its row would be a lone pressed button */
html.oyb-pdp .oyb-sizes-row[data-single="true"] { display: none; }
html.oyb-pdp .oyb-sizes[data-mode="flat"] { gap: 10px; }
html.oyb-pdp .oyb-sizes-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    color: var(--oyb-ink);
}
html.oyb-pdp .oyb-sizes-label { font-family: var(--oyb-display); font-weight: 700; }
html.oyb-pdp .oyb-sizes-value { font-family: var(--oyb-text); font-weight: normal; }
html.oyb-pdp #webdes_pdp .oyb-sizes-heading .productSize {
    display: inline !important;
    margin: 0;
    padding: 0;
    min-width: 0;
    border: 0;
    background: none;
    font-size: 13px;
}
html.oyb-pdp #webdes_pdp .oyb-sizes-heading .productSize[data-hideshow="False"] { display: none !important; }
html.oyb-pdp #webdes_pdp #pdp_area1 .oyb-sizes-heading .productSize a {
    padding: 0;
    min-width: 0 !important;
    color: var(--oyb-ink);
    text-decoration: underline;
    background: none;
}
html.oyb-pdp #webdes_pdp .oyb-sizes-heading .productSize a::before,
html.oyb-pdp #webdes_pdp .oyb-sizes-heading .productSize a::after { display: none; }

/* Size buttons: platform input styling, chosen = black (as .pdp-pips hover) */
html.oyb-pdp .oyb-sizes-group { display: flex; flex-wrap: wrap; gap: 8px; }
html.oyb-pdp .oyb-size {
    box-sizing: border-box;
    min-width: 72px;
    height: 48px;
    margin: 0;
    padding: 0 18px;
    border: 1px solid var(--oyb-input);
    border-radius: var(--oyb-radius);
    background: #fff;
    color: var(--oyb-ink);
    font-family: var(--oyb-display);
    font-weight: 400;
    font-size: 14px;
    cursor: pointer;
    transition: border-color .15s, background .15s, color .15s;
}
html.oyb-pdp .oyb-size:hover { border-color: var(--oyb-ink); }
html.oyb-pdp .oyb-size[aria-pressed="true"] { border-color: var(--oyb-ink); background: var(--oyb-ink); color: #fff; }
html.oyb-pdp .oyb-size--nostock { color: #aaa; background: var(--oyb-line-soft); text-decoration: line-through; }
html.oyb-pdp .oyb-size--nostock[aria-pressed="true"] { text-decoration: none; }
html.oyb-pdp .oyb-size--unavailable { color: #c4c4c4; border-style: dashed; }
html.oyb-pdp .oyb-nudge { animation: oyb-nudge .5s ease-in-out 2; }
@keyframes oyb-nudge {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}
@media (prefers-reduced-motion: reduce) { html.oyb-pdp .oyb-nudge { animation: none; outline: 2px solid var(--oyb-orange); } }

html.oyb-pdp .oyb-stock-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--oyb-display);
    font-weight: 700;
    font-size: 13px;
    color: var(--oyb-good);
}
html.oyb-pdp .oyb-stock-note[data-tone="low"] { color: var(--oyb-orange-dark); }
html.oyb-pdp .oyb-stock-note[hidden] { display: none; }
html.oyb-pdp .oyb-stock-note svg { flex: none; }

/* Platform stock/despatch lines under the button: shown in the stock note
   and delivery card instead */
html.oyb-pdp #cart-target .add-to-cart-area-2 { display: none !important; }

/* Quantity: hidden on bikes (one per order, as designed); platform style elsewhere */
html.oyb-pdp.oyb-pdp--bike #cart-target .add-to-cart-area-dropdown-qty { display: none !important; }
html.oyb-pdp #cart-target .add-to-cart-area-1-row-2 > div { gap: 8px; align-items: stretch; }

/* Basket button: site green, Poppins Bold, 56px, small radius (as now) */
html.oyb-pdp #webdes_pdp #cart-target .add-to-cart-area-button {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 56px;
    margin: 0;
    padding: 0 24px;
    border: 0;
    border-radius: var(--oyb-radius) !important;
    background: var(--oyb-buy) !important;
    color: #fff !important;
    font-family: var(--oyb-display);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: background .15s;
}
html.oyb-pdp #webdes_pdp #cart-target .add-to-cart-area-button:hover { background: var(--oyb-buy-hover) !important; }
html.oyb-pdp #webdes_pdp #cart-target .add-to-cart-area-button::before {
    font: inherit;
    color: inherit;
}
html.oyb-pdp #webdes_pdp #cart-target .add-to-cart-area-button[data-available="false"] { background: var(--oyb-ink) !important; }

/* Until every option is chosen: "Select a size" instead of the platform label */
html.oyb-pdp #webdes_pdp #cart-target .add-to-cart-area.oyb-incomplete .add-to-cart-area-button {
    position: relative;
    background: var(--oyb-ink) !important;
}
html.oyb-pdp #webdes_pdp #cart-target .add-to-cart-area.oyb-incomplete .add-to-cart-area-button::before { visibility: hidden; }
html.oyb-pdp #webdes_pdp #cart-target .add-to-cart-area.oyb-incomplete .add-to-cart-area-button::after {
    content: attr(data-oyb-prompt);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

/* ---------- "Add to your build": shoppable Star Buys (below the delivery / C&C card) ---------- */
/* Collapsible card: header button (title, badge, summary, chevron) + body */
html.oyb-pdp #webdes_pdp #firstdetails > .oyb-upsell {
    order: -10 !important;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    margin: 24px 0 0;
    border: 1px solid var(--oyb-line);
    border-radius: var(--oyb-radius-stage);
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
}
/* Heading + button reset hard: the platform styles h2 and button (margins,
   line-height, fixed heights) and that pushed the title against the top edge */
html.oyb-pdp #webdes_pdp #firstdetails .oyb-upsell h2.oyb-upsell-head {
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    border: 0;
    font: inherit;
    line-height: normal;
    letter-spacing: normal;
    text-transform: none;
}
html.oyb-pdp #webdes_pdp #firstdetails .oyb-upsell h2.oyb-upsell-head::before,
html.oyb-pdp #webdes_pdp #firstdetails .oyb-upsell h2.oyb-upsell-head::after { display: none; }
html.oyb-pdp #webdes_pdp #firstdetails .oyb-upsell-trigger {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 16px;
    border: 0;
    border-radius: var(--oyb-radius-stage);
    background: none;
    color: var(--oyb-ink);
    font: inherit;
    line-height: normal;
    text-align: left;
    text-transform: none;
    letter-spacing: normal;
    cursor: pointer;
}
html.oyb-pdp .oyb-upsell-headtext { display: flex; flex: 1 1 auto; flex-direction: column; gap: 4px; min-width: 0; }
html.oyb-pdp .oyb-upsell-titleline { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
html.oyb-pdp .oyb-upsell-title {
    font-family: var(--oyb-display);
    font-weight: 700;
    font-size: 16px;
    line-height: 1.3;
    color: var(--oyb-ink);
}
html.oyb-pdp .oyb-upsell-summary { font-family: var(--oyb-text); font-size: 13px; line-height: 1.4; color: var(--oyb-muted); }
html.oyb-pdp .oyb-upsell-chevron { flex: none; transition: transform .2s; }
html.oyb-pdp .oyb-upsell[data-open="true"] .oyb-upsell-chevron { transform: rotate(180deg); }
html.oyb-pdp .oyb-upsell-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 16px;
    border-top: 1px solid var(--oyb-line);
}
html.oyb-pdp .oyb-upsell-body[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { html.oyb-pdp .oyb-upsell-chevron { transition: none; } }
html.oyb-pdp .oyb-upsell-tag {
    padding: 3px 7px;
    border-radius: var(--oyb-radius);
    background: var(--oyb-orange);
    color: #fff;
    font-family: var(--oyb-display);
    font-size: 10px;
    line-height: 1.2;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
html.oyb-pdp .oyb-upsell-group { display: flex; flex-direction: column; gap: 0; }
html.oyb-pdp #webdes_pdp #firstdetails .oyb-upsell h3 {
    margin: 0 0 2px;
    padding: 0;
    font-family: var(--oyb-display);
    font-weight: 700;
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--oyb-body);
}
html.oyb-pdp #webdes_pdp #firstdetails .oyb-upsell-note { margin: 0; padding: 0; font-size: 12px; line-height: 1.4; color: var(--oyb-muted); }
html.oyb-pdp #webdes_pdp #firstdetails .oyb-upsell ul { display: flex; flex-direction: column; gap: 0; margin: 4px 0 0; padding: 0; list-style: none; }

html.oyb-pdp .oyb-upsell-item {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 12px 0;
    border: 0;
    border-radius: 0;
    background: none;
}
/* Rows separated by lines, no boxes */
html.oyb-pdp #webdes_pdp #firstdetails .oyb-upsell-item + .oyb-upsell-item { border-top: 1px solid var(--oyb-line); }
html.oyb-pdp #webdes_pdp #firstdetails .oyb-upsell-item:last-child { padding-bottom: 0; }
html.oyb-pdp .oyb-upsell-item::before { display: none; }
/* Added: the green "Added" button says it; the name picks up the green too */
html.oyb-pdp #webdes_pdp #firstdetails .oyb-upsell-item[data-state="inbasket"] .oyb-upsell-name { color: var(--oyb-good); }
html.oyb-pdp #webdes_pdp #firstdetails .oyb-upsell-item[data-state="out"] .oyb-upsell-img,
html.oyb-pdp #webdes_pdp #firstdetails .oyb-upsell-item[data-state="out"] .oyb-upsell-info { opacity: .5; }

html.oyb-pdp .oyb-upsell-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    overflow: hidden;
    border: 1px solid var(--oyb-line);
    border-radius: var(--oyb-radius);
    background: #fff;
}
html.oyb-pdp .oyb-upsell-img img { display: block; width: 100%; height: 100%; object-fit: contain; }
html.oyb-pdp .oyb-upsell-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
html.oyb-pdp .oyb-upsell-name { font-family: var(--oyb-display); font-weight: 700; font-size: 13px; line-height: 1.35; color: var(--oyb-ink); }
html.oyb-pdp .oyb-upsell-price { font-size: 13px; line-height: 1.2; color: var(--oyb-ink); }
html.oyb-pdp .oyb-upsell-price strong { font-family: var(--oyb-display); font-weight: 700; }
html.oyb-pdp .oyb-upsell-price s { margin-left: 4px; color: var(--oyb-muted); }
html.oyb-pdp .oyb-upsell-select {
    box-sizing: border-box;
    max-width: 100%;
    height: 36px;
    margin-top: 6px;
    padding: 0 8px;
    border: 1px solid var(--oyb-input);
    border-radius: var(--oyb-radius);
    background: #fff;
    font-family: var(--oyb-text);
    font-size: 13px;
}
html.oyb-pdp .oyb-upsell-select[hidden] { display: none; }

html.oyb-pdp #webdes_pdp #firstdetails .oyb-upsell-toggle {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 72px;
    height: 34px;
    min-height: 0;
    margin: 0;
    padding: 0 12px;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    border: 1px solid var(--oyb-ink);
    border-radius: var(--oyb-radius);
    background: #fff;
    color: var(--oyb-ink);
    font-family: var(--oyb-display);
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
    cursor: pointer;
}
html.oyb-pdp #webdes_pdp #firstdetails .oyb-upsell-toggle:hover { background: var(--oyb-ink); color: #fff; }
html.oyb-pdp #webdes_pdp #firstdetails .oyb-upsell-item[data-state="busy"] .oyb-upsell-toggle:disabled { background: var(--oyb-ink); color: #fff; opacity: .7; cursor: progress; }
html.oyb-pdp #webdes_pdp #firstdetails .oyb-upsell-item[data-state="inbasket"] .oyb-upsell-toggle:disabled { border-color: var(--oyb-good); background: var(--oyb-good); color: #fff; cursor: default; }
html.oyb-pdp #webdes_pdp #firstdetails .oyb-upsell-item[data-state="out"] .oyb-upsell-toggle:disabled,
html.oyb-pdp #webdes_pdp #firstdetails .oyb-upsell-item[data-state="error"] .oyb-upsell-toggle:disabled { border-color: var(--oyb-line); background: var(--oyb-line-soft); color: var(--oyb-muted); cursor: default; }

html.oyb-pdp .oyb-upsell-details {
    align-self: flex-start;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--oyb-ink);
    font-family: var(--oyb-display);
    font-size: 13px;
    text-decoration: underline;
    cursor: pointer;
}
html.oyb-pdp .oyb-upsell-details:hover { color: var(--oyb-orange-dark); }
html.oyb-pdp .oyb-upsell-status { margin: 0; font-size: 13px; line-height: 1.5; color: var(--oyb-body); }
html.oyb-pdp .oyb-upsell-status[hidden] { display: none; }
html.oyb-pdp .oyb-upsell-status[data-tone="ok"] { color: var(--oyb-good); }
html.oyb-pdp .oyb-upsell-status[data-tone="error"] { color: var(--oyb-alert); }
html.oyb-pdp #webdes_pdp #pdp_area1 .oyb-upsell-status a { color: inherit; text-decoration: underline; }

/* What the section replaces while it's showing */
html.oyb-pdp.oyb-pdp--upsell-no-offers #webdes_pdp #firstdetails > .oyb-offers,
html.oyb-pdp.oyb-pdp--upsell-no-sl-starbuys #webdes_pdp #cta-starbuys { display: none !important; }

@media screen and (max-width: 767.98px) {
    html.oyb-pdp #webdes_pdp #firstdetails > .oyb-upsell { margin-top: 20px; }
    html.oyb-pdp #webdes_pdp #firstdetails .oyb-upsell-trigger { padding: 14px; }
    html.oyb-pdp .oyb-upsell-body { padding: 14px; }
    html.oyb-pdp .oyb-upsell-item { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; }
    html.oyb-pdp .oyb-upsell-img { width: 44px; height: 44px; }
    html.oyb-pdp #webdes_pdp #firstdetails .oyb-upsell-toggle { min-width: 0; padding: 0 12px; }
}

/* Talk to us: white outlined row - chat icon, "Talk to us about <name>"
   (name bold, wraps left-aligned), arrow. Ids in the selectors so the site's
   button styles (grey fill, centring) don't win. */
html.oyb-pdp #webdes_pdp #firstdetails > .oyb-talk {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 52px;
    height: auto;
    margin: 0 0 24px;
    padding: 12px 16px;
    border: 1px solid var(--oyb-ink);
    border-radius: var(--oyb-radius);
    background: #fff !important;
    color: var(--oyb-ink) !important;
    font-family: var(--oyb-text);
    font-weight: normal;
    font-size: 14px;
    line-height: 1.35;
    letter-spacing: normal;
    text-align: left;
    text-transform: none;
    box-shadow: none;
    cursor: pointer;
    transition: background .15s, color .15s;
}
html.oyb-pdp #webdes_pdp #firstdetails > .oyb-talk:hover { background: var(--oyb-ink) !important; color: #fff !important; }
html.oyb-pdp #webdes_pdp #firstdetails > .oyb-talk svg { flex: none; }
html.oyb-pdp .oyb-talk-text { flex: 1 1 auto; min-width: 0; }
html.oyb-pdp .oyb-talk-text strong { font-family: var(--oyb-display); font-weight: 400; }
html.oyb-pdp .oyb-talk-arrow { transition: transform .15s; }
html.oyb-pdp .oyb-talk:hover .oyb-talk-arrow { transform: translateX(2px); }
/* Included offers: orange-tinted panel */
html.oyb-pdp .oyb-offers {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0 0 24px;
    padding: 16px;
    border: 1px solid var(--oyb-orange-line);
    border-radius: var(--oyb-radius-card);
    background: var(--oyb-orange-soft);
}
html.oyb-pdp #webdes_pdp .oyb-offers h2 {
    margin: 0;
    font-family: var(--oyb-display);
    font-weight: 700;
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--oyb-ink);
}
html.oyb-pdp .oyb-offers ul { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
html.oyb-pdp .oyb-offers li { display: flex; align-items: center; gap: 12px; margin: 0; padding: 0; }
html.oyb-pdp .oyb-offers li::before { display: none; }
html.oyb-pdp .oyb-offers svg { flex: none; color: var(--oyb-orange); }
html.oyb-pdp .oyb-offers-label { flex-grow: 1; font-family: var(--oyb-display); font-weight: 700; font-size: 14px; }
html.oyb-pdp #webdes_pdp #pdp_area1 .oyb-offers a { font-size: 13px; text-decoration: underline; }

/* ---------- Delivery + Click & Collect: one card ---------- */
/* #webdes_pdp #firstdetails prefix: the platform's `#firstdetails > div
   { margin: 0 0 8px; padding: 0 }` would otherwise strip the padding */
html.oyb-pdp #webdes_pdp #firstdetails > .oyb-delivery {
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 0;
    padding: 16px;
    border: 1px solid var(--oyb-line);
    border-radius: var(--oyb-radius-card) var(--oyb-radius-card) 0 0;
    background: #fff;
}
html.oyb-pdp #webdes_pdp #firstdetails > .oyb-delivery.oyb-delivery--solo { border-radius: var(--oyb-radius-card); }
html.oyb-pdp .oyb-delivery svg { flex: none; color: var(--oyb-ink); }
html.oyb-pdp .oyb-delivery-text { display: flex; flex-direction: column; gap: 2px; }
html.oyb-pdp .oyb-delivery-title { font-family: var(--oyb-display); font-weight: 700; font-size: 14px; }
html.oyb-pdp .oyb-delivery-sub { font-size: 13px; line-height: 1.5; color: var(--oyb-body); }
html.oyb-pdp .oyb-delivery-sub[hidden],
html.oyb-pdp .oyb-collect[hidden] { display: none; }
html.oyb-pdp .oyb-delivery-sub strong,
html.oyb-pdp .oyb-collect strong { font-family: var(--oyb-display); font-weight: 700; color: var(--oyb-ink); }
html.oyb-pdp .oyb-delivery-sub strong.oyb-good,
html.oyb-pdp .oyb-collect strong.oyb-good { color: var(--oyb-good); }

html.oyb-pdp #webdes_pdp #firstdetails > .cc-lookup-service-wrapper {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0 !important;
    padding: 16px 16px 16px 52px !important;
    border: 1px solid var(--oyb-line);
    border-top: 0;
    border-radius: 0 0 var(--oyb-radius-card) var(--oyb-radius-card);
    background: #fff;
}
html.oyb-pdp #webdes_pdp .cc-lookup-service-wrapper > div { margin: 0; }

/* Title row: the platform lays title + tagline out space-between; stack them */
html.oyb-pdp #webdes_pdp .cc-lookup-service-wrapper > .oyb-cc-head,
html.oyb-pdp #webdes_pdp .cc-lookup-service-wrapper > div:has(> #cc-title) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 2px;
}
html.oyb-pdp #webdes_pdp .cc-lookup-service-wrapper #cc-title {
    position: relative;
    font-family: var(--oyb-display);
    font-size: 14px;
    color: var(--oyb-ink);
}
html.oyb-pdp #webdes_pdp .cc-lookup-service-wrapper #cc-title::before {
    content: "";
    position: absolute;
    left: -36px;
    top: 50%;
    width: 22px;
    height: 22px;
    margin-top: -11px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Cpath d='M4 10l1.5-5h13L20 10M4 10v10h16V10M4 10h16'/%3E%3Cpath d='M10 20v-5h4v5'/%3E%3C/svg%3E") center / 22px no-repeat;
}
html.oyb-pdp #webdes_pdp .cc-lookup-service-wrapper #cc-tagline { font-family: var(--oyb-text); font-size: 12px; color: var(--oyb-muted); }
html.oyb-pdp .oyb-collect { font-size: 13px; color: var(--oyb-body); }

/* Postcode lookup.
   Platform markup: .entrysection > [.lookupbutton-location, .divider (hidden),
   .cc-lookup-service-entry > [input, .lookupbutton.icon-search]].
   The platform draws .cc-lookup-service-entry as one 47px bordered box around
   input + button; here they become a bordered input and a separate "Check"
   button, as in the design. */
html.oyb-pdp #webdes_pdp .cc-lookup-service-entrysection {
    display: flex;
    align-items: stretch;
    gap: 8px;
    margin: 0;
}
html.oyb-pdp #webdes_pdp .cc-lookup-service-entrysection > div { margin: 0; }
html.oyb-pdp #webdes_pdp .cc-lookup-service-entrysection .cc-lookup-service-entry {
    display: flex;
    flex: 1 1 auto;
    gap: 8px;
    height: auto;
    line-height: normal;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: none;
}
html.oyb-pdp #webdes_pdp .cc-lookup-service-entrysection .cc-lookup-service-entry > * {
    box-sizing: border-box;
    height: 44px;
    line-height: normal;
}
html.oyb-pdp #webdes_pdp .cc-lookup-service-entrysection .cc-lookup-service-entry input {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0 12px;
    border: 1px solid var(--oyb-input);
    border-radius: var(--oyb-radius);
    background: #fff;
    font-family: var(--oyb-text);
    font-size: 14px;
    text-transform: none;
}
html.oyb-pdp #webdes_pdp .cc-lookup-service-entrysection .cc-lookup-service-entry input:focus { border-color: var(--oyb-ink); }

/* Search button: the platform's icon-font glyph doesn't render, so label it "Check" */
html.oyb-pdp #webdes_pdp .cc-lookup-service-entrysection .cc-lookup-service-entry .cc-lookup-service-lookupbutton {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0 18px;
    border: 0;
    border-radius: var(--oyb-radius);
    background: var(--oyb-ink) !important;
    color: #fff !important;
    cursor: pointer;
}
html.oyb-pdp #webdes_pdp .cc-lookup-service-entrysection .cc-lookup-service-entry .cc-lookup-service-lookupbutton:hover { background: var(--oyb-body) !important; }
html.oyb-pdp #webdes_pdp .cc-lookup-service-entrysection .cc-lookup-service-entry .cc-lookup-service-lookupbutton::before {
    content: "Check";
    display: block;
    width: auto;
    height: auto;
    margin: 0;
    font-family: var(--oyb-display) !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #fff;
    background: none;
    -webkit-mask: none;
    mask: none;
}
html.oyb-pdp #webdes_pdp .cc-lookup-service-entrysection .cc-lookup-service-entry .cc-lookup-service-lookupbutton::after { display: none; }

/* "Use my location": 44px square with the crosshair icon detail.css adds */
html.oyb-pdp #webdes_pdp .cc-lookup-service-entrysection .cc-lookup-service-lookupbutton-location {
    box-sizing: border-box;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    line-height: 1;
    border: 1px solid var(--oyb-input);
    border-radius: var(--oyb-radius);
    background: #fff;
    color: var(--oyb-ink);
    cursor: pointer;
}
html.oyb-pdp #webdes_pdp .cc-lookup-service-entrysection .cc-lookup-service-lookupbutton-location:hover { border-color: var(--oyb-ink); }
html.oyb-pdp #webdes_pdp .cc-lookup-service-wrapper a { font-size: 12px; }

/* Store results: name + opening hours, availability pills */
html.oyb-pdp #webdes_pdp .cc-lookup-service-lookupresults { display: flex; flex-direction: column; gap: 0; }
html.oyb-pdp #webdes_pdp .cc-lookup-service-lookupresults-store {
    margin: 0;
    padding: 8px 0;
    border: 0;
    border-bottom: 1px solid var(--oyb-line-soft);
    border-radius: 0;
    background: none;
    font-size: 12px;
    color: var(--oyb-muted);
}
html.oyb-pdp #webdes_pdp .cc-lookup-service-lookupresults-store:last-child { border-bottom: 0; }
html.oyb-pdp #webdes_pdp .cc-lookup-service-lookupresults-store .ccservice-results-padding-8 { padding: 0; }
html.oyb-pdp #webdes_pdp .cc-lookup-service-lookupresults-store---name { font-family: var(--oyb-display); font-size: 14px; color: var(--oyb-ink); }
html.oyb-pdp #webdes_pdp .cc-lookup-service-lookupresults-store [data-leadtimeavailability] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 6px;
}
html.oyb-pdp #webdes_pdp .cc-lookup-service-lookupresults-store [data-leadtime]:not(:empty),
html.oyb-pdp #webdes_pdp .cc-lookup-service-lookupresults-store [data-availability]:not([data-availability=""]) {
    padding: 4px 10px;
    border-radius: var(--oyb-radius);
    font-family: var(--oyb-display);
    font-size: 12px;
    line-height: 1.2;
}
html.oyb-pdp #webdes_pdp .cc-lookup-service-lookupresults-store [data-leadtime] { color: var(--oyb-amber); background: var(--oyb-amber-soft); }
html.oyb-pdp #webdes_pdp .cc-lookup-service-lookupresults-store [data-availability] { color: var(--oyb-good); background: var(--oyb-good-soft); }

/* ---------- GTM "Stock position" panel (#cl-stock-position) ----------
   Rendered by a Google Tag Manager tag (GTM-WQZPT32F); the script moves it into
   the C&C card above the postcode search. Row markup:
   li.cl-sp-store.cl-sp-good|wait|bad > .cl-sp-dot, .cl-sp-store-top > .cl-sp-name,
   .cl-sp-availability, .cl-sp-meta > (.cl-sp-chip, span lead time), .cl-sp-hours
   Laid out as the design: name + opening hours left, status pill right. */
html.oyb-pdp #webdes_pdp #cl-stock-position {
    --cl-sp-text: var(--oyb-ink);
    --cl-sp-muted: var(--oyb-muted);
    --cl-sp-border: var(--oyb-line-soft);
    --cl-sp-good: var(--oyb-good);
    --cl-sp-wait: var(--oyb-amber);
    --cl-sp-bad: var(--oyb-alert);
    --cl-sp-heading: var(--oyb-ink);
    --cl-sp-chip-bg: var(--oyb-line-soft);
    --cl-sp-radius: var(--oyb-radius);
    margin: 0;
    font-family: var(--oyb-text);
    font-size: 13px;
}
html.oyb-pdp #webdes_pdp #cl-stock-position .cl-sp-list { gap: 0; }
html.oyb-pdp #webdes_pdp #cl-stock-position .cl-sp-store {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "name status" "hours status";
    align-items: center;
    column-gap: 12px;
    row-gap: 2px;
    margin: 0;
    padding: 8px 0;
    border-top: 1px solid var(--oyb-line-soft);
}
html.oyb-pdp #webdes_pdp #cl-stock-position .cl-sp-store:first-child { padding-top: 0; border-top: 0; }
html.oyb-pdp #webdes_pdp #cl-stock-position .cl-sp-store:last-child { padding-bottom: 0; }
html.oyb-pdp #webdes_pdp #cl-stock-position .cl-sp-store::before { display: none; }

/* The dot, distance and availability sentence repeat what the pill and the
   stock note above already say */
html.oyb-pdp #webdes_pdp #cl-stock-position .cl-sp-dot,
html.oyb-pdp #webdes_pdp #cl-stock-position .cl-sp-distance,
html.oyb-pdp #webdes_pdp #cl-stock-position .cl-sp-availability,
html.oyb-pdp #webdes_pdp #cl-stock-position .cl-sp-meta > span:not(.cl-sp-chip) { display: none; }

html.oyb-pdp #webdes_pdp #cl-stock-position .cl-sp-store-top { grid-area: name; display: block; }
html.oyb-pdp #webdes_pdp #cl-stock-position .cl-sp-name {
    font-family: var(--oyb-display);
    font-weight: 400;
    font-size: 14px;
    color: var(--oyb-ink);
}
html.oyb-pdp #webdes_pdp #cl-stock-position .cl-sp-hours {
    grid-area: hours;
    margin: 0;
    font-size: 12px;
    color: var(--oyb-muted);
}
html.oyb-pdp #webdes_pdp #cl-stock-position .cl-sp-meta {
    grid-area: status;
    justify-self: end;
    margin: 0;
}
html.oyb-pdp #webdes_pdp #cl-stock-position .cl-sp-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: var(--oyb-radius);
    font-family: var(--oyb-display);
    font-weight: 700;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
}
html.oyb-pdp #webdes_pdp #cl-stock-position .cl-sp-good .cl-sp-chip { background: var(--oyb-good-soft); color: var(--oyb-good); }
html.oyb-pdp #webdes_pdp #cl-stock-position .cl-sp-wait .cl-sp-chip { background: var(--oyb-amber-soft); color: var(--oyb-amber); }

/* Not collectable from a store: no pill, so show the reason on the right instead */
html.oyb-pdp #webdes_pdp #cl-stock-position .cl-sp-bad .cl-sp-availability {
    display: block;
    grid-area: status;
    justify-self: end;
    font-family: var(--oyb-display);
    font-size: 12px;
    color: var(--oyb-alert);
}

/* Loading / message states */
html.oyb-pdp #webdes_pdp #cl-stock-position .cl-sp-message { font-size: 13px; }

@media screen and (max-width: 767.98px) {
    html.oyb-pdp #webdes_pdp #cl-stock-position .cl-sp-chip { padding: 4px 8px; font-size: 11px; }
}

/* ---------- sitelocal.js accordions under the buy box (detail.css look kept) ---------- */
html.oyb-pdp #webdes_pdp #seconddetails {
    max-width: none;
    margin: 24px 0 0;
    padding: 0 !important;
    background: transparent;
}
html.oyb-pdp #webdes_pdp #seconddetails .reasons {
    font-family: var(--oyb-display);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--oyb-ink);
}

/* ---------- Sticky basket bar (mobile) ---------- */
html.oyb-pdp .oyb-sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 740;   /* under --z-fab / header / modals */
    box-sizing: border-box;
    display: none;
    align-items: center;
    gap: 12px;
    padding: 12px 16px calc(16px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--oyb-line);
    background: #fff;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
    font-family: var(--oyb-text);
    color: var(--oyb-ink);
    transform: translateY(110%);
    transition: transform .3s cubic-bezier(.32, .72, 0, 1);
}
html.oyb-pdp .oyb-sticky.is-visible { transform: translateY(0); }
html.oyb-pdp .oyb-sticky-price { display: flex; flex-direction: column; }
html.oyb-pdp .oyb-sticky-now { font-family: var(--oyb-display); font-weight: 700; font-size: 18px; line-height: 1.2; letter-spacing: -0.03em; }
html.oyb-pdp .oyb-sticky-month { font-size: 12px; color: var(--oyb-muted); }
html.oyb-pdp .oyb-sticky-month[hidden] { display: none; }
html.oyb-pdp .oyb-sticky-btn {
    flex-grow: 1;
    height: 52px;
    margin: 0;
    border: 0;
    border-radius: var(--oyb-radius);
    background: var(--oyb-buy);
    color: #fff;
    font-family: var(--oyb-display);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
}
html.oyb-pdp .oyb-sticky-btn:active { background: var(--oyb-buy-hover); }
@media (prefers-reduced-motion: reduce) { html.oyb-pdp .oyb-sticky { transition: none; } }

/* ---------- Tablet: stacked columns ---------- */
@media screen and (max-width: 899.98px) {
    html.oyb-pdp #webdes_pdp .productPageTop .oyb-row,
    html.oyb-pdp #webdes_pdp .productPageTop .zflex-w:has(> #prodInfoLeft) {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap; /* a wrapping column makes Chrome size #prodInfoRight far too tall (big gap under the buy box) */
        gap: 32px;
    }
    html.oyb-pdp #webdes_pdp .productPageTop .oyb-row > #prodInfoRight { flex-direction: column; align-items: stretch; }
}

/* ---------- Mobile (390 design) ---------- */
@media screen and (max-width: 767.98px) {
    html.oyb-pdp #webdes_pdp .productPageTop .maxInner { padding: 0 0 32px; }
    html.oyb-pdp .oyb-crumbs { display: none; }
    html.oyb-pdp #webdes_pdp .productPageTop .oyb-row,
    html.oyb-pdp #webdes_pdp .productPageTop .zflex-w:has(> #prodInfoLeft) { gap: 20px; }

    /* Full-bleed stage, swipe + dots instead of thumbnails */
    html.oyb-pdp #webdes_pdp #prodInfoLeft { gap: 0; }
    html.oyb-pdp #webdes_pdp #detailMiv { aspect-ratio: 390 / 290; border-radius: 0; touch-action: pan-y; }
    html.oyb-pdp #webdes_pdp #detailMiv > a[data-fancybox] > img { max-width: 92%; }
    html.oyb-pdp #webdes_pdp #detailMiv .MIVicon { display: none; }
    html.oyb-pdp .oyb-thumbs,
    html.oyb-pdp .oyb-counter { display: none; }
    html.oyb-pdp .oyb-badge { top: 14px; left: 14px; padding: 6px 10px; font-size: 10px; }
    html.oyb-pdp .oyb-dots {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 12px;
        z-index: 2;
        display: flex;
        justify-content: center;
        gap: 6px;
        pointer-events: none;
    }
    html.oyb-pdp .oyb-dots span { width: 6px; height: 6px; border-radius: 3px; background: var(--oyb-dot); transition: width .2s; }
    html.oyb-pdp .oyb-dots span.is-active { width: 18px; background: var(--oyb-ink); }
    html.oyb-pdp .oyb-video-pill {
        position: absolute;
        right: 12px;
        bottom: 8px;
        z-index: 3;
        display: flex;
        align-items: center;
        gap: 4px;
        height: 32px;
        margin: 0;
        padding: 0 12px;
        border: 0;
        border-radius: var(--oyb-radius);
        background: var(--oyb-orange);
        color: #fff;
        font-family: var(--oyb-display);
        font-size: 11px;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        cursor: pointer;
    }
    html.oyb-pdp .oyb-video-pill svg { width: 14px; height: 14px; }

    html.oyb-pdp #webdes_pdp #prodInfoRight { padding: 0 16px; }
    html.oyb-pdp #webdes_pdp #pdp_area1 #firstdetails > .oyb-eyebrow { font-size: 11px; }
    html.oyb-pdp #webdes_pdp #firstdetails > #devProductName { font-size: 22px; line-height: 1.25; }
    html.oyb-pdp #webdes_pdp #firstdetails > .oyb-subtitle { margin-bottom: 18px; font-size: 13px; }
    html.oyb-pdp #webdes_pdp #firstdetails > .oyb-price { margin-bottom: 20px; }
    html.oyb-pdp #webdes_pdp #firstdetails #productPrice { font-size: 1.75rem; }
    html.oyb-pdp .oyb-finance { font-size: 13px; }
    html.oyb-pdp .oyb-size { min-width: 0; }
    html.oyb-pdp .oyb-colours-list { gap: 8px; }
    html.oyb-pdp #webdes_pdp #pdp_area1 .oyb-colour,
    html.oyb-pdp .oyb-colour-img { width: 76px; }
    html.oyb-pdp .oyb-colour-img { height: 56px; }
    html.oyb-pdp #webdes_pdp #cart-target .add-to-cart-area-button { min-height: 52px; }
    html.oyb-pdp #webdes_pdp #firstdetails > .oyb-talk { margin-bottom: 20px; padding: 12px 14px; }
    html.oyb-pdp .oyb-offers { gap: 10px; margin-bottom: 20px; padding: 14px; }
    html.oyb-pdp .oyb-offers svg { display: none; }
    html.oyb-pdp #webdes_pdp #firstdetails > .oyb-delivery { padding: 14px; }
    html.oyb-pdp .oyb-delivery svg { display: none; }
    html.oyb-pdp #webdes_pdp #firstdetails > .cc-lookup-service-wrapper { padding: 14px !important; }
    html.oyb-pdp #webdes_pdp .cc-lookup-service-wrapper #cc-title::before { display: none; }
    html.oyb-pdp .oyb-about { padding-top: 18px; }
    html.oyb-pdp #webdes_pdp .oyb-about h2 { font-size: 16px; }
    html.oyb-pdp .oyb-about p { font-size: 13px; }

    html.oyb-pdp .oyb-sticky { display: flex; }
    html.oyb-pdp.oyb-sticky-on body { padding-bottom: 80px; }
}

