/* ============================================
   ROTA DO AÇAÍ — Cardápio Digital
   Paleta: roxo escuro → violeta → lilás → branco
   ============================================ */

/* --- CSS Variables --- */
:root {
    --purple-900: #2D0A31;
    --purple-800: #4A0E4E;
    --purple-700: #5B1A6E;
    --purple-600: #7B2D8E;
    --purple-500: #8E3EA0;
    --purple-400: #A85BBC;
    --purple-300: #C88ED4;
    --purple-200: #D9B0E6;
    --purple-100: #ECD8F0;
    --purple-50:  #F5EBF8;

    --white: #FFFFFF;
    --gray-100: #F7F3F9;
    --gray-200: #E8E0EC;
    --gray-600: #6B5B73;
    --gray-800: #3D2E44;

    --success: #25D366;
    --success-dark: #1DAF54;
    --danger: #E74C3C;
    --warning: #F39C12;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-sm: 0 2px 8px rgba(45, 10, 49, 0.08);
    --shadow-md: 0 4px 20px rgba(45, 10, 49, 0.12);
    --shadow-lg: 0 8px 40px rgba(45, 10, 49, 0.18);
    --shadow-xl: 0 12px 50px rgba(45, 10, 49, 0.25);

    --font-body: 'Poppins', sans-serif;
    --font-display: 'Pacifico', cursive;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-body);
    color: var(--gray-800);
    background: var(--purple-50);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--purple-100);
}
::-webkit-scrollbar-thumb {
    background: var(--purple-400);
    border-radius: 3px;
}

/* ============================================
   HERO / HEADER
   ============================================ */
.hero {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--purple-800) 0%, var(--purple-600) 40%, var(--purple-500) 70%, var(--purple-400) 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(168, 91, 188, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(91, 26, 110, 0.4) 0%, transparent 50%);
}

/* Floating leaves */
.hero-leaves {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.leaf {
    position: absolute;
    font-size: 2rem;
    opacity: 0.5;
    animation: floatLeaf 8s ease-in-out infinite;
}
.leaf-1 { top: 10%; left: 5%; animation-delay: 0s; }
.leaf-2 { top: 5%; right: 10%; animation-delay: 2s; font-size: 1.5rem; }
.leaf-3 { bottom: 15%; left: 15%; animation-delay: 4s; font-size: 1.8rem; }
.leaf-4 { bottom: 10%; right: 5%; animation-delay: 6s; font-size: 1.3rem; }

@keyframes floatLeaf {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(10deg); }
    75% { transform: translateY(10px) rotate(-5deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem 1rem;
}

.logo {
    font-family: var(--font-display);
    font-size: 5rem;
    color: var(--white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.2rem;
    animation: fadeInDown 0.8s ease-out;
}

.tagline {
    font-size: 1.2rem;
    color: var(--purple-100);
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-bowl {
    font-size: 3rem;
    margin-top: 1rem;
    animation: bounceIn 1s ease-out 0.6s both;
}

/* ============================================
   MAIN CONTAINER & SECTIONS
   ============================================ */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem;
}

.menu-section {
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.menu-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--purple-700);
    display: inline-block;
    position: relative;
}

.title-decoration {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--purple-400), var(--purple-200));
    border-radius: 2px;
    margin: 0.5rem auto 0;
}

/* ============================================
   SIZE CARDS (selectable)
   ============================================ */
.sizes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.size-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.size-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--purple-500), var(--purple-300));
    opacity: 0;
    transition: opacity var(--transition);
}

.size-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--purple-300);
}

.size-card:hover::before {
    opacity: 1;
}

.size-card:active {
    transform: translateY(-2px) scale(0.98);
}

.size-card-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.size-card-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--purple-800);
    margin-bottom: 0.3rem;
}

.size-card-desc {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.size-card-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--purple-600);
    display: block;
}

.size-card-action {
    margin-top: 0.8rem;
    font-size: 0.8rem;
    color: var(--purple-400);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   ITEMS GRID (fruits, toppings, creams display)
   ============================================ */
.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.8rem;
}

.items-grid-compact {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}

.item-chip {
    background: var(--white);
    padding: 0.7rem 1rem;
    border-radius: var(--radius-md);
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--purple-700);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid var(--purple-100);
}

