:root {
    --deep: #0e4c60;
    --deep-2: #073744;
    --aqua: #46daf6;
    --aqua-soft: #e9fbff;
    --lime: #94c919;
    --lime-dark: #6f9e00;
    --mango: #fec111;
    --emerald: #00ba66;
    --coral: #e5585e;
    --orange: #ef9f14;
    --mint: #d4f5ed;
    --cream: #fffaf0;
    --paper: #ffffff;
    --ink: #12343d;
    --muted: #65787d;
    --line: #dbe8e9;
    --shadow-sm: 0 8px 24px rgba(14, 76, 96, 0.08);
    --shadow-lg: 0 22px 70px rgba(7, 55, 68, 0.16);
    --radius-sm: 14px;
    --radius-md: 22px;
    --radius-lg: 32px;
    --shell: 1200px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--ink);
    background: #fbfdfb;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

body:has(dialog[open]) {
    overflow: hidden;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    color: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(70, 218, 246, 0.72);
    outline-offset: 3px;
}

[hidden] {
    display: none !important;
}

.shell {
    width: min(calc(100% - 32px), var(--shell));
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    color: #fff;
    background: var(--deep);
    border-radius: 10px;
    transform: translateY(-150%);
    transition: transform 160ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.ecosystem-bar {
    color: rgba(255, 255, 255, 0.82);
    background: var(--deep-2);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.ecosystem-bar__inner {
    display: flex;
    min-height: 30px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.ecosystem-bar a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-weight: 900;
}

.ecosystem-bar a:hover {
    color: var(--aqua);
}

.site-header {
    position: sticky;
    z-index: 50;
    top: 0;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(14, 76, 96, 0.08);
    backdrop-filter: blur(16px);
}

.header-inner {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.brand-symbol {
    position: relative;
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 48px;
    place-items: center;
    overflow: hidden;
    color: #fff;
    background: var(--deep);
    border-radius: 52% 48% 58% 42% / 44% 42% 58% 56%;
    transform: rotate(-7deg);
    box-shadow: 0 8px 20px rgba(14, 76, 96, 0.2);
}

.brand-symbol::after {
    position: absolute;
    top: 5px;
    right: 8px;
    width: 8px;
    height: 8px;
    content: "";
    background: var(--aqua);
    border-radius: 50%;
}

.brand-symbol span {
    font-size: 12px;
    font-weight: 950;
    letter-spacing: -0.05em;
    transform: rotate(7deg);
}

.brand-copy {
    display: grid;
    line-height: 1.05;
}

.brand-copy strong {
    color: var(--deep);
    font-size: 20px;
    font-weight: 950;
    letter-spacing: 0.04em;
}

.brand-copy small {
    margin-top: 5px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.desktop-nav {
    display: none;
}

.header-cart {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 7px;
    padding: 7px 8px 7px 12px;
    color: #fff;
    background: var(--deep);
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 850;
    box-shadow: 0 8px 20px rgba(14, 76, 96, 0.18);
}

.header-cart .cart-icon {
    display: none;
}

.header-cart strong {
    display: grid;
    min-width: 30px;
    height: 30px;
    place-items: center;
    color: var(--deep);
    background: var(--mango);
    border-radius: 50%;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 44px 0 0;
    background:
        radial-gradient(circle at 10% 5%, rgba(70, 218, 246, 0.38), transparent 25rem),
        linear-gradient(140deg, #edfcff 0%, #f8fff3 58%, #fff9de 100%);
}

.hero::before,
.hero::after {
    position: absolute;
    content: "";
    pointer-events: none;
    border: 1px solid rgba(14, 76, 96, 0.09);
    border-radius: 50%;
}

.hero::before {
    top: -80px;
    left: -100px;
    width: 260px;
    height: 260px;
}

.hero::after {
    right: -100px;
    bottom: 60px;
    width: 220px;
    height: 220px;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 34px;
}

.hero-copy {
    align-self: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--deep);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eyebrow > span {
    width: 24px;
    height: 4px;
    background: var(--lime);
    border-radius: 999px;
}

.hero h1 {
    max-width: 680px;
    margin-bottom: 18px;
    color: var(--deep-2);
    font-size: clamp(42px, 13vw, 70px);
    font-weight: 950;
    letter-spacing: -0.06em;
    line-height: 0.96;
}

.hero-lead {
    max-width: 630px;
    margin-bottom: 24px;
    color: #3f5f67;
    font-size: clamp(17px, 4.7vw, 21px);
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 19px;
    border: 1px solid transparent;
    border-radius: 15px;
    cursor: pointer;
    font-weight: 900;
    line-height: 1.1;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: #fff;
    background: var(--deep);
    box-shadow: 0 12px 24px rgba(14, 76, 96, 0.22);
}

.button-primary:hover {
    background: var(--deep-2);
    box-shadow: 0 16px 32px rgba(14, 76, 96, 0.28);
}

.button-secondary {
    color: var(--deep);
    background: #fff;
    border-color: var(--line);
}

.button-whatsapp {
    color: #fff;
    background: var(--emerald);
    box-shadow: 0 12px 25px rgba(0, 186, 102, 0.25);
}

.button-whatsapp:hover {
    background: #00a95d;
}

.button:disabled {
    cursor: not-allowed;
    filter: grayscale(0.3);
    opacity: 0.48;
    transform: none;
    box-shadow: none;
}

.text-link {
    color: var(--deep);
    border-bottom: 2px solid var(--aqua);
    font-weight: 850;
}

.minimum-note {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    max-width: 560px;
    margin: 24px 0 0;
    color: #47646b;
    font-size: 13px;
    font-weight: 720;
}

.minimum-note span {
    display: grid;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    place-items: center;
    color: var(--deep);
    background: var(--lime);
    border-radius: 50%;
    font-size: 12px;
}

.hero-visual {
    position: relative;
    align-self: end;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    background: var(--aqua);
    border: 6px solid rgba(255, 255, 255, 0.85);
    border-radius: 44px 44px 12px 44px;
    box-shadow: var(--shadow-lg);
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
}

.hero-fallback {
    display: grid;
    min-height: 320px;
    grid-template-columns: repeat(2, 1fr);
    place-items: center;
    font-size: 64px;
}

.hero-sticker {
    position: absolute;
    right: 15px;
    bottom: 15px;
    display: grid;
    width: 88px;
    height: 88px;
    place-content: center;
    color: var(--deep);
    background: var(--mango);
    border: 3px solid #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
    transform: rotate(8deg);
    box-shadow: 0 10px 25px rgba(14, 76, 96, 0.18);
}

.hero-sticker strong {
    font-size: 15px;
}

.trust-row {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 36px;
    padding: 15px 0;
    background: #fff;
    border: 1px solid rgba(14, 76, 96, 0.08);
    border-width: 1px 0;
}

.trust-row > div {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
}

.trust-row > div + div {
    border-top: 1px solid var(--line);
}

.trust-row > div > span {
    display: grid;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    place-items: center;
    background: var(--aqua-soft);
    border-radius: 14px;
    font-size: 21px;
}

.trust-row p {
    display: grid;
    margin: 0;
    line-height: 1.2;
}

.trust-row strong {
    color: var(--deep);
    font-size: 14px;
}

.trust-row small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
}

.catalog-section {
    padding: 70px 0 82px;
    background:
        radial-gradient(circle at 100% 16%, rgba(212, 245, 237, 0.8), transparent 22rem),
        #fbfdfb;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.section-heading h2 {
    max-width: 710px;
    margin-bottom: 10px;
    color: var(--deep-2);
    font-size: clamp(32px, 9vw, 50px);
    font-weight: 950;
    letter-spacing: -0.045em;
    line-height: 1.04;
}

.section-heading p:last-child {
    max-width: 650px;
    margin: 0;
    color: var(--muted);
    font-size: 16px;
}

.flavor-count {
    display: none;
    flex: 0 0 auto;
    padding: 9px 14px;
    color: var(--deep);
    background: var(--mint);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
}

.catalog-toolbar {
    position: sticky;
    z-index: 30;
    top: 72px;
    display: grid;
    gap: 12px;
    margin-inline: -16px;
    padding: 12px 16px;
    background: rgba(251, 253, 251, 0.94);
    border-block: 1px solid rgba(14, 76, 96, 0.06);
    backdrop-filter: blur(14px);
}

.search-box {
    position: relative;
    display: flex;
    height: 52px;
    align-items: center;
    color: var(--muted);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.search-box:focus-within {
    border-color: var(--aqua);
    box-shadow: 0 0 0 4px rgba(70, 218, 246, 0.16);
}

.search-icon {
    padding-left: 16px;
    color: var(--deep);
    font-size: 28px;
    line-height: 1;
    transform: rotate(-15deg);
}

.search-box input {
    width: 100%;
    height: 100%;
    padding: 0 45px 0 10px;
    color: var(--ink);
    background: transparent;
    border: 0;
    outline: 0;
}

.search-box input::placeholder {
    color: #8b9da1;
}

.search-box button {
    position: absolute;
    right: 8px;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    background: var(--aqua-soft);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
}

.category-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.category-tab {
    display: inline-flex;
    flex: 0 0 auto;
    min-height: 46px;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    color: #4b666c;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 850;
}

.category-tab.active {
    color: #fff;
    background: var(--deep);
    border-color: var(--deep);
    box-shadow: 0 8px 20px rgba(14, 76, 96, 0.16);
}

.tab-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.tab-dot.aqua {
    background: var(--aqua);
}

.tab-dot.cream {
    background: #f4d59b;
}

.results-line {
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
}

.results-line p {
    margin: 0;
}

.results-line button {
    display: none;
    padding: 0;
    color: var(--deep);
    background: none;
    border: 0;
    cursor: pointer;
    font-weight: 900;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.product-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(14, 76, 96, 0.09);
    border-radius: 20px;
    box-shadow: 0 8px 26px rgba(14, 76, 96, 0.07);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(14, 76, 96, 0.12);
}

.product-media {
    position: relative;
    display: grid;
    min-height: 148px;
    place-items: center;
    overflow: hidden;
}

.product-media::before,
.product-media::after {
    position: absolute;
    content: "";
    border-radius: 50%;
}

.product-media::before {
    top: -44px;
    right: -30px;
    width: 110px;
    height: 110px;
    background: rgba(255, 255, 255, 0.28);
}

.product-media::after {
    bottom: -34px;
    left: -18px;
    width: 90px;
    height: 90px;
    border: 16px solid rgba(255, 255, 255, 0.24);
}

.product-media.tone-1 { background: linear-gradient(145deg, #d9f69a, #9fdb30); }
.product-media.tone-2 { background: linear-gradient(145deg, #ffd0d5, #e86470); }
.product-media.tone-3 { background: linear-gradient(145deg, #ffd28c, #c47a2a); }
.product-media.tone-4 { background: linear-gradient(145deg, #fff0a6, #fec111); }
.product-media.tone-5 { background: linear-gradient(145deg, #ffe29b, #ef9f14); }
.product-media.tone-6 { background: linear-gradient(145deg, #c9f3e5, #46daf6); }
.product-media.tone-7 { background: linear-gradient(145deg, #ffc6ce, #e5585e); }
.product-media.tone-8 { background: linear-gradient(145deg, #d9eaff, #77a8f5); }

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flavor-emoji {
    position: absolute;
    z-index: 2;
    top: 30px;
    right: 12px;
    font-size: 38px;
    filter: drop-shadow(0 5px 7px rgba(14, 76, 96, 0.14));
    transform: rotate(8deg);
}

.bottle-shape {
    position: relative;
    z-index: 1;
    width: 66px;
    height: 98px;
    margin-top: 17px;
    background: rgba(255, 255, 255, 0.68);
    border: 3px solid rgba(255, 255, 255, 0.8);
    border-radius: 15px 15px 22px 22px;
    box-shadow: inset 8px 0 0 rgba(255, 255, 255, 0.25), 0 12px 20px rgba(14, 76, 96, 0.12);
}

.bottle-shape::before {
    position: absolute;
    top: -18px;
    left: 17px;
    width: 26px;
    height: 18px;
    content: "";
    background: rgba(255, 255, 255, 0.9);
    border-radius: 5px 5px 2px 2px;
}

.bottle-shape::after {
    position: absolute;
    top: 16px;
    left: 8px;
    width: 44px;
    height: 55px;
    content: "";
    background: rgba(255, 255, 255, 0.32);
    border-radius: 8px;
}

.bottle-shape i {
    position: absolute;
    z-index: 2;
    bottom: 18px;
    left: 10px;
    width: 40px;
    height: 10px;
    background: rgba(14, 76, 96, 0.18);
    border-radius: 50%;
}

.product-media > small {
    position: absolute;
    z-index: 2;
    right: 10px;
    bottom: 7px;
    color: rgba(7, 55, 68, 0.72);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.category-badge,
.availability-badge {
    position: absolute;
    z-index: 3;
    top: 8px;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.category-badge {
    left: 8px;
    color: var(--deep);
    background: rgba(255, 255, 255, 0.9);
}

.category-badge.milk {
    color: #684e1f;
    background: rgba(255, 249, 229, 0.94);
}

.availability-badge {
    top: auto;
    right: 8px;
    bottom: 8px;
    color: #006f3d;
    background: rgba(222, 255, 238, 0.94);
}

.availability-badge.pending {
    color: #775000;
    background: rgba(255, 245, 194, 0.94);
}

.availability-badge.unavailable {
    color: #8a2027;
    background: rgba(255, 225, 227, 0.94);
}

.product-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 13px;
}

.product-copy {
    flex: 1;
}

.product-copy h3 {
    margin-bottom: 5px;
    color: var(--deep-2);
    font-size: 17px;
    font-weight: 950;
    letter-spacing: -0.025em;
    line-height: 1.12;
}

.product-copy p {
    display: none;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.product-meta {
    display: grid;
    gap: 4px;
    margin: 10px 0 12px;
    padding-top: 10px;
    border-top: 1px dashed var(--line);
}

.product-meta span {
    color: var(--muted);
    font-size: 10px;
}

.product-meta strong {
    color: var(--deep);
    font-size: 11px;
    line-height: 1.25;
}

.add-button {
    display: flex;
    width: 100%;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--deep);
    background: var(--aqua-soft);
    border: 1px solid rgba(70, 218, 246, 0.55);
    border-radius: 12px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 950;
}

.add-button:hover {
    background: var(--aqua);
}

.add-button:disabled {
    cursor: not-allowed;
    filter: grayscale(1);
    opacity: 0.6;
}

.add-button span {
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
    color: #fff;
    background: var(--deep);
    border-radius: 50%;
    font-size: 16px;
}

.quantity-stepper {
    display: grid;
    min-height: 44px;
    grid-template-columns: 42px 1fr 42px;
    align-items: center;
    overflow: hidden;
    background: var(--deep);
    border-radius: 12px;
}

.quantity-stepper button {
    height: 100%;
    padding: 0;
    color: #fff;
    background: transparent;
    border: 0;
    cursor: pointer;
    font-size: 24px;
    font-weight: 500;
}

.quantity-stepper button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.quantity-stepper > span {
    display: grid;
    color: #fff;
    text-align: center;
    line-height: 1.05;
}

.quantity-stepper strong {
    font-size: 16px;
}

.quantity-stepper small {
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 7px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.no-results {
    display: grid;
    min-height: 320px;
    place-items: center;
    align-content: center;
    padding: 30px;
    text-align: center;
}

.no-results > span {
    font-size: 48px;
}

.no-results h3 {
    margin: 12px 0 4px;
    color: var(--deep);
    font-size: 24px;
}

.no-results p {
    color: var(--muted);
}

.how-section {
    padding: 74px 0 96px;
    background:
        linear-gradient(rgba(14, 76, 96, 0.96), rgba(7, 55, 68, 0.98)),
        radial-gradient(circle at 20% 20%, var(--aqua), transparent 30rem);
    color: #fff;
}

.section-heading.centered {
    display: grid;
    justify-items: center;
    text-align: center;
}

.how-section .section-heading h2,
.how-section .section-heading .eyebrow {
    color: #fff;
}

.how-section .section-heading p:last-child {
    color: rgba(255, 255, 255, 0.7);
}

.steps-grid {
    display: grid;
    gap: 14px;
}

.steps-grid article {
    position: relative;
    overflow: hidden;
    padding: 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: var(--radius-md);
}

.step-number {
    position: absolute;
    top: -14px;
    right: 14px;
    color: rgba(255, 255, 255, 0.08);
    font-size: 74px;
    font-weight: 950;
    line-height: 1;
}

.step-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    margin-bottom: 35px;
    background: var(--mango);
    border-radius: 15px;
    font-size: 23px;
    transform: rotate(-4deg);
}

.steps-grid h3 {
    margin-bottom: 8px;
    font-size: 21px;
}

.steps-grid p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.how-cta {
    display: grid;
    gap: 20px;
    margin-top: 22px;
    padding: 22px;
    color: var(--deep);
    background: var(--mint);
    border-radius: var(--radius-md);
}

.how-cta > div {
    display: flex;
    align-items: center;
    gap: 13px;
}

.how-cta > div > span {
    font-size: 35px;
}

.how-cta p {
    display: grid;
    margin: 0;
}

.how-cta p strong {
    font-size: 18px;
}

.how-cta p small {
    margin-top: 4px;
    color: #527078;
}

.site-footer {
    padding: 54px 0 120px;
    color: #4b666c;
    background: #eef7f4;
}

.footer-grid {
    display: grid;
    gap: 34px;
}

.footer-grid > div {
    display: grid;
    align-content: start;
    justify-items: start;
    gap: 10px;
}

.footer-grid > div:first-child p {
    max-width: 400px;
    margin: 5px 0 0;
    font-size: 14px;
}

.footer-grid > div > strong {
    color: var(--deep);
    font-size: 13px;
    text-transform: uppercase;
}

.footer-grid a:not(.brand),
.footer-grid button {
    padding: 0;
    color: #536e74;
    background: transparent;
    border: 0;
    cursor: pointer;
    font-size: 14px;
    text-align: left;
}

.footer-grid a:hover,
.footer-grid button:hover {
    color: var(--deep);
    text-decoration: underline;
}

.footer-bottom {
    display: grid;
    gap: 6px;
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid rgba(14, 76, 96, 0.12);
    font-size: 11px;
}

.mobile-cart-bar {
    position: fixed;
    z-index: 45;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 12px;
    display: grid;
    min-height: 66px;
    grid-template-columns: 42px 1fr 30px;
    align-items: center;
    gap: 10px;
    padding: 9px 13px;
    color: #fff;
    background: var(--deep);
    border: 0;
    border-radius: 19px;
    cursor: pointer;
    box-shadow: 0 16px 45px rgba(7, 55, 68, 0.36);
}

.mobile-cart-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    background: rgba(255, 255, 255, 0.11);
    border-radius: 13px;
    font-size: 20px;
}

.mobile-cart-copy {
    display: grid;
    justify-items: start;
    line-height: 1.15;
}

.mobile-cart-copy strong {
    font-size: 15px;
}

.mobile-cart-copy small {
    max-width: 230px;
    overflow: hidden;
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-cart-arrow {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    color: var(--deep);
    background: var(--mango);
    border-radius: 50%;
    font-weight: 950;
}

.cart-dialog {
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    padding: 0;
    color: var(--ink);
    background: transparent;
    border: 0;
}

.cart-dialog::backdrop {
    background: rgba(4, 30, 37, 0.56);
    backdrop-filter: blur(4px);
}

.cart-panel {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    max-height: 94vh;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border-radius: 28px 28px 0 0;
    box-shadow: var(--shadow-lg);
    animation: sheet-up 220ms ease-out;
}

@keyframes sheet-up {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 20px 14px;
    border-bottom: 1px solid var(--line);
}

.cart-header .eyebrow {
    margin-bottom: 3px;
    color: var(--lime-dark);
    font-size: 9px;
}

.cart-header h2 {
    margin: 0;
    color: var(--deep);
    font-size: 25px;
    letter-spacing: -0.04em;
}

.icon-button {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    padding: 0 0 3px;
    color: var(--deep);
    background: #eff7f6;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    font-size: 29px;
    line-height: 1;
}

.cart-scroll {
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 18px 18px calc(24px + env(safe-area-inset-bottom));
}

.minimum-progress {
    padding: 15px;
    background: linear-gradient(135deg, #ecfcff, #f2fbe3);
    border: 1px solid rgba(70, 218, 246, 0.34);
    border-radius: 16px;
}

.progress-copy {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
}

.progress-copy strong {
    color: var(--deep);
    font-size: 12px;
    line-height: 1.35;
}

.progress-copy span {
    flex: 0 0 auto;
    color: var(--deep);
    font-size: 12px;
    font-weight: 950;
}

.minimum-progress progress {
    display: block;
    width: 100%;
    height: 11px;
    overflow: hidden;
    appearance: none;
    background: rgba(14, 76, 96, 0.1);
    border: 0;
    border-radius: 999px;
}

.minimum-progress progress::-webkit-progress-bar {
    background: rgba(14, 76, 96, 0.1);
    border-radius: 999px;
}

.minimum-progress progress::-webkit-progress-value {
    background: linear-gradient(90deg, var(--aqua), var(--lime));
    border-radius: 999px;
    transition: width 220ms ease;
}

.minimum-progress progress::-moz-progress-bar {
    background: linear-gradient(90deg, var(--aqua), var(--lime));
    border-radius: 999px;
}

.minimum-progress.complete {
    background: #e8fff4;
    border-color: rgba(0, 186, 102, 0.28);
}

.cart-products {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.empty-cart {
    display: grid;
    justify-items: center;
    padding: 25px 16px;
    text-align: center;
}

.empty-cart > span {
    font-size: 42px;
}

.empty-cart h3 {
    margin: 10px 0 4px;
    color: var(--deep);
    font-size: 18px;
}

.empty-cart p {
    max-width: 310px;
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 13px;
}

.cart-item {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 11px;
    padding: 12px 0;
}

.cart-item + .cart-item {
    border-top: 1px dashed var(--line);
}

.cart-item-visual {
    display: grid;
    width: 46px;
    height: 52px;
    place-items: center;
    background: var(--aqua-soft);
    border-radius: 12px;
    font-size: 23px;
}

.cart-item-main {
    min-width: 0;
}

.cart-item-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.cart-item-title {
    min-width: 0;
}

.cart-item-title strong {
    display: block;
    overflow: hidden;
    color: var(--deep);
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-item-title small {
    color: var(--muted);
    font-size: 10px;
}

.remove-item {
    padding: 1px;
    color: var(--coral);
    background: none;
    border: 0;
    cursor: pointer;
    font-size: 11px;
    font-weight: 850;
}

.cart-item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 9px;
}

.mini-stepper {
    display: grid;
    grid-template-columns: 30px 32px 30px;
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 10px;
}

.mini-stepper button {
    height: 30px;
    padding: 0;
    color: var(--deep);
    background: #f3f9f8;
    border: 0;
    cursor: pointer;
    font-size: 18px;
}

.mini-stepper span {
    font-size: 12px;
    font-weight: 950;
    text-align: center;
}

.cart-item-price {
    color: var(--deep);
    font-size: 11px;
    font-weight: 850;
    text-align: right;
}

.cart-totals {
    display: grid;
    gap: 9px;
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
}

.cart-totals > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 13px;
}

.cart-totals .grand-total {
    color: var(--deep);
    font-size: 16px;
}

.cart-totals .grand-total strong {
    font-size: 18px;
}

.cart-totals p {
    margin: 2px 0 0;
    color: var(--orange);
    font-size: 10px;
    font-weight: 750;
}

.cart-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 0 20px;
}

.text-button {
    padding: 4px 0;
    color: var(--deep);
    background: none;
    border: 0;
    cursor: pointer;
    font-size: 11px;
    font-weight: 850;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.text-button.danger {
    color: var(--coral);
}

.checkout-section {
    padding-top: 18px;
    border-top: 7px solid #f2f7f6;
}

.checkout-heading {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 17px;
}

.checkout-heading > span {
    display: grid;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    place-items: center;
    color: var(--deep);
    background: var(--mango);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 950;
}

.checkout-heading h3 {
    margin-bottom: 2px;
    color: var(--deep);
    font-size: 18px;
}

.checkout-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
}

.form-grid {
    display: grid;
    gap: 13px;
}

.form-grid label {
    display: grid;
    gap: 6px;
}

.form-grid label > span {
    color: #49666c;
    font-size: 11px;
    font-weight: 850;
}

.form-grid label b {
    color: var(--coral);
}

.form-grid input,
.form-grid select,
.form-grid textarea {
    width: 100%;
    min-height: 47px;
    padding: 11px 12px;
    color: var(--ink);
    background: #fbfdfd;
    border: 1px solid var(--line);
    border-radius: 12px;
    outline: none;
}

.form-grid textarea {
    min-height: 82px;
    resize: vertical;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
    background: #fff;
    border-color: var(--aqua);
    box-shadow: 0 0 0 3px rgba(70, 218, 246, 0.13);
}

.config-notice {
    margin-top: 16px;
    padding: 12px;
    color: #775000;
    background: #fff8d5;
    border: 1px solid #f4d267;
    border-radius: 12px;
    font-size: 11px;
}

.config-notice strong {
    display: block;
    margin-bottom: 3px;
}

.config-notice p {
    margin: 0;
}

.config-notice code {
    font-size: 10px;
    font-weight: 800;
}

.checkout-button {
    width: 100%;
    margin-top: 17px;
}

.checkout-disclaimer {
    max-width: 420px;
    margin: 9px auto 0;
    color: var(--muted);
    font-size: 9px;
    line-height: 1.45;
    text-align: center;
}

.toast {
    position: fixed;
    z-index: 100;
    top: 86px;
    left: 50%;
    width: min(calc(100% - 30px), 390px);
    padding: 13px 16px;
    color: #fff;
    background: var(--deep);
    border-left: 5px solid var(--lime);
    border-radius: 13px;
    box-shadow: 0 16px 36px rgba(7, 55, 68, 0.25);
    font-size: 13px;
    font-weight: 800;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -18px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

.toast.error {
    border-left-color: var(--coral);
}

@media (min-width: 520px) {
    .shell {
        width: min(calc(100% - 44px), var(--shell));
    }

    .trust-row {
        grid-template-columns: repeat(3, 1fr);
    }

    .trust-row > div {
        justify-content: center;
    }

    .trust-row > div + div {
        border-top: 0;
        border-left: 1px solid var(--line);
    }

    .product-grid {
        gap: 18px;
    }

    .product-body {
        padding: 17px;
    }

    .product-copy p {
        display: block;
    }

    .product-meta span {
        font-size: 11px;
    }

    .product-meta strong {
        font-size: 13px;
    }

    .cart-scroll {
        padding-inline: 24px;
    }

    .form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .form-grid .span-two {
        grid-column: 1 / -1;
    }
}

@media (min-width: 760px) {
    .ecosystem-bar {
        font-size: 11px;
    }

    .ecosystem-bar__inner {
        min-height: 34px;
    }

    .header-inner {
        min-height: 80px;
    }

    .desktop-nav {
        display: flex;
        align-items: center;
        gap: 28px;
        margin-left: auto;
    }

    .desktop-nav a {
        color: #49666c;
        font-size: 13px;
        font-weight: 800;
    }

    .desktop-nav a:hover {
        color: var(--deep);
    }

    .header-cart {
        margin-left: 10px;
    }

    .header-cart .cart-icon {
        display: inline;
    }

    .hero {
        padding-top: 64px;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
        align-items: center;
        gap: 44px;
    }

    .hero-sticker {
        right: 22px;
        bottom: 22px;
        width: 102px;
        height: 102px;
    }

    .trust-row {
        margin-top: 56px;
        border: 0;
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -5px 30px rgba(14, 76, 96, 0.07);
    }

    .catalog-section {
        padding: 92px 0 110px;
    }

    .flavor-count {
        display: inline-flex;
    }

    .catalog-toolbar {
        position: static;
        grid-template-columns: minmax(280px, 0.75fr) minmax(360px, 1.25fr);
        align-items: center;
        margin: 0;
        padding: 0;
        background: transparent;
        border: 0;
        backdrop-filter: none;
    }

    .category-tabs {
        justify-content: flex-end;
    }

    .results-line button {
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px;
    }

    .product-media {
        min-height: 195px;
    }

    .flavor-emoji {
        top: 38px;
        right: 22px;
        font-size: 50px;
    }

    .bottle-shape {
        width: 78px;
        height: 120px;
    }

    .bottle-shape::before {
        left: 21px;
        width: 30px;
    }

    .bottle-shape::after {
        width: 52px;
        height: 69px;
    }

    .bottle-shape i {
        left: 12px;
        width: 48px;
    }

    .category-badge,
    .availability-badge {
        padding: 6px 10px;
        font-size: 9px;
    }

    .product-copy h3 {
        font-size: 20px;
    }

    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }

    .steps-grid article {
        min-height: 270px;
        padding: 28px;
    }

    .how-cta {
        grid-template-columns: 1fr auto;
        align-items: center;
        padding: 24px 28px;
    }

    .footer-grid {
        grid-template-columns: 1.6fr 0.7fr 0.8fr;
    }

    .footer-bottom {
        grid-template-columns: auto 1fr;
        justify-content: space-between;
    }

    .mobile-cart-bar {
        display: none;
    }

    .site-footer {
        padding-bottom: 42px;
    }

    .cart-panel {
        top: 0;
        right: 0;
        bottom: 0;
        left: auto;
        width: min(100%, 590px);
        max-height: none;
        border-radius: 28px 0 0 28px;
        animation-name: panel-in;
    }

    @keyframes panel-in {
        from { transform: translateX(30px); opacity: 0; }
        to { transform: translateX(0); opacity: 1; }
    }

    .cart-header {
        padding: 24px 28px 17px;
    }

    .cart-scroll {
        padding: 22px 28px 30px;
    }

    .cart-item {
        grid-template-columns: 56px minmax(0, 1fr);
    }

    .cart-item-visual {
        width: 56px;
        height: 62px;
        font-size: 28px;
    }
}

@media (min-width: 1050px) {
    .hero-grid {
        grid-template-columns: minmax(0, 0.88fr) minmax(540px, 1.12fr);
        gap: 68px;
    }

    .product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .product-media {
        min-height: 205px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

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