/* PeptaCo homepage header and hero — scoped to the custom homepage. */

.peptaco-site-header,
.peptaco-mobile-nav,
.peptaco-home .peptaco-hero-section {
    --pt-navy: #10233f;
    --pt-blue: #315ff4;
    --pt-blue-dark: #2349c9;
    --pt-cyan: #19a9c6;
    --pt-ink: #14213a;
    --pt-muted: #66758d;
    --pt-surface: #f3f7fb;
    --pt-line: rgba(16, 35, 63, 0.1);
    --pt-shadow: 0 22px 60px rgba(24, 48, 84, 0.12);
    font-family: 'Jost', 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body.home.page-template-template-home-custom .home-container {
    width: 100%;
    max-width: none;
    padding-right: 0;
    padding-left: 0;
}

/* Header */
.peptaco-site-header {
    position: fixed;
    z-index: 999;
    top: 20px;
    right: 0;
    left: 0;
    width: 100%;
    padding: 0 24px;
    pointer-events: none;
}

.admin-bar .peptaco-site-header {
    top: 52px;
}

.peptaco-site-header .peptaco-header {
    width: min(1240px, 100%);
    margin: 0 auto;
    border: 1px solid rgba(16, 35, 63, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 45px rgba(21, 43, 76, 0.11);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    pointer-events: auto;
}

.peptaco-header-shell {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 78px;
    padding: 0 18px 0 24px;
    gap: 20px;
}

.peptaco-brand,
.peptaco-header-actions {
    min-width: 0;
}

.peptaco-site-header .custom-logo-link {
    display: inline-flex;
    align-items: center;
}

.peptaco-site-header .custom-logo {
    width: auto;
    max-width: 180px;
    max-height: 50px;
}

.peptaco-wordmark {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--pt-navy) !important;
    text-decoration: none !important;
}

.peptaco-wordmark-symbol {
    position: relative;
    display: block;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--pt-blue), var(--pt-cyan));
    box-shadow: 0 8px 20px rgba(49, 95, 244, 0.24);
}

.peptaco-wordmark-symbol i {
    position: absolute;
    width: 7px;
    height: 7px;
    border: 2px solid #fff;
    border-radius: 50%;
}

.peptaco-wordmark-symbol i:nth-child(1) { top: 8px; left: 9px; }
.peptaco-wordmark-symbol i:nth-child(2) { top: 15px; right: 7px; }
.peptaco-wordmark-symbol i:nth-child(3) { bottom: 7px; left: 13px; }

.peptaco-wordmark-symbol::before,
.peptaco-wordmark-symbol::after {
    content: '';
    position: absolute;
    width: 13px;
    height: 1px;
    background: rgba(255, 255, 255, 0.9);
    transform-origin: left center;
}

.peptaco-wordmark-symbol::before { top: 14px; left: 14px; transform: rotate(19deg); }
.peptaco-wordmark-symbol::after { top: 23px; left: 16px; transform: rotate(-28deg); }

.peptaco-wordmark-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.peptaco-wordmark-text strong {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.7px;
}

.peptaco-wordmark-text small {
    margin-top: 5px;
    color: var(--pt-muted);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.peptaco-site-header .peptaco-primary-nav,
.peptaco-site-header .peptaco-primary-nav > div,
.peptaco-site-header .peptaco-primary-nav .menu {
    height: 100%;
}

.peptaco-site-header .peptaco-primary-nav .menu {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    gap: 4px;
    list-style: none;
}

.peptaco-site-header .peptaco-primary-nav .menu > li {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    margin: 0;
}

.peptaco-site-header .peptaco-primary-nav .menu > li > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 13px;
    border-radius: 10px;
    color: var(--pt-ink) !important;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: color 180ms ease, background-color 180ms ease;
}

