/* ===========================================================
   Fabulosa Pizzaria Delivery — estilos
   =========================================================== */

:root {
    --bg: #151112;
    --bg-soft: #1d1718;
    --surface: #241c1d;
    --surface-hover: #2e2425;
    --border: #3d3031;
    --text: #f7f1ee;
    --text-muted: #bba9a5;
    --orange: #ef3b2d;
    --orange-dark: #c4161c;
    --red: #ee3d3d;
    --gradient: linear-gradient(135deg, #f0533a 0%, #c4161c 100%);
    --success: #2fbf71;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(0,0,0,0.35);
    --header-h: 132px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
    margin: 0;
    font-family: "Segoe UI", Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    padding-bottom: 90px;
}

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

a { color: inherit; }

h1, h2, h3 { margin: 0; }

/* ---------------- Topbar ---------------- */

.topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    background: linear-gradient(180deg, #1f1718 0%, #151112 100%);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.topbar__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 14px 16px 10px;
    display: flex;
    align-items: center;
    gap: 14px;
}

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

.brand__logo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--orange);
    flex-shrink: 0;
}

.brand__text h1 {
    font-size: 1.25rem;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand__status {
    margin: 2px 0 0;
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 3px rgba(47,191,113,0.2);
    flex-shrink: 0;
}

.cart-toggle {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s, transform 0.15s;
}
.cart-toggle:hover { background: var(--surface-hover); transform: translateY(-1px); }

.cart-toggle__badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--gradient);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid var(--bg);
}
.cart-toggle__badge[hidden] { display: none; }

.category-nav {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 16px 12px;
    scrollbar-width: none;
}
.category-nav::-webkit-scrollbar { display: none; }

.category-nav__pill {
    flex-shrink: 0;
    text-decoration: none;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.15s, border-color 0.15s;
}
.category-nav__pill:hover,
.category-nav__pill:active { background: var(--surface-hover); border-color: var(--orange); }

/* ---------------- Content ---------------- */

.content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 16px 10px;
}

.category { margin-bottom: 34px; scroll-margin-top: var(--header-h); }

.category__title {
    font-size: 1.15rem;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}

.product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    transition: border-color 0.15s, transform 0.15s;
}
.product-card:hover { border-color: var(--orange); }

.product-card__info h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.product-card__tag {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--gradient);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    vertical-align: middle;
    white-space: nowrap;
}

.product-card__desc {
    margin: 0 0 10px;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.product-card__price {
    margin: 0;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--orange);
}

.product-card__action { display: flex; justify-content: flex-end; }

.btn-add {
    background: var(--gradient);
    color: #fff;
    border: none;
    padding: 9px 18px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: filter 0.15s, transform 0.15s;
}
.btn-add:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-add:active { transform: translateY(0); }

.qty-stepper {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 4px 6px;
}

.qty-stepper button {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: var(--surface-hover);
    color: var(--text);
    font-size: 1.1rem;
    cursor: pointer;
    line-height: 1;
}
.qty-stepper button:hover { background: var(--orange); }

.qty-stepper__value {
    min-width: 20px;
    text-align: center;
    font-weight: 700;
}

/* ---------------- Footer ---------------- */

.site-footer {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    padding: 24px 16px 40px;
}

/* ---------------- Cart FAB (mobile) ---------------- */

.cart-fab {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 40;
    background: var(--gradient);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    box-shadow: var(--shadow);
    cursor: pointer;
}
.cart-fab[hidden] { display: none; }

@media (min-width: 760px) {
    /* No desktop já existe o ícone do carrinho no topo; some com a barra flutuante. */
    .cart-fab { display: none !important; }
}

.cart-fab__count {
    background: rgba(255,255,255,0.25);
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.cart-fab__label { flex: 1; text-align: left; }
.cart-fab__total { font-size: 0.95rem; }

/* ---------------- Overlay ---------------- */

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 45;
    backdrop-filter: blur(2px);
}

/* ---------------- Cart Drawer ---------------- */

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(420px, 100%);
    background: var(--bg-soft);
    border-left: 1px solid var(--border);
    z-index: 50;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.25s ease;
}

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

.cart-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 18px 12px;
    border-bottom: 1px solid var(--border);
}

.icon-btn {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
}
.icon-btn:hover { background: var(--surface-hover); }

.cart-drawer__items {
    flex: 1;
    overflow-y: auto;
    padding: 12px 18px;
}

.cart-empty {
    color: var(--text-muted);
    text-align: center;
    margin-top: 40px;
    line-height: 1.6;
}

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

