/* Kay Box Store - final mobile polish loaded after the main stylesheet. */
.featured-product-card > strong,
.hero-product-price,
.pack-price strong,
.promo-prices strong:not(.promo-old),
.simulator-option-price {
    background: #16a34a !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    text-shadow: none !important;
    box-shadow: 0 12px 28px rgba(22, 163, 74, 0.24) !important;
}

.featured-product-card > strong,
.hero-product-price,
.pack-price strong {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 2.45rem !important;
    padding: 0 0.95rem !important;
    border-radius: 999px !important;
    font-weight: 950 !important;
}

.featured-product-card > strong::after,
.pack-price strong::after {
    opacity: 0.22 !important;
}

@media (max-width: 760px) {
    body {
        padding-bottom: 9.25rem !important;
    }

    nav {
        left: 0 !important;
        right: 0 !important;
    }

    nav > div {
        grid-template-columns: auto minmax(0, 1fr) auto !important;
        gap: 0.42rem !important;
        width: calc(100vw - 1rem) !important;
        max-width: none !important;
        margin-inline: auto !important;
        padding: 0.48rem !important;
        backdrop-filter: blur(18px) !important;
    }

    nav .flex.gap-6 {
        justify-self: stretch !important;
        justify-content: center !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
        white-space: nowrap !important;
    }

    nav .flex.gap-6::-webkit-scrollbar {
        display: none !important;
    }

    .nav-link {
        flex: 0 0 auto !important;
        min-height: 2.18rem !important;
        display: inline-flex !important;
        align-items: center !important;
    }

    .store-hero {
        padding-top: 6.35rem !important;
    }

    .store-hero-title {
        line-height: 0.92 !important;
        letter-spacing: -0.055em !important;
    }

    .featured-product-card,
    .pack-card,
    .use-case-card,
    .card-glow {
        padding: 1.15rem !important;
    }

    .featured-product-card img {
        height: clamp(7.6rem, 34vw, 9.2rem) !important;
        object-fit: contain !important;
        padding: 0.35rem !important;
        border-radius: 1rem !important;
        background: rgba(255, 255, 255, 0.92) !important;
    }

    .featured-product-card h3,
    .pack-card h3 {
        font-size: clamp(1.35rem, 7vw, 1.8rem) !important;
        line-height: 1.05 !important;
    }

    .featured-product-card p,
    .pack-card p,
    .use-case-card p {
        font-size: 0.98rem !important;
        line-height: 1.45 !important;
    }

    .featured-product-card > strong,
    .current-price,
    .hero-product-price,
    .pack-price strong {
        min-height: 2.35rem !important;
        font-size: 1.08rem !important;
    }

    .floating-cta {
        left: 0.65rem !important;
        right: 0.65rem !important;
        bottom: 0.65rem !important;
        width: auto !important;
        min-height: 3.45rem !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: center !important;
        gap: 0.55rem !important;
        padding: 0.55rem !important;
        border-radius: 1.15rem !important;
        transform: none !important;
        z-index: 76 !important;
    }

    .floating-cta-visible {
        transform: none !important;
    }

    .floating-cta-copy {
        min-width: 0 !important;
    }

    .floating-cta-copy strong {
        overflow: hidden !important;
        font-size: 0.82rem !important;
        line-height: 1.1 !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .floating-cta-copy span {
        font-size: 0.68rem !important;
        line-height: 1.1 !important;
    }

    .floating-cta-button {
        width: auto !important;
        flex: 0 0 auto !important;
        min-height: 2.35rem !important;
        padding: 0 0.85rem !important;
        border-radius: 0.85rem !important;
        font-size: 0.84rem !important;
        white-space: nowrap !important;
    }

    .site-chat-widget:not(.site-chat-widget-open) {
        left: 0.75rem !important;
        right: auto !important;
        bottom: 4.65rem !important;
        width: auto !important;
        z-index: 84 !important;
    }

    .site-chat-widget-open {
        left: 0.65rem !important;
        right: 0.65rem !important;
        bottom: 0.65rem !important;
        width: auto !important;
        z-index: 90 !important;
    }

    .site-chat-widget-open .site-chat-toggle {
        display: none !important;
    }

    .site-chat-panel {
        width: 100% !important;
        max-height: calc(100vh - 2rem) !important;
        overflow: auto !important;
        border-radius: 1.2rem !important;
    }

    .site-chat-toggle {
        min-height: 2.9rem !important;
        padding: 0.36rem 0.62rem 0.36rem 0.36rem !important;
        box-shadow: 0 16px 38px rgba(16, 32, 43, 0.22) !important;
    }

    .site-chat-toggle strong {
        font-size: 0.82rem !important;
    }
}

@media (max-width: 380px) {
    nav .flex.gap-6 {
        justify-content: flex-start !important;
    }

    .nav-link {
        padding-inline: 0.34rem !important;
    }

    .theme-toggle,
    .nav-social-actions > a:first-of-type {
        width: 2.2rem !important;
        min-height: 2.2rem !important;
    }

    .floating-cta-button {
        padding-inline: 0.62rem !important;
    }
}

/* Admin contrast and typing readability */
.admin-chat-page,
.admin-chat-page * {
    text-shadow: none !important;
}

.admin-chat-sidebar,
.admin-chat-room,
.admin-chat-panel-live,
.admin-live-activity,
.admin-products-panel,
.admin-product-editor,
.admin-product-list {
    color: #10202b !important;
}

.admin-chat-intro .section-eyebrow {
    color: #0f766e !important;
}

.admin-chat-intro h1,
.admin-chat-room-header h2,
.admin-live-activity h3,
.admin-live-activity-section h4,
.admin-products-panel h2,
.admin-products-panel h3,
.admin-stat-card strong,
.admin-chat-thread strong {
    color: #071018 !important;
    -webkit-text-fill-color: #071018 !important;
}

.admin-chat-intro p:not(.section-eyebrow),
.admin-chat-room-header span,
.admin-live-status,
.admin-stat-card span,
.admin-stat-card em,
.admin-chat-thread span,
.admin-live-activity-section p,
.admin-products-help {
    color: #334155 !important;
    -webkit-text-fill-color: #334155 !important;
}

.admin-chat-reply textarea,
.admin-field input,
.admin-field select,
.admin-field textarea,
#admin-chat-reply {
    background: #ffffff !important;
    color: #071018 !important;
    -webkit-text-fill-color: #071018 !important;
    caret-color: #0f766e !important;
    border: 1px solid rgba(15, 23, 42, 0.18) !important;
    box-shadow: inset 0 1px 0 rgba(15, 23, 42, 0.04) !important;
}