.peptaco-site-header .peptaco-primary-nav .menu > li > a:hover,
.peptaco-site-header .peptaco-primary-nav .menu > li.current-menu-item > a {
    color: var(--pt-blue) !important;
    background: rgba(49, 95, 244, 0.06);
}

.peptaco-site-header .peptaco-primary-nav .menu > li.current-menu-item > a::after {
    content: '';
    position: absolute;
    right: 13px;
    bottom: 5px;
    left: 13px;
    height: 2px;
    border-radius: 2px;
    background: var(--pt-blue);
}

.peptaco-header-actions {
    display: flex;
    justify-content: flex-end;
}

.peptaco-header-quote,
.peptaco-mobile-quote {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 19px;
    gap: 10px;
    border-radius: 12px;
    background: var(--pt-navy);
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    box-shadow: 0 10px 22px rgba(16, 35, 63, 0.18);
    transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.peptaco-header-quote:hover {
    transform: translateY(-2px);
    background: var(--pt-blue);
    box-shadow: 0 13px 26px rgba(49, 95, 244, 0.25);
}

.peptaco-header-quote span {
    font-size: 17px;
    line-height: 1;
}

.peptaco-mobile-nav {
    display: none;
}

/* Hero */
.peptaco-home .peptaco-hero-section {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 760px;
    padding: 154px 24px 82px;
    overflow: hidden;
    background:
        radial-gradient(circle at 9% 18%, rgba(72, 147, 255, 0.15), transparent 25%),
        radial-gradient(circle at 92% 83%, rgba(25, 169, 198, 0.13), transparent 25%),
        linear-gradient(135deg, #f8fbff 0%, #edf5fb 52%, #f7fbfd 100%);
}

.peptaco-home .peptaco-hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: radial-gradient(rgba(16, 35, 63, 0.08) 0.8px, transparent 0.8px);
    background-size: 24px 24px;
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,.45), transparent 44%, transparent 68%, rgba(0,0,0,.2));
    mask-image: linear-gradient(to right, rgba(0,0,0,.45), transparent 44%, transparent 68%, rgba(0,0,0,.2));
    pointer-events: none;
}

.peptaco-hero-orb {
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    filter: blur(1px);
    pointer-events: none;
}

.peptaco-hero-orb-one {
    top: 110px;
    right: -110px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(49, 95, 244, 0.14);
}

.peptaco-hero-orb-two {
    bottom: -135px;
    left: 42%;
    width: 270px;
    height: 270px;
    background: rgba(255, 255, 255, 0.55);
    box-shadow: inset 0 0 0 1px rgba(16, 35, 63, 0.04);
}

.peptaco-home .peptaco-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(460px, 1.06fr);
    align-items: center;
    width: min(1240px, 100%);
    max-width: 1240px;
    margin: 0 auto;
    padding: 0;
    gap: clamp(44px, 6vw, 88px);
}

.peptaco-home .peptaco-hero-content {
    max-width: 620px;
    margin: 0;
    text-align: left;
}

.peptaco-home .peptaco-hero-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    margin: 0 0 23px;
    padding: 7px 14px;
    border: 1px solid rgba(49, 95, 244, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--pt-blue);
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 1.15px;
    text-transform: uppercase;
    box-shadow: 0 8px 24px rgba(28, 71, 132, 0.06);
}

.peptaco-home .peptaco-hero-badge::before {
    content: '';
    width: 7px;
    height: 7px;
    margin-right: 9px;
    border-radius: 50%;
    background: var(--pt-cyan);
    box-shadow: 0 0 0 4px rgba(25, 169, 198, 0.12);
}

.peptaco-home .peptaco-hero-title {
    max-width: 650px;
    margin: 0 0 24px;
    color: var(--pt-navy) !important;
    font-size: clamp(50px, 4.6vw, 70px);
    font-weight: 650;
    line-height: 0.99;
    letter-spacing: -2.8px;
}

