/* Summer Sale storefront */
#skip_content #pp-sale-home {
    --sale-ink: #0a272b;
    --sale-mint: #87f3d9;
    font-family: var(--pp-brand-font, 'Poppins', Arial, sans-serif);
}
#pp-sale-home .sale-wrap { width: min(1280px, calc(100% - clamp(32px, 8vw, 112px))); margin-inline: auto; }
#pp-sale-home .sale-hero {
    position: relative;
    isolation: isolate;
    background: #d3f4ee;
    color: var(--sale-ink);
}
#pp-sale-home .sale-backdrop {
    position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none;
    object-fit: cover; object-position: 50% 55%;
}
#pp-sale-home .sale-hero::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(90deg, rgba(249,255,252,.97) 0%, rgba(249,255,252,.89) 30%, rgba(249,255,252,.54) 43%, rgba(249,255,252,0) 62%);
}
#pp-sale-home .sale-layout {
    display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr);
    grid-template-areas: "heading stage" "deal stage" "actions stage";
    align-items: center; gap: 15px clamp(24px,5vw,80px); padding-block: clamp(32px,4vw,64px);
}
#pp-sale-home .sale-heading { grid-area: heading; align-self: end; min-width: 0; }
#pp-sale-home .sale-eyebrow {
    color: #106051; text-transform: uppercase; letter-spacing: .16em; font-size: 12px; line-height: 1.3; font-weight: 700; margin: 0 0 12px;
}
#pp-sale-home #sale-headline {
    color: var(--sale-ink); font-size: clamp(36px,4.4vw,68px); line-height: 1.02;
    font-weight: 800; letter-spacing: -.045em; margin: 0; max-width: 14ch; text-wrap: balance;
}
#pp-sale-home .sale-deal { grid-area: deal; }
#pp-sale-home .sale-label { color: #18443f; margin: 0 0 2px; font-size: 15px; line-height: 1.4; font-weight: 650; }
#pp-sale-home .sale-amount { color: #005c4c; font-weight: 800; font-size: clamp(48px,5.2vw,78px); letter-spacing: -.06em; line-height: 1.07; }
#pp-sale-home .sale-amount *, #pp-sale-home .sale-comparison *, #pp-sale-home .sale-card-prices .amount, #pp-sale-home .sale-card-prices .amount *, #pp-sale-home .sale-card-saving * { color: inherit; font-size: inherit; font-weight: inherit; }
#pp-sale-home .sale-comparison { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 12px; margin-top: 6px; font-size: 15px; line-height: 1.5; color: #254840; }
#pp-sale-home .sale-comparison strong { display: inline-block; background: var(--sale-mint); color: var(--sale-ink); font-size: 13px; font-weight: 750; padding: 2px 9px; border-radius: 4px; }
#pp-sale-home .sale-stage {
    display: grid; grid-area: stage; place-items: center; align-self: stretch; min-width: 0; overflow: hidden;
    background: radial-gradient(ellipse at center, rgba(250,255,253,.38), transparent 70%);
}
#pp-sale-home .sale-stage img { width: 96%; height: 100%; max-height: 390px; object-fit: contain; filter: drop-shadow(0 12px 12px rgba(5,46,50,.24)); }
#pp-sale-home .sale-actions { grid-area: actions; align-self: start; }
#pp-sale-home .sale-benefit { color: #173b36; font-size: 16px; line-height: 1.45; margin: 0 0 15px; max-width: 44ch; }
#pp-sale-home .sale-button, #pp-sale-home .sale-all {
    display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 46px;
    font-size: 15px; font-weight: 750; line-height: 1.25; text-decoration: none; padding: 12px 20px; border-radius: 8px;
}
#pp-sale-home .sale-button { color: #fff !important; background: #074f46; }
#pp-sale-home .sale-button:hover { background: #043c35; }
#pp-sale-home .sale-terms { color: #254840; font-size: 12px; line-height: 1.55; margin: 8px 0 0; }
#pp-sale-home .sale-terms a { color: inherit !important; text-decoration: underline; text-underline-offset: 2px; }
#pp-sale-home .sale-support { padding: clamp(24px,3.3vw,52px) 0; background: #f4faf8; }
#pp-sale-home .sale-support-head { display: flex; align-items: center; justify-content: space-between; gap: 10px 24px; margin-bottom: 18px; }
#pp-sale-home #sale-offers-heading { margin: 0; color: var(--sale-ink); font-size: clamp(24px,2.6vw,38px); line-height: 1.12; letter-spacing: -.035em; }
#pp-sale-home .sale-all { color: var(--sale-ink) !important; border: 1px solid #799993; background: transparent; font-size: 14px; }
#pp-sale-home .sale-all:hover { background: #e3f5ef; }
#pp-sale-home .sale-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
#pp-sale-home .sale-card {
    display: grid; grid-template-columns: minmax(0,.72fr) minmax(0,1fr); align-items: center;
    gap: clamp(12px,2vw,26px); padding: clamp(15px,2vw,26px); border: 1px solid #d9e8e3; background: white; border-radius: 14px;
}
#pp-sale-home .sale-card-image { display: grid; place-items: center; }
#pp-sale-home .sale-card-image img { width: 100%; height: auto; max-height: 170px; object-fit: contain; }
#pp-sale-home .sale-card-copy h3 { font-size: clamp(19px,1.7vw,24px); color: var(--sale-ink); line-height: 1.14; letter-spacing: -.035em; margin: 0 0 6px; }
#pp-sale-home .sale-card-copy h3 a { color: inherit !important; }
#pp-sale-home .sale-card-copy p { font-size: 14px; line-height: 1.45; margin: 0; color: #3c5555; }
#pp-sale-home .sale-card-copy .sale-card-label { margin-top: 10px; font-size: 12px; font-weight: 650; }
#pp-sale-home .sale-card-prices { display: flex; align-items: baseline; gap: 3px 9px; flex-wrap: wrap; color: #516362; font-size: 12px; line-height: 1.35; }
#pp-sale-home .sale-card-prices strong { color: var(--sale-ink); font-size: 26px; font-weight: 800; letter-spacing: -.04em; }
#pp-sale-home .sale-card-saving { color: #01654f; font-size: 13px; font-weight: 700; line-height: 1.4; }
#pp-sale-home .sale-card-cta { display: inline-flex; align-items: center; gap: 8px; color: #114943 !important; font-weight: 750; font-size: 14px; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; }
#pp-sale-home a:focus-visible { outline: 3px solid #008a75; outline-offset: 3px; }
#pp-sale-home .sale-hero a:focus-visible { outline-color: #005f51; }