.cart-line__info { flex: 1; min-width: 0; }
.cart-line__name { font-weight: 600; font-size: 0.92rem; }
.cart-line__price { color: var(--text-muted); font-size: 0.8rem; margin-top: 2px; }

.cart-line__remove {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    cursor: pointer;
    padding: 4px;
}
.cart-line__remove:hover { color: var(--red); }

.cart-drawer__footer {
    padding: 14px 18px 20px;
    border-top: 1px solid var(--border);
    background: var(--bg-soft);
}

.cart-summary__row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.cart-min-warning {
    color: #ffb020;
    font-size: 0.8rem;
    margin: 6px 0 0;
}

/* ---------------- Buttons ---------------- */

.btn-primary {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--gradient);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: filter 0.15s;
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; filter: none; }

.btn-secondary {
    display: block;
    width: 100%;
    text-align: center;
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
    padding: 12px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
}
.btn-secondary:hover { color: var(--text); border-color: var(--text-muted); }

.btn-whatsapp { background: linear-gradient(135deg, #25d366, #128c7e); }

/* ---------------- Modal ---------------- */

.modal {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: none;
    align-items: flex-end;
    justify-content: center;
    background: rgba(0,0,0,0.6);
}
.modal.is-open { display: flex; }

@media (min-width: 640px) {
    .modal { align-items: center; }
}

.modal__box {
    background: var(--bg-soft);
    width: 100%;
    max-width: 560px;
    max-height: 92vh;
    overflow-y: auto;
    border-radius: 20px 20px 0 0;
    padding: 20px 20px 26px;
    border: 1px solid var(--border);
}

@media (min-width: 640px) {
    .modal__box { border-radius: 20px; }
}

.modal__box--small {
    text-align: center;
    max-width: 400px;
    border-radius: 20px;
    padding: 32px 24px;
}

.success-icon { font-size: 3rem; margin-bottom: 6px; }
.modal__box--small p { color: var(--text-muted); margin: 8px 0 20px; }

.modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

/* ---------------- Form ---------------- */

.form-section { margin-bottom: 18px; }
.form-section h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.checkout-form label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.checkout-form input,
.checkout-form textarea {
    display: block;
    width: 100%;
    margin-top: 5px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 11px 12px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
}
.checkout-form input:focus,
.checkout-form textarea:focus {
    outline: none;
    border-color: var(--orange);
}

.form-row { display: flex; gap: 10px; }
.form-row .grow { flex: 2; }
.form-row .small { flex: 1; }

.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 8px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 12px;
    cursor: pointer;
    font-size: 0.88rem;
    margin: 0;
}
.payment-option:has(input:checked) {
    border-color: var(--orange);
    background: rgba(239,59,45,0.12);
}
.payment-option input { width: auto; margin: 0; }

.payment-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 8px 0 0;
}

.checkout-summary {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 14px;
}

.checkout-summary__row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    padding: 4px 0;
    color: var(--text-muted);
}
.checkout-summary__row--total {
    color: var(--text);
    font-weight: 700;
    font-size: 1.05rem;
    border-top: 1px solid var(--border);
    margin-top: 6px;
    padding-top: 8px;
}

.form-error {
    background: rgba(238,61,61,0.15);
    color: #ff8080;
    border: 1px solid rgba(238,61,61,0.35);
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 0.85rem;
    margin-bottom: 14px;
}

/* ---------------- Foto do produto ---------------- */

.product-card--photo {
    display: grid;
    grid-template-columns: 1fr 112px;
    grid-template-areas: "info img" "action action";
    align-items: start;
}
.product-card--photo .product-card__info { grid-area: info; min-width: 0; }
.product-card--photo .product-card__img { grid-area: img; }
.product-card--photo .product-card__action { grid-area: action; }

.product-card__img {
    width: 112px;
    height: 112px;
    object-fit: cover;
    border-radius: 12px;
    background: var(--bg-soft);
}

@media (max-width: 380px) {
    .product-card--photo { grid-template-columns: 1fr 92px; }
    .product-card__img { width: 92px; height: 92px; }
}

/* ---------------- Adicionais ---------------- */

.product-card__action { align-items: center; gap: 10px; }

.in-cart-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--success);
}

