/* Item Card UX - Clean, consolidated styles */

/* Title: stronger hierarchy with safe truncation */
.menu-center .list-item-rows .item-title,
.list-item-rows .item-title {
  font-weight: 700 !important;
  font-size: 15px !important;
  line-height: 1.25 !important;
  color: #1f2937 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Inline button styles for compact layout */
.menu-center .btn-inline,
.btn-inline {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    border: none !important;
    font-size: 16px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    margin-left: 8px !important;
    flex-shrink: 0 !important;
}

.menu-center .quantity-add-cart-inline,
.quantity-add-cart-inline {
    background: linear-gradient(135deg, #a88bfa, #9333ea) !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(168, 139, 250, 0.25) !important;
}

.menu-center .quantity-add-cart-inline:hover,
.quantity-add-cart-inline:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 4px 12px rgba(168, 139, 250, 0.35) !important;
    color: #fff !important;
    background: linear-gradient(135deg, #9333ea, #7c3aed) !important;
}

.menu-center .btn-inline.btn-grey,
.btn-inline.btn-grey {
    background: #f3f4f6 !important;
    color: #6b7280 !important;
    border: 1px solid #e5e7eb !important;
}

.menu-center .btn-inline.btn-grey:hover,
.btn-inline.btn-grey:hover {
    background: #e5e7eb !important;
    color: #374151 !important;
}

.menu-center .qty-btn-inline,
.qty-btn-inline {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    background: #f3f4f6 !important;
    color: #374151 !important;
    border: 1px solid #e5e7eb !important;
    font-size: 12px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.menu-center .qty-btn-inline:hover,
.qty-btn-inline:hover {
    background: #e5e7eb !important;
    color: #111 !important;
}

.menu-center .quantity-parent-inline .qty,
.quantity-parent-inline .qty {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #374151 !important;
    min-width: 24px !important;
    text-align: center !important;
}

/* Price and button inline layout */
.menu-center .price-button-row,
.price-button-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    margin-top: 8px !important;
}

.menu-center .prices-section,
.prices-section {
    flex: 1 !important;
}

.menu-center .add-button-section,
.add-button-section {
    flex-shrink: 0 !important;
}

/* Mobile responsive styles - consolidated */
@media (max-width: 576px) {
        /* Grid: keep 2 cards per row, tighter gap for mobile */
    .menu-center .category-content,
    .category-content {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
        max-width: 100% !important;
    }
    
    /* Card becomes vertical: image on top, texts/buttons below */
    .menu-center .list-item-rows,
    .list-item-rows {
        display: block !important;
        padding: 10px !important;
        border-radius: 14px !important;
    }
    .menu-center .list-item-rows .row.m-0,
    .list-item-rows .row.m-0 {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        min-height: 120 !important; /* avoid fixed skeleton heights */
    }
    .menu-center .list-item-rows .col-5,
    .menu-center .list-item-rows .col-7,
    .list-item-rows .col-5,
    .list-item-rows .col-7 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 auto !important;
        padding: 0 !important;
    }
    .menu-center .list-item-rows .fixed-height,
    .list-item-rows .fixed-height {
        height: auto !important;
    }
    .menu-center .list-item-rows .d-flex.align-items-center,
    .list-item-rows .d-flex.align-items-center {
        align-items: flex-start !important;
    }

    /* Ensure image fills full width of card on mobile */
    .menu-center .list-item-rows .item-image-preview,
    .list-item-rows .item-image-preview {
        border-radius: 12px !important;
        aspect-ratio: 1 / 1 !important;
        width: 100% !important;
    }

    /* Price + Add row: stable and readable */
    .menu-center .price-button-row,
    .price-button-row {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 6px !important;
        margin-top: 8px !important;
        flex-wrap: nowrap !important;
    }
    .menu-center .prices-section,
    .prices-section { flex: 1 1 auto !important; min-width: 0 !important; }
    .menu-center .add-button-section,
    .add-button-section { flex: 0 0 auto !important; display: flex !important; justify-content: flex-end !important; }

    /* Make sure the + button is visible within the card, but do not overlay sticky headers */
    .menu-center .clickable-card .btn-inline,
    .clickable-card .btn-inline,
    .menu-center .clickable-card .quantity-add-cart-inline,
    .clickable-card .quantity-add-cart-inline {
        position: relative !important;
        z-index: 1 !important;
    }
    /* Title adjustments */
    .menu-center .list-item-rows .item-title,
    .list-item-rows .item-title { 
        font-size: 11px !important; 
    }
    
    /* Button sizing */
    .menu-center .btn-inline,
    .btn-inline {
        width: 32px !important;
        height: 32px !important;
        font-size: 16px !important;
        min-width: 32px !important;
        min-height: 32px !important;
    }
    
    .menu-center .qty-btn-inline,
    .qty-btn-inline {
        width: 24px !important;
        height: 24px !important;
        font-size: 12px !important;
        min-width: 24px !important;
        min-height: 24px !important;
    }
    
    .menu-center .quantity-add-cart-inline,
    .quantity-add-cart-inline {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
    }
    
    /* Layout adjustments */
    .menu-center .price-button-row,
    .price-button-row {
        gap: 6px !important;
        flex-wrap: nowrap !important;
        margin-top: 6px !important;
        align-items: center !important;
        display: flex !important;
        justify-content: space-between !important;
    }
    
    .menu-center .prices-section,
    .prices-section {
        flex: 1 !important;
        min-width: 0 !important;
        overflow: hidden !important;
        width: 100% !important;
        margin-bottom: 4px !important;
    }
    
    .menu-center .add-button-section,
    .add-button-section {
        flex-shrink: 0 !important;
        width: auto !important;
        display: flex !important;
        justify-content: flex-end !important;
    }
    
    /* Show add buttons on mobile */
    .menu-center .add-button-section,
    .add-button-section,
    .menu-center .quantity-add-cart-inline,
    .quantity-add-cart-inline,
    .menu-center .btn-inline,
    .btn-inline {
        display: flex !important;
    }
    
    /* Mobile specific layout fixes */
    .menu-center .list-item-rows,
    .list-item-rows {
        padding: 10px !important;
        margin-bottom: 8px !important;
    }
    
    .menu-center .btn-inline,
    .btn-inline {
        margin-left: 6px !important;
        margin-top: 0 !important;
    }
    
    /* Price chip optimizations */
    .menu-center .list-item-rows .price-chip,
    .list-item-rows .price-chip,
    .menu-center .el-card .price-chip,
    .menu-center .btn-group-toggle .btn.price-pill,
    .btn-group-toggle .btn.price-pill,
    .menu-center .el-card .btn.price-pill,
    .menu-center .list-item-rows .prices > span:not(.price-chip),
    .list-item-rows .prices > span:not(.price-chip),
    .menu-center .el-card .prices > span:not(.price-chip) {
        font-size: 11px !important;
        padding: 4px 8px !important;
        font-weight: 600 !important;
        gap: 3px !important;
        line-height: 1.3 !important;
    }
    
    .menu-center .prices-section .prices,
    .prices-section .prices {
        gap: 4px !important;
        flex-wrap: wrap !important;
    }
    
    /* Better touch targets for main add-to-cart button */
    .menu-center .btn.quantity-add-cart,
    .btn.quantity-add-cart {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
    }
    
    .menu-center .btn.quantity-add-cart .zmdi,
    .btn.quantity-add-cart .zmdi {
        font-size: 20px !important;
    }
    
    /* Restricted placeholder adjustments */
    .menu-center .restricted-placeholder,
    .restricted-placeholder {
        flex-direction: column !important;
        text-align: center !important;
        padding: 20px 16px !important;
        gap: 14px !important;
    }
    
    .menu-center .restricted-placeholder .msg,
    .restricted-placeholder .msg {
        font-size: 14px !important;
        justify-content: center !important;
    }
    
    .menu-center .restricted-placeholder .msg i,
    .restricted-placeholder .msg i {
        font-size: 18px !important;
        padding: 6px !important;
    }
    
    .menu-center .restricted-placeholder .btn,
    .restricted-placeholder .btn {
        width: 100% !important;
        padding: 14px 20px !important;
    }
}

/* Extra small devices - keep inline for better UX */
@media (max-width: 480px) {
    .menu-center .price-button-row,
    .price-button-row {
        flex-direction: row !important;
        align-items: center !important;
        gap: 4px !important;
    }
    
    .menu-center .add-button-section,
    .add-button-section {
        align-self: center !important;
        width: auto !important;
        flex-shrink: 0 !important;
    }
    
    /* Better spacing for very small screens */
    .menu-center .list-item-rows,
    .list-item-rows {
        margin-bottom: 8px !important;
        padding: 8px !important;
    }
    
    .menu-center .item-title,
    .item-title {
        font-size: 10px !important;
        line-height: 1.2 !important;
        padding-bottom: 2px !important;
    }
    
    /* Slightly smaller buttons for very small screens */
    .menu-center .btn-inline,
    .btn-inline {
        width: 30px !important;
        height: 30px !important;
        font-size: 14px !important;
        min-width: 30px !important;
        min-height: 30px !important;
    }
    
    .menu-center .quantity-add-cart-inline,
    .quantity-add-cart-inline {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
    }
    
    .menu-center .qty-btn-inline,
    .qty-btn-inline {
        width: 20px !important;
        height: 20px !important;
        font-size: 10px !important;
        min-width: 20px !important;
        min-height: 20px !important;
    }
}

/* Price chips: consistent pills for single/multiple prices */
.menu-center .list-item-rows .prices,
.list-item-rows .prices {
  display: flex !important; 
  flex-wrap: wrap !important; 
  gap: 8px !important;
  align-items: center !important;
}

.menu-center .list-item-rows .price-chip,
.list-item-rows .price-chip,
.menu-center .el-card .price-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6px 12px !important;
  border-radius: 9999px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  background: #a88bfa !important;
  color: #fff !important;
  border: 1px solid #a88bfa !important;
  white-space: nowrap !important;
}