.peptaco-home .peptaco-hero-sub {
    max-width: 570px;
    margin: 0 0 32px;
    color: var(--pt-muted);
    font-size: 17px;
    line-height: 1.72;
}

.peptaco-home .peptaco-hero-cta {
    display: flex;
    justify-content: flex-start;
    margin: 0 0 42px;
    gap: 13px;
}

.peptaco-home .peptaco-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 14px 24px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none !important;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.peptaco-home .peptaco-btn-primary {
    border-color: var(--pt-navy);
    background: var(--pt-navy);
    color: #fff !important;
    box-shadow: 0 14px 30px rgba(16, 35, 63, 0.19);
}

.peptaco-home .peptaco-btn-primary:hover {
    transform: translateY(-2px);
    border-color: var(--pt-blue);
    background: var(--pt-blue);
    box-shadow: 0 16px 32px rgba(49, 95, 244, 0.25);
}

.peptaco-home .peptaco-btn-outline {
    border-color: rgba(16, 35, 63, 0.18);
    background: rgba(255, 255, 255, 0.72);
    color: var(--pt-navy) !important;
}

.peptaco-home .peptaco-btn-outline:hover {
    transform: translateY(-2px);
    border-color: var(--pt-blue);
    background: #fff;
    color: var(--pt-blue) !important;
}

.peptaco-home .peptaco-hero-badges {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    margin: 0;
    padding: 0;
    gap: 0;
    list-style: none;
}

.peptaco-home .peptaco-badge-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 14px;
    gap: 5px;
    border-left: 1px solid rgba(16, 35, 63, 0.12);
    color: var(--pt-muted);
}

.peptaco-home .peptaco-badge-item:first-child {
    padding-left: 0;
    border-left: 0;
}

.peptaco-home .peptaco-badge-item strong {
    color: var(--pt-navy);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
}

.peptaco-home .peptaco-badge-item span {
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
}

.peptaco-home .peptaco-hero-visual {
    position: relative;
    min-width: 0;
}

.peptaco-home .peptaco-hero-visual::before {
    content: '';
    position: absolute;
    z-index: -1;
    top: -34px;
    right: -34px;
    width: 70%;
    height: 78%;
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(49, 95, 244, 0.13), rgba(25, 169, 198, 0.04));
    transform: rotate(5deg);
}

.peptaco-home .peptaco-hero-image-frame {
    position: relative;
    overflow: hidden;
    min-height: 430px;
    border: 9px solid rgba(255, 255, 255, 0.9);
    border-radius: 30px;
    background: #dce8ef;
    box-shadow: var(--pt-shadow);
}

.peptaco-home .peptaco-hero-image-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(9, 28, 54, 0.04), transparent 48%, rgba(22, 91, 130, 0.11));
    pointer-events: none;
}

.peptaco-home .peptaco-hero-image-frame img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
    object-position: center;
    transform: scale(1.12);
}