.item-chip:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.item-chip-icon {
    display: block;
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.item-chip .item-price {
    display: block;
    font-size: 0.8rem;
    color: var(--purple-500);
    font-weight: 600;
    margin-top: 0.2rem;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: linear-gradient(135deg, var(--purple-800), var(--purple-700));
    color: var(--white);
    padding: 2.5rem 1rem;
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-cards {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.2rem;
    border-radius: var(--radius-md);
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: background var(--transition), transform var(--transition);
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.contact-icon {
    font-size: 1.3rem;
}

.delivery-badge {
    display: inline-block;
    background: rgba(37, 211, 102, 0.2);
    color: #82FFB5;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(37, 211, 102, 0.3);
}

.footer-note {
    font-size: 0.85rem;
    color: var(--purple-200);
    line-height: 1.5;
    font-style: italic;
}

/* ============================================
   CART FLOATING BUTTON
   ============================================ */
.cart-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple-600), var(--purple-500));
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 100;
    transition: transform var(--transition), box-shadow var(--transition);
    animation: pulse 2s ease-in-out infinite;
}

.cart-float:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
    animation: none;
}

.cart-float:active {
    transform: scale(0.95);
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--danger);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(231, 76, 60, 0.4);
}

.cart-badge.hidden {
    display: none;
}

/* ============================================
   MODALS (Generic)
   ============================================ */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.hidden {
    display: none;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(45, 10, 49, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-xl);
    max-height: 90vh;
    overflow-y: auto;
    width: 100%;
    max-width: 560px;
    box-shadow: var(--shadow-xl);
    animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.wizard-content {
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    overflow: hidden;
    overflow-y: hidden;
}

.wizard-body {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gray-100);
    border: none;
    font-size: 1.3rem;
    color: var(--gray-600);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), color var(--transition);
    z-index: 2;
}

.modal-close:hover {
    background: var(--purple-100);
    color: var(--purple-700);
}

/* ============================================
   WIZARD MODAL
   ============================================ */

.wizard-header {
    background: linear-gradient(135deg, var(--purple-700), var(--purple-500));
    padding: 1.8rem 2rem 1.5rem;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    color: var(--white);
}

.wizard-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.wizard-subtitle {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1.2rem;
}

/* Steps indicator */
.wizard-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    opacity: 0.5;
    transition: opacity var(--transition);
}

.step-indicator.active {
    opacity: 1;
}

.step-indicator.completed {
    opacity: 0.8;
}

.step-num {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background var(--transition);
}

.step-indicator.active .step-num {
    background: var(--white);
    color: var(--purple-700);
}

.step-indicator.completed .step-num {
    background: rgba(255, 255, 255, 0.5);
}

.step-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.step-line {
    width: 30px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 0.3rem;
    margin-bottom: 1.2rem;
}

/* Wizard steps content */
.wizard-step {
    padding: 1.5rem 2rem;
    animation: fadeIn 0.3s ease-out;
}

.wizard-step.hidden {
    display: none;
}

.wizard-step-title {
    font-size: 1.05rem;
    color: var(--purple-800);
    margin-bottom: 1rem;
    font-weight: 600;
}

.counter-badge {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--purple-500);
}

.counter-badge.limit-reached {
    color: var(--warning);
}

.optional-label {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--gray-600);
}

.cream-price-note {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
}

/* Wizard grid items (selectable) */
.wizard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.6rem;
}

.wizard-item {
    padding: 0.8rem 0.6rem;
    border-radius: var(--radius-md);
    border: 2px solid var(--gray-200);
    background: var(--white);
    text-align: center;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-800);
    transition: all var(--transition);
    user-select: none;
}

.wizard-item:hover {
    border-color: var(--purple-300);
    background: var(--purple-50);
}

.wizard-item.selected {
    border-color: var(--purple-500);
    background: linear-gradient(135deg, var(--purple-50), var(--purple-100));
    color: var(--purple-700);
    box-shadow: 0 0 0 3px rgba(142, 62, 160, 0.15);
}

