/* ==========================================================================
   Saba ACE Styles
   Scoped under #view-sabaace to prevent collisions with global site.css / Bootstrap
   ========================================================================== */

html {
    scroll-behavior: smooth;
}

#view-sabaace {
    --navy: #132e49;
    --red: #c71e36;
    --gold: #d2a641;
    --ink: #18334c;
    --muted: #576a7c;
    --soft: #f3f7fa;
    --border: #e0e7ee;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink);
    background: #ffffff;
    box-sizing: border-box;
    width: 100%;
    position: relative;
}

#view-sabaace *,
#view-sabaace *::before,
#view-sabaace *::after {
    box-sizing: border-box;
}

#view-sabaace h1,
#view-sabaace h2,
#view-sabaace h3 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.14;
    letter-spacing: -0.025em;
    margin: 0 0 18px;
    padding: 0;
}

#view-sabaace h1 {
    font-size: clamp(38px, 5.1vw, 68px);
}

#view-sabaace h2 {
    font-size: clamp(30px, 3.6vw, 46px);
}

#view-sabaace h3 {
    font-size: clamp(22px, 2.5vw, 31px);
}

#view-sabaace p {
    margin: 0 0 18px;
}

#view-sabaace a {
    text-decoration: none;
    color: inherit;
}

#view-sabaace a:hover {
    color: inherit;
}

#view-sabaace img {
    max-width: 100%;
    height: auto;
}

#view-sabaace hr {
    border: 0;
    border-top: 1px solid var(--border);
    margin: 14px 0;
}

#view-sabaace .wrap {
    width: min(1180px, 92%);
    margin: auto;
}

#view-sabaace section {
    padding: 78px 0;
    position: relative;
    clear: both;
    width: 100%;
}

#view-sabaace .center {
    text-align: center;
}

#view-sabaace .lead {
    max-width: 790px;
    margin: 0 auto 38px;
    color: var(--muted);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
}

#view-sabaace .soft {
    background: var(--soft);
}

#view-sabaace .kicker {
    display: block;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--red);
    text-transform: uppercase;
    margin-bottom: 14px;
}

#view-sabaace .small {
    font-size: 12px;
    font-weight: 400;
    color: var(--muted);
}

#view-sabaace .button {
    display: inline-block;
    background: var(--red);
    color: #ffffff;
    padding: 15px 23px;
    border-radius: 7px;
    font-weight: 900;
    text-align: center;
    text-decoration: none !important;
    transition: background 0.15s ease;
}

#view-sabaace .button:hover {
    background: #a8172c;
    color: #ffffff;
}

/* Sub-Header Navigation */
#view-sabaace .ace-header {
    position: relative;
    z-index: 10;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    width: 100%;
    clear: both;
}

#view-sabaace .ace-header .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    min-height: 74px;
    padding: 10px 0;
}

#view-sabaace .ace-header img.logoimg {
    height: 44px;
    width: auto;
    display: block;
}

#view-sabaace .ace-header nav {
    display: flex;
    gap: 24px;
    font-weight: 700;
    font-size: 14px;
}

#view-sabaace .ace-header nav a {
    color: var(--ink);
}

#view-sabaace .ace-header nav a:hover {
    color: var(--red);
}

#view-sabaace .ace-header .button {
    color: #ffffff;
    white-space: nowrap;
}

#view-sabaace .ace-header .button:hover {
    color: #ffffff;
    background: #a8172c;
}

/* Hero Section */
#view-sabaace .hero {
    position: relative;
    clear: both;
    width: 100%;
    height: auto;
    color: var(--ink);
    background: linear-gradient(115deg, #f6f9fc, #eaf2f7);
    padding: 78px 0;
}

#view-sabaace .hero-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
    align-items: center;
}

#view-sabaace .hero-grid > div {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
}

#view-sabaace .hero-grid > .hero-product {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    align-self: center;
    max-width: 520px;
    width: 100%;
    background: radial-gradient(circle at 50% 38%, #fff9eb 0%, #ffffff 62%);
    border: 1px solid #e5eaf0;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 14px 32px rgba(19, 46, 73, 0.08);
    text-align: center;
}

#view-sabaace .hero-grid > .hero-product img {
    position: static;
    display: block;
    width: 100%;
    max-width: 460px;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}

#view-sabaace .hero h1 {
    font-size: clamp(38px, 5.1vw, 68px);
    color: var(--ink);
    padding-top: 0;
    margin: 0 0 18px;
}

#view-sabaace .hero p {
    font-size: 18px;
    color: #465e74;
    margin: 0 0 18px;
}

#view-sabaace .hero p.small {
    font-size: 12px;
    color: var(--muted);
    margin: 14px 0 0;
}

#view-sabaace .hero b {
    color: var(--navy);
}

#view-sabaace .chips {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 24px 0;
}