/* The store theme enforces brand colours on headings and WooCommerce amounts. */
html body.home #skip_content #pp-sale-home .sale-hero #sale-headline { color: #0a272b !important; }
html body.home #skip_content #pp-sale-home .sale-hero .sale-eyebrow,
html body.home #skip_content #pp-sale-home .sale-hero .sale-amount,
html body.home #skip_content #pp-sale-home .sale-hero .sale-amount * { color: #005c4c !important; }
html body.home #skip_content #pp-sale-home .sale-hero .sale-label,
html body.home #skip_content #pp-sale-home .sale-hero .sale-comparison > span,
html body.home #skip_content #pp-sale-home .sale-hero .sale-comparison > span *,
html body.home #skip_content #pp-sale-home .sale-hero .sale-benefit,
html body.home #skip_content #pp-sale-home .sale-hero .sale-terms,
html body.home #skip_content #pp-sale-home .sale-hero .sale-terms a { color: #183c35 !important; }
html body.home #skip_content #pp-sale-home .sale-hero .sale-comparison strong,
html body.home #skip_content #pp-sale-home .sale-hero .sale-comparison strong * { color: #073b31 !important; }
html body.home #skip_content #pp-sale-home .sale-hero .sale-button,
html body.home #skip_content #pp-sale-home .sale-hero .sale-button span { color: #fff !important; }
@media (max-width: 880px) {
    #pp-sale-home .sale-grid { gap: 12px; }
    #pp-sale-home .sale-card { grid-template-columns: minmax(74px,.5fr) minmax(0,1fr); gap: 12px; }
}
@media (max-width: 640px) {
    #pp-sale-home .sale-wrap { width: calc(100% - 32px); }
    #pp-sale-home .sale-backdrop { object-position: 62% 55%; }
    #pp-sale-home .sale-hero::before {
        background: linear-gradient(90deg, rgba(251,255,253,.97) 0%, rgba(251,255,253,.86) 29%, rgba(251,255,253,.22) 68%, transparent 100%),
                    linear-gradient(0deg, rgba(247,255,251,.91) 0%, rgba(247,255,251,.72) 16%, transparent 52%);
    }
    #pp-sale-home .sale-heading { width: fit-content; padding-right: 6px; text-shadow: 0 1px 7px #fff; }
    #pp-sale-home .sale-layout { padding-block: 20px; gap: 12px; grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr); grid-template-areas: "heading heading" "deal stage" "actions actions"; }
    #pp-sale-home .sale-eyebrow { font-size: 10px; margin-bottom: 5px; }
    #pp-sale-home #sale-headline { max-width: none; font-size: clamp(28px,7.7vw,42px); }
    #pp-sale-home .sale-label { font-size: 12px; }
    #pp-sale-home .sale-amount { font-size: clamp(39px,11.5vw,58px); }
    #pp-sale-home .sale-stage { border-radius: 10px; }
    #pp-sale-home .sale-stage img { height: clamp(100px,27vw,150px); width: 100%; }
    #pp-sale-home .sale-comparison { font-size: 12px; gap: 4px 7px; }
    #pp-sale-home .sale-comparison strong { font-size: 12px; padding-inline: 6px; }
    #pp-sale-home .sale-benefit { font-size: 13px; margin-bottom: 8px; }
    #pp-sale-home .sale-button { min-height: 44px; }
    #pp-sale-home .sale-terms { font-size: 11px; margin-top: 5px; }
    #pp-sale-home .sale-support-head { align-items: flex-start; flex-direction: column; margin-bottom: 14px; }
    #pp-sale-home .sale-all { min-height: 40px; padding: 7px 12px; }
    #pp-sale-home .sale-grid { grid-template-columns: 1fr; }
    #pp-sale-home .sale-card { grid-template-columns: minmax(75px,30%) minmax(0,1fr); }
}