.addon-desc {
    margin: -6px 0 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.addon-group { margin-bottom: 18px; }

.addon-group__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.addon-group__head h3 { font-size: 1rem; }

.addon-group__count {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--surface-hover);
    color: var(--text-muted);
}
.addon-group__count.is-full { background: var(--gradient); color: #fff; }

.addon-group__hint {
    margin: 4px 0 10px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.addon-list { display: flex; flex-direction: column; gap: 8px; }

.addon-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    transition: border-color 0.15s;
}
.addon-item.is-selected { border-color: var(--orange); }

.addon-item__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.addon-item__name { font-weight: 600; font-size: 0.92rem; }
.addon-item__price { font-size: 0.8rem; color: var(--orange); font-weight: 700; }

.qty-stepper--small { gap: 8px; padding: 3px 5px; }
.qty-stepper--small button { width: 28px; height: 28px; font-size: 1rem; }
.qty-stepper button:disabled { opacity: 0.35; cursor: not-allowed; }
.qty-stepper button:disabled:hover { background: var(--surface-hover); }

.cart-line__addons {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 2px 0;
}

/* ---------------- Carrossel de fotos ---------------- */

.showcase { margin: 4px 0 28px; }

.showcase__track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    border-radius: var(--radius);
}
.showcase__track::-webkit-scrollbar { display: none; }

.showcase__slide {
    position: relative;
    flex: 0 0 72%;
    margin: 0;
    scroll-snap-align: start;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
    aspect-ratio: 4 / 5;
    max-width: 100%;
}

@media (min-width: 640px) { .showcase__slide { flex-basis: calc((100% - 24px) / 3); } }
@media (min-width: 1024px) { .showcase__slide { flex-basis: calc((100% - 36px) / 4); } }

.showcase__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
}

.showcase__cta {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    border: none;
    border-radius: 12px;
    background: rgba(20, 14, 22, 0.82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: var(--text);
    font: inherit;
    font-size: 0.82rem;
    cursor: pointer;
    text-align: left;
}
.showcase__cta { flex-wrap: wrap; row-gap: 6px; }
.showcase__cta span { flex: 1 1 140px; font-weight: 700; min-width: 0; line-height: 1.2; }
.showcase__cta strong {
    flex-shrink: 0;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--gradient);
    color: #fff;
    font-size: 0.78rem;
}
.showcase__cta:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

.showcase__dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
}
.showcase__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: var(--border);
    cursor: pointer;
    transition: width 0.2s, background 0.2s;
}
.showcase__dot.is-active { width: 22px; background: var(--orange); }

@media (prefers-reduced-motion: reduce) {
    .showcase__dot { transition: none; }
}

/* ---------------- Avaliações ---------------- */

.rv { margin: 10px 0 30px; display: grid; gap: 16px; }

.rv-summary {
    display: grid;
    gap: 16px;
    padding: 20px;
    border-radius: 20px;
    background:
        radial-gradient(120% 90% at 100% 0%, rgba(239, 59, 45, 0.18), transparent 60%),
        var(--bg-soft);
    border: 1px solid var(--border);
}
@media (min-width: 760px) {
    .rv-summary { grid-template-columns: 1.1fr 1.4fr auto; align-items: center; }
}

.rv-summary__brand { display: flex; align-items: center; gap: 12px; }
.rv-summary__logo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.rv-summary__title { font-size: 1.25rem; }
.rv-summary__sub { margin: 2px 0 0; color: var(--orange); font-weight: 700; font-size: 0.85rem; }
.rv-summary__empty { margin: 0; color: var(--text-muted); font-size: 0.92rem; line-height: 1.45; }

.rv-summary__btn {
    justify-self: start;
    padding: 12px 22px;
    border: none;
    border-radius: 999px;
    background: var(--gradient);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}
.rv-summary__btn:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.rv-score { display: flex; gap: 18px; align-items: center; }
.rv-score__big { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 92px; }
.rv-score__big strong { font-size: 2.6rem; line-height: 1; font-variant-numeric: tabular-nums; }
.rv-score__big > span:last-child { font-size: 0.78rem; color: var(--text-muted); }

