:root {
    color-scheme: light;
    --navy-950: #071a2d;
    --navy-900: #0a2947;
    --navy-800: #0c3c6b;
    --blue-600: #1575d2;
    --blue-500: #2c8ce6;
    --blue-100: #e9f4ff;
    --sky-50: #f5faff;
    --surface: #ffffff;
    --surface-soft: #f1f6fb;
    --border: #dbe6f1;
    --border-strong: #c4d4e5;
    --text: #10233b;
    --text-muted: #61748a;
    --text-subtle: #8291a3;
    --shadow: 0 18px 50px rgba(16, 50, 82, 0.09);
    --shadow-hover: 0 22px 56px rgba(15, 63, 106, 0.16);
    font-family: "Poppins", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    background: var(--sky-50);
    color: var(--text);
    font-family: inherit;
    line-height: 1.5;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 3px solid rgba(44, 140, 230, 0.4);
    outline-offset: 3px;
}

svg {
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

[hidden] {
    display: none !important;
}

.container {
    width: min(calc(100% - 40px), 1160px);
    margin-inline: auto;
}

.skip-link,
.sr-only {
    position: absolute;
}

.skip-link {
    z-index: 100;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--surface);
    color: var(--navy-900);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transform: translateY(-160%);
}

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

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

.site-header {
    position: relative;
    z-index: 5;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--navy-950);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.7px;
    text-decoration: none;
}

.brand__mark {
    display: inline-block;
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    background: currentColor;
    -webkit-mask: url("/img/logos/neoeffex-n-logo-white.svg") center / contain no-repeat;
    mask: url("/img/logos/neoeffex-n-logo-white.svg") center / contain no-repeat;
}

.site-header__label,
.eyebrow {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
}

.site-header__label {
    color: rgba(255, 255, 255, 0.58);
}

.catalog-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 18%, rgba(44, 140, 230, 0.34), transparent 32%),
        radial-gradient(circle at 15% 110%, rgba(21, 117, 210, 0.25), transparent 35%),
        var(--navy-950);
    color: #ffffff;
}

.catalog-hero::after {
    position: absolute;
    right: -90px;
    bottom: -135px;
    width: 340px;
    height: 340px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    box-shadow:
        0 0 0 38px rgba(255, 255, 255, 0.025),
        0 0 0 78px rgba(255, 255, 255, 0.018);
    content: "";
}

.catalog-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    min-height: 292px;
    padding-block: 64px 58px;
}

.catalog-hero__copy {
    max-width: 720px;
}

.eyebrow {
    display: block;
    margin-bottom: 10px;
    color: var(--blue-500);
}

.catalog-hero .eyebrow {
    color: #77bdff;
}

.catalog-hero h1 {
    max-width: 780px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(38px, 7vw, 72px);
    letter-spacing: -0.065em;
    line-height: 0.98;
    overflow-wrap: anywhere;
}

.catalog-hero p {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: clamp(14px, 2vw, 17px);
}

.share-button,
.outline-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 43px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.share-button {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
}

.share-button:hover {
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.14);
}

.share-button svg {
    width: 17px;
    height: 17px;
}

.catalog-main {
    padding-block: 54px 90px;
}

.catalog-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
    align-items: end;
    gap: 24px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}

.catalog-toolbar__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.catalog-toolbar__heading h2,
.category-section__heading h2 {
    margin: 0;
    color: var(--text);
    letter-spacing: -0.045em;
}

.catalog-toolbar__heading h2 {
    font-size: clamp(25px, 4vw, 34px);
    line-height: 1.15;
}

.catalog-toolbar__heading p {
    flex: 0 0 auto;
    margin: 0 0 3px;
    color: var(--text-muted);
    font-size: 12px;
}

.search-field {
    display: flex;
    align-items: center;
    min-height: 46px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    box-shadow: 0 7px 22px rgba(16, 50, 82, 0.05);
}

.search-field:focus-within {
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px rgba(44, 140, 230, 0.12);
}

.search-field svg {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-left: 14px;
    color: var(--text-subtle);
}

.search-field input {
    width: 100%;
    height: 44px;
    padding: 0 14px 0 9px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-size: 13px;
}

.search-field input::placeholder {
    color: var(--text-subtle);
}

.category-filters {
    display: flex;
    grid-column: 1 / -1;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 2px 4px;
    scrollbar-width: thin;
}

.category-filter {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    min-height: 37px;
    padding: 0 11px 0 13px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 600;
}

.category-filter small {
    min-width: 21px;
    padding: 2px 6px;
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--text-subtle);
    font-size: 9px;
    text-align: center;
}