#view-sabaace .chips span {
    padding: 9px 13px;
    background: #dbeafe;
    border: 2px solid var(--navy);
    border-radius: 25px;
    font-size: 12px;
    font-weight: 800;
    color: var(--ink);
}

#view-sabaace .hero-benefits-strip {
    width: min(1180px, 92%);
    margin: 28px auto 0;
}

#view-sabaace .chips-blue {
    background: #cfe3f5;
    border-radius: 24px;
    padding: 22px 18px;
    margin-top: 16px;
}

#view-sabaace .chips-blue .chips {
    margin: 0;
}

#view-sabaace .hero-packs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    width: min(1180px, 92%);
    margin: 28px auto 0;
    padding: 18px 20px;
    background: #ffffff;
    border: 2px solid #d6ad4b;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(19, 46, 73, 0.08);
}

#view-sabaace .hero-pack {
    text-align: center;
    color: var(--navy);
    font-weight: 800;
}

#view-sabaace .hero-pack b {
    display: block;
    font-size: 15px;
    color: var(--navy);
}

#view-sabaace .hero-pack span {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #465e74;
    margin-top: 4px;
}

#view-sabaace .hero-pack .saving {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: #13834a;
    margin-top: 4px;
}

#view-sabaace .hero-pack .button {
    display: block;
    margin-top: 10px;
    padding: 11px 14px;
    font-size: 14px;
    color: #ffffff;
}

#view-sabaace .hero-stars {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

#view-sabaace .hero-stars span {
    color: #d2a22b;
    font-size: 25px;
    letter-spacing: 2px;
}

#view-sabaace .hero-stars strong {
    color: #17334e;
    font-size: 18px;
}

#view-sabaace .hero-stars small {
    color: #5d6974;
    font-size: 12px;
}

#view-sabaace .hero p.guarantee,
#view-sabaace .guarantee {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 16px 0 18px;
    padding: 10px 16px;
    border: 1.5px solid #19814a;
    border-radius: 25px;
    background: #eef7f0;
    color: #14663a;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.2px;
}

#view-sabaace .hero p.guarantee span,
#view-sabaace .guarantee span {
    font-size: 17px;
    line-height: 1;
}

/* Video Section */
#view-sabaace .video-sec {
    background: linear-gradient(120deg, #142d45, #0b1726);
    color: #ffffff;
}

#view-sabaace .video-sec .kicker {
    color: #e9c06c;
}

#view-sabaace .video-sec h2 {
    color: #ffffff;
}

#view-sabaace .video-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

#view-sabaace .video-grid p {
    color: #d6dce2;
}

#view-sabaace .video-frame {
    max-width: 340px;
    width: 100%;
    margin: 0 auto;
    border: 2px solid #d8b24f;
    background: #0a1724;
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 8px 24px #132e4915;
}

#view-sabaace .video-frame video {
    display: block;
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    background: #071726;
    border-radius: 8px;
}

#view-sabaace .video-caption {
    text-align: center;
    color: #f4d780;
    font-size: 12px;
    font-weight: 700;
    padding: 8px;
}

/* Benefits Section */
#view-sabaace .benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

#view-sabaace .benefit {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #dbeafe;
}

#view-sabaace .benefit .num {
    font-size: 31px;
    font-weight: 900;
    color: var(--red);
    line-height: 1.2;
}

#view-sabaace .benefit h3 {
    font-size: 22px;
}

#view-sabaace .yellow-benefits {
    background: linear-gradient(145deg, #fff8cf, #fff2b5 50%, #fffbe9);
    border-top: 1px solid #ebcf78;
    border-bottom: 1px solid #ebcf78;
}

#view-sabaace .yellow-benefits .benefit {
    background: #dbeafe;
    border: 1px solid #e5c45d;
    box-shadow: 0 8px 18px #b99b3014;
}

#view-sabaace .yellow-benefits .num {
    color: #b91c32;
}

#view-sabaace .graphic {
    max-width: 1000px;
    margin: 38px auto 6px;
}

#view-sabaace .graphic img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(19, 46, 73, 0.12);
}

/* Rotating Ingredients Stage */
#view-sabaace .ingredient-stage {
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--border);
    box-shadow: 0 16px 40px #12324d13;
}

#view-sabaace .ingredient {
    display: none;
    grid-template-columns: 1fr 1fr;
    min-height: 340px;
}

#view-sabaace .ingredient.active {
    display: grid;
    animation: aceFade 0.22s ease;
}

@keyframes aceFade {
    from {
        opacity: 0.3;
    }
    to {
        opacity: 1;
    }
}

#view-sabaace .ingredient-visual {
    position: relative;
    min-height: 340px;
    overflow: hidden;
    background: #e8eef2;
}