.wizard-item.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.wizard-item .wi-icon {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.wizard-item .wi-check {
    display: none;
    font-size: 0.7rem;
    margin-left: 0.3rem;
}

.wizard-item.selected .wi-check {
    display: inline;
}

/* Wizard summary */
.wizard-summary {
    background: var(--purple-50);
    border-radius: var(--radius-md);
    padding: 1.2rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--purple-100);
    font-size: 0.9rem;
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-label {
    color: var(--gray-600);
    font-weight: 500;
}

.summary-value {
    color: var(--purple-700);
    font-weight: 600;
    text-align: right;
    max-width: 60%;
}

.summary-total {
    font-size: 1.1rem;
    color: var(--purple-600);
    font-weight: 700;
    padding-top: 0.8rem;
    margin-top: 0.3rem;
    border-top: 2px solid var(--purple-200);
}

/* Wizard actions (sticky footer) */
.wizard-actions {
    display: flex;
    justify-content: space-between;
    padding: 1rem 1.2rem;
    gap: 0.8rem;
    flex-wrap: wrap;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    flex-shrink: 0;
}

.wizard-actions .btn {
    min-width: 0;
    flex: 1 1 auto;
    font-size: 0.9rem;
    padding: 0.8rem 1rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================
   SIDEBAR (Cart)
   ============================================ */
.sidebar {
    position: fixed;
    inset: 0;
    z-index: 1000;
}

.sidebar.hidden {
    display: none;
}

.sidebar-overlay {
    position: absolute;
    inset: 0;
    background: rgba(45, 10, 49, 0.5);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    animation: fadeIn 0.3s ease-out;
}

.sidebar-panel {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 380px;
    max-width: 100%;
    background: var(--white);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xl);
    animation: slideInRight 0.4s cubic-bezier(0.34, 1.1, 0.64, 1);
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid var(--purple-100);
    background: linear-gradient(135deg, var(--purple-700), var(--purple-500));
    color: var(--white);
}

.sidebar-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.sidebar-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: var(--white);
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}

.sidebar-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Cart items */
.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.5rem;
}

.cart-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--gray-600);
}

.cart-empty-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.cart-empty-sub {
    font-size: 0.85rem;
    color: var(--purple-300);
    margin-top: 0.3rem;
}

.cart-item {
    background: var(--purple-50);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-bottom: 0.8rem;
    position: relative;
    animation: fadeIn 0.3s ease-out;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    border: 2px solid transparent;
}

.cart-item.highlight {
    animation: cartItemHighlight 1.5s ease-out;
    border-color: var(--purple-400);
    box-shadow: 0 0 12px rgba(123, 45, 142, 0.3);
}

@keyframes cartItemHighlight {
    0% { transform: scale(0.95); opacity: 0.5; background: var(--purple-200); }
    30% { transform: scale(1.02); opacity: 1; background: var(--purple-100); }
    100% { transform: scale(1); background: var(--purple-50); }
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.cart-item-name {
    font-weight: 600;
    color: var(--purple-700);
    font-size: 0.95rem;
}

.cart-item-price {
    font-weight: 700;
    color: var(--purple-600);
    font-size: 0.95rem;
    white-space: nowrap;
    margin-left: 0.5rem;
}

.cart-item-details {
    font-size: 0.8rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.cart-item-details span {
    display: block;
}

.cart-item-remove {
    position: absolute;
    bottom: 0.6rem;
    right: 0.6rem;
    background: none;
    border: none;
    color: var(--danger);
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}

.cart-item-remove:hover {
    background: rgba(231, 76, 60, 0.1);
}

/* Cart footer */
.cart-footer {
    padding: 1.2rem 1.5rem;
    border-top: 2px solid var(--purple-100);
    background: var(--gray-100);
}

.cart-footer.hidden {
    display: none;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--purple-800);
}

.cart-total-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--purple-600);
}

/* ============================================
   CHECKOUT MODAL
   ============================================ */
.checkout-content {
    padding: 2rem;
}

.checkout-title {
    font-size: 1.4rem;
    color: var(--purple-700);
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Form styles */
.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--purple-800);
    margin-bottom: 0.4rem;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="number"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--gray-800);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.form-group input:focus {
    border-color: var(--purple-400);
    box-shadow: 0 0 0 3px rgba(142, 62, 160, 0.1);
}

.form-group input.error {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.required {
    color: var(--danger);
}

.optional-label {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--gray-600);
}

/* Payment options */
.payment-options {
    display: flex;
    gap: 0.8rem;
}

.radio-card {
    flex: 1;
    cursor: pointer;
}

.radio-card input {
    display: none;
}

.radio-card-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-weight: 600;
    color: var(--gray-600);
    transition: all var(--transition);
}

.radio-card input:checked + .radio-card-inner {
    border-color: var(--purple-500);
    background: var(--purple-50);
    color: var(--purple-700);
    box-shadow: 0 0 0 3px rgba(142, 62, 160, 0.1);
}

.radio-card:hover .radio-card-inner {
    border-color: var(--purple-300);
}

.radio-icon {
    font-size: 1.3rem;
}