.admin-chat-reply textarea::placeholder,
.admin-field input::placeholder,
.admin-field textarea::placeholder,
#admin-chat-reply::placeholder {
    color: #64748b !important;
    -webkit-text-fill-color: #64748b !important;
    opacity: 1 !important;
}

.admin-chat-reply textarea:focus,
.admin-field input:focus,
.admin-field select:focus,
.admin-field textarea:focus,
#admin-chat-reply:focus {
    border-color: #0f9f8f !important;
    box-shadow: 0 0 0 4px rgba(15, 159, 143, 0.16) !important;
    outline: none !important;
}

.admin-chat-reply textarea:disabled,
.admin-field input:disabled,
.admin-field select:disabled,
.admin-field textarea:disabled,
#admin-chat-reply:disabled {
    background: #e2e8f0 !important;
    color: #475569 !important;
    -webkit-text-fill-color: #475569 !important;
    opacity: 1 !important;
}

.admin-panel-tab {
    color: #334155 !important;
}

.admin-panel-tab-active {
    background: #10202b !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

#admin-refresh,
.admin-live-actions #admin-refresh {
    background: #ffffff !important;
    color: #0f766e !important;
    -webkit-text-fill-color: #0f766e !important;
    border: 1px solid rgba(15, 118, 110, 0.32) !important;
    box-shadow: 0 10px 24px rgba(16, 32, 43, 0.08) !important;
}

#admin-refresh:hover,
.admin-live-actions #admin-refresh:hover {
    background: #0f766e !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

#admin-logout,
.admin-live-actions #admin-logout {
    background: #10202b !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.admin-chat-page .floating-cta {
    display: none !important;
}

.admin-chat-page .admin-chat-room-header {
    background: #111c2f !important;
    color: #ffffff !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.admin-chat-page .admin-chat-room-header h2,
.admin-chat-page #admin-chat-room-title {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    opacity: 1 !important;
}