.category-filter:hover {
    border-color: var(--border-strong);
    color: var(--text);
}

.category-filter[aria-pressed="true"] {
    border-color: var(--navy-900);
    background: var(--navy-900);
    color: #ffffff;
}

.category-filter[aria-pressed="true"] small {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.catalog-sections {
    display: grid;
    gap: 50px;
    margin-top: 42px;
}

.category-section__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.category-section__heading h2 {
    font-size: 22px;
}

.category-section__heading span {
    color: var(--text-subtle);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

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

.product-card {
    position: relative;
    min-height: 230px;
    overflow: hidden;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: var(--shadow);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.product-card::after {
    position: absolute;
    right: -42px;
    bottom: -58px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--blue-100);
    content: "";
    opacity: 0.6;
}

.product-card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.product-card__top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.product-card__category {
    color: var(--blue-600);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.product-card__price {
    flex: 0 0 auto;
    color: var(--navy-900);
    font-size: 15px;
    letter-spacing: -0.03em;
}

.product-card__media {
    position: relative;
    z-index: 1;
    display: grid;
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-top: 18px;
    overflow: hidden;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: var(--surface-soft);
}

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

.product-card__mark {
    position: relative;
    z-index: 1;
    display: grid;
    width: 44px;
    height: 44px;
    margin-top: 0;
    place-items: center;
    border: 1px solid #cee5fa;
    border-radius: 11px;
    background: var(--blue-100);
    color: var(--blue-600);
    font-size: 18px;
    font-weight: 700;
}

.product-card h3 {
    position: relative;
    z-index: 1;
    margin: 13px 0 5px;
    color: var(--text);
    font-size: 16px;
    letter-spacing: -0.035em;
    line-height: 1.3;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.product-card p {
    position: relative;
    z-index: 1;
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.add-product-button {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 39px;
    margin-top: 17px;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background: var(--surface-soft);
    color: var(--navy-800);
    font-size: 11px;
    font-weight: 700;
}

.add-product-button:hover {
    border-color: var(--blue-500);
    background: var(--blue-100);
    color: var(--blue-600);
}

.status-state {
    display: grid;
    min-height: calc(100vh - 150px);
    padding: 54px 20px;
    place-content: center;
    justify-items: center;
    color: var(--text-muted);
    text-align: center;
}

.status-state strong {
    margin-top: 17px;
    color: var(--text);
    font-size: 18px;
}

.status-state span:not(.status-state__icon) {
    margin-top: 5px;
    font-size: 12px;
}

.loading-spinner {
    width: 34px;
    height: 34px;
    border: 3px solid var(--blue-100);
    border-top-color: var(--blue-600);
    border-radius: 50%;
    animation: spin 800ms linear infinite;
}

.status-state__icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    background: #fff0f0;
    color: #bd3d43;
    font-size: 20px;
    font-weight: 700;
}

.status-state .outline-button,
.empty-results .outline-button {
    margin-top: 22px;
    border-color: var(--border-strong);
    background: var(--surface);
    color: var(--navy-800);
    backdrop-filter: none;
}

.outline-button:hover {
    border-color: var(--blue-500);
    background: var(--blue-100);
}

.empty-results {
    display: grid;
    min-height: 300px;
    padding: 50px 20px;
    place-content: center;
    justify-items: center;
    text-align: center;
}

.empty-results > span {
    color: var(--blue-500);
    font-size: 42px;
    line-height: 1;
}

.empty-results strong {
    margin-top: 18px;
    color: var(--text);
    font-size: 18px;
}

.empty-results p {
    max-width: 420px;
    margin: 7px 0 0;
    color: var(--text-muted);
    font-size: 12px;
}

.site-footer {
    border-top: 1px solid var(--border);
    background: var(--surface);
}

.site-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
    color: var(--text-subtle);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.site-footer__tech {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--navy-800);
    text-decoration: none;
    transition: color 140ms ease;
}

.site-footer__tech:hover {
    color: var(--blue-600);
}

.brand__mark--footer {
    width: 14px;
    height: 14px;
    opacity: 0.85;
}

body.has-cart-open {
    overflow: hidden;
}

.cart-button {
    position: fixed;
    z-index: 30;
    right: 22px;
    bottom: 22px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 48px;
    padding: 0 13px 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: var(--navy-950);
    color: #ffffff;
    box-shadow: 0 16px 40px rgba(7, 26, 45, 0.3);
    font-size: 12px;
    font-weight: 700;
}

.cart-button:hover {
    background: var(--navy-800);
    transform: translateY(-2px);
}

.cart-button svg {
    width: 19px;
    height: 19px;
}

.cart-button strong {
    display: inline-grid;
    min-width: 25px;
    height: 25px;
    padding-inline: 6px;
    place-items: center;
    border-radius: 999px;
    background: var(--blue-500);
    font-size: 10px;
}

.cart-overlay {
    position: fixed;
    z-index: 70;
    inset: 0;
    background: rgba(4, 14, 25, 0.56);
    backdrop-filter: blur(3px);
}

.cart-drawer {
    position: fixed;
    z-index: 80;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    width: min(100%, 440px);
    height: 100dvh;
    padding: 25px;
    border-left: 1px solid var(--border);
    outline: 0;
    background: var(--surface);
    box-shadow: -22px 0 60px rgba(7, 26, 45, 0.2);
    transform: translateX(105%);
    transition: transform 220ms ease;
}

.cart-drawer--open {
    transform: translateX(0);
}

.cart-drawer__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}

.cart-drawer__head .eyebrow {
    margin-bottom: 5px;
}

.cart-drawer__head h2 {
    margin: 0;
    color: var(--text);
    font-size: 25px;
    letter-spacing: -0.05em;
}

.cart-close {
    display: inline-grid;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    padding: 0;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: var(--surface);
    color: var(--text-muted);
}

.cart-close:hover {
    border-color: var(--border-strong);
    background: var(--surface-soft);
    color: var(--navy-800);
}

.cart-close svg {
    width: 18px;
    height: 18px;
}

.cart-items {
    display: grid;
    gap: 10px;
    overflow-y: auto;
    padding: 18px 2px 18px 0;
}

.cart-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 14px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface-soft);
}

