/* Product page - parts/oil-product.php, assets/js/oil-product.js.
   Tokens (--navy, --yellow ...) and the product cards come from oil-listing.css,
   which is loaded on this page too; the page is meant to read as the next step
   of the listing: same photo square, viscosity label, pack tiles, yellow button.
   Section headings: the site's Open Sans heading with the short yellow bar. */

.gy-pp {
    padding: 8px 0 80px;
}
.gy-pp *, .gy-pp *::before, .gy-pp *::after { box-sizing: border-box; }
.gy-pp [hidden] { display: none !important; }
.gy-pp button { font-family: inherit; }
.gy-pp svg { flex: 0 0 auto; }

/* ================================================================ top: gallery | buy box */
.gy-pp__top {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
}

/* gallery: WooCommerce's flexslider markup, restyled */
.gy-pp__media { position: sticky; top: 24px; min-width: 0; }
/* Skeleton until the gallery is ready (oil-product.js adds .is-ready when flexslider has
   initialised and the main photo has loaded; window load / 4 s are the fallbacks). Until then
   the gallery is laid over invisibly and two grey pulsing shapes hold the space: the square
   photo and a row of three thumbnails, so nothing jumps when the real ones appear. */
.gy-pp__media:not(.is-ready) { display: grid; }
.gy-pp__media:not(.is-ready) .woocommerce-product-gallery { position: absolute !important; inset: 0; visibility: hidden; } /* !important: outranks the parent theme's gallery rule */
.gy-pp__media:not(.is-ready)::before,
.gy-pp__media:not(.is-ready)::after { content: ""; display: block; background: #e3e8f0; animation: gy-skel 1.1s ease-in-out infinite alternate; }
.gy-pp__media:not(.is-ready)::before { aspect-ratio: 1 / 1; border-radius: 22px; }
.gy-pp__media:not(.is-ready)::after { width: 76px; height: 76px; margin: 14px 0 28px; border-radius: 14px; /* 28px = the gallery's bottom margin, so the box keeps its height */ box-shadow: 86px 0 0 #e3e8f0, 172px 0 0 #e3e8f0; }
@keyframes gy-skel { to { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .gy-pp__media:not(.is-ready)::before, .gy-pp__media:not(.is-ready)::after { animation: none; } }
.gy-pp .woocommerce-product-gallery { position: relative; width: 100% !important; margin: 0; float: none; }
.gy-pp .woocommerce-product-gallery .flex-viewport,
.gy-pp .woocommerce-product-gallery__wrapper:only-child {
    margin: 0; /* the parent theme gives .flex-viewport -6px side margins: the slides came out
                  12px wider than the photos and a strip of this blue showed after each slide */
    border-radius: 22px;
    background: #0a43a6; /* the photos' own blue, so a loading slide is not white */
    overflow: hidden;
}
.gy-pp .woocommerce-product-gallery__wrapper { margin: 0; }
.gy-pp .woocommerce-product-gallery__image > a { display: block; margin: 0; } /* parent theme: 6px side margins (paired with the viewport's -6px) */
.gy-pp .woocommerce-product-gallery__image img { display: block; width: 100%; height: auto; border-radius: 0; }
.gy-pp .woocommerce-product-gallery .flex-control-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}
.gy-pp .woocommerce-product-gallery .flex-control-thumbs li { float: none; width: 76px !important; margin: 0 !important; padding: 0; }
.gy-pp .woocommerce-product-gallery .flex-control-thumbs img {
    display: block;
    width: 76px;
    height: 76px;
    border-radius: 14px;
    opacity: .55;
    cursor: pointer;
    transition: opacity .2s, box-shadow .2s;
}
.gy-pp .woocommerce-product-gallery .flex-control-thumbs img:hover { opacity: .9; }
.gy-pp .woocommerce-product-gallery .flex-control-thumbs img.flex-active { opacity: 1; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--yellow); }
.gy-pp .woocommerce-product-gallery__trigger {
    position: absolute;
    z-index: 3;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
}
.gy-pp__visc {
    position: absolute;
    z-index: 2;
    top: 20px;
    left: 20px;
    padding: 9px 14px;
    border-radius: 11px;
    background: var(--yellow);
    color: var(--navy);
    font: 800 20px/1 'Roboto', sans-serif;
    letter-spacing: .01em;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
    pointer-events: none;
}

/* buy box */
.gy-pp__buy { min-width: 0; padding-top: 6px; }
.gy-pp__kicker { margin: 0 0 10px; color: var(--muted); font: 600 12px/1.3 'Roboto', sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.gy-pp__title {
    margin: 0 0 18px;
    color: var(--navy);
    font: 800 42px/1.04 'Roboto', sans-serif;
    letter-spacing: -.005em;
    text-transform: uppercase;
}
.gy-pp__lead { color: var(--muted); font: 400 15px/1.7 'Open Sans', Arial, sans-serif; }
.gy-pp__lead p { margin: 0 0 10px; }
.gy-pp__lead p:last-child { margin-bottom: 0; }

.gy-pp__keys { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.gy-pp__keys li {
    padding: 7px 11px;
    border: 1px solid var(--line-2);
    border-radius: 8px;
    color: var(--navy);
    font: 600 12.5px/1.2 'Roboto', sans-serif;
}
.gy-pp__keys .gy-pp__keys-all { padding: 0; border: 0; }
.gy-pp__keys-all a {
    display: inline-block;
    padding: 7px 4px;
    color: var(--navy);
    text-decoration: underline;
    text-decoration-color: var(--yellow);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}
.gy-pp__keys-all a:hover { color: var(--navy-2); text-decoration-color: var(--navy); }

.gy-pp__packs-wrap { margin: 28px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line); }
.gy-pp__label { margin: 0 0 12px; color: var(--muted); font: 600 12px/1.3 'Roboto', sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.gy-pp__packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.gy-pp__pack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 0;
    padding: 14px 6px 12px;
    border: 1px solid var(--line-2);
    border-radius: 14px;
    background: #fff;
    color: var(--navy);
    line-height: 1.1;
    text-align: center;
    transition: border-color .15s, background .15s, box-shadow .15s;
}
button.gy-pp__pack { cursor: pointer; }
button.gy-pp__pack:hover { border-color: var(--navy); }
.gy-pp__pack[aria-checked="true"] { border-color: var(--navy); background: var(--yellow-soft); box-shadow: inset 0 0 0 1px var(--navy); }
.gy-pp__pack:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.gy-pp__pack[data-out] { opacity: .45; }
.gy-pp__ico { width: 30px; height: 30px; margin-bottom: 4px; color: var(--navy); }
.gy-pp__pack-v { font: 800 17px/1.1 'Roboto', sans-serif; }
.gy-pp__pack-p { color: var(--text); font: 500 12.5px/1.1 'Roboto', sans-serif; white-space: nowrap; }

.gy-pp__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 24px 0 16px; }
.gy-pp__amount { margin: 0; color: var(--navy); font: 800 36px/1 'Roboto', sans-serif; letter-spacing: -.01em; }
.gy-pp__was { color: var(--muted); font: 500 18px/1 'Roboto', sans-serif; text-decoration-thickness: 1.5px; }
.gy-pp__omni { flex-basis: 100%; margin: 2px 0 0; color: var(--muted); font: 400 13px/1.4 'Open Sans', Arial, sans-serif; }
.gy-pp__unit { margin: 0; color: var(--muted); font: 400 14px/1.2 'Open Sans', Arial, sans-serif; }
.gy-pp__price .gy-oc__avail { margin: 0 0 0 auto; gap: 9px; font-size: 13.5px; }
/* availability as the listing's three-segment stock gauge (white background version):
   available = 3 lit, limited = 1 lit + 2 dim, on request = 3 outlined */
.gy-pp__price .gy-oc__avail::before {
    --seg-dim: #dfe4ec;
    flex: 0 0 14px;
    width: 14px;
    height: 6px;
    margin-right: 34px; /* room for the two shadow copies */
    border-radius: 3px;
    background: currentColor;
    box-shadow: 17px 0 0 currentColor, 34px 0 0 currentColor;
}
.gy-pp__price .gy-oc__avail--limited::before { box-shadow: 17px 0 0 var(--seg-dim), 34px 0 0 var(--seg-dim); }
.gy-pp__price .gy-oc__avail--on_request::before {
    background: transparent;
    box-shadow: inset 0 0 0 1px currentColor,
        17px 0 0 0 #fff, 17px 0 0 1px currentColor,
        34px 0 0 0 #fff, 34px 0 0 1px currentColor;
}

/* WooCommerce form: only quantity + button stay visible. The packaging select
   is driven by the tiles; WooCommerce's own price / availability block is
   replaced by .gy-pp__price. */
.gy-pp__cart .gy-dynamic-price,
.gy-pp__cart table.variations,
.gy-pp__cart .single_variation { display: none !important; }
.gy-pp__cart form.cart { margin: 0; }
/* customizer.css draws the old grey panel and its own stepper sizes on
   .woocommerce div.product form.cart - out-specified here, not removed there
   (the old layout is still the fallback for anything else using that form) */
.woocommerce div.product.gy-pp form.cart { padding: 0; border-radius: 0; background: none; }
.woocommerce div.product.gy-pp form.cart .woocommerce-variation-add-to-cart { flex-wrap: nowrap; gap: 12px; width: 100%; justify-self: stretch !important; }
.woocommerce div.product.gy-pp form.cart div.quantity { flex: 0 0 auto; height: 58px; border-radius: 999px !important; }
.woocommerce div.product.gy-pp form.cart div.quantity .increase,
.woocommerce div.product.gy-pp form.cart div.quantity .decrease { width: 48px; }
.gy-pp__cart .variations_button,
.gy-pp__cart form.cart:not(.variations_form) {
    display: flex;
    align-items: stretch;
    gap: 12px;
}
.gy-pp__cart .variations_button::before,
.gy-pp__cart .variations_button::after { display: none; }
.gy-pp__cart .quantity { flex: 0 0 auto; float: none; margin: 0; }
.woocommerce div.product.gy-pp .gy-pp__cart .single_add_to_cart_button {
    flex: 1 1 auto;
    min-height: 58px;
    margin: 0;
    padding: 0 28px;
    border: 0;
    border-radius: 999px;
    background: var(--yellow);
    color: var(--navy);
    font: 700 17px/1 'Roboto', sans-serif;
    letter-spacing: .01em;
    text-transform: none;
    transition: background .15s, transform .1s;
}
.woocommerce div.product.gy-pp .gy-pp__cart .single_add_to_cart_button:hover { background: var(--yellow-h); color: var(--navy); }
.gy-pp__cart .single_add_to_cart_button:active { transform: scale(.985); }
/* not while adding: the button is disabled then too, but stays yellow with the ring in the middle */
.woocommerce div.product.gy-pp .gy-pp__cart .single_add_to_cart_button.disabled:not(.gy-adding),
.woocommerce div.product.gy-pp .gy-pp__cart .single_add_to_cart_button:disabled:not(.gy-adding) { background: var(--line); color: var(--muted); opacity: 1; }
/* price on request (simple products without a price, e.g. MARINE 4012) */
.gy-pp__cart .gy-price-on-request { display: block; margin: 22px 0 14px; color: var(--navy); font: 800 26px/1.1 'Roboto', sans-serif; }
.gy-pp__cart .gy-price-on-request__cta {
    display: inline-flex;
    align-items: center;
    min-height: 54px;
    padding: 0 30px;
    border-radius: 999px;
    background: var(--yellow);
    color: var(--navy);
    font: 700 16px/1 'Roboto', sans-serif;
}

/* under the buy row: SKU on the left as a quiet label + number, the data sheets on the right as
   small outlined pills (the full Documents block further down stays the primary place) */
.gy-pp__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 8px; margin: 20px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); list-style: none; color: var(--muted); font: 400 13px/1.3 'Open Sans', Arial, sans-serif; }
.gy-pp__meta li { margin: 0; }
.gy-pp__meta li:has(.gy-sku), .gy-pp__meta li.gy-pp__ean { margin-right: auto; }
/* the pack's EAN-13: real bars (inline svg from gy_oil_ean13_svg) with the number printed
   under them the way it is on the label */
