/* Homepage latest-product ad using the Petscast ivory/yellow campaign palette. */
#main .pc-home-presale {
    --home-ad-yellow: #ffdc16;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #fffef8;
    color: #101317;
}
#main .pc-home-presale::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 950px;
    height: 850px;
    right: -310px;
    top: -70px;
    border-radius: 49% 42% 35% 56%;
    background: var(--home-ad-yellow);
    transform: rotate(-13deg);
    pointer-events: none;
}
#main .pc-home-presale__inner {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: center;
    gap: clamp(40px, 5vw, 72px);
    width: min(1280px, calc(100% - 80px));
    margin: 0 auto;
    padding: 64px 0 68px;
}
#main .pc-home-presale__copy { min-width: 0; }
#main .pc-home-presale__eyebrow {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 13px;
    margin-bottom: 26px;
    color: #454b43;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: .12em;
}
#main .pc-home-presale__badge {
    padding: 6px 13px;
    border: 1px solid var(--home-ad-yellow);
    border-radius: 5px;
    background: var(--home-ad-yellow);
    color: #151b1e;
    font-size: 12px;
    letter-spacing: .06em;
    white-space: nowrap;
}
#main .pc-home-presale h1 {
    margin: 0;
    color: #101317;
    font-size: clamp(52px, 5.4vw, 76px);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -.04em;
}
#main .pc-home-presale h1 span { position: relative; isolation: isolate; display: inline-block; color: #101317; }
#main .pc-home-presale h1 span::after { content: ""; position: absolute; z-index: -1; left: -1%; bottom: .04em; width: 104%; height: .12em; border-radius: 50%; background: var(--home-ad-yellow); transform: rotate(-2deg); }
#main .pc-home-presale__subtitle {
    margin: 28px 0 0;
    color: #15191e;
    font-size: clamp(19px, 1.7vw, 24px);
    font-weight: 650;
    line-height: 1.55;
}
#main .pc-home-presale__lead {
    max-width: 390px;
    margin: 18px 0 0;
    color: #62665f;
    font-size: 16px;
    line-height: 1.9;
}
#main .pc-home-presale__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 19px;
    margin-top: 30px;
}
#main .pc-home-presale__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 15px 27px;
    border: 2px solid #101317;
    border-radius: 100px;
    background: #101317;
    box-shadow: 4px 5px 0 var(--home-ad-yellow);
    color: #fff;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.4;
    text-decoration: none;
}
#main .pc-home-presale__button:hover { background: #2c3228; border-color: #101317; box-shadow: 2px 3px 0 #edc600; color: #fff; }
#main .pc-home-presale__button:focus-visible { outline: 3px solid #101317; outline-offset: 5px; }
#main .pc-home-presale__availability { color: #454b43; font-size: 12px; font-weight: 650; letter-spacing: .08em; }
#main .pc-home-presale__availability::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 8px; border-radius: 50%; background: var(--home-ad-yellow); vertical-align: middle; }
#main .pc-home-presale__visual {
    position: relative;
    min-width: 0;
    width: 100%;
    max-width: 640px;
    justify-self: end;
    border: 1px solid #ffffff20;
    border-radius: 28px;
    background: #eef0f0;
    box-shadow: 0 28px 80px #00000040;
    overflow: hidden;
}
#main .pc-home-presale__visual > img { display: block; width: 100%; height: auto; max-width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
#main .pc-home-presale__visual.pc-home-presale__visual--cutout {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}
#main .pc-home-presale__visual--cutout > img { filter: drop-shadow(0 10px 12px #61511b12); }
@media (max-width: 1000px) and (min-width: 850px) {
    #main .pc-home-presale::before { width: 850px; height: 740px; right: -460px; }
    #main .pc-home-presale__inner { width: calc(100% - 48px); gap: 35px; }
    #main .pc-home-presale h1 { font-size: 57px; }
    #main .pc-home-presale__lead { font-size: 15px; }
}
@media (max-width: 849px) {
    #main .pc-home-presale__inner { grid-template-columns: minmax(0, 1fr); width: calc(100% - 48px); padding: 30px 0 40px; gap: 0; }
    #main .pc-home-presale::before { display: none; }
    #main .pc-home-presale__visual--cutout { isolation: isolate; }
    #main .pc-home-presale__visual--cutout::before { content: ""; position: absolute; z-index: -1; inset: 10% -45% 5% 30%; border-radius: 49% 42% 35% 56%; background: var(--home-ad-yellow); transform: rotate(-13deg); pointer-events: none; }
    #main .pc-home-presale__copy { display: contents; }
    #main .pc-home-presale h1 { order: 2; font-size: clamp(42px, 9.4vw, 68px); }
    #main .pc-home-presale__eyebrow { order: 1; margin-bottom: 16px; }
    #main .pc-home-presale__subtitle { order: 4; margin-top: 24px; font-size: 20px; }
    #main .pc-home-presale__lead { order: 5; max-width: 540px; margin-top: 10px; font-size: 15px; }
    #main .pc-home-presale__actions { order: 6; margin-top: 22px; }
    #main .pc-home-presale__visual { order: 3; justify-self: start; max-width: 540px; margin: 24px 0 0; border-radius: 20px; box-shadow: 0 18px 40px #00000030; }
}
@media (max-width: 389px) {
    #main .pc-home-presale__inner { width: calc(100% - 40px); }
    #main .pc-home-presale__eyebrow { gap: 9px; font-size: 10px; }
    #main .pc-home-presale__badge { padding-inline: 10px; font-size: 11px; }
    #main .pc-home-presale__subtitle { font-size: 18px; }
    #main .pc-home-presale__lead { font-size: 14px; }
    #main .pc-home-presale__button { padding-inline: 21px; }
}