.peptaco-home .peptaco-hero-image-label {
    position: absolute;
    z-index: 2;
    right: 22px;
    bottom: 22px;
    display: flex;
    flex-direction: column;
    min-width: 220px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 14px 30px rgba(11, 35, 63, 0.14);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.peptaco-home .peptaco-hero-image-label span {
    margin-bottom: 4px;
    color: var(--pt-blue);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.peptaco-home .peptaco-hero-image-label strong {
    color: var(--pt-navy);
    font-size: 15px;
    font-weight: 650;
}

.peptaco-site-header a:focus-visible,
.peptaco-site-header button:focus-visible,
.peptaco-home .peptaco-hero-section a:focus-visible {
    outline: 3px solid rgba(25, 169, 198, 0.65);
    outline-offset: 3px;
}

@media (max-width: 1100px) {
    .peptaco-header-shell {
        grid-template-columns: 1fr auto 1fr;
        padding-left: 18px;
        gap: 8px;
    }

    .peptaco-site-header .peptaco-primary-nav .menu > li > a {
        padding-right: 9px;
        padding-left: 9px;
        font-size: 13px;
    }

    .peptaco-header-quote {
        padding-right: 14px;
        padding-left: 14px;
        font-size: 13px;
    }

    .peptaco-home .peptaco-hero-inner {
        grid-template-columns: minmax(0, 1fr) minmax(390px, .9fr);
        gap: 38px;
    }

    .peptaco-home .peptaco-hero-title {
        font-size: clamp(46px, 5vw, 58px);
    }
}

@media (max-width: 960px) {
    .peptaco-site-header {
        top: 14px;
        padding: 0 16px;
    }

    .admin-bar .peptaco-site-header {
        top: 46px;
    }

    .peptaco-header-shell {
        display: flex;
        min-height: 68px;
        padding: 0 12px 0 18px;
    }

    .peptaco-brand {
        margin-right: auto;
    }

    .peptaco-site-header .peptaco-primary-nav,
    .peptaco-header-actions {
        display: none;
    }

    .peptaco-mobile-nav {
        position: fixed;
        z-index: 1001;
        top: 26px;
        right: 30px;
        display: block;
    }

    .admin-bar .peptaco-mobile-nav {
        top: 58px;
    }

    .peptaco-mobile-nav .toggle-button {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0;
        gap: 5px;
        border: 0;
        border-radius: 11px;
        background: var(--pt-navy);
        box-shadow: 0 8px 20px rgba(16, 35, 63, 0.2);
    }

    .peptaco-mobile-nav .toggle-bar {
        display: block;
        width: 18px;
        height: 2px;
        border-radius: 2px;
        background: #fff;
    }

    .peptaco-mobile-nav .mobile-menu {
        padding-bottom: 30px;
    }

    .peptaco-mobile-nav .peptaco-mobile-quote {
        margin: 20px 25px 0;
    }

    .peptaco-home .peptaco-hero-section {
        min-height: auto;
        padding: 126px 28px 72px;
    }

    .peptaco-home .peptaco-hero-inner {
        grid-template-columns: 1fr;
        max-width: 760px;
        gap: 52px;
    }

    .peptaco-home .peptaco-hero-content {
        max-width: 690px;
    }

    .peptaco-home .peptaco-hero-title {
        max-width: 660px;
        font-size: clamp(48px, 7vw, 65px);
    }

    .peptaco-home .peptaco-hero-visual {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .peptaco-site-header {
        top: 10px;
        padding: 0 10px;
    }

    .admin-bar .peptaco-site-header {
        top: 56px;
    }

    .peptaco-site-header .peptaco-header {
        border-radius: 15px;
    }

    .peptaco-header-shell {
        min-height: 62px;
        padding-left: 14px;
    }

    .peptaco-wordmark-symbol {
        width: 34px;
        height: 34px;
    }

    .peptaco-wordmark-text strong {
        font-size: 21px;
    }

    .peptaco-wordmark-text small {
        font-size: 8px;
    }

    .peptaco-mobile-nav {
        top: 19px;
        right: 19px;
    }

    .admin-bar .peptaco-mobile-nav {
        top: 65px;
    }

    .peptaco-mobile-nav .toggle-button {
        width: 42px;
        height: 42px;
    }

    .peptaco-home .peptaco-hero-section {
        padding: 110px 20px 56px;
    }

    .peptaco-home .peptaco-hero-title {
        margin-bottom: 20px;
        font-size: clamp(39px, 12vw, 51px);
        line-height: 1.02;
        letter-spacing: -1.9px;
    }

    .peptaco-home .peptaco-hero-sub {
        margin-bottom: 27px;
        font-size: 16px;
        line-height: 1.62;
    }

    .peptaco-home .peptaco-hero-cta {
        flex-direction: column;
        margin-bottom: 34px;
    }

    .peptaco-home .peptaco-btn {
        width: 100%;
    }

    .peptaco-home .peptaco-hero-badges {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 22px;
    }

    .peptaco-home .peptaco-badge-item:nth-child(3) {
        padding-left: 0;
        border-left: 0;
    }

    .peptaco-home .peptaco-hero-inner {
        gap: 40px;
    }

    .peptaco-home .peptaco-hero-image-frame,
    .peptaco-home .peptaco-hero-image-frame img {
        min-height: 320px;
    }

    .peptaco-home .peptaco-hero-image-frame {
        border-width: 6px;
        border-radius: 23px;
    }

    .peptaco-home .peptaco-hero-image-label {
        right: 13px;
        bottom: 13px;
        min-width: 190px;
        padding: 13px 15px;
    }
}

@media (max-width: 360px) {
    .peptaco-wordmark-text small {
        display: none;
    }

    .peptaco-home .peptaco-hero-section {
        padding-right: 16px;
        padding-left: 16px;
    }

    .peptaco-home .peptaco-hero-title {
        font-size: 37px;
    }

    .peptaco-home .peptaco-badge-item {
        padding-right: 8px;
        padding-left: 8px;
    }

    .peptaco-home .peptaco-badge-item span {
        white-space: normal;
    }
}

@media (prefers-reduced-motion: reduce) {
    .peptaco-site-header *,
    .peptaco-home .peptaco-hero-section * {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* ================================================================
   Homepage header product-page clone pass
   Use the same centered-nav strategy as product pages.
   ================================================================ */
/* Desktop header - simple flexbox centering */
@media (min-width: 1101px) {
    .peptaco-site-header {
        right: 0 !important;
        left: 0 !important;
        box-sizing: border-box !important;
        padding: 12px 20px !important;
        background: transparent !important;
    }

    .peptaco-site-header .peptaco-header {
        position: relative !important;
        width: min(1240px, 100%) !important;
        min-height: 90px !important;
        margin: 0 auto !important;
        border: 1px solid rgba(16, 35, 63, 0.08) !important;
        border-radius: 18px !important;
        background: rgba(255, 255, 255, 0.95) !important;
        box-shadow: 0 14px 40px rgba(16, 35, 63, 0.1) !important;
    }

    .peptaco-header-shell {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        min-height: 90px !important;
        padding: 0 24px !important;
        gap: 20px !important;
    }

    .peptaco-brand {
        flex-shrink: 0 !important;
    }

    .peptaco-site-header .peptaco-primary-nav {
        flex-grow: 1 !important;
        display: flex !important;
        justify-content: center !important;
    }

    .peptaco-site-header .peptaco-primary-nav .menu {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    .peptaco-site-header .peptaco-primary-nav .menu > li {
        margin: 0 !important;
    }

    .peptaco-site-header .peptaco-primary-nav .menu > li > a {
        min-height: 42px !important;
        padding: 10px 14px !important;
        border-radius: 11px !important;
        color: var(--pt-ink) !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        text-decoration: none !important;
        display: inline-flex !important;
        align-items: center !important;
    }

    .peptaco-header-actions {
        flex-shrink: 0 !important;
    }

    .peptaco-header-quote {
        min-height: 46px !important;
        padding: 11px 18px !important;
        border-radius: 14px !important;
        background: var(--pt-navy) !important;
        color: #fff !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        box-shadow: 0 10px 22px rgba(16, 35, 63, 0.18) !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 10px !important;
        text-decoration: none !important;
    }

    .peptaco-header-quote:hover {
        background: var(--pt-blue) !important;
    }
}

/* ================================================================
   Homepage header CTA restore — keep nav centered, pin CTA right.
   ================================================================ */
@media (min-width: 1101px) {
    .peptaco-header-actions {
        position: absolute !important;
        top: 50% !important;
        right: 18px !important;
        z-index: 2 !important;
        display: flex !important;
        width: auto !important;
        justify-content: flex-end !important;
        transform: translateY(-50%) !important;
    }

    .peptaco-header-quote {
        min-height: 46px !important;
        padding: 11px 18px !important;
        border-radius: 14px !important;
        background: var(--pt-navy) !important;
        color: #fff !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        box-shadow: 0 10px 22px rgba(16, 35, 63, 0.18) !important;
    }

    .peptaco-header-quote:hover {
        background: var(--pt-blue) !important;
    }
}

/* ================================================================
   Homepage CTA contrast fixes
   ================================================================ */
.peptaco-home .peptaco-view-all .peptaco-btn,
.peptaco-home .peptaco-view-all .peptaco-btn-primary {
    border-color: var(--pt-navy) !important;
    background: var(--pt-navy) !important;
    color: #fff !important;
    box-shadow: 0 14px 30px rgba(16, 35, 63, 0.19) !important;
}

.peptaco-home .peptaco-view-all .peptaco-btn:hover,
.peptaco-home .peptaco-view-all .peptaco-btn-primary:hover {
    border-color: var(--pt-blue) !important;
    background: var(--pt-blue) !important;
    color: #fff !important;
}

.peptaco-home .peptaco-cta-section .peptaco-btn-outline-dark,
.peptaco-home .peptaco-cta-section .peptaco-btn.peptaco-btn-outline-dark {
    border-color: rgba(255, 255, 255, 0.9) !important;
    background: #fff !important;
    color: var(--pt-navy) !important;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18) !important;
}

.peptaco-home .peptaco-cta-section .peptaco-btn-outline-dark:hover,
.peptaco-home .peptaco-cta-section .peptaco-btn.peptaco-btn-outline-dark:hover {
    border-color: #fff !important;
    background: var(--pt-cyan) !important;
    color: #fff !important;
}

.peptaco-home .peptaco-cta-section .peptaco-btn-primary {
    border-color: rgba(255, 255, 255, 0.55) !important;
    background: transparent !important;
    color: #fff !important;
}

.peptaco-home .peptaco-cta-section .peptaco-btn-primary:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
}

/* ================================================================
   Homepage view-all button contrast fix — body does not carry .peptaco-home.
   Applies to View All Products and View Quality Details together.
   ================================================================ */
body.home .peptaco-view-all .peptaco-btn,
body.page-template-template-home-custom .peptaco-view-all .peptaco-btn,
.peptaco-view-all .peptaco-btn {
    border-color: var(--pt-navy, #10233f) !important;
    background: var(--pt-navy, #10233f) !important;
    color: #fff !important;
    box-shadow: 0 14px 30px rgba(16, 35, 63, 0.19) !important;
}

body.home .peptaco-view-all .peptaco-btn:hover,
body.page-template-template-home-custom .peptaco-view-all .peptaco-btn:hover,
.peptaco-view-all .peptaco-btn:hover {
    border-color: var(--pt-blue, #315ff4) !important;
    background: var(--pt-blue, #315ff4) !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(49, 95, 244, 0.25) !important;
}

/* Global pages need top breathing room because the PeptaCo header is fixed. */
body:not(.home):not(.page-template-template-home-custom) #content.site-content,
body:not(.home):not(.page-template-template-home-custom) .site-content,
body:not(.home):not(.page-template-template-home-custom) article.page,
body:not(.home):not(.page-template-template-home-custom) main.site-main {
    padding-top: 120px;
}

body.woocommerce-shop #content.site-content,
body.woocommerce-shop .site-content,
body.archive.post-type-archive-product main.site-main {
    padding-top: 0;
}

@media (max-width: 960px) {
    body:not(.home):not(.page-template-template-home-custom) #content.site-content,
    body:not(.home):not(.page-template-template-home-custom) .site-content,
    body:not(.home):not(.page-template-template-home-custom) article.page,
    body:not(.home):not(.page-template-template-home-custom) main.site-main {
        padding-top: 96px;
    }
}
