:root {
    color-scheme: light;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    padding-bottom: 64px;
}

body.cart-drawer-open {
    overflow: hidden;
    touch-action: none;
}

.btn-primary {
    background-color: #008F4C !important;
    background-image: linear-gradient(135deg, #008F4C, #00C875) !important;
    background-size: 140% 140%;
    box-shadow: 0 12px 24px rgba(0, 168, 89, .22);
    color: #fff !important;
    transition: transform .2s ease-out, box-shadow .2s ease-out, background-position .2s ease-out;
}

.btn-primary:hover {
    background-position: 100% 50%;
    box-shadow: 0 16px 30px rgba(0, 168, 89, .28);
    transform: translateY(-2px);
}

.btn-primary:active {
    box-shadow: 0 8px 18px rgba(0, 168, 89, .20);
    transform: translateY(0);
}

.btn-primary:hover .btn-arrow {
    transform: translateX(2px);
}

.btn-arrow {
    transition: transform .2s ease-out;
}

.btn-secondary {
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #062A54;
    transition: transform .2s ease-out, border-color .2s ease-out, color .2s ease-out;
}

.btn-secondary:hover {
    border-color: #00A859;
    color: #00A859;
    transform: translateY(-1px);
}

.hero {
    min-height: 0;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.float-card {
    animation: floatCard 5s ease-in-out infinite;
}

.float-card-delayed {
    animation: floatCard 5.8s ease-in-out infinite;
    animation-delay: .7s;
}

.spin-soft {
    animation: spinSoft 16s linear infinite;
}

.product-card {
    will-change: transform;
}

.prose-policy h2 {
    color: #0f172a;
    font-size: 1.125rem;
    font-weight: 900;
}

.prose-policy p {
    line-height: 1.8;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (min-width: 1024px) {
    body {
        padding-bottom: 0;
    }
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0) rotate(-1deg);
    }
    50% {
        transform: translateY(-16px) rotate(1deg);
    }
}

@keyframes spinSoft {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn-primary,
    .btn-secondary,
    .btn-arrow {
        transition: none !important;
        transform: none !important;
    }

    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

.product-prose h2 { font-size: 1.5rem; font-weight: 900; margin: 1.25rem 0 .5rem; color: #062A54; }
.product-prose h3 { font-size: 1.25rem; font-weight: 800; margin: 1rem 0 .4rem; color: #062A54; }
.product-prose h4 { font-size: 1.05rem; font-weight: 800; margin: .85rem 0 .35rem; }
.product-prose p { margin: .75rem 0; }
.product-prose ul { list-style: disc; padding-left: 1.25rem; margin: .75rem 0; }
.product-prose ol { list-style: decimal; padding-left: 1.25rem; margin: .75rem 0; }
.product-prose a { color: #00A859; text-decoration: underline; }
.product-prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.product-prose th, .product-prose td { border: 1px solid #e2e8f0; padding: .5rem .75rem; text-align: left; }
.product-prose blockquote { border-left: 4px solid #00A859; padding-left: 1rem; color: #475569; margin: 1rem 0; }
.product-prose img { max-width: 100%; height: auto; border-radius: .75rem; }
.product-prose s, .product-prose strike { text-decoration: line-through; }
.product-description-clip {
    max-height: 22rem;
    overflow: hidden;
    position: relative;
}
.product-description-clip:not(.is-expanded)::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4.5rem;
    background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
}
.product-description-clip.is-expanded {
    max-height: none;
}
.product-description-clip.is-expanded::after {
    display: none;
}