.gy-ean { display: inline-flex; flex-direction: column; align-items: center; gap: 3px; color: var(--navy); }
.gy-pp__meta .gy-ean__svg { display: block; width: 114px; height: 34px; color: var(--navy); } /* outranks the row's 16px document-icon rule */
.gy-ean__n { font: 500 11.5px/1 'Roboto', sans-serif; letter-spacing: .14em; color: var(--text); font-variant-numeric: tabular-nums; }
.gy-pp__meta .gy-sku { display: inline-flex; align-items: baseline; gap: 8px; margin: 0; color: inherit; font: inherit; }
.gy-pp__meta .gy-sku--empty { display: none; }
.gy-pp__meta .gy-sku__label { font: 600 11px/1 'Roboto', sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.gy-pp__meta .gy-sku__value { color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.gy-pp__meta a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px 7px 9px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    background: #fff;
    color: var(--navy);
    font: 700 12.5px/1 'Roboto', sans-serif;
    letter-spacing: .03em;
    text-decoration: none;
    transition: border-color .15s, background .15s;
}
.gy-pp__meta a::after { content: "PDF"; margin-left: 2px; color: var(--muted); font-weight: 500; font-size: 11px; }
.gy-pp__meta a:hover, .gy-pp__meta a:focus-visible { border-color: var(--navy); background: #f6f8fb; text-decoration: none; }
.gy-pp__meta svg { width: 16px; height: 16px; color: var(--muted); }
.gy-pp__meta a:hover svg { color: var(--navy); }

/* ================================================================ sections */
.gy-pp__sec { margin-top: 72px; }
.gy-pp__h {
    position: relative;
    margin: 0 0 30px;
    padding-bottom: 14px;
    color: var(--navy);
    font: 400 28px/1.2 'Open Sans', Arial, sans-serif;
}
.gy-pp__h::after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 2px; background: var(--yellow); }

/* advantages: navy band across the whole window (shadow + clip-path, no 100vw
   overflow); each advantage is a glassy card with a round yellow number that lifts
   on hover (picked 2026-10-19 from four variants) */
.gy-pp__benefits {
    position: relative;
    padding: 56px 0 60px;
    background: var(--navy);
    box-shadow: 0 0 0 100vmax var(--navy);
    clip-path: inset(0 -100vmax);
    color: #fff;
}
.gy-pp__benefits .gy-pp__h { color: #fff; }
.gy-pp__ben { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.gy-pp__ben li {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 22px;
    min-height: 200px;
    padding: 26px 26px 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 22px;
    background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
    color: #fff;
    font: 600 18px/1.4 'Roboto', sans-serif;
    transition: transform .3s var(--ease), border-color .3s;
}
.gy-pp__ben li::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--yellow);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s var(--ease);
}
.gy-pp__ben li:hover { transform: translateY(-4px); border-color: rgba(251, 189, 0, .45); }
.gy-pp__ben li:hover::after { transform: scaleX(1); }
.gy-pp__ben-n {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--yellow);
    color: var(--navy);
    font: 800 15px/1 'Roboto', sans-serif;
    letter-spacing: .02em;
}