.cart-item__copy {
    min-width: 0;
}

.cart-item__copy strong,
.cart-item__copy span {
    display: block;
}

.cart-item__copy strong {
    overflow: hidden;
    color: var(--text);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-item__copy span {
    margin-top: 3px;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 600;
}

.quantity-control {
    display: grid;
    grid-template-columns: 30px 31px 30px;
    align-items: center;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background: var(--surface);
}

.quantity-control button {
    height: 31px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--navy-800);
    font-size: 16px;
}

.quantity-control button:hover {
    background: var(--blue-100);
}

.quantity-control span {
    color: var(--text);
    font-size: 11px;
    font-weight: 700;
    text-align: center;
}

.remove-item-button,
.clear-cart-button {
    width: fit-content;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--text-subtle);
    font-size: 10px;
    font-weight: 600;
}

.remove-item-button {
    grid-column: 1 / -1;
}

.remove-item-button:hover,
.clear-cart-button:hover {
    color: #b8363d;
    text-decoration: underline;
}

.cart-empty {
    display: grid;
    flex: 1;
    min-height: 230px;
    padding: 30px;
    place-content: center;
    text-align: center;
}

.cart-empty strong {
    color: var(--text);
    font-size: 15px;
}

.cart-empty p {
    margin: 6px 0 0;
    color: var(--text-muted);
    font-size: 11px;
}

