/* 
Theme Name: BlueLotus Restaurant Ordering Child Theme
Theme URI: https://bluelotusx.co/
Description: A lightweight WooCommerce child theme customized for restaurant-style online ordering.  
Author: Pasindu Dissanayaka
Author URI: https://pasindudissan.xyz
Template: hello-elementor
Version: 3.1.2
Text Domain: bluelotusx-restaurant-theme
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: bluelotus, bluelotusx, woocommerce, restaurant, dine-in, takeaway, food-ordering
*/

/* Product Categories Styles */
.blx-cat-item:hover img {
    transform: scale(1.05);
    transition: .3s;
}

.hidden {
	display: none !important;
}

.hide-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  /* Hide scrollbar for IE, Edge, and Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none;    /* Firefox */
	::-webkit-scrollbar {
    width: 0px;
    background: transparent;
  }
}
  /* Hide scrollbar for Chrome, Safari, and Opera */
.hide-scroll::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

/* Archives only: hide quantity input for modifier products */
.archive .product-is-modifier .quantity,
.tax-product_cat .product-is-modifier .quantity,
.post-type-archive-product .product-is-modifier .quantity {
    display: none;
}

/* WooCommerce Toasts */
#blx-toast-wrapper {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.blx-toast {
    min-width: 260px;
    max-width: 340px;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.blx-toast-show {
    opacity: 1;
    transform: translateY(0);
}

.blx-toast-success { background-color: #28a745; }
.blx-toast-error   { background-color: #dc3545; }
.blx-toast-info    { background-color: #17a2b8; }

.blx-toast-close {
    cursor: pointer;
    float: right;
    margin-left: 0.75rem;
}