/* Shiva Sakthi Self-Order UI Styling */

#self_order_app {
    font-family: 'Outfit', 'Inter', -apple-system, sans-serif;
    color: #0f0d13;
    background-color: #fcfbf7 !important;
}

.transition-all {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Header Branding */
.navbar {
    background: rgba(17, 17, 17, 0.9) !important;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #e5b945;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.5px;
}

/* Search Bar with glowing focus */
.search-bar {
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02) !important;
    overflow: hidden;
    transition: all 0.3s ease;
}

.search-bar:focus-within {
    border-color: #e5b945;
    box-shadow: 0 4px 25px rgba(229, 0, 0, 0.08) !important;
}

#product_search:focus {
    box-shadow: none;
}

/* Category Filter Capsules */
#category_filter {
    padding: 10px 0;
}

#category_filter button {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: capitalize;
    border-radius: 20px;
    transition: all 0.25s ease;
}

#category_filter button.btn-warning {
    background: linear-gradient(135deg, #e5b945, #cc9200) !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(229, 0, 0, 0.25) !important;
    color: #ffffff !important;
}

#category_filter button.btn-white {
    background: #ffffff;
    color: #555555;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

#category_filter button.btn-white:hover {
    background: rgba(229, 0, 0, 0.03);
    color: #e5b945;
    border-color: rgba(229, 0, 0, 0.2);
}

/* Premium Product Cards */
.product-card {
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03) !important;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08) !important;
}

.product-card img {
    border-top-left-radius: 20px !important;
    border-top-right-radius: 20px !important;
    transition: transform 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-card .add-to-cart-btn {
    background: #e5b945 !important;
    border-color: #e5b945 !important;
    color: #ffffff !important;
    transition: all 0.25s ease;
}

.product-card .add-to-cart-btn:hover {
    transform: scale(1.1);
    background: #cc9200 !important;
    box-shadow: 0 4px 12px rgba(229, 0, 0, 0.3) !important;
}

/* Service select cards */
.service-select {
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    background: #ffffff !important;
    transition: all 0.25s ease;
}

.service-select:hover {
    border-color: rgba(229, 0, 0, 0.2) !important;
    background: rgba(229, 0, 0, 0.01) !important;
}

.service-select.active {
    border: 2px solid #e5b945 !important;
    background: rgba(229, 0, 0, 0.03) !important;
    font-weight: 600;
}

/* Cart Footer Panel */
#footer_cart {
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(15px);
    box-shadow: 0 -10px 45px rgba(0, 0, 0, 0.1) !important;
    z-index: 1040;
}

#footer_cart #view_cart_btn {
    background: linear-gradient(135deg, #e5b945, #cc9200) !important;
    border: none;
    box-shadow: 0 4px 15px rgba(229, 0, 0, 0.3) !important;
    transition: all 0.25s ease;
}

#footer_cart #view_cart_btn:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(229, 0, 0, 0.4) !important;
}

/* Cart Modal Styling */
.modal-content {
    border-radius: 28px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
    border: none;
}

.modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background: #111111 !important;
    color: #ffffff;
}

.cart-item {
    border-bottom: 1px dashed rgba(0, 0, 0, 0.06);
    padding-bottom: 1.2rem;
}

.cart-item:last-child {
    border-bottom: none;
}

/* Quantity Adjusters */
.decrease-qty, .increase-qty {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: #555555 !important;
    transition: all 0.2s ease;
}

.decrease-qty:hover, .increase-qty:hover {
    background: rgba(229, 0, 0, 0.05) !important;
    color: #e5b945 !important;
    border-color: rgba(229, 0, 0, 0.2) !important;
}

#submit_order_btn {
    background: linear-gradient(135deg, #e5b945, #cc9200) !important;
    border: none;
    box-shadow: 0 4px 15px rgba(229, 0, 0, 0.3) !important;
    transition: all 0.25s ease;
}

#submit_order_btn:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(229, 0, 0, 0.4) !important;
}

/* Spinner */
.spinner-border {
    color: #e5b945 !important;
}