.restore-cart-button {
    justify-self: center;
    min-height: 38px;
    margin-top: 16px;
    padding: 0 16px;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background: var(--surface);
    color: var(--blue-600);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.restore-cart-button:hover {
    border-color: var(--blue-500);
    background: var(--surface-soft);
}

.cart-drawer__footer {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.cart-total span {
    color: var(--text-muted);
    font-size: 12px;
}

.cart-total strong {
    color: var(--navy-900);
    font-size: 20px;
    letter-spacing: -0.04em;
}

.cart-instruction {
    margin: 12px 0;
    padding: 10px;
    border-radius: 8px;
    background: var(--surface-soft);
    color: var(--text-muted);
    font-size: 10px;
    line-height: 1.55;
}

.whatsapp-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    border-radius: 9px;
    background: #168c50;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.whatsapp-button:hover {
    background: #117441;
}

.whatsapp-button svg {
    width: 18px;
    height: 18px;
}

.clear-cart-button {
    display: block;
    margin: 12px auto 0;
}

.toast {
    position: fixed;
    z-index: 90;
    right: 22px;
    bottom: 82px;
    max-width: min(340px, calc(100vw - 44px));
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 9px;
    background: var(--navy-950);
    color: #ffffff;
    font-size: 12px;
    box-shadow: 0 16px 44px rgba(7, 26, 45, 0.28);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 180ms ease, transform 180ms ease;
}

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

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

@media (max-width: 850px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .catalog-toolbar {
        grid-template-columns: 1fr;
    }

    .search-field,
    .category-filters {
        grid-column: 1;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(calc(100% - 32px), 1160px);
    }

    .site-header__inner {
        min-height: 68px;
    }

    .site-header__label {
        font-size: 8px;
    }

    .catalog-hero__inner {
        align-items: flex-start;
        flex-direction: column;
        min-height: 0;
        padding-block: 48px 46px;
    }

    .catalog-hero h1 {
        font-size: clamp(38px, 13vw, 58px);
    }

    .share-button {
        min-height: 40px;
    }

    .catalog-main {
        padding-block: 38px 64px;
    }

    .catalog-toolbar__heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
    }

    .catalog-toolbar__heading p {
        margin: 0;
    }

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

    .product-card {
        min-height: 215px;
    }

    .cart-button {
        right: 16px;
        bottom: 16px;
    }

    .toast {
        right: 16px;
        bottom: 76px;
        max-width: min(340px, calc(100vw - 32px));
    }

    .cart-drawer {
        width: 100%;
        padding: 20px 16px;
    }

    .category-section__heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

    .site-footer__inner {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}


.organization-filters { display: flex; gap: 16px; flex-wrap: wrap; }
.organization-filters[hidden], .organization-filters label[hidden] { display: none; }
.organization-filters label { display: grid; gap: 6px; flex: 1 1 180px; min-width: 0; font-size: 13px; }
.organization-filters select { width: 100%; min-height: 44px; padding: 10px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; color: #172b40; font: inherit; }
.product-labels { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.product-labels span { padding: 4px 8px; background: #edf3f8; color: #29415b; border-radius: 6px; font-size: 11px; overflow-wrap: anywhere; }

/* Modal de Sabores e Modos de Compra */
.flavor-modal-overlay {
    position: fixed;
    z-index: 100;
    inset: 0;
    background: rgba(4, 14, 25, 0.62);
    backdrop-filter: blur(4px);
}

.flavor-modal {
    position: fixed;
    z-index: 105;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 16px;
    overflow-y: auto;
}

.flavor-modal[hidden],
.flavor-modal-overlay[hidden] {
    display: none !important;
}

.flavor-modal__card {
    display: flex;
    flex-direction: column;
    width: min(100%, 540px);
    max-height: min(90vh, 720px);
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: 0 24px 60px rgba(7, 26, 45, 0.28);
    overflow: hidden;
}

.flavor-modal__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--border);
}

.flavor-modal__head h2 {
    margin: 4px 0 0;
    color: var(--text);
    font-size: 20px;
    letter-spacing: -0.03em;
}

.flavor-modal__head p {
    margin: 4px 0 0;
    color: var(--text-muted);
    font-size: 12px;
}

.flavor-modal__close {
    display: inline-grid;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: var(--surface);
    color: var(--text-muted);
    cursor: pointer;
}

.flavor-modal__close:hover {
    border-color: var(--border-strong);
    background: var(--surface-soft);
    color: var(--navy-800);
}

.flavor-modal__close svg {
    width: 18px;
    height: 18px;
}

.flavor-modal__body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px 24px;
    overflow-y: auto;
}

.combo-size-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface-soft);
}

.combo-size-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--navy-900);
}

.combo-size-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

@media (max-width: 480px) {
    .combo-size-grid {
        gap: 6px;
    }
}

.combo-size-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 6px;
    border: 2px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
    text-align: center;
    min-height: 58px;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.combo-size-card:hover {
    border-color: var(--blue-400);
    background: var(--surface-soft);
}

.combo-size-card--active {
    border-color: var(--blue-600);
    background: rgba(37, 99, 235, 0.08);
    box-shadow: 0 0 0 1px var(--blue-600);
}

.combo-size-card__qty {
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
}

.combo-size-card__price {
    font-size: 12px;
    font-weight: 800;
    color: var(--navy-900);
    margin-top: 3px;
    line-height: 1.2;
}

.combo-size-card__badge {
    display: inline-block;
    padding: 1px 4px;
    border-radius: 3px;
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
    font-size: 9px;
    font-weight: 700;
    margin-top: 2px;
    line-height: 1.2;
}

.bundle-quantity-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface-soft);
}

.bundle-quantity-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy-900);
}

.quantity-control--bundle {
    grid-template-columns: 34px 40px 34px;
}

.quantity-control--bundle strong {
    font-size: 13px;
    text-align: center;
    color: var(--text);
}