.rv-bars { flex: 1; display: grid; gap: 4px; min-width: 0; }
.rv-bars__row { display: grid; grid-template-columns: 12px 1fr; gap: 8px; align-items: center; font-size: 0.75rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.rv-bars__track { height: 7px; border-radius: 999px; background: var(--surface-hover); overflow: hidden; }
.rv-bars__track span { display: block; height: 100%; border-radius: inherit; background: #ffb800; }

.stars { display: inline-flex; gap: 1px; font-size: 0.95rem; line-height: 1; }
.stars--lg { font-size: 1.15rem; }
.star {
    background: linear-gradient(90deg, #ffb800 var(--fill), var(--border) var(--fill));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.rv-list { columns: 1; column-gap: 14px; }
@media (min-width: 640px) { .rv-list { columns: 2; } }
@media (min-width: 1024px) { .rv-list { columns: 3; } }

.rv-card {
    break-inside: avoid;
    margin-bottom: 14px;
    padding: 16px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
}
.rv-card[hidden] { display: none; }

.rv-card__head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.rv-card__avatar {
    flex: 0 0 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: hsl(var(--h), 55%, 42%);
    color: #fff;
    font-weight: 800;
}
.rv-card__who { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.rv-card__who strong { font-size: 0.95rem; }
.rv-card__badge { font-size: 0.72rem; color: var(--success); font-weight: 600; }

.rv-card__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 0.78rem; color: var(--text-muted); margin-bottom: 8px; }

.rv-card__text { margin: 0; font-size: 0.92rem; line-height: 1.5; overflow-wrap: anywhere; }

.rv-more {
    justify-self: center;
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}
.rv-more:hover { border-color: var(--orange); }

/* Formulário de avaliação */
.rv-pick { border: none; margin: 0 0 14px; padding: 0; text-align: center; }
.rv-pick legend { font-size: 0.85rem; color: var(--text-muted); margin: 0 auto 6px; }
.rv-pick__stars { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.rv-pick__stars input { position: absolute; opacity: 0; pointer-events: none; }
.rv-pick__stars label {
    margin: 0;
    font-size: 2.3rem;
    line-height: 1;
    color: var(--border);
    cursor: pointer;
    transition: color 0.1s, transform 0.1s;
}
.rv-pick__stars label:hover,
.rv-pick__stars label:hover ~ label,
.rv-pick__stars input:checked ~ label { color: #ffb800; }
.rv-pick__stars input:focus-visible + label { outline: 2px solid var(--orange); border-radius: 6px; }
.rv-pick__stars label:active { transform: scale(0.9); }
.rv-pick__label { margin: 4px 0 0; font-size: 0.85rem; color: var(--text-muted); min-height: 1.2em; }

.rv-thanks { text-align: center; padding: 10px 0; }
.rv-thanks h3 { font-size: 1.2rem; margin-bottom: 6px; }
.rv-thanks p { color: var(--text-muted); margin: 0 0 18px; }

@media (prefers-reduced-motion: reduce) {
    .rv-pick__stars label { transition: none; }
}

/* ---------------- Entrega (mapa e taxa) ---------------- */

.label-hint { font-size: 0.75rem; opacity: 0.8; }

.delivery-box {
    display: grid;
    gap: 10px;
    margin-top: 6px;
    padding: 12px;
    border-radius: 14px;
    border: 1px dashed var(--border);
    background: var(--surface);
}

.delivery-box__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }

.btn-map {
    padding: 11px 16px;
    border: none;
    border-radius: 12px;
    background: var(--gradient);
    color: #fff;
    font: inherit;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
}
.btn-map:disabled { opacity: 0.7; cursor: wait; }

.btn-link {
    padding: 4px 0;
    border: none;
    background: none;
    color: var(--orange);
    font: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}
.btn-link:disabled { opacity: 0.7; cursor: wait; }

.delivery-map {
    height: 240px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-soft);
    z-index: 0;
}

.map-pin { background: none; border: none; }
.map-pin span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45);
    font-size: 18px;
}
.map-pin--home span { background: #fff; border: 3px solid var(--orange); }
.map-pin--store span { background: var(--gradient); border: 3px solid #fff; }
.map-pin i { display: block; transform: rotate(45deg); font-style: normal; line-height: 1; }

.delivery-hint { margin: 0; font-size: 0.8rem; color: var(--text-muted); }

.delivery-quote {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(47, 191, 113, 0.12);
    border: 1px solid rgba(47, 191, 113, 0.4);
    font-size: 0.9rem;
}
.delivery-quote span:last-child { color: var(--text-muted); font-size: 0.82rem; }

.checkout-summary__row small { color: var(--text-muted); font-weight: 400; }

/* Produto pausado (esgotado) */
.product-card.is-soldout { opacity: 0.55; }
.product-card.is-soldout:hover { border-color: var(--border); }
.product-card.is-soldout .product-card__img { filter: grayscale(1); }
.soldout-badge {
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px dashed var(--border);
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 700;
}

/* ---------------- Fabulosa: logo de fundo branco ---------------- */
.brand__logo { background: #fff; }

/* ---------------- Montar pizza (grupos de escolha) ---------------- */
.opt-groups { display: grid; gap: 18px; margin-bottom: 16px; }
.opt-groups .addon-group { margin-bottom: 0; }
.addon-group__count.is-missing { background: rgba(239, 59, 45, 0.18); color: #ff8a7d; }
.opt-search {
    width: 100%;
    margin: 0 0 10px;
    padding: 11px 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font: inherit;
}
.opt-search:focus { outline: none; border-color: var(--orange); }
.addon-item__desc { font-size: 0.78rem; color: var(--text-muted); line-height: 1.35; }
.addon-item.is-off { opacity: .5; }
.addon-item.is-off .addon-item__price { color: var(--text-muted); }
.addon-item.is-single { cursor: pointer; }
.addon-item.is-single:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.opt-radio {
    flex: 0 0 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid var(--border);
    display: grid;
    place-items: center;
}
.addon-item.is-selected .opt-radio { border-color: var(--orange); }
.addon-item.is-selected .opt-radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
#addonConfirm:disabled { opacity: .55; cursor: not-allowed; }
.addon-list { max-height: none; }

.product-card__price small { font-size: 0.72rem; font-weight: 600; color: var(--text-muted); margin-right: 2px; }

/* ---------------- Horário: fechado ---------------- */
.brand__status.is-closed .dot { background: var(--red); box-shadow: none; animation: none; }
.closed-banner {
    display: grid;
    gap: 4px;
    margin: 4px 0 18px;
    padding: 14px 16px;
    border-radius: var(--radius);
    background: rgba(239, 59, 45, 0.1);
    border: 1px solid rgba(239, 59, 45, 0.45);
    font-size: 0.9rem;
    line-height: 1.45;
}
.closed-banner span { color: var(--text-muted); }

/* ---------------- Vídeo no carrossel ---------------- */
.showcase__video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
/* lista longa de sabores: rola dentro da caixa, a borda fica logo abaixo */
.addon-list.is-long { max-height: min(46vh, 420px); overflow-y: auto; padding-right: 4px; overscroll-behavior: contain; border-radius: 12px; }
/* nome comprido da loja no celular */
@media (max-width: 420px) {
    .brand__text h1 { font-size: 1.02rem; white-space: normal; line-height: 1.15; }
}

/* ---------------- Instalar o app (PWA) ---------------- */
.pwa-bar {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 14px; padding-top: calc(10px + env(safe-area-inset-top, 0px));
    background: #221a24; border-bottom: 1px solid var(--border);
    font-size: 0.88rem;
}
.pwa-bar img { width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; }
.pwa-bar__text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.pwa-bar__text span { color: var(--text-muted); font-size: 0.82rem; }
.pwa-bar__btn {
    flex-shrink: 0; padding: 8px 16px; border: 0; border-radius: 999px;
    background: var(--gradient); color: #fff; font: inherit; font-weight: 700; cursor: pointer;
}
.pwa-bar__x {
    flex-shrink: 0; width: 32px; height: 32px; border: 0; border-radius: 50%;
    background: transparent; color: var(--text-muted); font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.pwa-bar__x:hover { color: var(--text); background: rgba(255,255,255,.06); }
.pwa-install-link {
    display: inline-flex; align-items: center; gap: 6px; margin: 0 auto 12px;
    padding: 10px 18px; border-radius: 999px; border: 1px solid var(--border);
    background: transparent; color: var(--text); font: inherit; font-weight: 700; cursor: pointer;
}
.pwa-install-link:hover { border-color: var(--orange); }
.pwa-bar[hidden], .pwa-install-link[hidden] { display: none; }



/* ---------------- Dados salvos do cliente ---------------- */
.saved-profile {
    display: flex; flex-direction: column; gap: 6px; align-items: flex-start;
    margin-bottom: 16px; padding: 12px 14px; border-radius: 12px;
    background: rgba(47,191,113,.10); border: 1px solid rgba(47,191,113,.45);
    font-size: 0.88rem; line-height: 1.45;
}
.saved-profile[hidden] { display: none; }
.saved-profile .btn-link { padding: 0; }
.checkout-form label.remember-me {
    display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 16px;
    color: var(--text); font-size: 0.9rem; cursor: pointer;
}
.checkout-form .remember-me input {
    display: inline-block; width: 18px; height: 18px; margin: 1px 0 0; padding: 0; flex-shrink: 0;
    accent-color: var(--orange);
}
.delivery-quote__saved { display: block; margin-top: 4px; font-size: 0.82rem; color: var(--text-muted); }
.delivery-quote__saved .btn-link { padding: 0; font-size: inherit; }