/* Change calculation */
.input-with-prefix {
    display: flex;
    align-items: center;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.input-with-prefix:focus-within {
    border-color: var(--purple-400);
    box-shadow: 0 0 0 3px rgba(142, 62, 160, 0.1);
}

.input-prefix {
    padding: 0.75rem;
    background: var(--purple-50);
    color: var(--purple-600);
    font-weight: 600;
    font-size: 0.95rem;
    border-right: 2px solid var(--gray-200);
}

.input-with-prefix input {
    flex: 1;
    border: none;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    color: var(--gray-800);
}

.change-info {
    font-size: 0.9rem;
    color: var(--success-dark);
    font-weight: 600;
    margin-top: 0.5rem;
    padding: 0.5rem 0.8rem;
    background: rgba(37, 211, 102, 0.08);
    border-radius: var(--radius-sm);
}

.change-error {
    font-size: 0.85rem;
    color: var(--danger);
    font-weight: 500;
    margin-top: 0.5rem;
    padding: 0.5rem 0.8rem;
    background: rgba(231, 76, 60, 0.08);
    border-radius: var(--radius-sm);
}

.change-info.hidden,
.change-error.hidden {
    display: none;
}

/* Checkout summary */
.checkout-summary {
    background: var(--purple-50);
    border-radius: var(--radius-md);
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    margin-top: 0.5rem;
}

.checkout-summary h4 {
    font-size: 1rem;
    color: var(--purple-700);
    margin-bottom: 0.8rem;
}

.checkout-items-list {
    font-size: 0.85rem;
    color: var(--gray-800);
}

.checkout-item-row {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--purple-100);
}

.checkout-item-row:last-child {
    border-bottom: none;
}

.checkout-total-row {
    display: flex;
    justify-content: space-between;
    padding-top: 0.8rem;
    margin-top: 0.5rem;
    border-top: 2px solid var(--purple-200);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--purple-700);
}

.checkout-total-value {
    color: var(--purple-600);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--purple-600), var(--purple-500));
    color: var(--white);
    box-shadow: 0 4px 12px rgba(123, 45, 142, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(123, 45, 142, 0.4);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--gray-100);
    color: var(--purple-700);
}

.btn-secondary:hover {
    background: var(--purple-100);
}

.btn-success {
    background: linear-gradient(135deg, var(--success), var(--success-dark));
    color: var(--white);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-success:hover {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transform: translateY(-1px);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    font-size: 1rem;
    padding: 1rem;
}

.btn-whatsapp:hover {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.btn.hidden {
    display: none;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes slideInRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.3); }
    50% { opacity: 1; transform: scale(1.05); }
    70% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

@keyframes pulse {
    0%, 100% { box-shadow: var(--shadow-lg); }
    50% { box-shadow: 0 4px 30px rgba(123, 45, 142, 0.5); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toast {
    padding: 0.8rem 1.2rem;
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    animation: slideInRight 0.4s ease-out, fadeIn 0.3s ease-out;
    box-shadow: var(--shadow-md);
    max-width: 320px;
}

.toast.success {
    background: var(--success-dark);
}

.toast.error {
    background: var(--danger);
}

.toast.removing {
    animation: fadeOut 0.3s ease-in forwards;
}

@keyframes fadeOut {
    to { opacity: 0; transform: translateX(20px); }
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 768px) {
    .hero {
        min-height: 240px;
    }

    .logo {
        font-size: 3.8rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .sizes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .items-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }

    .sidebar-panel {
        width: 100%;
        animation: slideUp 0.4s cubic-bezier(0.34, 1.1, 0.64, 1);
    }

    .wizard-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
}

/* Mobile */
@media (max-width: 480px) {
    .hero {
        min-height: 200px;
    }

    .logo {
        font-size: 3rem;
    }

    .tagline {
        font-size: 0.85rem;
    }

    .hero-bowl {
        font-size: 2.2rem;
    }

    .container {
        padding: 0.8rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .sizes-grid {
        grid-template-columns: 1fr;
    }

    .size-card {
        padding: 1.2rem;
    }

    .items-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .items-grid-compact {
        grid-template-columns: repeat(2, 1fr);
    }

    .wizard-step {
        padding: 1.2rem 1rem;
    }

    .wizard-actions {
        padding: 1rem 1rem 1.2rem;
    }

    .wizard-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .step-label {
        font-size: 0.55rem;
    }

    .cart-float {
        bottom: 1rem;
        right: 1rem;
        width: 54px;
        height: 54px;
        font-size: 1.3rem;
    }

    .checkout-content {
        padding: 1.5rem 1.2rem;
    }

    .payment-options {
        flex-direction: column;
        gap: 0.5rem;
    }

    .contact-cards {
        flex-direction: column;
        align-items: center;
    }
}