.flavor-distribution-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.flavor-distribution-badge {
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.flavor-distribution-badge--pending {
    background: #fef3c7;
    color: #92400e;
}

.flavor-distribution-badge--complete {
    background: #dcfce7;
    color: #166534;
}

.flavor-distribution-badge--excess {
    background: #fee2e2;
    color: #991b1b;
}

.flavor-selection-list {
    display: grid;
    gap: 10px;
}

.flavor-selection-item {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    transition: border-color 140ms ease;
}

.flavor-selection-item:hover {
    border-color: var(--border-strong);
}

.flavor-selection-item--selected {
    border-color: #93c5fd;
    background: #f8fbfe;
}

.flavor-selection-item__media {
    width: 44px;
    height: 44px;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--surface-soft);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.flavor-selection-item__image {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.flavor-selection-item__mark {
    font-size: 16px;
    font-weight: 700;
    color: var(--blue-600);
}

.flavor-selection-item__info {
    min-width: 0;
}

.flavor-selection-item__name {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.flavor-selection-item__description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin: 2px 0 0;
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.4;
}

.flavor-selection-item__price-badge {
    display: inline-block;
    margin-top: 3px;
    color: #168c50;
    font-size: 11px;
    font-weight: 700;
}

.flavor-modal__footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    background: var(--surface);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.flavor-modal__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.flavor-modal__prices {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 11px;
    color: var(--text-muted);
}

.flavor-modal__gross-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 11px;
}

.flavor-modal__discount-tag {
    color: #059669;
    font-weight: 700;
    font-size: 11px;
}

.flavor-modal__base-price {
    font-size: 12px;
    font-weight: 600;
    color: var(--navy-900);
}

.flavor-modal__addons-price {
    color: #168c50;
    font-weight: 600;
}

.flavor-modal__total-wrapper {
    display: flex;
    align-items: baseline;
    gap: 6px;
    color: var(--text-muted);
    font-size: 12px;
}

.flavor-modal__total-price {
    font-size: 18px;
    color: var(--navy-900);
    letter-spacing: -0.03em;
}

.flavor-modal__feedback {
    margin: 0;
    padding: 6px 10px;
    border-radius: 6px;
    background: #fef3c7;
    color: #92400e;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
}

.flavor-modal__actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.flavor-modal__actions .outline-button,
.flavor-modal__actions .add-product-button {
    margin-top: 0;
    min-height: 42px;
}

.add-product-button--confirm {
    background: var(--navy-900);
    color: #ffffff;
    border-color: var(--navy-900);
    padding: 0 20px;
    cursor: pointer;
}

.add-product-button--confirm:hover:not(:disabled) {
    background: var(--blue-600);
    border-color: var(--blue-600);
    color: #ffffff;
}

.add-product-button--confirm:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    background: var(--surface-soft);
    color: var(--text-muted);
    border-color: var(--border);
}

/* Detalhamento de Sabores no Carrinho */
.cart-item__flavors {
    display: grid;
    gap: 2px;
    margin-top: 5px;
    padding-left: 8px;
    border-left: 2px solid #cbd5e1;
}

.cart-item__flavors small {
    display: block;
    font-size: 10px;
    color: var(--text-muted);
    line-height: 1.4;
}

.cart-item__addons {
    display: block;
    margin-top: 4px;
    font-size: 10px;
    font-weight: 700;
    color: #168c50;
}

/* Aviso de Pedido Mínimo */
.cart-minimum-notice {
    margin: 10px 0 0;
    padding: 9px 12px;
    border-radius: 8px;
    background: #fef3c7;
    border: 1px solid #fde68a;
    color: #92400e;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
}

.whatsapp-button--disabled {
    opacity: 0.45 !important;
    pointer-events: none !important;
    cursor: not-allowed !important;
    filter: grayscale(0.5) !important;
}

@media (max-width: 620px) {
    .flavor-modal {
        padding: 8px;
    }
    .flavor-modal__card {
        max-height: calc(100dvh - 16px);
        border-radius: 14px;
    }
    .flavor-modal__head,
    .flavor-modal__body,
    .flavor-modal__footer {
        padding-inline: 14px;
    }
    .flavor-selection-item {
        grid-template-columns: 40px minmax(0, 1fr) auto;
        padding: 10px 12px;
        gap: 10px;
    }
    .flavor-selection-item__media {
        width: 40px;
        height: 40px;
    }
    .flavor-modal__actions {
        flex-direction: column-reverse;
    }
    .flavor-modal__actions button {
        width: 100%;
    }
}