#view-sabaace .ingredient-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#view-sabaace .ingredient-visual .ing-tag {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 44px 22px 18px;
    background: linear-gradient(180deg, transparent, rgba(9, 23, 38, 0.88));
    color: #ffffff;
}

#view-sabaace .ingredient-visual-name {
    font-size: 23px;
    font-weight: 900;
    color: #ffffff;
    text-align: left;
    padding: 0;
}

#view-sabaace .ingredient-visual-note {
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #d8e4ee;
}

#view-sabaace .ingredient-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 45px;
    min-width: 0;
}

#view-sabaace .ingredient-copy h3 {
    color: var(--navy);
}

#view-sabaace .ingredient-copy .science {
    font-size: 14.5px;
    color: #43586c;
    background: #f3f7fa;
    border-left: 3px solid var(--gold);
    padding: 11px 14px;
    border-radius: 0 8px 8px 0;
    margin: 0 0 14px;
}

#view-sabaace .ingredient-copy small {
    color: #7c8790;
    font-size: 11px;
}

#view-sabaace .progress {
    display: block;
    height: 4px;
    background: #e8e8e8;
    border-radius: 0;
    overflow: hidden;
    margin: 0;
}

#view-sabaace .progress > div {
    height: 100%;
    width: 0;
    background: var(--gold);
    animation: aceTick 2.5s linear infinite;
}

@keyframes aceTick {
    to {
        width: 100%;
    }
}

/* Spotlight & Synergy Blend */
#view-sabaace .spotlight {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1080px;
    margin: 34px auto 0;
}

#view-sabaace .spotlight img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(19, 46, 73, 0.12);
}

#view-sabaace .synergy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1080px;
    margin: 26px auto 0;
}

#view-sabaace .synergy-card {
    background: #ffffff;
    border: 2px solid #d4aa46;
    border-radius: 14px;
    padding: 26px;
    box-shadow: 0 10px 26px rgba(19, 46, 73, 0.08);
}

#view-sabaace .synergy-card .role {
    display: block;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #c71e36;
    margin-bottom: 10px;
}

/* Feature Grid (The Legendary Combination) */
#view-sabaace .feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

#view-sabaace .feature-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
}

#view-sabaace .feature-card .fbody {
    padding: 20px 22px;
}

#view-sabaace .feature-card .fbody span {
    display: block;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 6px;
    font-weight: 900;
}

#view-sabaace .feature-card .fbody h3 {
    font-size: 20px;
    margin: 0 0 10px;
}

#view-sabaace .feature-card .fbody p {
    font-size: 15px;
    margin: 0;
}

#view-sabaace .grid-cta {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 14px;
    background: var(--navy);
    color: #ffffff;
    border-radius: 12px;
    padding: 28px;
}

#view-sabaace .grid-cta h3 {
    color: #ffffff;
    margin: 0;
    font-size: 25px;
}

#view-sabaace .grid-cta p {
    color: #d5e0e9;
    margin: 0;
    font-size: 15px;
}

#view-sabaace .grid-cta .button {
    background: var(--gold);
    color: #142e49;
}

#view-sabaace .grid-cta .button:hover {
    background: #c19632;
    color: #142e49;
}

/* Supplement Facts */
#view-sabaace .sf-grid {
    display: block;
    max-width: 780px;
    margin: 36px auto 0;
}

#view-sabaace .supp-facts {
    background: #ffffff;
    border: 2px solid #d4aa46;
    border-radius: 18px;
    padding: 30px 32px;
    box-shadow: 0 14px 34px #8b6d2115;
}

#view-sabaace .supp-facts h3 {
    border-bottom: 8px solid #142e49;
    padding-bottom: 6px;
    margin-bottom: 6px;
}

#view-sabaace .supp-facts .sf-sub {
    font-weight: 900;
    border-bottom: 4px solid #142e49;
    padding-bottom: 6px;
    margin-bottom: 10px;
}

#view-sabaace .supp-facts table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
}

#view-sabaace .supp-facts td {
    padding: 8px 0;
    border-bottom: 1px solid #dfe5ea;
    vertical-align: top;
}

#view-sabaace .supp-facts td:last-child {
    text-align: right;
    font-weight: 900;
    white-space: nowrap;
}

#view-sabaace .supp-facts tr.blend td {
    text-align: left;
    padding-left: 20px;
    font-size: 14.5px;
    font-weight: 400;
    white-space: normal;
}

#view-sabaace .supp-facts .sf-note {
    font-size: 12px;
    color: var(--muted);
    margin-top: 12px;
    margin-bottom: 0;
}

/* Champagne Reviews & Pricing */
#view-sabaace .champagne {
    background: linear-gradient(145deg, #fffaf0 0%, #f9efd6 50%, #fffdf6 100%);
}

#view-sabaace .rating-summary {
    max-width: 560px;
    margin: 0 auto 30px;
    background: #ffffff;
    border: 2px solid #d4aa46;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 24px #8b6d2115;
}