/* Size selector becomes chips too */
.menu-center .btn-group-toggle .btn.price-pill,
.btn-group-toggle .btn.price-pill,
.menu-center .el-card .btn.price-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6px 12px !important;
  border-radius: 9999px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  background: #f9fafb !important;
  color: #111 !important;
  border: 1px solid #e5e7eb !important;
}

.menu-center .btn-group-toggle .btn.price-pill.active,
.btn-group-toggle .btn.price-pill.active,
.menu-center .el-card .btn.price-pill.active {
  background: #9333ea !important;
  color: #fff !important;
  border-color: #9333ea !important;
  box-shadow: 0 6px 16px rgba(147, 51, 234, 0.3) !important;
}

.menu-center .btn-group-toggle .btn.price-pill:hover,
.btn-group-toggle .btn.price-pill:hover,
.menu-center .el-card .btn.price-pill:hover { 
  filter: brightness(0.98) !important; 
}

.menu-center .btn-group-toggle .btn.price-pill input,
.btn-group-toggle .btn.price-pill input { 
  position: absolute !important; 
  opacity: 0 !important; 
  pointer-events: none !important; 
}

/* Add-to-cart "+" button: circular and accessible */
.menu-center .btn.quantity-add-cart,
.list-item-rows .btn.quantity-add-cart,
.btn.quantity-add-cart {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #a88bfa, #9333ea) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 4px 12px rgba(168, 139, 250, 0.3) !important;
  transition: transform .12s ease-out, box-shadow .2s ease, background .3s ease !important;
}
.btn.quantity-add-cart .zmdi { font-size: 22px !important; line-height: 1 !important; }
.btn.quantity-add-cart:hover { transform: translateY(-1px) scale(1.03) !important; box-shadow: 0 8px 18px rgba(168, 139, 250, 0.4) !important; background: linear-gradient(135deg, #9333ea, #7c3aed) !important; }
.btn.quantity-add-cart:active { transform: scale(.97) !important; box-shadow: 0 2px 6px rgba(0,0,0,.25) !important; }
.btn.quantity-add-cart:focus { outline: none !important; box-shadow: 0 0 0 3px rgba(168, 139, 250, 0.35), 0 8px 18px rgba(168, 139, 250, 0.4) !important; }
.btn.quantity-add-cart[disabled], .btn.quantity-add-cart.disabled { opacity: .6 !important; cursor: not-allowed !important; }
@media (min-width: 992px) { .btn.quantity-add-cart { width: 48px !important; height: 48px !important; } }
.btn.quantity-add-cart .btn-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Optional: match quantity +/- pills when item already in cart */
.menu-center .quantity .qty-btn,
.list-item-rows .quantity .qty-btn {
  display: inline-flex; align-items: center; justify-content: center; 
  width: 36px; height: 36px; border-radius: 9999px; 
  background: #f3f4f6; color: #111; border: 1px solid #e5e7eb;
}
.menu-center .quantity .qty-btn:hover { filter: brightness(0.97); }

/* Fallback: style spans inside .prices as chips if markup didn't get updated */
.menu-center .list-item-rows .prices > span:not(.price-chip),
.list-item-rows .prices > span:not(.price-chip),
.menu-center .el-card .prices > span:not(.price-chip) {
  display: inline-flex !important;
  align-items: center !important;
  padding: 6px 12px !important;
  border-radius: 9999px !important;
  font-weight: 700 !important;
  background: #a88bfa !important;
  color: #fff !important;
  border: 1px solid #a88bfa !important;
}
.menu-center .list-item-rows .prices del,
.menu-center .el-card .prices del { opacity: .6 !important; }




/* Enhanced restricted placeholder styling */
.menu-center .restricted-placeholder,
.restricted-placeholder {
        position: relative !important;
        background: linear-gradient(135deg, #fff9c4 0%, #fef3c7 100%) !important;
        border: 2px solid #f59e0b !important;
        border-radius: 16px !important;
        padding: 24px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 16px !important;
        box-shadow: 0 8px 25px rgba(245, 158, 11, 0.15), 0 4px 10px rgba(0, 0, 0, 0.1) !important;
        transition: all 0.3s ease !important;
        overflow: visible !important;
}

.menu-center .restricted-placeholder::before,
.restricted-placeholder::before {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 4px !important;
        background: linear-gradient(90deg, #f59e0b, #fbbf24, #f59e0b) !important;
        animation: shimmer-ux 2s ease-in-out infinite !important;
}

@keyframes shimmer-ux {
        0%, 100% { opacity: 1; }
        50% { opacity: 0.7; }
}

.menu-center .restricted-placeholder:hover,
.restricted-placeholder:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 12px 35px rgba(245, 158, 11, 0.2), 0 6px 15px rgba(0, 0, 0, 0.15) !important;
}

.menu-center .restricted-placeholder .msg,
.restricted-placeholder .msg {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        font-weight: 600 !important;
        font-size: 15px !important;
        color: #92400e !important;
        line-height: 1.4 !important;
}

.menu-center .restricted-placeholder .msg i,
.restricted-placeholder .msg i {
        color: #f59e0b !important;
        font-size: 20px !important;
        background: rgba(255, 255, 255, 0.8) !important;
        border-radius: 50% !important;
        padding: 8px !important;
        box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3) !important;
        animation: pulse-ux 2s ease-in-out infinite !important;
}

@keyframes pulse-ux {
        0%, 100% { transform: scale(1); }
        50% { transform: scale(1.05); }
}

.menu-center .restricted-placeholder .btn,
.restricted-placeholder .btn {
        background: linear-gradient(135deg, #a88bfa 0%, #9333ea 100%) !important;
        color: #ffffff !important;
        border: none !important;
        padding: 12px 20px !important;
        border-radius: 12px !important;
        font-weight: 600 !important;
        font-size: 14px !important;
        text-decoration: none !important;
        transition: all 0.3s ease !important;
        box-shadow: 0 4px 12px rgba(168, 139, 250, 0.3) !important;
        position: relative !important;
        overflow: hidden !important;
        min-width: 100px !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
}

.menu-center .restricted-placeholder .btn::before,
.restricted-placeholder .btn::before {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        left: -100% !important;
        width: 100% !important;
        height: 100% !important;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent) !important;
        transition: left 0.6s ease !important;
}

.menu-center .restricted-placeholder .btn:hover,
.restricted-placeholder .btn:hover {
        transform: translateY(-1px) !important;
        box-shadow: 0 6px 18px rgba(168, 139, 250, 0.4) !important;
        background: linear-gradient(135deg, #9333ea 0%, #7c3aed 100%) !important;
}

.menu-center .restricted-placeholder .btn:hover::before,
.restricted-placeholder .btn:hover::before {
        left: 100% !important;
}

.menu-center .restricted-placeholder .btn:active,
.restricted-placeholder .btn:active {
        transform: translateY(0) !important;
        box-shadow: 0 2px 8px rgba(31, 41, 55, 0.4) !important;
}



/* ==== MOBILE-OPTIMIZED INLINE BUTTON SYSTEM ==== */
/* Enhanced touch-friendly interactions and proper mobile layout */
.menu-center .btn-inline,
.btn-inline {
    cursor: pointer !important;
    user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
    touch-action: manipulation !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}

.menu-center .quantity-add-cart-inline:active,
.quantity-add-cart-inline:active {
    transform: scale(0.95) !important;
    transition: transform 0.1s ease !important;
}

.menu-center .qty-btn-inline:active,
.qty-btn-inline:active {
    transform: scale(0.9) !important;
    transition: transform 0.1s ease !important;
}

.menu-center .quantity-parent-inline,
.quantity-parent-inline {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}



/* Extra small screens - maintain inline layout with optimized sizing */
@media (max-width: 480px) {
    .menu-center .price-button-row,
    .price-button-row {
        gap: 4px !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
    }
    
    .menu-center .add-button-section,
    .add-button-section {
        gap: 2px !important;
        justify-content: flex-end !important;
        flex-shrink: 0 !important;
    }
    
    /* Ensure buttons remain accessible on very small screens */
    .menu-center .btn-inline,
    .btn-inline {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        min-height: 30px !important;
        font-size: 14px !important;
    }
    
    .menu-center .qty-btn-inline,
    .qty-btn-inline {
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        min-height: 20px !important;
        font-size: 10px !important;
    }
    
    .menu-center .quantity-add-cart-inline,
    .quantity-add-cart-inline {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
    }
}

.price-pill {
    background: #a88bfa52 !important;
    color: #6c3def !important;
    border-color: #6c3eed24 !important;
    box-shadow: 0 6px 16px rgb(246 237 237 / 0%) !important;
}

/* Ensure 1:1 aspect ratio for product images across all contexts */
.menu-center .item-image-preview,
.list-item-rows .item-image-preview,
.item-image-preview {
        position: relative !important;
        width: 100% !important;
        aspect-ratio: 1 / 1 !important;
        overflow: hidden !important;
        background-color: #f9fafb !important;
        border-radius: 12px !important;
}

/* Fallback para navegadores sem suporte a aspect-ratio */
@supports not (aspect-ratio: 1 / 1) {
    .menu-center .item-image-preview,
    .list-item-rows .item-image-preview,
    .item-image-preview { height: 0 !important; padding-top: 100% !important; }
    .menu-center .item-image-preview > *,
    .list-item-rows .item-image-preview > *,
    .item-image-preview > * { position: absolute !important; inset: 0 !important; }
}

.menu-center .item-image-preview .el-image,
.list-item-rows .item-image-preview .el-image,
.item-image-preview .el-image {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important; /* Element UI usa inline-block por padrão */
    border-radius: inherit !important;
}
.menu-center .item-image-preview img,
.menu-center .item-image-preview .el-image__inner,
.list-item-rows .item-image-preview img,
.list-item-rows .item-image-preview .el-image__inner,
.item-image-preview img,
.item-image-preview .el-image__inner {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* garante que não sobre faixas */
    object-position: center center !important;
    display: block !important;
    transition: transform 0.3s ease !important;
}

.menu-center .item-image-preview .skeleton-placeholder,
.menu-center .item-image-preview .image-slot,
.list-item-rows .item-image-preview .skeleton-placeholder,
.list-item-rows .item-image-preview .image-slot,
.item-image-preview .skeleton-placeholder,
.item-image-preview .image-slot {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #f3f4f6 !important;
    color: #9ca3af !important;
}

.menu-center .item-image-preview:hover .el-image,
.menu-center .item-image-preview:hover img,
.menu-center .item-image-preview:hover .el-image__inner,
.list-item-rows .item-image-preview:hover .el-image,
.list-item-rows .item-image-preview:hover img,
.list-item-rows .item-image-preview:hover .el-image__inner,
.item-image-preview:hover .el-image,
.item-image-preview:hover img,
.item-image-preview:hover .el-image__inner {
    transform: scale(1.05) !important;
}

/* ===== Final overrides: make the "+" button match the price pill colors ===== */
/* Inline + button */
.menu-center .quantity-add-cart-inline,
.quantity-add-cart-inline {
    background: #a88bfa52 !important;          /* same light background as pill */
    color: #6c3def !important;                  /* icon/text in purple */
    border: 1px solid #6c3eed24 !important;     /* subtle purple border */
    box-shadow: 0 2px 6px rgba(168, 139, 250, 0.15) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important; /* modern easing */
}
.menu-center .quantity-add-cart-inline .zmdi,
.quantity-add-cart-inline .zmdi { color: #6c3def !important; }
.menu-center .quantity-add-cart-inline:hover,
.quantity-add-cart-inline:hover {
    background: #a88bfa85 !important;          /* enhanced hover background */
    color: #6c3def !important;
    border-color: #6c3eed60 !important;
    transform: scale(1.05) translateY(-1px) !important; /* modern lift effect */
    box-shadow: 0 6px 16px rgba(168, 139, 250, 0.3), 0 2px 8px rgba(168, 139, 250, 0.15) !important;
}

/* Main circular add-to-cart (non-inline), keep same visual language */
.menu-center .btn.quantity-add-cart,
.list-item-rows .btn.quantity-add-cart,
.btn.quantity-add-cart {
    background: #a88bfa52 !important;
    color: #6c3def !important;
    border: 1px solid #6c3eed24 !important;
    box-shadow: 0 4px 10px rgba(168, 139, 250, 0.18) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important; /* smooth modern transition */
}
.menu-center .btn.quantity-add-cart .zmdi,
.btn.quantity-add-cart .zmdi { color: #6c3def !important; transition: transform 0.2s ease !important; }
.menu-center .btn.quantity-add-cart:hover,
.btn.quantity-add-cart:hover {
    background: #a88bfa85 !important;
    color: #6c3def !important;
    border-color: #6c3eed60 !important;
    transform: scale(1.08) translateY(-2px) !important; /* enhanced lift for larger button */
    box-shadow: 0 8px 20px rgba(168, 139, 250, 0.35), 0 4px 12px rgba(168, 139, 250, 0.2) !important;
}
.menu-center .btn.quantity-add-cart:hover .zmdi,
.btn.quantity-add-cart:hover .zmdi {
    transform: rotate(90deg) !important; /* modern icon rotation on hover */
}

/* ==== THEME OVERRIDES (purple) - ensure these win over any earlier dark/black styles ==== */
/* Price size pill: active state in purple chip style */
.menu-center .btn-group-toggle .btn.price-pill.active,
.btn-group-toggle .btn.price-pill.active,
.menu-center .el-card .btn.price-pill.active,
.price-pill.active {
    background: #a88bfa52 !important;
    color: #6c3def !important;
    border-color: #6c3eed24 !important;
    box-shadow: 0 6px 16px rgba(246,237,237,0) !important;
}

/* Base price pill appearance (when not active) can stay neutral; this keeps focus on the active option */
.menu-center .btn-group-toggle .btn.price-pill,
.btn-group-toggle .btn.price-pill,
.menu-center .el-card .btn.price-pill {
    background: #f9fafb !important;
    color: #111 !important;
    border-color: #e5e7eb !important;
}

/* Add-to-cart inline (+) button in purple gradient */
.menu-center .quantity-add-cart-inline,
.quantity-add-cart-inline {
    background: #a88bfa52 !important;
    color: #ffffff !important;
    border-color: #6c3eed24 !important;
    box-shadow: 0 2px 8px rgba(168, 139, 250, 0.25) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.menu-center .quantity-add-cart-inline:hover,
.quantity-add-cart-inline:hover {
    color: #ffffff !important;
    transform: scale(1.05) translateY(-1px) !important;
}

/* Main circular add-to-cart button (non-inline) */
.menu-center .btn.quantity-add-cart,
.list-item-rows .btn.quantity-add-cart,
.btn.quantity-add-cart {
    background: #a88bfa52 !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(168, 139, 250, 0.3) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Magnifying glass badge on image (bottom-right) */
.menu-center .list-item-rows .item-image-preview::after,
.list-item-rows .item-image-preview::after {
    content: '' !important;
    position: absolute !important;
    right: 8px !important;
    bottom: 8px !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    background-color: #ffffff !important;
    border: 1px solid #6c3eed24 !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12) !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 16px 16px !important;
    /* Inline SVG for magnifier with purple fill */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236c3def'%3E%3Cpath d='M15.5 14h-.79l-.28-.27A6.471 6.471 0 0016 9.5 6.5 6.5 0 109.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E") !important;
    z-index: 2 !important;
    pointer-events: none !important; /* don’t block clicks */
}

@media (max-width: 576px) {
  .menu-center .list-item-rows .item-image-preview::after,
  .list-item-rows .item-image-preview::after {
      width: 32px !important;
      height: 32px !important;
      background-size: 18px 18px !important;
      right: 10px !important;
      bottom: 10px !important;
  }
}