/* specifications | packaging + documents */
.gy-pp__cols { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.gy-pp__cols > .gy-pp__side:only-child { grid-column: 1 / -1; }
.gy-pp__side { min-width: 0; }
/* specifications: the same rounded card as the packaging table; the label column sits on the
   soft grey, values on white, approvals as outlined chips */
.gy-pp__specs { margin: 0; border: 1px solid var(--line-2); border-radius: 18px; background: #fff; overflow: hidden; }
.gy-pp__row { display: grid; grid-template-columns: 190px minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.gy-pp__row:last-child { border-bottom: 0; }
.gy-pp__row dt { padding: 15px 18px; background: var(--soft); color: var(--muted); font: 600 12px/1.5 'Roboto', sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.gy-pp__row dd { margin: 0; padding: 15px 18px; color: var(--navy); font: 500 15px/1.5 'Roboto', sans-serif; }
.gy-pp__vals { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.gy-pp__vals li { padding: 5px 11px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; color: var(--navy); font: 500 13.5px/1.35 'Roboto', sans-serif; }
.gy-pp__row--other .gy-pp__vals { display: block; }
.gy-pp__row--other .gy-pp__vals li { padding: 0; background: none; font-size: 15px; }
.gy-pp__row--other .gy-pp__vals li + li { margin-top: 4px; }

.gy-pp__side .gy-pp__sec { margin-top: 72px; }
/* packaging table: one rounded card in the site's card style, rows divided by inner lines,
   the chosen pack on the soft yellow with a yellow bar at the left */
.gy-pp__ptable { margin: 0; padding: 0; border: 1px solid var(--line-2); border-radius: 18px; background: #fff; list-style: none; overflow: hidden; }
.gy-pp__ptable li {
    display: grid;
    grid-template-columns: 44px 56px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 14px 18px 14px 16px;
    border-bottom: 1px solid var(--line);
    transition: background .2s, box-shadow .2s;
}
.gy-pp__ptable li:last-child { border-bottom: 0; }
.gy-pp__ptable li.is-on { background: var(--yellow-soft); box-shadow: inset 4px 0 0 var(--yellow); }
.gy-pp__ptable .gy-pp__ico { box-sizing: content-box; width: 24px; height: 24px; margin: 0; padding: 10px; border-radius: 12px; background: var(--soft); color: var(--navy); }
.gy-pp__ptable li.is-on .gy-pp__ico { background: #fff; }
.gy-pp__pt-v { color: var(--navy); font: 800 16px/1 'Roboto', sans-serif; }
.gy-pp__pt-d { display: flex; flex-direction: column; gap: 2px; color: var(--muted); font: 400 12.5px/1.35 'Open Sans', Arial, sans-serif; }
.gy-pp__pt-d b { color: var(--text); font-weight: 600; }
.gy-pp__pt-p { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; color: var(--navy); font: 400 15px/1.1 'Roboto', sans-serif; white-space: nowrap; }
.gy-pp__pt-p b { font-weight: 800; }
.gy-pp__pt-p small { color: var(--muted); font: 400 11.5px/1.1 'Open Sans', Arial, sans-serif; }

.gy-pp__docs {
    margin-top: 32px;
    padding: 25px 28px 28px; /* the heading's leading adds ~3px on top: equal optical space top and bottom */
    border-radius: 20px;
    background: var(--navy);
    color: #fff;
}
.gy-pp__docs-h { margin: 0 0 4px; color: #fff; font: 400 24px/1.2 'Open Sans', Arial, sans-serif; }
.gy-pp__docs-lead { margin: 0 0 18px; color: rgba(255, 255, 255, .7); font: 400 14px/1.5 'Open Sans', Arial, sans-serif; }
.gy-pp__doc {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 10px;
    padding: 12px 16px 12px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .07);
    color: #fff;
    text-decoration: none;
    transition: background .15s, color .15s;
}
.gy-pp__doc:hover, .gy-pp__doc:focus-visible { background: var(--yellow); color: var(--navy); }
.gy-pp__doc-k {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 11px;
    background: var(--yellow);
    color: var(--navy);
    font: 800 13px/1 'Roboto', sans-serif;
    letter-spacing: .04em;
}
.gy-pp__doc:hover .gy-pp__doc-k { background: var(--navy); color: var(--yellow); }
.gy-pp__doc-t { display: flex; flex: 1 1 auto; flex-direction: column; gap: 3px; font: 600 15px/1.2 'Roboto', sans-serif; }
.gy-pp__doc-t small { opacity: .65; font: 400 12px/1 'Open Sans', Arial, sans-serif; }
.gy-pp__doc svg { width: 22px; height: 22px; }

/* see also: the listing's cards */
.gy-pp__rel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.gy-pp__rel-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    color: var(--navy);
    font: 600 15px/1.2 'Roboto', sans-serif;
    text-decoration: none;
}
.gy-pp__rel-all svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.gy-pp__rel-all:hover svg { transform: translateX(4px); }

/* phones: floating buy bar (oil-product.js shows it once the buy box is gone) */
.gy-pp__float { display: none; }

/* ================================================================ responsive */
@media (max-width: 1199px) {
    .gy-pp__top, .gy-pp__cols { gap: 40px; }
    .gy-pp__title { font-size: 36px; }
}
@media (max-width: 991px) {
    .gy-pp__top { grid-template-columns: minmax(0, 1fr); }
    .gy-pp__media { position: relative; top: auto; max-width: 560px; width: 100%; margin: 0 auto; }
    .gy-pp__media:not(.is-ready)::before { border-radius: 18px; }
    .gy-pp__media:not(.is-ready)::after { width: 60px; height: 60px; box-shadow: 70px 0 0 #e3e8f0, 140px 0 0 #e3e8f0; }
    .gy-pp__cols { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .gy-pp__ben { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .gy-pp .gy-pp__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .gy-pp { padding-top: 0; padding-bottom: 56px; }
    .gy-pp__title { font-size: 30px; }
    .gy-pp__visc { top: 14px; left: 14px; padding: 7px 11px; font-size: 16px; }
    .gy-pp .woocommerce-product-gallery .flex-viewport,
    .gy-pp .woocommerce-product-gallery__wrapper:only-child { border-radius: 18px; }
    .gy-pp .woocommerce-product-gallery .flex-control-thumbs li,
    .gy-pp .woocommerce-product-gallery .flex-control-thumbs img { width: 60px !important; height: 60px; }
    .gy-pp__packs { grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
    .gy-pp__amount { font-size: 30px; }
    .gy-pp__sec, .gy-pp__side .gy-pp__sec { margin-top: 52px; }
    .gy-pp__h { font-size: 24px; margin-bottom: 22px; }
    .gy-pp__benefits { padding: 40px 0 44px; }
    .gy-pp__row { grid-template-columns: minmax(0, 1fr); }
    .gy-pp__row dt { padding: 9px 14px; }
    .gy-pp__row dd { padding: 12px 14px 14px; }
    .gy-pp__docs { padding: 24px 20px 18px; }
}
@media (max-width: 575px) {
    .gy-pp__ben { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .gy-pp__ben li { min-height: 0; flex-direction: row; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 18px; font-size: 16px; }
    .gy-pp__ben-n { width: 40px; height: 40px; }
    .gy-pp .gy-pp__grid { grid-template-columns: minmax(0, 1fr); }
    .gy-pp__rel-head { align-items: center; }
    .gy-pp__rel-all { margin-bottom: 22px; font-size: 14px; }
    .gy-pp__ptable li { grid-template-columns: 38px 46px minmax(0, 1fr) auto; gap: 10px; padding: 12px 12px 12px 10px; }
    .gy-pp__ptable .gy-pp__ico { width: 20px; height: 20px; padding: 9px; border-radius: 10px; }
    .gy-pp__price .gy-oc__avail { flex-basis: 100%; margin-left: 0; }
    .gy-pp__float {
        position: fixed;
        z-index: 90;
        left: 12px;
        right: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 8px 8px 8px 18px;
        border-radius: 999px;
        background: var(--navy);
        color: #fff;
        box-shadow: 0 12px 30px rgba(0, 22, 48, .35);
        transform: translateY(calc(100% + 24px));
        transition: transform .3s var(--ease);
    }
    .gy-pp__float.is-in { transform: none; }
    .gy-pp__float-t { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; gap: 2px; font: 400 12px/1.2 'Open Sans', Arial, sans-serif; }
    .gy-pp__float-t b { overflow: hidden; font: 800 14px/1.15 'Roboto', sans-serif; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
    .gy-pp__float-t span { color: var(--yellow); }
    .gy-pp__float .gy-oc__add { flex: 0 0 auto; width: auto; min-height: 46px; padding: 0 18px; gap: 10px; }
    .gy-pp__float .gy-oc__add-p { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .gy-pp__rel-all svg, .gy-pp__pack, .gy-pp__doc, .gy-pp__ben li, .gy-pp__ben li::after { transition: none; }
}

/* ================================================================ advantages: alternative designs
   The rules above are the card design (b). The page uses the product spotlight (e) since
   2026-10-19; the rest are kept for later. Switched by a modifier class on .gy-pp__benefits
   (parts/oil-product.php, ?ben=<letter> shows another):
   o original dividers | a spec sheet | c bold tiles | d tread band | e product spotlight
   f editorial rows | g bento | h columns. */
/* undo the card look; :where keeps this below each variant's own rules */
:where(.gy-pp__benefits[class*="gy-pp__benefits--"]) .gy-pp__ben li {
    display: block;
    flex-direction: column;
    align-items: stretch; /* the phone card layout centres a row */
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: none;
    font: 500 17px/1.45 'Roboto', sans-serif;
    transform: none;
}
:where(.gy-pp__benefits[class*="gy-pp__benefits--"]) .gy-pp__ben li:hover { transform: none; }
:where(.gy-pp__benefits[class*="gy-pp__benefits--"]) .gy-pp__ben li::after { content: none; }
:where(.gy-pp__benefits[class*="gy-pp__benefits--"]) .gy-pp__ben-n {
    display: block;
    width: auto;
    height: auto;
    margin: 0 0 14px;
    border-radius: 0;
    background: none;
    color: var(--yellow);
    font: 800 15px/1 'Roboto', sans-serif;
    letter-spacing: .08em;
}

/* o - the original: four columns split by thin rules, numbered like a spec sheet */
.gy-pp__benefits--o .gy-pp__ben { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.gy-pp__benefits--o .gy-pp__ben li { padding: 4px 28px 0 0; margin-right: 28px; border-right: 1px solid rgba(255, 255, 255, .14); }
.gy-pp__benefits--o .gy-pp__ben li:last-child { margin-right: 0; border-right: 0; }

/* a - spec sheet: heading on the left, big outlined numbers on the right (Linear / Stripe) */
.gy-pp__benefits--a { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 0 64px; align-items: start; }
.gy-pp__benefits--a .gy-pp__h { margin: 0; font-size: 40px; line-height: 1.1; }
.gy-pp__benefits--a .gy-pp__ben { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.gy-pp__benefits--a .gy-pp__ben li { position: relative; padding: 26px 0 30px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 19px; line-height: 1.4; }
.gy-pp__benefits--a .gy-pp__ben li::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--yellow);
    transition: width .4s var(--ease);
}
.gy-pp__benefits--a .gy-pp__ben li:hover::before { width: 100%; }
.gy-pp__benefits--a .gy-pp__ben-n { margin-bottom: 18px; color: transparent; -webkit-text-stroke: 1.5px var(--yellow); font: 900 64px/.9 'Roboto', sans-serif; letter-spacing: -.02em; }

/* c - bold tiles: first tile yellow, the rest navy shades, number top / text bottom (Ada) */
.gy-pp__benefits--c .gy-pp__ben { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.gy-pp__benefits--c .gy-pp__ben li {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
    min-height: 240px;
    padding: 24px 26px 28px;
    border-radius: 6px;
    background: #0B2A5B;
    font: 700 20px/1.3 'Roboto', sans-serif;
}
.gy-pp__benefits--c .gy-pp__ben li:nth-child(4n+1) { background: var(--yellow); color: var(--navy); }
.gy-pp__benefits--c .gy-pp__ben li:nth-child(4n+2) { background: #12356E; }
.gy-pp__benefits--c .gy-pp__ben li:nth-child(4n+4) { background: #1C4485; }
.gy-pp__benefits--c .gy-pp__ben-n { margin: 0; color: inherit; font: 300 56px/1 'Roboto', sans-serif; letter-spacing: -.03em; opacity: .9; }
.gy-pp__benefits--c .gy-pp__ben li:nth-child(4n+1) .gy-pp__ben-n { color: var(--navy); }

/* d - tread band: tyre-tread texture, yellow check rings, number as a small eyebrow (Wise / Ramp) */
.gy-pp__benefits--d::before {
    content: "";
    position: absolute;
    inset: 0 calc(50% - 50vw); /* the window width; -100vmax would widen the page */
    background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .025) 0 18px, transparent 18px 46px);
    pointer-events: none;
}
.gy-pp__benefits--d > * { position: relative; }
.gy-pp__benefits--d .gy-pp__ben { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 36px 40px; }
.gy-pp__benefits--d .gy-pp__ben li { display: grid; grid-template-columns: 52px minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 6px 16px; }
.gy-pp__benefits--d .gy-pp__ben li::before {
    content: "";
    grid-row: 1 / span 2;
    width: 52px;
    height: 52px;
    border: 2px solid var(--yellow);
    border-radius: 50%;
    background: rgba(251, 189, 0, .08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23FBBD00' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 24px no-repeat;
}
.gy-pp__benefits--d .gy-pp__ben-n { margin: 4px 0 0; color: rgba(255, 255, 255, .5); font-size: 12px; letter-spacing: .14em; }

/* e - product spotlight: the pack photo in the middle with a glow, advantages as callouts
   pointing at it, two on each side (Rains / Zoox / Zipline) */
.gy-pp__benefits--e .gy-pp__h { text-align: center; }
.gy-pp__benefits--e .gy-pp__h::after { left: 50%; margin-left: -24px; }
.gy-pp__ben-stage { position: relative; }
.gy-pp__ben-fig { display: none; }
.gy-pp__benefits--e .gy-pp__ben-fig {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 0;
    display: block;
    width: 300px;
    margin: -150px 0 0 -150px;
}
.gy-pp__benefits--e .gy-pp__ben-fig::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(closest-side, rgba(251, 189, 0, .28), rgba(251, 189, 0, 0));
    pointer-events: none;
}
.gy-pp__benefits--e .gy-pp__ben-fig img { position: relative; display: block; width: 100%; height: auto; border-radius: 28px; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
.gy-pp__benefits--e .gy-pp__ben { position: relative; z-index: 1; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: center; gap: 70px 400px; min-height: 360px; padding: 30px 0; } /* min-height: room for the photo when the texts are short */
.gy-pp__benefits--e .gy-pp__ben li { position: relative; align-self: start; font-size: 18px; line-height: 1.4; } /* both callouts of a row start level */
.gy-pp__benefits--e .gy-pp__ben li:nth-child(odd) { text-align: right; }
.gy-pp__benefits--e .gy-pp__ben li::before {
    content: "";
    position: absolute;
    top: 7px;
    width: 64px;
    height: 1px;
    background: linear-gradient(90deg, var(--yellow), rgba(251, 189, 0, .2));
}
.gy-pp__benefits--e .gy-pp__ben li:nth-child(odd)::before { right: -84px; transform: scaleX(-1); }
.gy-pp__benefits--e .gy-pp__ben li:nth-child(even)::before { left: -84px; }
.gy-pp__benefits--e .gy-pp__ben li::after {
    content: "";
    position: absolute;
    top: 3px;
    right: auto;
    bottom: auto;
    left: auto; /* the card ::after (default design) pins left/right/bottom and scales to 0 */
    width: 9px;
    height: 9px;
    transform: none;
    border-radius: 50%;
    background: var(--yellow);
    box-shadow: 0 0 0 4px rgba(251, 189, 0, .2);
}
.gy-pp__benefits--e .gy-pp__ben li:nth-child(odd)::after { right: -24px; }
.gy-pp__benefits--e .gy-pp__ben li:nth-child(even)::after { left: -24px; }

/* f - editorial rows: one advantage per full-width row, big type, the row fills with yellow
   on hover (OFF+BRAND / Intercom) */
.gy-pp__benefits--f .gy-pp__ben { grid-template-columns: minmax(0, 1fr); gap: 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.gy-pp__benefits--f .gy-pp__ben li {
    position: relative;
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) 40px;
    align-items: center;
    gap: 20px;
    padding: 24px 18px;
    border-top: 1px solid rgba(255, 255, 255, .16);
    font: 700 clamp(20px, 2.2vw, 30px)/1.2 'Roboto', sans-serif;
    letter-spacing: -.01em;
    transition: background .25s, color .25s, padding .3s var(--ease);
}
.gy-pp__benefits--f .gy-pp__ben li::after {
    content: "";
    display: block;
    width: 28px;
    height: 28px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity .25s, transform .3s var(--ease);
}
.gy-pp__benefits--f .gy-pp__ben li:hover { padding-left: 30px; background: var(--yellow); color: var(--navy); }
.gy-pp__benefits--f .gy-pp__ben li:hover::after { opacity: 1; transform: none; }
.gy-pp__benefits--f .gy-pp__ben-n { margin: 0; font: 500 14px/1 'Roboto', sans-serif; letter-spacing: .12em; }
.gy-pp__benefits--f .gy-pp__ben li:hover .gy-pp__ben-n { color: var(--navy); }

/* g - bento: the first advantage as a big yellow tile, the others around it (Vizcom / Fruitful) */
.gy-pp__benefits--g .gy-pp__ben { grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; gap: 14px; }
.gy-pp__benefits--g .gy-pp__ben li {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 26px;
    min-height: 150px;
    padding: 24px 26px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 20px;
    background: rgba(255, 255, 255, .05);
    font-size: 18px;
    line-height: 1.35;
    font-weight: 600;
}
.gy-pp__benefits--g .gy-pp__ben li:first-child {
    grid-row: span 2;
    justify-content: flex-end;
    border: 0;
    background: var(--yellow) radial-gradient(circle at 85% 15%, rgba(255, 255, 255, .45), rgba(255, 255, 255, 0) 45%);
    color: var(--navy);
    font: 800 clamp(24px, 2.4vw, 32px)/1.15 'Roboto', sans-serif;
    letter-spacing: -.01em;
}
.gy-pp__benefits--g .gy-pp__ben li:first-child .gy-pp__ben-n { margin-bottom: auto; padding-bottom: 30px; color: var(--navy); font-size: 15px; }
.gy-pp__benefits--g .gy-pp__ben li:nth-child(4):last-child { grid-column: span 2; }

/* h - columns: tall columns, a yellow rule that grows down the column on hover (Metalab) */
.gy-pp__benefits--h .gy-pp__ben { grid-template-columns: none; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 0; }
.gy-pp__benefits--h .gy-pp__ben li {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 60px;
    min-height: 260px;
    padding: 6px 28px 8px;
    border-left: 1px solid rgba(255, 255, 255, .14);
    font-size: 19px;
    line-height: 1.35;
    transition: background .3s;
}
.gy-pp__benefits--h .gy-pp__ben li::before {
    content: "";
    position: absolute;
    top: 0;
    left: -1px;
    width: 2px;
    height: 48px;
    background: var(--yellow);
    transition: height .45s var(--ease);
}
.gy-pp__benefits--h .gy-pp__ben li:hover { background: linear-gradient(90deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, 0)); }
.gy-pp__benefits--h .gy-pp__ben li:hover::before { height: 100%; }
.gy-pp__benefits--h .gy-pp__ben-n { margin: 0; font: 300 44px/1 'Roboto', sans-serif; letter-spacing: -.02em; }

@media (max-width: 991px) {
    .gy-pp__benefits--o .gy-pp__ben { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 0; }
    .gy-pp__benefits--o .gy-pp__ben li:nth-child(2n) { margin-right: 0; border-right: 0; }
    .gy-pp__benefits--a { grid-template-columns: minmax(0, 1fr); }
    .gy-pp__benefits--a .gy-pp__h { margin-bottom: 26px; font-size: 28px; }
    .gy-pp__benefits--e .gy-pp__ben { gap: 50px 300px; min-height: 280px; }
    .gy-pp__benefits--e .gy-pp__ben-fig { width: 220px; margin: -110px 0 0 -110px; }
    .gy-pp__benefits--e .gy-pp__ben li { font-size: 16px; }
    .gy-pp__benefits--e .gy-pp__ben li:nth-child(odd)::before { right: -64px; width: 44px; }
    .gy-pp__benefits--e .gy-pp__ben li:nth-child(even)::before { left: -64px; width: 44px; }
    .gy-pp__benefits--g .gy-pp__ben { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gy-pp__benefits--g .gy-pp__ben li:first-child { grid-row: auto; grid-column: 1 / -1; min-height: 200px; }
    .gy-pp__benefits--g .gy-pp__ben li:nth-child(4):last-child { grid-column: auto; }
    .gy-pp__benefits--h .gy-pp__ben { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row; gap: 30px 0; }
}
@media (max-width: 767px) {
    .gy-pp__benefits--o .gy-pp__ben li { font-size: 15.5px; padding-right: 18px; margin-right: 18px; }
    /* spotlight: the photo on top, the callouts become a list with the dot in front */
    .gy-pp__benefits--e .gy-pp__ben-fig { position: relative; top: auto; left: auto; width: 200px; margin: 0 auto 34px; }
    .gy-pp__benefits--e .gy-pp__ben { grid-template-columns: minmax(0, 1fr); gap: 18px; min-height: 0; padding: 0; }
    .gy-pp__benefits--e .gy-pp__ben li, .gy-pp__benefits--e .gy-pp__ben li:nth-child(odd) { padding-left: 26px; text-align: left; }
    .gy-pp__benefits--e .gy-pp__ben li::before { content: none; }
    .gy-pp__benefits--e .gy-pp__ben li:nth-child(n)::after { left: 0; right: auto; top: 6px; }
}
@media (max-width: 575px) {
    .gy-pp__benefits--o .gy-pp__ben { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .gy-pp__benefits--o .gy-pp__ben li { margin: 0; padding: 16px 0; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
    .gy-pp__benefits--o .gy-pp__ben li:last-child { border-bottom: 0; }
    .gy-pp__benefits--o .gy-pp__ben-n { display: inline-block; width: 36px; margin: 0; }
    .gy-pp__benefits--a .gy-pp__ben { grid-template-columns: minmax(0, 1fr); }
    .gy-pp__benefits--a .gy-pp__ben li { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: baseline; padding: 20px 0; font-size: 17px; }
    .gy-pp__benefits--a .gy-pp__ben-n { margin: 0; font-size: 44px; }
    .gy-pp__benefits--c .gy-pp__ben { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .gy-pp__benefits--c .gy-pp__ben li { min-height: 170px; gap: 20px; padding: 16px 16px 18px; font-size: 15.5px; }
    .gy-pp__benefits--c .gy-pp__ben-n { font-size: 38px; }
    .gy-pp__benefits--d .gy-pp__ben { gap: 22px; }
    .gy-pp__benefits--d .gy-pp__ben li { grid-template-columns: 44px minmax(0, 1fr); font-size: 15.5px; }
    .gy-pp__benefits--d .gy-pp__ben li::before { width: 44px; height: 44px; background-size: 20px; }
    .gy-pp__benefits--f .gy-pp__ben li { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 18px 4px; font-size: 19px; }
    .gy-pp__benefits--f .gy-pp__ben li::after { content: none; }
    .gy-pp__benefits--f .gy-pp__ben li:hover { padding-left: 12px; }
    .gy-pp__benefits--g .gy-pp__ben { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .gy-pp__benefits--g .gy-pp__ben li { min-height: 0; gap: 14px; padding: 18px 20px; font-size: 16px; }
    .gy-pp__benefits--g .gy-pp__ben li:first-child { min-height: 170px; font-size: 24px; }
    .gy-pp__benefits--h .gy-pp__ben { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .gy-pp__benefits--h .gy-pp__ben li { flex-direction: row; align-items: center; justify-content: flex-start; gap: 18px; min-height: 0; padding: 18px 0 18px 20px; font-size: 16px; }
    .gy-pp__benefits--h .gy-pp__ben-n { flex: 0 0 52px; font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
    .gy-pp__benefits--a .gy-pp__ben li::before, .gy-pp__benefits--f .gy-pp__ben li, .gy-pp__benefits--f .gy-pp__ben li::after,
    .gy-pp__benefits--h .gy-pp__ben li, .gy-pp__benefits--h .gy-pp__ben li::before { transition: none; }
}