#view-sabaace .rating-summary strong {
    display: block;
    font-size: 38px;
    color: #142f48;
}

#view-sabaace .rating-summary a {
    color: #b32134;
    text-decoration: underline !important;
    font-weight: 800;
}

#view-sabaace .starline {
    color: #d0a02c;
    font-size: 25px;
    letter-spacing: 3px;
}

#view-sabaace .testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: left;
}

#view-sabaace .testimonial {
    background: #ffffff;
    border: 2px solid #d4aa46;
    border-radius: 16px;
    padding: 26px;
    box-shadow: 0 10px 24px #8b6d2112;
}

#view-sabaace .testimonial h3 {
    font-size: 21px;
    margin: 12px 0;
}

#view-sabaace .testimonial p {
    font-size: 16px;
}

#view-sabaace .testimonial small {
    display: block;
    color: #687784;
    margin-top: 14px;
}

#view-sabaace .reviewer {
    font-weight: 800;
    color: #172f49;
    font-size: 13px;
}

#view-sabaace .pricing {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1180px;
    margin: auto;
}

#view-sabaace .plan {
    background: #ffffff;
    border: 2px solid #d4aa46;
    border-radius: 15px;
    padding: 24px;
    box-shadow: 0 12px 30px #8b6d2114;
}

#view-sabaace .plan.best {
    border-width: 3px;
}

#view-sabaace .plan .plan-bottle {
    width: 100%;
    max-width: 200px;
    height: auto;
    display: block;
    margin: 6px auto 10px;
    border-radius: 10px;
}

#view-sabaace .plan .plan-bottle.wide {
    max-width: 280px;
}

#view-sabaace .tag {
    display: inline-block;
    background: var(--navy);
    color: #ffffff;
    font-weight: 900;
    padding: 7px 12px;
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 16px;
}

#view-sabaace .price {
    font-size: 41px;
    font-weight: 900;
    color: var(--navy);
    line-height: 1.2;
}

#view-sabaace .price.auto {
    color: var(--red);
}

#view-sabaace .saving {
    font-weight: 800;
    color: #13834a;
}

#view-sabaace .plan .button {
    display: block;
    margin-top: 20px;
    color: #ffffff;
}

/* FAQ Section */
#view-sabaace details {
    border-bottom: 1px solid var(--border);
    padding: 19px 0;
}

#view-sabaace summary {
    display: list-item;
    list-style: revert;
    font-weight: 800;
    cursor: pointer;
}

#view-sabaace details p {
    margin: 12px 0 0;
}

/* Closing Saba Disclaimer Band (scoped replacement for standalone footer) */
#view-sabaace .ace-closing {
    background: var(--navy);
    color: #ffffff;
    padding: 44px 0;
    text-align: center;
}

#view-sabaace .ace-closing img {
    height: 52px;
    width: auto;
    margin: 0 auto 14px;
    display: block;
}

#view-sabaace .ace-closing h3 {
    color: #ffffff;
    margin: 0 0 12px;
}

#view-sabaace .ace-closing p {
    color: #d5e0e9;
    font-size: 12px;
    margin: 0 auto;
    max-width: 780px;
}

/* Responsive Breakpoints */
@media (max-width: 850px) {
    #view-sabaace .hero-grid,
    #view-sabaace .ingredient,
    #view-sabaace .video-grid,
    #view-sabaace .pricing,
    #view-sabaace .sf-grid {
        grid-template-columns: 1fr;
    }

    #view-sabaace .hero-packs {
        grid-template-columns: repeat(2, 1fr);
    }

    #view-sabaace .benefits,
    #view-sabaace .feature-grid {
        grid-template-columns: 1fr 1fr;
    }

    #view-sabaace .ace-header nav {
        display: none;
    }

    #view-sabaace .hero-grid > .hero-product {
        grid-column: 1;
        grid-row: 2;
    }

    #view-sabaace .hero-grid > div:not(.hero-product) {
        grid-column: 1;
        grid-row: 1;
    }

    #view-sabaace .testimonials {
        grid-template-columns: 1fr;
    }

    #view-sabaace .video-frame {
        max-width: 300px;
    }
}

@media (max-width: 760px) {
    #view-sabaace .spotlight,
    #view-sabaace .synergy-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    #view-sabaace .benefits,
    #view-sabaace .feature-grid,
    #view-sabaace .hero-packs {
        grid-template-columns: 1fr;
    }

    #view-sabaace section,
    #view-sabaace .hero {
        padding: 52px 0;
    }

    #view-sabaace .ingredient-copy {
        padding: 28px 22px;
    }

    #view-sabaace .supp-facts {
        padding: 18px 16px;
    }

    #view-sabaace .supp-facts table {
        font-size: 14px;
    }
}