.admin-chat-page .admin-chat-room-header span,
.admin-chat-page #admin-chat-room-status {
    color: #dbeafe !important;
    -webkit-text-fill-color: #dbeafe !important;
    opacity: 1 !important;
}

@media (max-width: 760px) {
    .admin-chat-intro h1 {
        font-size: clamp(2.35rem, 13vw, 3.5rem) !important;
        line-height: 0.9 !important;
    }

    .admin-chat-reply {
        grid-template-columns: 1fr !important;
    }

    .admin-chat-reply button {
        min-height: 3.2rem !important;
    }
}

/* Commercial trust section */
.why-buy-section {
    padding-top: 1rem;
    padding-bottom: 5rem;
}

.why-buy-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
    padding: clamp(1.4rem, 4vw, 3rem);
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 2rem;
    background:
        radial-gradient(circle at 12% 8%, rgba(22, 163, 74, 0.12), transparent 18rem),
        radial-gradient(circle at 92% 4%, rgba(242, 184, 50, 0.14), transparent 20rem),
        linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(232, 247, 247, 0.86));
    box-shadow: 0 24px 70px rgba(16, 32, 43, 0.12);
}

.why-buy-card::before {
    content: "";
    position: absolute;
    inset: auto -5rem -8rem auto;
    width: 18rem;
    height: 18rem;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.1);
    pointer-events: none;
}

.why-buy-copy,
.why-buy-grid {
    position: relative;
    z-index: 1;
}

.why-buy-copy h2 {
    max-width: 620px;
    color: #071018;
    font-size: clamp(2rem, 5vw, 4.2rem);
    font-weight: 950;
    line-height: 0.95;
    letter-spacing: -0.055em;
}

.why-buy-copy p:not(.section-eyebrow) {
    max-width: 620px;
    margin-top: 1rem;
    color: #334155;
    font-size: 1.02rem;
    line-height: 1.75;
}

.why-buy-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.35rem;
}

.why-buy-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.why-buy-item {
    min-height: 12.5rem;
    display: grid;
    align-content: start;
    gap: 0.65rem;
    padding: 1.15rem;
    border: 1px solid rgba(15, 118, 110, 0.12);
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 16px 38px rgba(16, 32, 43, 0.08);
}

.why-buy-item i {
    width: 2.9rem;
    height: 2.9rem;
    display: grid;
    place-items: center;
    border-radius: 1rem;
    background: rgba(15, 118, 110, 0.1);
    color: #0f766e;
    font-size: 1.15rem;
}

.why-buy-item h3 {
    color: #071018;
    font-size: 1.08rem;
    font-weight: 950;
}

.why-buy-item p {
    color: #475569;
    font-size: 0.94rem;
    line-height: 1.55;
}

