        :root {
            --brand: #d85133;
            --brand-strong: #b83f26;
            --brand-soft: #ffebe7;
            --accent: #8b41c6;
            --success-soft: #d9ffe6;
            --success-text: #1d7f46;
            --page-bg: #f3f3f3;
            --surface: #ffffff;
            --text: #2b2b2b;
            --muted: #5a5a5a;
            --line: #ebebeb;
            --shadow: 0 10px 32px rgba(10, 10, 10, 0.12);
            --radius-lg: 16px;
            --radius-md: 12px;
            --radius-sm: 8px;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            background: var(--page-bg);
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Montserrat', sans-serif;
            background: var(--page-bg);
            color: var(--text);
            max-width: 1180px;
            margin: 0 auto;
            min-height: 100vh;
            padding-bottom: 156px;
        }

        button,
        input {
            font: inherit;
        }

        button {
            border: none;
            background: none;
            cursor: pointer;
        }

        img {
            display: block;
        }

        .page {
            min-height: 100vh;
            width: 100%;
        }

        .topbar {
            position: sticky;
            top: 0;
            z-index: 20;
            background: rgba(255, 255, 255, 0.96);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(235, 235, 235, 0.9);
        }

        .topbar-inner {
            height: 56px;
            padding: 0 16px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
        }

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

        .topbar-logo {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            object-fit: cover;
            border: 1px solid #d4d4d4;
            background: #fff;
        }

        .topbar-text {
            min-width: 0;
        }

        .topbar-name {
            font-size: 15px;
            font-weight: 700;
            color: var(--text);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .topbar-sub {
            font-size: 10px;
            color: var(--muted);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .topbar-actions {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-shrink: 0;
        }

        .icon-btn {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #ebebeb;
            color: var(--text);
            font-size: 15px;
            font-weight: 700;
        }

        .cover img {
            width: 100%;
            aspect-ratio: 1240 / 420;
            max-height: 320px;
            object-fit: cover;
            border-radius: 0 0 20px 20px;
            border-bottom: 4px solid var(--brand);
        }

        .store-card {
            position: relative;
            margin: 16px 16px 0;
            background: var(--surface);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow);
            padding: 16px;
            overflow: hidden;
        }

        .store-profile {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 14px;
        }

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

        .store-avatar {
            width: 68px;
            height: 68px;
            border-radius: 50%;
            border: 3px solid #fff;
            object-fit: cover;
            background: #fff;
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
        }

        .store-info {
            padding-top: 14px;
            min-width: 0;
        }

        .store-name {
            font-size: 20px;
            font-weight: 700;
            line-height: 1.15;
            word-break: break-word;
        }

        .store-address {
            margin-top: 6px;
            color: var(--muted);
            font-size: 12px;
            line-height: 1.45;
        }

        .dot {
            width: 3px;
            height: 3px;
            border-radius: 50%;
            background: #9d9d9d;
        }

        .profile-link {
            margin-top: 14px;
            padding: 10px 14px;
            border-radius: 999px;
            background: #f6f6f6;
            color: var(--text);
            font-size: 12px;
            font-weight: 700;
            white-space: nowrap;
        }

        .status-badge {
            margin-top: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            border-radius: 8px;
            background: var(--brand-soft);
            padding: 7px 12px;
            color: var(--brand);
            font-size: 11px;
            font-weight: 700;
        }

        .store-facts {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 12px;
        }

        .store-fact {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 9px 12px;
            border-radius: 999px;
            background: #f7f7f7;
            border: 1px solid #ededed;
            color: var(--text);
            font-size: 12px;
            font-weight: 600;
        }

        .store-fact-icon {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: #fff;
            color: var(--brand);
            font-size: 13px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
        }

        .store-fact small {
            display: block;
            color: var(--muted);
            font-size: 10px;
            font-weight: 500;
            line-height: 1.1;
        }

        .store-fact strong {
            display: block;
            color: var(--text);
            font-size: 12px;
            line-height: 1.2;
        }

        .cashback-strip {
            margin: 12px 16px 0;
            border-radius: var(--radius-md);
            overflow: hidden;
            background: linear-gradient(135deg, #6000e5, #8b41c6);
            color: #fff;
            position: relative;
        }

        .cashback-strip::before {
            content: "";
            position: absolute;
            width: 170px;
            height: 170px;
            border-radius: 50%;
            left: -72px;
            top: -44px;
            background: rgba(255, 255, 255, 0.22);
        }

        .cashback-content {
            position: relative;
            min-height: 84px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            padding: 14px 18px 14px 108px;
        }

        .cashback-icon {
            position: absolute;
            left: 24px;
            top: 50%;
            transform: translateY(-50%);
            width: 56px;
            height: 56px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.18);
            font-size: 26px;
        }

        .cashback-copy strong {
            display: block;
            font-size: 22px;
            line-height: 1;
            font-weight: 800;
        }

        .cashback-copy span {
            display: block;
            margin-top: 4px;
            font-size: 12px;
            font-weight: 500;
        }

        .cashback-cta {
            padding: 8px 12px;
            border-radius: 8px;
            background: rgba(0, 0, 0, 0.22);
            color: #fff;
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
        }

        .search-section {
            padding: 14px 16px 8px;
        }

        .search-box {
            position: relative;
        }

        .search-box input {
            width: 100%;
            height: 42px;
            border: none;
            border-radius: 10px;
            background: #fff;
            color: var(--text);
            padding: 0 44px 0 42px;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
        }

        .search-box .search-icon,
        .search-box .clear-icon {
            position: absolute;
            top: 0;
            width: 42px;
            height: 42px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #7c7c7c;
            font-size: 16px;
        }

        .search-box .search-icon {
            left: 0;
        }

        .search-box .clear-icon {
            right: 0;
            display: none;
        }

        .search-box.has-value .clear-icon {
            display: flex;
        }

        .sticky-cats {
            position: sticky;
            top: 56px;
            z-index: 18;
            background: var(--page-bg);
            border-bottom: 1px solid #e5e5e5;
        }

        .cat-tabs {
            display: flex;
            gap: 12px;
            overflow-x: auto;
            padding: 0 8px;
            scrollbar-width: none;
        }

        .cat-tabs::-webkit-scrollbar,
        .highlight-list::-webkit-scrollbar {
            display: none;
        }

        .cat-tab {
            position: relative;
            flex-shrink: 0;
            padding: 14px 8px 12px;
            color: var(--muted);
            font-size: 13px;
            font-weight: 600;
            border-bottom: 2px solid transparent;
        }

        .cat-tab.active {
            color: var(--brand);
            font-weight: 700;
            border-bottom-color: var(--brand);
        }

        .section-title {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 16px 16px 10px;
        }

        .section-title h2 {
            font-size: 18px;
            line-height: 1.1;
        }

        .promo-pill {
            padding: 4px 8px;
            border-radius: 4px;
            background: var(--brand-soft);
            color: var(--brand);
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
        }

        .highlight-list {
            display: flex;
            gap: 12px;
            overflow-x: auto;
            padding: 0 16px 12px;
        }

        .highlight-card {
            width: 150px;
            flex: 0 0 auto;
            cursor: pointer;
        }

        .highlight-card img {
            width: 150px;
            height: 150px;
            border-radius: 8px;
            object-fit: cover;
        }

        .highlight-card .title {
            margin-top: 8px;
            font-size: 13px;
            font-weight: 600;
            color: var(--text);
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            min-height: 32px;
        }

        .highlight-card .prices {
            margin-top: 4px;
            display: flex;
            align-items: center;
            gap: 6px;
            flex-wrap: wrap;
            color: var(--muted);
        }

        .highlight-card .current-price {
            font-size: 14px;
            font-weight: 700;
            color: var(--brand);
        }

        .highlight-card .old-price {
            font-size: 12px;
            text-decoration: line-through;
        }

        .discount-tag {
            padding: 2px 4px;
            border-radius: 4px;
            background: var(--brand);
            color: #fff;
            font-size: 10px;
            font-weight: 700;
        }

        .products-section {
            padding: 0 16px 24px;
            margin-bottom: 12px;
        }

        .category-heading {
            padding: 16px 0 8px;
            color: var(--text);
            font-size: 18px;
            font-weight: 700;
        }

        .category-subtitle {
            padding-bottom: 12px;
            color: var(--muted);
            font-size: 13px;
        }

        .product-list {
            background: #fff;
            border-radius: 12px;
            overflow: hidden;
            border: 1px solid #efefef;
        }

        .product-item {
            display: flex;
            justify-content: space-between;
            gap: 12px;
            padding: 14px 14px;
            cursor: pointer;
        }

        .product-item + .product-item {
            border-top: 2px solid var(--line);
        }

        .product-info {
            flex: 1;
            min-width: 0;
        }

        .product-name {
            color: var(--muted);
            font-size: 14px;
            font-weight: 600;
            line-height: 1.2;
        }

        .product-desc {
            margin-top: 4px;
            color: #595959;
            font-size: 12px;
            line-height: 1.35;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .product-price {
            margin-top: 8px;
            display: flex;
            align-items: center;
            gap: 6px;
            flex-wrap: wrap;
            color: var(--muted);
        }

        .product-price strong {
            font-size: 14px;
            color: var(--brand);
        }

        .product-price .base-price {
            font-size: 12px;
            text-decoration: line-through;
        }

        .cashback-badge {
            margin-top: 6px;
            width: fit-content;
            border-radius: 4px;
            background: var(--success-soft);
            color: var(--success-text);
            padding: 4px 8px;
            font-size: 11px;
            font-weight: 600;
        }

        .product-side {
            width: 96px;
            flex-shrink: 0;
            align-self: flex-start;
        }

        .product-image {
            width: 96px;
            height: 96px;
            border-radius: 8px;
            object-fit: cover;
            background: #f2f2f2;
            display: block;
            will-change: auto;
        }

        .product-counter {
            margin-top: 8px;
            height: 32px;
            border-radius: 8px;
            background: var(--brand);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 6px;
            font-size: 14px;
            font-weight: 700;
        }

        .product-counter.is-empty {
            justify-content: center;
            padding: 0;
        }

        .product-counter button {
            width: 22px;
            height: 22px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.18);
            color: #fff;
            font-size: 16px;
            line-height: 1;
        }

        .product-counter.is-empty button {
            width: 100%;
            height: 100%;
            border-radius: 8px;
            background: transparent;
            font-size: 20px;
            font-weight: 700;
        }

        .empty-state {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 240px;
            text-align: center;
            color: var(--muted);
            padding: 32px 18px;
        }

        .empty-state strong {
            color: var(--text);
            font-size: 16px;
            margin-bottom: 6px;
        }

        .cart-resume {
            position: fixed;
            left: 50%;
            transform: translateX(-50%);
            bottom: 60px;
            width: min(100%, 768px);
            z-index: 30;
            padding: 12px 16px 0;
            display: none;
        }

        .cart-resume-card {
            background: #fff;
            border-radius: 14px;
            box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.25);
            padding: 14px 16px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
        }

        .cart-resume-copy strong {
            display: block;
            font-size: 14px;
        }

        .cart-resume-copy span {
            display: block;
            margin-top: 2px;
            font-size: 12px;
            color: var(--muted);
        }

        .cart-resume-btn {
            min-width: 134px;
            height: 34px;
            border-radius: 8px;
            background: var(--brand);
            color: #fff;
            font-size: 12px;
            font-weight: 700;
        }

        .bottom-nav {
            position: fixed;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: min(100%, 768px);
            background: #fff;
            box-shadow: 0 -15px 45px rgba(10, 10, 10, 0.1);
            z-index: 25;
        }

        .bottom-nav-inner {
            height: 60px;
            padding: 0 16px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-top: 2px solid var(--line);
        }

        .nav-item {
            position: relative;
            width: 60px;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 6px;
            color: gray;
            border-top: 2px solid transparent;
            margin-top: -2px;
            font-size: 10px;
            font-weight: 500;
            text-decoration: none;
        }

        .nav-item.active {
            color: var(--brand);
            border-top-color: var(--brand);
        }

        .nav-icon {
            font-size: 18px;
            line-height: 1;
        }

        .nav-badge {
            position: absolute;
            right: 5px;
            top: 6px;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: var(--brand);
            color: #fff;
            font-size: 10px;
            font-weight: 700;
            display: none;
            align-items: center;
            justify-content: center;
        }

        .cart-modal {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.7);
            display: none;
            align-items: flex-end;
            justify-content: center;
            z-index: 40;
            padding: 0 16px 16px;
        }

        .cart-sheet {
            width: 100%;
            max-width: 420px;
            max-height: 92vh;
            background: #fff;
            border-radius: 16px;
            box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
            overflow: hidden;
        }

        .checkout-modal {
            align-items: stretch;
            padding: 0;
            background: #f4f4f4;
            overflow-y: auto;
            overscroll-behavior: contain;
        }

        .checkout-page {
            width: 100%;
            max-width: 760px;
            min-height: 100vh;
            min-height: 100dvh;
            height: 100vh;
            height: 100dvh;
            margin: 0 auto;
            background: #f8f8f8;
            display: flex;
            flex-direction: column;
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
        }

        .checkout-header {
            position: sticky;
            top: 0;
            z-index: 3;
            background: #fff;
            border-bottom: 1px solid #ececec;
        }

        .checkout-header-content {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 16px 18px;
        }

        .checkout-back-btn {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: #f7f7f7;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border: 1px solid #ececec;
            color: #333;
        }

        .checkout-header-title {
            font-size: 18px;
            font-weight: 800;
            color: #333;
        }

        .checkout-content {
            flex: 1;
            padding: 18px 16px 120px;
            display: grid;
            gap: 18px;
        }

        .checkout-required-steps {
            display: grid;
            gap: 18px;
        }

        .checkout-step {
            display: grid;
            gap: 14px;
        }

        .step-card {
            background: #fff;
            border-radius: 18px;
            border: 1px solid #ebebeb;
            overflow: hidden;
        }

        .step-card.active {
            border-color: #d30c02;
            box-shadow: 0 10px 28px rgba(211, 12, 2, 0.08);
        }

        .step-card.disabled {
            opacity: 0.7;
        }

        .step-card-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            padding: 16px 18px;
        }

        .step-card.active .step-card-header {
            background: #d30c02;
            color: #fff;
        }

        .step-card-title {
            font-size: 15px;
            font-weight: 800;
        }

        .step-card-body {
            padding: 16px;
            display: grid;
            gap: 14px;
            background: #fff;
        }

        .step-card.disabled .step-card-body {
            background: #f5f5f5;
        }

        .guide-text {
            font-size: 13px;
            color: #9c9c9c;
        }

        .delivery-options,
        .payment-options {
            display: grid;
            gap: 10px;
        }

        .delivery-option,
        .payment-option {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            padding: 14px;
            border: 1px solid #ececec;
            border-radius: 16px;
            cursor: pointer;
            background: #fff;
        }

        .delivery-option.active,
        .payment-option.active {
            border-color: #d30c02;
            background: #fff7f6;
        }

        .delivery-option-main,
        .payment-option-main {
            display: flex;
            align-items: center;
            gap: 12px;
            min-width: 0;
        }

        .delivery-icon,
        .payment-icon {
            width: 42px;
            height: 42px;
            border-radius: 14px;
            background: #fff;
            border: 1px solid #f0d2d0;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: #d30c02;
            flex-shrink: 0;
        }

        .delivery-copy,
        .payment-copy {
            display: grid;
            gap: 4px;
        }

        .delivery-copy strong,
        .payment-copy strong {
            font-size: 14px;
            color: #333;
        }

        .delivery-copy small,
        .payment-copy small {
            font-size: 12px;
            color: #777;
        }

        .checkable {
            width: 22px;
            height: 22px;
            border-radius: 50%;
            border: 2px solid #d6d6d6;
            position: relative;
            flex-shrink: 0;
        }

        .delivery-option.active .checkable,
        .payment-option.active .checkable {
            border-color: #d30c02;
        }

        .delivery-option.active .checkable::after,
        .payment-option.active .checkable::after {
            content: '';
            position: absolute;
            inset: 4px;
            border-radius: 50%;
            background: #d30c02;
        }

        .checkout-fields {
            display: grid;
            gap: 14px;
        }

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

        .checkout-field {
            display: grid;
            gap: 8px;
        }

        .checkout-field label {
            display: block;
            font-size: 12px;
            line-height: 1.2;
            font-weight: 800;
            color: #404040;
            padding-left: 2px;
        }

        .checkout-field input,
        .checkout-field textarea {
            width: 100%;
            appearance: none;
            -webkit-appearance: none;
            border: 1px solid #dddddd;
            border-radius: 14px;
            background: #ffffff;
            color: #222;
            padding: 14px 16px;
            font-size: 14px;
            line-height: 1.35;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
            transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
        }

        .checkout-field input::placeholder,
        .checkout-field textarea::placeholder {
            color: #a1a1aa;
        }

        .checkout-field input:hover,
        .checkout-field textarea:hover {
            border-color: #cfcfcf;
        }

        .checkout-field input:focus,
        .checkout-field textarea:focus {
            outline: none;
            border-color: #d30c02;
            box-shadow: 0 0 0 4px rgba(211, 12, 2, 0.10);
        }

        .observation-card textarea {
            min-height: 108px;
            resize: vertical;
        }

        .totalizer-card {
            background: #fff;
            border-radius: 18px;
            border: 1px solid #ececec;
            padding: 18px;
            display: grid;
            gap: 12px;
            box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
        }

        .totalizer-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            font-size: 14px;
            color: #555;
        }

        .totalizer-row.total {
            font-size: 18px;
            font-weight: 800;
            color: #222;
            padding-top: 8px;
            border-top: 1px solid #efefef;
        }

        .privacy-card {
            font-size: 12px;
            line-height: 1.5;
            color: #8a8a8a;
            padding: 0 4px;
        }

        .privacy-card a {
            color: #d30c02;
            font-weight: 700;
        }

        .checkout-footer {
            position: sticky;
            bottom: 0;
            background: rgba(255, 255, 255, 0.96);
            backdrop-filter: blur(8px);
            border-top: 1px solid #ececec;
            padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
            display: grid;
            gap: 10px;
            z-index: 10;
            flex-shrink: 0;
        }

        .checkout-flow {
            display: grid;
            gap: 18px;
        }

        .checkout-flow.is-hidden {
            display: none;
        }

        .checkout-gate-message {
            display: grid;
            gap: 6px;
            padding: 14px 16px;
            border-radius: 14px;
            border: 1px dashed #f2c7c3;
            background: #fff7f6;
            color: #8a4b45;
        }

        .checkout-gate-message strong {
            font-size: 13px;
            color: #6b2420;
        }

        .checkout-gate-message span {
            font-size: 12px;
            line-height: 1.45;
        }

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

        .cart-head h3 {
            font-size: 18px;
        }

        .cart-body {
            max-height: calc(92vh - 70px);
            overflow-y: auto;
        }

        .cart-items,
        .cart-form,
        .cart-summary {
            padding: 0 18px;
        }

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

        .cart-item strong {
            display: block;
            font-size: 14px;
            margin-bottom: 4px;
        }

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

        .qty-controls {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .qty-controls button {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: #efefef;
            color: var(--text);
            font-size: 16px;
            font-weight: 700;
        }

        .qty-controls span {
            min-width: 18px;
            text-align: center;
            font-size: 14px;
            font-weight: 700;
        }

        .cart-summary {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            padding-top: 18px;
            padding-bottom: 12px;
            font-size: 17px;
            font-weight: 700;
        }

        .cart-form {
            display: grid;
            gap: 14px;
            padding-bottom: 18px;
        }

        .cart-form input,
        .cart-form textarea {
            width: 100%;
            border: 1px solid #d7d7d7;
            border-radius: 10px;
            padding: 14px 16px;
            background: #fff;
            color: var(--text);
        }

        .cart-form textarea {
            min-height: 92px;
            resize: vertical;
        }

        .checkout-btn {
            width: 100%;
            height: 48px;
            border-radius: 10px;
            background: var(--brand);
            color: #fff;
            font-size: 14px;
            font-weight: 700;
        }

        .secondary-outline-btn {
            min-width: 130px;
            height: 44px;
            border-radius: 12px;
            border: 1px solid var(--brand);
            background: #fff;
            color: var(--brand);
            font-size: 13px;
            font-weight: 700;
            padding: 0 16px;
        }

        .secondary-outline-btn.compact {
            min-width: 96px;
            height: 40px;
        }

        .client-box {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 14px;
            padding: 18px;
            margin: 0;
            border-radius: 16px;
            background: #fff7f6;
            border: 1px solid #ffd4d0;
            box-shadow: 0 8px 22px rgba(211, 12, 2, 0.05);
        }

        .client-box-label {
            font-size: 12px;
            color: var(--muted);
            margin-bottom: 4px;
        }

        .client-box-name {
            font-size: 15px;
            font-weight: 800;
            color: var(--text);
        }

        .client-box-phone {
            font-size: 13px;
            color: var(--muted);
            margin-top: 2px;
        }

        .checkout-section {
            display: grid;
            gap: 10px;
            padding: 16px;
            border: 1px solid #eeeeee;
            border-radius: 16px;
            background: #fff;
        }

        .checkout-section-title {
            font-size: 14px;
            font-weight: 800;
            color: var(--text);
        }

        .delivery-option input,
        .payment-option input {
            width: 18px;
            height: 18px;
            accent-color: var(--brand);
            display: none;
        }

        /* ── Modal de detalhe do produto ── */
        @keyframes pdSheetUp {
            from { opacity: 0; transform: translateY(52px); }
            to   { opacity: 1; transform: translateY(0); }
        }
        @keyframes pdSheetDown {
            from { opacity: 1; transform: translateY(0); }
            to   { opacity: 0; transform: translateY(52px); }
        }
        @keyframes pdBackdropIn {
            from { opacity: 0; }
            to   { opacity: 1; }
        }
        @keyframes pdBackdropOut {
            from { opacity: 1; }
            to   { opacity: 0; }
        }

        #modalProdutoDetalhe {
            /* animação controlada exclusivamente via JS */
        }

        .produto-detalhe-sheet {
            max-width: 520px;
            width: 100%;
            border-radius: 22px 22px 0 0;
            display: flex;
            flex-direction: column;
            max-height: 92vh;
            overflow: hidden;
            margin-top: auto;
        }

        @media (min-width: 600px) {
            .produto-detalhe-sheet {
                border-radius: 22px;
                margin: auto;
                max-height: 88vh;
            }
        }

        .pd-image-wrap {
            position: relative;
            width: 100%;
            height: 220px;
            flex-shrink: 0;
            background: #f3f4f6;
        }

        .pd-image-wrap img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .pd-close-btn {
            position: absolute;
            top: 12px;
            right: 12px;
            width: 34px;
            height: 34px;
            border-radius: 50%;
            background: rgba(0,0,0,.45);
            color: #fff;
            font-size: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: none;
            cursor: pointer;
            line-height: 1;
        }

        .pd-body {
            flex: 1;
            overflow-y: auto;
            padding: 18px 20px 8px;
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .pd-nome {
            font-size: 20px;
            font-weight: 800;
            line-height: 1.25;
        }

        .pd-descricao {
            font-size: 13px;
            color: var(--muted);
            line-height: 1.5;
            white-space: pre-line;
        }

        .pd-preco-row {
            display: flex;
            align-items: center;
            gap: 10px;
            margin: 4px 0 10px;
        }

        .pd-preco {
            font-size: 20px;
            font-weight: 800;
            color: var(--brand);
        }

        .pd-preco-base {
            font-size: 14px;
            color: var(--muted);
            text-decoration: line-through;
        }

        /* Grupos */
        .pd-grupo {
            margin-bottom: 16px;
            border: 1px solid var(--line);
            border-radius: 14px;
            overflow: hidden;
        }

        .pd-grupo-header {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 10px 14px;
            background: #f9f9f9;
            flex-wrap: wrap;
        }

        .pd-grupo-nome {
            font-weight: 700;
            font-size: 14px;
            flex: 1;
        }

        .pd-grupo-meta {
            font-size: 12px;
            color: var(--muted);
        }

        .pd-grupo-badge {
            font-size: 11px;
            padding: 2px 8px;
            border-radius: 20px;
            background: var(--brand-soft, #ffebe7);
            color: var(--brand);
            font-weight: 700;
        }

        .pd-opcoes-list {
            padding: 0 14px;
        }

        .pd-opcao-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            padding: 11px 0;
            border-bottom: 1px solid #f3f3f3;
        }

        .pd-opcao-row:last-child { border-bottom: none; }

        .pd-opcao-info {
            flex: 1;
            min-width: 0;
        }

        .pd-opcao-nome {
            display: block;
            font-size: 14px;
            font-weight: 600;
        }

        .pd-opcao-preco {
            font-size: 12px;
            color: var(--brand);
            font-weight: 700;
        }

        .pd-opcao-gratis {
            color: #4caf50;
        }

        /* Radio personalizado */
        .pd-radio {
            display: flex;
            align-items: center;
            cursor: pointer;
        }

        .pd-radio input { display: none; }

        .pd-radio-dot {
            width: 22px;
            height: 22px;
            border-radius: 50%;
            border: 2px solid #ddd;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: border-color .15s;
        }

        .pd-radio input:checked + .pd-radio-dot {
            border-color: var(--brand);
            background: var(--brand);
            box-shadow: inset 0 0 0 4px #fff;
        }

        /* Contador de opção */
        .pd-cnt {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .pd-cnt-btn {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            border: 1.5px solid var(--brand);
            background: #fff;
            color: var(--brand);
            font-size: 16px;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .pd-cnt-btn:disabled {
            border-color: #ddd;
            color: #bbb;
        }

        .pd-cnt-val {
            font-weight: 700;
            font-size: 15px;
            min-width: 18px;
            text-align: center;
        }

        /* Observações */
        .pd-obs-wrap {
            margin-top: 6px;
        }

        .pd-obs-label {
            font-size: 13px;
            font-weight: 700;
            color: var(--muted);
            display: block;
            margin-bottom: 6px;
        }

        .pd-obs {
            width: 100%;
            border: 1px solid var(--line);
            border-radius: 12px;
            padding: 10px 14px;
            font-size: 13px;
            resize: none;
            background: #fafafa;
            font-family: inherit;
        }

        /* Footer */
        .pd-footer {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 14px 20px 18px;
            border-top: 1px solid var(--line);
            background: #fff;
            flex-shrink: 0;
        }

        .pd-qty-row {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-shrink: 0;
        }

        .pd-qty-btn {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            border: 1.5px solid var(--brand);
            background: #fff;
            color: var(--brand);
            font-size: 20px;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .pd-qty-btn:disabled {
            border-color: #ddd;
            color: #bbb;
        }

        .pd-qty-val {
            font-weight: 800;
            font-size: 17px;
            min-width: 24px;
            text-align: center;
        }

        .pd-add-btn {
            flex: 1;
            height: 48px;
            border-radius: 14px;
            background: var(--brand);
            color: #fff;
            font-size: 15px;
            font-weight: 700;
            border: none;
            cursor: pointer;
            transition: background .15s;
        }

        .pd-add-btn:disabled {
            background: #ccc;
            cursor: not-allowed;
        }

        /* ── Tel input com status ── */
        .tel-input-wrap {
            position: relative;
            display: flex;
            align-items: center;
        }

        .tel-input-wrap input {
            flex: 1;
            padding-right: 36px;
        }

        .tel-loading,
        .tel-status {
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            line-height: 1;
            pointer-events: none;
        }

        .tel-status { font-size: 16px; }

        #pedidoNome:disabled {
            background: #f5f5f5;
            color: #bbb;
            cursor: not-allowed;
        }

        #pedidoNome:not(:disabled) {
            background: #fff;
            color: var(--text);
        }

        /* ── Troco ── */
        .troco-question {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            padding: 12px 14px;
            background: #fffbeb;
            border: 1px solid #fde68a;
            border-radius: 12px;
        }

        .troco-label {
            font-size: 13px;
            font-weight: 700;
            color: #92400e;
        }

        .troco-opts {
            display: flex;
            gap: 8px;
        }

        .troco-opt {
            display: flex;
            align-items: center;
            gap: 6px;
            cursor: pointer;
            font-size: 13px;
            font-weight: 600;
            padding: 6px 14px;
            border-radius: 20px;
            border: 1.5px solid #fde68a;
            background: #fff;
            transition: all .15s;
        }

        .troco-opt:has(input:checked) {
            background: #f59e0b;
            border-color: #f59e0b;
            color: #fff;
        }

        .troco-opt input { display: none; }

        /* ── Modal feedback ── */
        @keyframes fbBoxIn {
            from { opacity:0; transform: scale(.88) translateY(20px); }
            to   { opacity:1; transform: scale(1) translateY(0); }
        }

        @keyframes fbOverlayIn {
            from { opacity:0; }
            to   { opacity:1; }
        }

        .fb-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,.55);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            animation: fbOverlayIn .2s ease both;
        }

        .fb-box {
            background: #fff;
            border-radius: 24px;
            padding: 36px 28px 28px;
            max-width: 340px;
            width: 100%;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 12px;
            animation: fbBoxIn .28s cubic-bezier(.22,.68,0,1.15) both;
            box-shadow: 0 24px 64px rgba(0,0,0,.18);
        }

        .fb-icon-wrap {
            width: 64px;
            height: 64px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 4px;
        }

        .fb-icon { width: 52px; height: 52px; }

        .fb-title {
            font-size: 20px;
            font-weight: 800;
            line-height: 1.25;
            color: var(--text);
        }

        .fb-msg {
            font-size: 14px;
            color: var(--muted);
            line-height: 1.55;
            margin: 0;
        }

        .fb-btn {
            margin-top: 8px;
            width: 100%;
            height: 48px;
            border-radius: 14px;
            background: var(--brand);
            color: #fff;
            font-size: 15px;
            font-weight: 700;
            border: none;
            cursor: pointer;
            transition: background .15s;
        }

        .fb-btn:hover { background: var(--brand-dark, #b8391e); }

        .success-modal {
            align-items: center;
        }

        .success-sheet {
            max-width: 430px;
            border-radius: 22px;
            overflow: visible;
        }

        .success-body {
            padding: 26px 22px 22px;
            display: grid;
            gap: 16px;
        }

        .success-image-wrap {
            width: 88px;
            height: 88px;
            border-radius: 50%;
            background: #fff5f4;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto;
            box-shadow: 0 10px 24px rgba(211, 12, 2, 0.12);
        }

        .success-image-wrap img {
            width: 58px;
            height: 58px;
            object-fit: contain;
        }

        .success-title {
            font-size: 22px;
            line-height: 1.3;
            text-align: center;
        }

        .success-counter {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 14px;
            padding: 12px 14px;
            border-radius: 16px;
            background: #fafafa;
            border: 1px solid #ededed;
        }

        .success-counter span {
            font-size: 13px;
            color: var(--muted);
            font-weight: 700;
        }

        .success-counter-box {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .success-counter-box button {
            width: 36px;
            height: 36px;
            border-radius: 12px;
            background: #fff;
            border: 1px solid #e6e6e6;
            font-size: 18px;
            font-weight: 700;
            color: var(--brand);
        }

        .success-counter-box button:disabled {
            color: #a7a7a7;
        }

        .success-counter-box strong {
            min-width: 20px;
            text-align: center;
            font-size: 16px;
        }

        .success-actions {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
        }

        .helper-text {
            font-size: 11px;
            color: var(--muted);
        }

        @media (min-width: 769px) {
            body {
                padding-bottom: 176px;
            }

            .topbar {
                border-radius: 0 0 18px 18px;
            }

            .topbar-inner {
                height: 62px;
                padding: 0 24px;
            }

            .topbar-name {
                font-size: 16px;
            }

            .topbar-sub {
                font-size: 11px;
            }

            .cover {
                padding: 0 24px;
            }

            .cover img {
                border-radius: 0 0 24px 24px;
            }

            .store-card,
            .cashback-strip,
            .search-section,
            .products-section {
                margin-left: 24px;
                margin-right: 24px;
            }

            .sticky-cats {
                padding: 0 24px;
            }

            .cat-tabs {
                padding: 0 4px;
                background: transparent;
            }

            .store-card {
                margin-top: 20px;
                padding: 22px 24px;
            }

            .store-profile {
                align-items: center;
            }

            .store-avatar {
                width: 82px;
                height: 82px;
            }

            .store-name {
                font-size: 24px;
            }

            .store-address {
                font-size: 13px;
            }

            .store-facts {
                gap: 12px;
            }

            .store-fact {
                min-width: 180px;
            }

            .highlight-list {
                padding-left: 24px;
                padding-right: 24px;
            }

            .product-list {
                border-radius: 16px;
            }
        }

        /* ============================================================
           WRAPPERS — transparent on mobile, columns on desktop
        ============================================================ */
        .sidebar-col,
        .main-col {
            display: contents;
        }
        .page-columns { display: contents; }

        /* ---- Carrossel de destaques: setas ---- */
        .highlight-wrap {
            position: relative;
        }
        .highlight-arrow {
            display: none;
        }

        /* ============================================================
           DESKTOP LAYOUT — min-width: 1024px
           Mobile/tablet (< 1024px) is completely untouched above.
        ============================================================ */
        @media (min-width: 1024px) {

            /* Reset mobile padding-bottom — no floating bottom-nav */
            body {
                padding-bottom: 0;
                max-width: 100%;
                background: #eef0f4;
            }

            /* ---- TOP BAR ---- */
            .topbar {
                position: fixed;
                top: 0;
                left: 0;
                right: 0;
                z-index: 100;
                border-radius: 0;
                background: #fff;
                border-bottom: 1px solid #e8e8e8;
                box-shadow: 0 2px 12px rgba(0,0,0,0.06);
            }

            .topbar-inner {
                max-width: 1280px;
                margin: 0 auto;
                height: 68px;
                padding: 0 40px;
            }

            .topbar-logo {
                width: 44px;
                height: 44px;
            }

            .topbar-name {
                font-size: 17px;
            }

            .topbar-sub {
                font-size: 12px;
            }

            .icon-btn {
                width: 40px;
                height: 40px;
                font-size: 17px;
                background: #f4f4f4;
                border-radius: 10px;
                transition: background .15s;
            }

            .icon-btn:hover {
                background: #ebebeb;
            }

            .topbar-actions .icon-btn:last-child {
                background: var(--brand);
                color: #fff;
                font-size: 18px;
            }

            /* ---- PAGE WRAPPER ---- */
            .page {
                display: flex;
                flex-direction: column;
                max-width: 1280px;
                margin: 68px auto 0;
                padding: 0 40px;
                min-height: calc(100vh - 68px);
            }

            .topbar {
                grid-area: topbar;
            }

            /* Cover spans full width of the content area */
            .cover {
                width: 100%;
                margin: 0;
                padding: 0;
            }

            .cover img {
                width: 100%;
                max-height: 320px;
                aspect-ratio: unset;
                border-radius: 16px;
                border-bottom: none;
                object-position: center 35%;
                margin-top: 24px;
            }

            /* Single-column layout (no sidebar) */
            .page-columns {
                display: flex;
                flex-direction: column;
                width: 100%;
            }

            /* Hide sidebar store card/cashback on desktop — info already in topbar */
            .sidebar-col {
                display: contents;
            }

            .sidebar-col > .store-card,
            .sidebar-col > .cashback-strip {
                display: none;
            }

            /* Category tabs stay horizontal on desktop */
            .sticky-cats {
                position: sticky;
                top: 68px;
                z-index: 18;
                background: rgba(238,240,244,0.96);
                backdrop-filter: blur(8px);
                border-bottom: 1px solid #e0e0e0;
                padding: 0;
                margin: 0 0 8px;
            }

            .cat-tabs {
                display: flex;
                flex-direction: row;
                overflow-x: auto;
                gap: 0;
                padding: 0 8px;
            }

            .cat-tab {
                flex-shrink: 0;
                padding: 14px 16px 12px;
                border-bottom: 2px solid transparent;
                font-size: 14px;
                font-weight: 600;
                color: var(--muted);
                transition: color .15s;
                white-space: nowrap;
            }

            .cat-tab:hover {
                color: var(--brand);
            }

            .cat-tab.active {
                color: var(--brand);
                font-weight: 700;
                border-bottom-color: var(--brand);
            }

            /* ---- MAIN CONTENT COLUMN ---- */
            .main-col {
                display: flex;
                flex-direction: column;
                padding: 8px 0 48px 0;
                gap: 0;
                min-width: 0;
            }

            .search-section {
                margin: 0 0 20px;
                padding: 0;
            }

            .search-box input {
                height: 48px;
                font-size: 14px;
                border-radius: 14px;
                box-shadow: 0 4px 20px rgba(0,0,0,0.07);
            }

            section#destaques {
                margin: 0;
            }

            .section-title {
                padding: 0 0 12px;
            }

            .section-title h2 {
                font-size: 20px;
            }

            /* Carrossel com setas */
            .highlight-wrap {
                position: relative;
            }

            .highlight-arrow {
                display: flex;
                align-items: center;
                justify-content: center;
                position: absolute;
                top: 50%;
                transform: translateY(-60%);
                width: 38px;
                height: 38px;
                border-radius: 50%;
                background: #fff;
                border: 1px solid #e0e0e0;
                box-shadow: 0 4px 14px rgba(0,0,0,0.12);
                cursor: pointer;
                z-index: 5;
                font-size: 18px;
                color: var(--text);
                transition: background .15s, box-shadow .15s;
            }

            .highlight-arrow:hover {
                background: var(--brand);
                color: #fff;
                border-color: var(--brand);
                box-shadow: 0 6px 18px rgba(216,81,51,0.25);
            }

            .highlight-arrow.arrow-left  { left: -18px; }
            .highlight-arrow.arrow-right { right: -18px; }
            .highlight-arrow.hidden { opacity: 0; pointer-events: none; }

            .highlight-list {
                padding: 0 0 20px;
                gap: 16px;
                scroll-behavior: smooth;
            }

            .highlight-card {
                width: 190px;
            }

            .highlight-card img {
                width: 190px;
                height: 190px;
                border-radius: 14px;
            }

            .highlight-card .title {
                font-size: 14px;
            }

            .highlight-card .current-price {
                font-size: 15px;
            }

            /* Products section */
            .products-section {
                margin: 0 0 24px;
                padding: 0;
            }

            .category-heading {
                padding: 8px 0 6px;
                font-size: 22px;
            }

            .category-subtitle {
                padding-bottom: 16px;
                font-size: 14px;
            }

            /* Products — 2-column card grid */
            .product-list {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                background: transparent;
                border: none;
                border-radius: 0;
                gap: 14px;
            }

            .product-item {
                background: #fff;
                border-radius: 16px;
                border: 1px solid #efefef;
                padding: 16px;
                gap: 14px;
                transition: box-shadow .18s, transform .18s;
                box-shadow: 0 2px 10px rgba(0,0,0,0.04);
            }

            .product-item:hover {
                box-shadow: 0 8px 28px rgba(0,0,0,0.11);
                transform: translateY(-2px);
            }

            .product-item + .product-item {
                border-top: 1px solid #efefef;
            }

            .product-name {
                font-size: 15px;
                color: var(--text);
            }

            .product-desc {
                font-size: 13px;
                -webkit-line-clamp: 3;
            }

            .product-price strong {
                font-size: 16px;
            }

            .product-side {
                width: 108px;
            }

            .product-image {
                width: 108px;
                height: 108px;
                border-radius: 12px;
            }

            .product-counter {
                height: 34px;
            }

            .product-list > .empty-state {
                grid-column: 1 / -1;
            }

            /* ---- BOTTOM NAV: hidden on desktop ---- */
            .bottom-nav {
                display: none;
            }

            /* Cart resume — centered in the main column area */
            .cart-resume {
                bottom: 24px;
                width: 460px;
                left: 50%;
                transform: translateX(calc(-50% + 140px));
            }

            /* ---- MODALS ---- */
            .cart-sheet {
                max-width: 480px;
            }

            .success-sheet {
                max-width: 460px;
            }

            .checkout-page {
                max-width: 880px;
            }

            /* ---- DESKTOP PRODUCT DETAIL MODAL ---- */
            #modalProdutoDetalhe {
                align-items: center;
                justify-content: center;
                padding: 40px;
            }

            .produto-detalhe-sheet {
                max-width: 900px;
                width: 100%;
                border-radius: 22px;
                max-height: 88vh;
                margin: auto;
                display: grid;
                grid-template-columns: 380px 1fr;
                grid-template-rows: 1fr auto;
                overflow: hidden;
            }

            .pd-image-wrap {
                grid-column: 1;
                grid-row: 1 / 3;
                height: 100%;
                min-height: 400px;
            }

            .pd-image-wrap img {
                height: 100%;
                object-position: center;
            }

            .pd-close-btn {
                top: 16px;
                right: 16px;
            }

            .pd-body {
                grid-column: 2;
                grid-row: 1;
                padding: 28px 28px 16px;
                overflow-y: auto;
                max-height: calc(88vh - 88px);
            }

            .pd-nome { font-size: 24px; }

            .pd-footer {
                grid-column: 2;
                grid-row: 2;
                padding: 16px 28px 24px;
                border-top: 1px solid var(--line);
                background: #fff;
            }
        }

        @media (max-width: 480px) {
            body {
                padding-bottom: 164px;
            }

            .cover img {
                aspect-ratio: 1240 / 420;
                max-height: 160px;
                border-radius: 0;
            }

            .store-card {
                margin: 12px 12px 0;
                border-radius: 18px;
                padding-bottom: 14px;
            }

            .store-profile {
                align-items: flex-start;
                flex-direction: column;
            }

            .profile-link {
                padding: 8px 12px;
                align-self: flex-start;
            }

            .cashback-content {
                padding-left: 96px;
            }

            .store-brand {
                align-items: flex-start;
            }

            .store-avatar {
                width: 62px;
                height: 62px;
            }

            .store-name {
                font-size: 18px;
            }

            .store-facts {
                flex-direction: column;
            }

            .store-fact {
                width: 100%;
            }

            .cart-modal {
                padding: 0;
            }

            .cart-sheet {
                max-width: none;
                border-radius: 20px 20px 0 0;
            }

            .client-box {
                flex-direction: column;
                align-items: flex-start;
            }

            .checkout-grid,
            .success-actions {
                grid-template-columns: 1fr;
            }

            .checkout-content {
                padding-left: 12px;
                padding-right: 12px;
            }
        }

        /* ════════════════════════════════════════════════════════════════
           LAYOUT DE ALTA CONVERSÃO — Bom Apetite (identidade vinho + dourado)
           Camada por cima do layout antigo: cores da marca, primeira tela com
           produto, prova social real, prazo, barra de frete grátis e sugestões.
           ════════════════════════════════════════════════════════════════ */
        :root {
            --brand: #7a1f2e;
            --brand-strong: #5c1622;
            --brand-soft: #f7e9eb;
            --gold: #c9a45c;
            --gold-soft: #fbf4e6;
            --page-bg: #faf7f4;
            --text: #231a1b;
            --muted: #6b5f60;
            --line: #efe8e3;
            --ok: #15803d;
        }
        .cover img { border-bottom-color: var(--gold); max-height: 150px; aspect-ratio: 1240/360; }
        /* Card da loja mais enxuto: menos rolagem até o primeiro produto */
        .store-card { padding: 12px 14px; }
        .store-card .profile-link, .store-card .store-address { display: none; }
        .store-card .store-avatar { width: 46px; height: 46px; }
        .store-card .store-name { font-size: 18px; }
        .store-card .status-badge { margin-top: 8px; padding: 6px 10px; font-size: 12px; }
        .store-card .store-facts { display: none; }
        .cashback-strip { margin: 10px 16px 0; background: linear-gradient(120deg, var(--brand), var(--brand-strong)) !important; }
        .cashback-strip .cashback-content { padding: 10px 14px 10px 62px !important; }
        .cashback-strip .cashback-icon { left: 14px !important; }
        @media (max-width: 768px) {
            .store-card.aberta { display: none; }       /* o topo já diz "Aberto agora" — produto sobe na tela */
            .cover img { max-height: 110px; }
        }
        .cashback-strip .cashback-content { min-height: 0 !important; }
        .cashback-strip .cashback-content::before { display: none !important; }
        .cashback-strip .cashback-icon { width: 34px !important; height: 34px !important; font-size: 16px !important; background: var(--gold) !important; color: var(--brand-strong) !important; }
        .cashback-strip .cashback-copy strong { font-size: 15px !important; color: #fff; }
        .cashback-strip .cashback-copy span { font-size: 12px !important; color: #f3e6e8; }
        .cashback-strip::before { display: none !important; }
        .cat-tab.active { color: var(--brand) !important; }

        /* Prato do dia (primeira coisa que o cliente vê) */
        .hero-dia { margin: 14px 16px 0; background: var(--surface); border-radius: 18px; overflow: hidden; box-shadow: 0 8px 26px rgba(92,22,34,.12); border: 1px solid var(--line); display: grid; grid-template-columns: 1fr; }
        .hero-dia-img { position: relative; }
        .hero-dia-img img { width: 100%; aspect-ratio: 16/9; max-height: 210px; object-fit: cover; }
        .hero-dia-tag { position: absolute; left: 12px; top: 12px; background: var(--gold); color: var(--brand-strong); font-weight: 800; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
        .hero-dia-body { padding: 14px 16px 16px; }
        .hero-dia-body h2 { font-size: 19px; line-height: 1.2; margin-bottom: 4px; }
        .hero-dia-body p { color: var(--muted); font-size: 13px; line-height: 1.4; }
        .hero-dia-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
        .hero-dia-preco small { display: block; color: var(--muted); font-size: 11px; font-weight: 600; }
        .hero-dia-preco strong { font-size: 22px; color: var(--brand); }
        .btn-cta { background: var(--brand); color: #fff; font-weight: 800; font-size: 15px; padding: 13px 20px; border-radius: 12px; box-shadow: 0 6px 16px rgba(122,31,46,.28); white-space: nowrap; }
        .btn-cta:active { transform: scale(.98); }
        .prazo-bar { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 9px 12px; border-radius: 10px; background: var(--gold-soft); color: #7a5412; font-size: 13px; font-weight: 700; }
        .prazo-bar.encerrado { background: #f4f1ef; color: var(--muted); font-weight: 600; }
        .prova-social { margin-top: 8px; font-size: 12px; color: var(--muted); font-weight: 600; }

        /* Faixa de confiança: tempo, taxa, pagamento */
        .trust-chips { display: flex; gap: 8px; overflow-x: auto; padding: 12px 16px 2px; scrollbar-width: none; }
        .trust-chips::-webkit-scrollbar { display: none; }
        .trust-chip { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; font-size: 12px; font-weight: 700; color: var(--text); }
        .trust-chip span { font-size: 14px; }

        /* Mais pedidos */
        .mais-pedidos { padding: 18px 0 0; }
        .mais-pedidos .section-title { padding: 0 16px; }
        .mp-list { display: flex; gap: 12px; overflow-x: auto; padding: 10px 16px 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
        .mp-list::-webkit-scrollbar { display: none; }
        .mp-card { flex: 0 0 150px; scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; cursor: pointer; position: relative; }
        .mp-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
        .mp-card .mp-body { padding: 8px 10px 10px; }
        .mp-card .mp-nome { font-size: 13px; font-weight: 700; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 32px; }
        .mp-card .mp-preco { margin-top: 4px; font-weight: 800; color: var(--brand); font-size: 14px; }
        .mp-card .mp-add { position: absolute; right: 8px; top: 8px; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--brand); font-size: 20px; font-weight: 800; box-shadow: 0 2px 8px rgba(0,0,0,.18); display: grid; place-items: center; }
        .mp-rank { position: absolute; left: 8px; top: 8px; background: rgba(35,26,27,.78); color: #fff; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 999px; }

        /* Cards de produto: nome forte, preço na cor da marca, selo real "Mais pedido" */
        .product-name { color: var(--text) !important; font-size: 15px !important; font-weight: 700 !important; }
        .product-price strong { color: var(--brand); }
        .product-counter:not(.is-empty), .product-counter button { background: var(--brand) !important; }
        .selo-top { display: inline-block; margin-bottom: 4px; background: var(--gold-soft); color: #7a5412; font-size: 10.5px; font-weight: 800; letter-spacing: .03em; padding: 2px 8px; border-radius: 999px; text-transform: uppercase; }
        .product-image { border-radius: 12px !important; object-fit: cover; }
        .category-heading { color: var(--text); }

        /* Barra do carrinho: botão grande + progresso do frete grátis */
        .cart-resume-card { flex-wrap: wrap; border: 1px solid var(--line); }
        .cart-resume-btn { background: var(--brand) !important; height: 44px !important; min-width: 150px !important; font-size: 14px !important; border-radius: 12px !important; }
        .frete-progress { flex-basis: 100%; font-size: 12px; font-weight: 700; color: var(--muted); }
        .frete-progress .trilho { height: 6px; background: var(--line); border-radius: 999px; margin-top: 5px; overflow: hidden; }
        .frete-progress .trilho i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--ok)); border-radius: 999px; transition: width .3s; }
        .frete-progress.ok { color: var(--ok); }
        .nav-item.active, .nav-item.active .nav-icon { color: var(--brand) !important; }
        .nav-badge { background: var(--brand) !important; }

        /* Sugestões no checkout ("Peça também") */
        .checkout-content > * { min-width: 0; }
        .upsell-box { max-width: 100%; overflow: hidden; margin: 0 0 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 0 10px; }
        .upsell-box h3 { font-size: 15px; padding: 0 16px; }
        .upsell-box p { font-size: 12px; color: var(--muted); padding: 2px 16px 0; }
        .upsell-list { display: flex; gap: 10px; overflow-x: auto; padding: 10px 16px 4px; scrollbar-width: none; }
        .upsell-list::-webkit-scrollbar { display: none; }
        .upsell-item { flex: 0 0 128px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
        .upsell-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
        .upsell-item div { padding: 6px 8px 8px; font-size: 12px; font-weight: 700; line-height: 1.2; }
        .upsell-item button { margin-top: 6px; width: 100%; background: var(--brand-soft); color: var(--brand); font-weight: 800; border-radius: 8px; padding: 6px 0; font-size: 12px; }
        .checkout-btn:not([disabled]) { background: var(--brand) !important; }

        @media (min-width: 769px) {
            .hero-dia { grid-template-columns: 1.1fr 1fr; margin: 0 0 8px; }
            .hero-dia-img img { height: 100%; aspect-ratio: auto; min-height: 230px; }
            .hero-dia-body { display: flex; flex-direction: column; justify-content: center; padding: 22px 24px; }
            .hero-dia-body h2 { font-size: 24px; }
            .trust-chips { padding: 12px 0 2px; flex-wrap: wrap; }
            .mais-pedidos .section-title, .mp-list { padding-left: 0; padding-right: 0; }
            .cover img { max-height: 220px; }
        }

        /* "a partir de" nas marmitas (preço do menor tamanho) e aviso de mesa inválida */
        .a-partir { font-size: .72em; font-weight: 600; color: var(--muted); margin-right: 2px; white-space: nowrap; }
        .product-price .a-partir { display: inline; }
        .aviso-mesa { background: #fff7ed; color: #9a3412; border-bottom: 1px solid #fed7aa; padding: 10px 16px; font-size: 13px; font-weight: 600; text-align: center; }
        .pedido-minimo-aviso { margin: 8px 0 0; padding: 8px 12px; border-radius: 10px; background: #fff7ed; color: #9a3412; font-size: 12px; font-weight: 700; }
        /* a escolha de tamanho abre por cima do carrinho (sugestões "Peça também") */
        #modalProdutoDetalhe { z-index: 45; }

        /* "Pedir de novo" (último pedido deste celular) */
        .pedir-de-novo[hidden] { display: none !important; }
        .pedir-de-novo { margin: 14px 16px 0; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 16px; padding: 12px 14px; display: flex; gap: 12px; align-items: center; box-shadow: 0 6px 18px rgba(10,10,10,.06); }
        .pedir-de-novo .pdn-img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; flex-shrink: 0; background: var(--page-bg); }
        .pedir-de-novo .pdn-txt { flex: 1; min-width: 0; }
        .pedir-de-novo .pdn-tit { font-size: 12px; font-weight: 700; color: var(--muted); }
        .pedir-de-novo .pdn-itens { font-size: 14px; font-weight: 700; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
        .pedir-de-novo .pdn-info { font-size: 12px; color: var(--muted); margin-top: 2px; }
        .pedir-de-novo .pdn-btn { flex-shrink: 0; background: var(--brand); color: #fff; font-weight: 800; font-size: 13px; border-radius: 10px; padding: 10px 12px; min-height: 44px; white-space: nowrap; }
        .pedir-de-novo .pdn-btn:disabled { opacity: .6; }
        @media (max-width: 380px) { .pedir-de-novo { flex-wrap: wrap; } .pedir-de-novo .pdn-btn { width: 100%; } }
        @media (min-width: 769px) { .pedir-de-novo { margin: 0 0 12px; } }

        /* Onde estamos (Frente 2): endereço, telefone e horário no fim do cardápio */
        .onde-estamos { margin: 24px 0 96px; padding: 16px; background: #fff; border: 1px solid var(--line, #efe8e3); border-radius: 14px; font-size: 13px; color: var(--muted, #6b5f60); }
        .onde-estamos h2 { font-size: 15px; color: var(--text, #231a1b); margin: 0 0 8px; }
        .onde-estamos p { margin: 4px 0; }
        .onde-estamos a { color: var(--brand, #7a1f2e); font-weight: 600; }
        .onde-horarios { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 4px 12px; }
        .onde-horarios li span { display: inline-block; width: 34px; font-weight: 600; }
        .onde-horarios li.hoje { color: var(--text, #231a1b); font-weight: 700; }