.why-buy-item-hot {
    background:
        radial-gradient(circle at 100% 0%, rgba(242, 184, 50, 0.28), transparent 12rem),
        linear-gradient(145deg, #10202b, #0f766e);
}

.why-buy-item-hot i {
    background: rgba(255, 255, 255, 0.13);
    color: #f2b832;
}

.why-buy-item-hot h3,
.why-buy-item-hot p {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

html[data-theme="dark"] .why-buy-card {
    border-color: rgba(255, 255, 255, 0.14);
    background:
        radial-gradient(circle at 12% 8%, rgba(22, 163, 74, 0.14), transparent 18rem),
        radial-gradient(circle at 92% 4%, rgba(242, 184, 50, 0.12), transparent 20rem),
        linear-gradient(145deg, rgba(15, 23, 42, 0.94), rgba(21, 38, 48, 0.86));
}

html[data-theme="dark"] .why-buy-copy h2,
html[data-theme="dark"] .why-buy-item:not(.why-buy-item-hot) h3 {
    color: #f8fafc;
}

html[data-theme="dark"] .why-buy-copy p:not(.section-eyebrow),
html[data-theme="dark"] .why-buy-item:not(.why-buy-item-hot) p {
    color: #d7e1ea;
}

html[data-theme="dark"] .why-buy-item:not(.why-buy-item-hot) {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 900px) {
    .why-buy-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .why-buy-section {
        padding-bottom: 4rem;
    }

    .why-buy-card {
        border-radius: 1.35rem;
    }

    .why-buy-grid {
        grid-template-columns: 1fr;
    }

    .why-buy-actions .hero-button {
        width: 100%;
        justify-content: center;
    }

    .why-buy-item {
        min-height: auto;
    }
}

/* Testimonials section */
.testimonials-section {
    padding-bottom: 5rem;
}

.testimonials-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.25rem;
    align-items: end;
    margin-bottom: 1.4rem;
}

.testimonials-heading h2 {
    max-width: 760px;
    color: #071018;
    font-size: clamp(2rem, 5vw, 4.2rem);
    font-weight: 950;
    line-height: 0.95;
    letter-spacing: -0.055em;
}

.testimonials-heading p:not(.section-eyebrow) {
    max-width: 680px;
    margin-top: 1rem;
    color: #334155;
    font-size: 1.02rem;
    line-height: 1.7;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.testimonial-card {
    position: relative;
    overflow: hidden;
    min-height: 18rem;
    display: grid;
    align-content: space-between;
    gap: 1.25rem;
    padding: 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 1.7rem;
    background:
        radial-gradient(circle at 100% 0%, rgba(22, 163, 74, 0.1), transparent 13rem),
        rgba(255, 255, 255, 0.9);
    box-shadow: 0 20px 52px rgba(16, 32, 43, 0.1);
}

.testimonial-card::before {
    content: "\201C";
    position: absolute;
    right: 1rem;
    top: -0.4rem;
    color: rgba(15, 118, 110, 0.1);
    font-size: 8rem;
    font-weight: 950;
    line-height: 1;
}

.testimonial-stars {
    position: relative;
    z-index: 1;
    display: inline-flex;
    gap: 0.22rem;
    color: #f2b832;
    font-size: 0.96rem;
}

.testimonial-card p {
    position: relative;
    z-index: 1;
    color: #10202b;
    font-size: 1.02rem;
    font-weight: 750;
    line-height: 1.65;
}

.testimonial-author {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.testimonial-author strong {
    color: #071018;
    font-weight: 950;
}

.testimonial-author span {
    color: #64748b;
    font-size: 0.88rem;
    font-weight: 800;
}

.testimonial-card-hot {
    background:
        radial-gradient(circle at 90% 10%, rgba(242, 184, 50, 0.22), transparent 14rem),
        linear-gradient(145deg, #10202b, #0f766e);
}

.testimonial-card-hot::before {
    color: rgba(255, 255, 255, 0.08);
}

.testimonial-card-hot p,
.testimonial-card-hot .testimonial-author strong,
.testimonial-card-hot .testimonial-author span {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.testimonial-card-hot .testimonial-author {
    border-color: rgba(255, 255, 255, 0.18);
}

html[data-theme="dark"] .testimonials-heading h2,
html[data-theme="dark"] .testimonial-card:not(.testimonial-card-hot) p,
html[data-theme="dark"] .testimonial-card:not(.testimonial-card-hot) .testimonial-author strong {
    color: #f8fafc;
}

html[data-theme="dark"] .testimonials-heading p:not(.section-eyebrow),
html[data-theme="dark"] .testimonial-card:not(.testimonial-card-hot) .testimonial-author span {
    color: #d7e1ea;
}

html[data-theme="dark"] .testimonial-card:not(.testimonial-card-hot) {
    border-color: rgba(255, 255, 255, 0.14);
    background:
        radial-gradient(circle at 100% 0%, rgba(22, 163, 74, 0.12), transparent 13rem),
        rgba(15, 23, 42, 0.82);
}

html[data-theme="dark"] .testimonial-author {
    border-color: rgba(255, 255, 255, 0.12);
}

@media (max-width: 900px) {
    .testimonials-heading {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .testimonials-section {
        padding-bottom: 4rem;
    }

    .testimonials-heading .hero-button {
        width: 100%;
        justify-content: center;
    }

    .testimonial-card {
        min-height: auto;
        border-radius: 1.35rem;
    }
}

/* Facebook post download page */
.facebook-posts-page {
    padding-top: 8rem;
    padding-bottom: 5rem;
}

.facebook-posts-hero {
    margin-bottom: 2rem;
}

.facebook-posts-hero h1 {
    max-width: 820px;
    color: #071018;
    font-size: clamp(2.6rem, 7vw, 5.5rem);
    font-weight: 950;
    line-height: 0.9;
    letter-spacing: -0.06em;
}

.facebook-posts-hero p:not(.section-eyebrow) {
    max-width: 680px;
    margin-top: 1rem;
    color: #334155;
    font-size: 1.05rem;
    line-height: 1.7;
}

.facebook-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.facebook-post-card {
    overflow: hidden;
    display: grid;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 1.6rem;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 48px rgba(16, 32, 43, 0.1);
}

.facebook-post-card img {
    width: 100%;
    border-radius: 1.1rem;
    background: #ffffff;
}

.facebook-post-card h2 {
    color: #071018;
    font-size: 1.25rem;
    font-weight: 950;
}

.facebook-post-card p {
    margin-top: 0.25rem;
    color: #475569;
    font-weight: 750;
}

.facebook-post-card a {
    min-height: 2.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.8rem;
    padding: 0 1rem;
    border-radius: 999px;
    background: #16a34a;
    color: #ffffff;
    font-weight: 950;
    text-decoration: none;
}

html[data-theme="dark"] .facebook-posts-hero h1,
html[data-theme="dark"] .facebook-post-card h2 {
    color: #f8fafc;
}

html[data-theme="dark"] .facebook-posts-hero p:not(.section-eyebrow),
html[data-theme="dark"] .facebook-post-card p {
    color: #d7e1ea;
}

html[data-theme="dark"] .facebook-post-card {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(15, 23, 42, 0.82);
}

@media (max-width: 760px) {
    .facebook-posts-page {
        padding-top: 7rem;
    }

.facebook-posts-grid {
        grid-template-columns: 1fr;
    }
}

/* Conversion boosters: promo urgency, FAQ and final CTA */
.promo-deadline {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 1rem 0 1.15rem;
    padding: 0.7rem 0.95rem;
    border: 1px solid rgba(245, 158, 11, 0.24);
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.12);
    color: #92400e;
    font-weight: 950;
}

.promo-deadline i {
    color: #f59e0b;
}

.home-faq-section,
.final-cta-section {
    padding-bottom: 5rem;
}

.home-faq-card,
.final-cta-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 2rem;
    background:
        radial-gradient(circle at 8% 0%, rgba(22, 163, 74, 0.12), transparent 18rem),
        linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(236, 250, 250, 0.88));
    box-shadow: 0 24px 70px rgba(16, 32, 43, 0.12);
}

.home-faq-card {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
    gap: clamp(1.25rem, 4vw, 3rem);
    padding: clamp(1.35rem, 4vw, 3rem);
}

.home-faq-heading h2,
.final-cta-card h2 {
    color: #071018;
    font-size: clamp(2rem, 5vw, 4.1rem);
    font-weight: 950;
    line-height: 0.95;
    letter-spacing: -0.055em;
}

.home-faq-heading p:not(.section-eyebrow),
.final-cta-card p:not(.section-eyebrow) {
    margin-top: 1rem;
    color: #334155;
    line-height: 1.7;
}

.home-faq-list {
    display: grid;
    gap: 0.75rem;
}

.home-faq-item {
    border: 1px solid rgba(15, 118, 110, 0.14);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.82);
    color: #10202b;
}

.home-faq-item summary {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    color: #071018;
    font-weight: 950;
    list-style: none;
}

.home-faq-item summary::-webkit-details-marker {
    display: none;
}

.home-faq-item summary::after {
    content: "+";
    flex: 0 0 auto;
    width: 1.7rem;
    height: 1.7rem;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.1);
    color: #0f766e;
}

.home-faq-item[open] summary::after {
    content: "-";
}

.home-faq-item p {
    padding: 0 1.1rem 1rem;
    color: #475569;
    line-height: 1.65;
}

.final-cta-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.5rem;
    padding: clamp(1.35rem, 4vw, 2.6rem);
}

.final-cta-actions {
    display: grid;
    gap: 0.75rem;
    min-width: min(100%, 21rem);
}

.final-cta-actions .hero-button {
    justify-content: center;
}

html[data-theme="dark"] .promo-deadline {
    border-color: rgba(242, 184, 50, 0.22);
    background: rgba(242, 184, 50, 0.12);
    color: #fde68a;
}

html[data-theme="dark"] .home-faq-card,
html[data-theme="dark"] .final-cta-card {
    border-color: rgba(255, 255, 255, 0.14);
    background:
        radial-gradient(circle at 8% 0%, rgba(22, 163, 74, 0.12), transparent 18rem),
        linear-gradient(145deg, rgba(15, 23, 42, 0.94), rgba(21, 38, 48, 0.86));
}

html[data-theme="dark"] .home-faq-heading h2,
html[data-theme="dark"] .final-cta-card h2,
html[data-theme="dark"] .home-faq-item summary {
    color: #f8fafc;
}

html[data-theme="dark"] .home-faq-heading p:not(.section-eyebrow),
html[data-theme="dark"] .final-cta-card p:not(.section-eyebrow),
html[data-theme="dark"] .home-faq-item p {
    color: #d7e1ea;
}

html[data-theme="dark"] .home-faq-item {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 900px) {
    .home-faq-card,
    .final-cta-card {
        grid-template-columns: 1fr;
    }

    .final-cta-actions {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .promo-deadline {
        width: 100%;
        justify-content: flex-start;
        border-radius: 1rem;
    }

    .home-faq-section,
    .final-cta-section {
        padding-bottom: 4rem;
    }

    .home-faq-card,
    .final-cta-card {
        border-radius: 1.35rem;
    }

    .final-cta-actions .hero-button {
        width: 100%;
    }
}

/* Quick back-to-top button */
.back-to-top-button {
    position: fixed;
    right: 1.1rem;
    bottom: 6.4rem;
    z-index: 85;
    width: 3.1rem;
    height: 3.1rem;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 999px;
    background: #10202b;
    color: #ffffff;
    box-shadow: 0 18px 42px rgba(16, 32, 43, 0.22);
    opacity: 0;
    pointer-events: none;
    transform: translateY(0.9rem) scale(0.92);
    transition: opacity 0.22s ease, transform 0.22s ease, background 0.22s ease;
}

.back-to-top-button:hover {
    background: #16a34a;
    transform: translateY(-0.08rem) scale(1);
}

.back-to-top-button-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

html[data-theme="dark"] .back-to-top-button {
    border-color: rgba(255, 255, 255, 0.18);
    background: #f8fafc;
    color: #10202b;
}

html[data-theme="dark"] .back-to-top-button:hover {
    background: #16a34a;
    color: #ffffff;
}

@media (max-width: 760px) {
    .back-to-top-button {
        right: 0.75rem;
        bottom: 8.7rem;
        width: 2.72rem;
        height: 2.72rem;
        font-size: 0.9rem;
        z-index: 83;
    }

    .site-chat-widget-open ~ .back-to-top-button,
    .site-chat-widget-open + .back-to-top-button {
        display: none;
    }
}

/* Mobile alignment priority layer */
@media (max-width: 760px) {
    main section {
        overflow-x: hidden !important;
    }

    main section.px-6,
    .momentum-strip,
    .home-gallery-section,
    .featured-products-section,
    .promo-section,
    .use-case-section,
    .why-buy-section,
    .testimonials-section,
    .packs-section,
    .finder-section,
    .contact-section,
    .facebook-posts-page {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .store-hero-inner,
    .max-w-6xl,
    .max-w-5xl,
    .max-w-4xl {
        width: 100% !important;
    }

    .store-hero-layout,
    .promo-card,
    .finder-grid,
    .contact-card,
    .home-gallery-heading,
    .testimonials-heading {
        grid-template-columns: 1fr !important;
        align-items: start !important;
    }

    .store-hero-copy,
    .home-gallery-heading,
    .featured-heading,
    .promo-copy,
    .use-case-heading,
    .why-buy-copy,
    .testimonials-heading,
    .packs-heading,
    .finder-panel,
    .spotlight-panel,
    .contact-card,
    .facebook-posts-hero,
    main > section > .text-center {
        text-align: left !important;
    }

    .store-hero-title,
    .home-gallery-heading h2,
    .featured-heading h2,
    .promo-title,
    .use-case-heading h2,
    .why-buy-copy h2,
    .testimonials-heading h2,
    .packs-heading h2,
    .finder-panel h2,
    .contact-card h2,
    .facebook-posts-hero h1 {
        max-width: 100% !important;
        text-align: left !important;
        text-wrap: balance;
        overflow-wrap: normal !important;
        word-break: normal !important;
    }

    .store-hero-title {
        font-size: clamp(2.85rem, 13.5vw, 4.15rem) !important;
    }

    .store-hero-subtitle,
    .home-gallery-heading p:not(.section-eyebrow),
    .featured-heading p,
    .promo-text,
    .use-case-heading p,
    .why-buy-copy p:not(.section-eyebrow),
    .testimonials-heading p:not(.section-eyebrow),
    .packs-heading p,
    .finder-panel p,
    .contact-card p,
    .facebook-posts-hero p:not(.section-eyebrow) {
        max-width: 100% !important;
        text-align: left !important;
        line-height: 1.6 !important;
    }

    .section-eyebrow {
        justify-content: flex-start !important;
        text-align: left !important;
    }

    .store-hero-actions,
    .promo-actions,
    .why-buy-actions,
    .testimonials-heading > .hero-button,
    .store-hero-proof {
        width: 100% !important;
    }

    .store-hero-actions,
    .promo-actions,
    .why-buy-actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }

    .hero-button,
    .promo-secondary,
    .soft-button,
    .premium-gradient {
        max-width: 100% !important;
    }

    .store-hero-actions .hero-button,
    .promo-actions .hero-button,
    .why-buy-actions .hero-button,
    .testimonials-heading > .hero-button,
    .contact-card .hero-button {
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .store-hero-proof {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0.55rem !important;
    }

    .store-hero-proof span {
        justify-content: flex-start !important;
        text-align: left !important;
    }

    .home-gallery-controls {
        justify-self: start !important;
        width: auto !important;
    }

    .featured-product-grid,
    .use-case-grid,
    .why-buy-grid,
    .testimonials-grid,
    .packs-grid,
    .facebook-posts-grid {
        grid-template-columns: 1fr !important;
    }

    .featured-product-card,
    .use-case-card,
    .why-buy-item,
    .testimonial-card,
    .pack-card,
    .facebook-post-card,
    .card-glow,
    .promo-card,
    .finder-panel,
    .spotlight-panel,
    .contact-card {
        text-align: left !important;
        align-items: start !important;
    }

    .featured-product-card h3,
    .featured-product-card p,
    .use-case-card h3,
    .use-case-card p,
    .why-buy-item h3,
    .why-buy-item p,
    .testimonial-card p,
    .pack-card h3,
    .pack-card p,
    .facebook-post-card h2,
    .facebook-post-card p {
        text-align: left !important;
    }

    .featured-product-card > strong,
    .pack-price,
    .pack-price strong,
    .current-price,
    .price-stack,
    .promo-badge,
    .old-price {
        align-self: flex-start !important;
        text-align: left !important;
    }

    .promo-prices {
        grid-template-columns: 1fr !important;
        gap: 0.7rem !important;
    }

    .promo-prices div {
        align-items: flex-start !important;
        text-align: left !important;
    }

    .promo-poster-frame,
    .promo-poster-frame img {
        width: 100% !important;
    }

    .home-gallery-info {
        left: 0.75rem !important;
        right: 0.75rem !important;
        bottom: 0.75rem !important;
        text-align: left !important;
    }

    .home-gallery-info strong,
    .home-gallery-info em {
        text-align: left !important;
    }

    .finder-panel .grid,
    .product-card-facts,
    .contact-email-grid {
        grid-template-columns: 1fr !important;
    }

    .contact-email-link {
        width: 100% !important;
        justify-content: flex-start !important;
        text-align: left !important;
    }

    .floating-cta-copy,
    .floating-cta-copy strong,
    .floating-cta-copy span {
        text-align: left !important;
    }
}

@media (max-width: 430px) {
    .store-hero-title,
    .home-gallery-heading h2,
    .featured-heading h2,
    .promo-title,
    .use-case-heading h2,
    .why-buy-copy h2,
    .testimonials-heading h2,
    .packs-heading h2,
    .finder-panel h2,
    .contact-card h2 {
        font-size: clamp(2.15rem, 11.5vw, 3.4rem) !important;
        letter-spacing: -0.045em !important;
    }
}
