/**
 * Theme Name: hello-ncd
 * Template:   hello-elementor
 */
/**
/**
 * Styling for Product Category Template
 * Version: 1.2
 */
/* Product Tag Icons (Custom Styles) */
/* Product Tag Icons with Labels */

.product-tags-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 10px 0;
}

.product-tags-icons .tag-icon-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 50px;
}

.product-tags-icons img.tag-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
    display: inline-block;
    margin-bottom: 4px;
    transition: transform 0.2s ease;
}

.product-tags-icons img.tag-icon:hover {
    transform: scale(1.2);
}

.product-tags-icons .tag-label {
    font-size: 10px;
    color: #555;
    line-height: 1.2;
    word-break: break-word;
}

.product-tags-icons svg {
    width: 30px;
    height: 30px;
    display: inline-block;
    margin-right: 5px;
    fill: currentColor;
}


/* General Container */
.product-page-container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

/* Scrollable Category Menu */
.scroll-menu-container {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    border-bottom: 2px solid #ddd;
    padding: 10px 0;
    background-color: #f9f9f9;
    margin-bottom: 20px;
    scroll-behavior: smooth;
}

.scroll-menu-container::-webkit-scrollbar {
    height: 8px;
}

.scroll-menu-container::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 10px;
}

.scroll-menu-container::-webkit-scrollbar-thumb:hover {
    background-color: #888;
}

.scroll-menu-container .category-tab {
    display: inline-block;
    padding: 5px 5px;
    margin: 0 1px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    background-color: #fff;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-menu-container .category-tab:hover {
    background-color: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

.scroll-menu-container .category-tab.active {
    background-color: #0073aa;
    color: #fff;
    border-color: #005f8d;
}

/* Products List */
.products-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Product Layout */
.product-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    background-color: #fff;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

/* First Line: Name, Price, Image */
.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.product-name {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.product-price {
    font-size: 16px;
    font-weight: bold;
    color: #0073aa;
}

.product-image img {
	  display: block;
  margin-left: auto;
  margin-right: auto;
    max-width: 80px;
    max-height: 80px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

/* Second Line: Description and Variations */
.product-details {
    margin-top: 10px;
   /* display: flex; */
    flex-direction: column;
    gap: 10px;
}

.product-description {
    font-size: 14px;
    color: #555;
}

.product-variations label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
}

/* Third Line: Allergens and Add to Basket */
.product-footer {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.product-allergens {
    font-size: 14px;
    color: #666;
}

.add-to-cart-btn {
    background-color: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.add-to-cart-btn:hover {
    background-color: #005f8d;
}

.add-to-cart-message {
    font-size: 12px;
    padding: 5px;
    color: green;
}

/* Responsive Layout */
@media (max-width: 768px) {
    .product-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-image img {
        max-width: 60px;
        max-height: 60px;
    }

    .product-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* new css */
/* Updated Styles for the New Layout */
.product-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    background-color: #fff;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Row 1: Product Name and Product Image */
.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.product-name {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.product-image img {
    max-width: 80px;
    max-height: 80px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

/* Row 2: Description and Price */
.product-details {
    /* display: flex;  */
    justify-content: space-between;
    align-items: center;
}

.product-description {
    font-size: 14px;
    color: #555;
    flex: 2;
}

.product-price {
    font-size: 16px;
    font-weight: bold;
    color: #0073aa;
    flex: 1;
    text-align: right;
}

/* Row 3: Allergens */
.product-allergens {
    font-size: 14px;
    color: #666;
}

/* Row 4: Variations and Add to Basket Button */
.product-add-to-cart {
	  display: block;
  margin-left: auto;
  margin-right: auto;
    /* display: flex; */
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.product-variations {
    flex: 2;
}

.add-to-cart-btn {
    flex: 1;
    background-color: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
    transition: background-color 0.3s ease;
}

.add-to-cart-btn:hover {
    background-color: #005f8d;
}

/* Success and Error Messages */
.add-to-cart-message {
    font-size: 12px;
    padding: 5px;
    color: green;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-image img {
        max-width: 60px;
        max-height: 60px;
    }

    .product-details {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-add-to-cart {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* column */
/* Create two unequal columns that floats next to each other */
.column {
  float: left;
  padding: 5px;
  
}

.left {
  width: 65%;
}

.right {
  width: 35%;
	
} 

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}
/* Quantity Input Styling */
.quantity-container {
	  
     display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
}

.quantity-label {
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

.quantity-input {
    width: 50px; !important
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
    font-size: 14px;
}
/* quantity styling */
.quantity-container {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.quantity-minus,
.quantity-plus {
    /* background-color: #0073aa; */
    color: #000;
    border: none;
    padding: 5px 5px;
    cursor: pointer;
    font-size: 22px;
    border-radius: 1px;
    transition: background-color 0.3s ease;
	
}

.quantity-minus:hover,
.quantity-plus:hover {
    background-color: #005f8d;
}

.quantity-input {
    width: 50px; !important
    text-align: center;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

/* Additional CSS for Touchscreen Optimization */
/* Additional CSS for Touchscreen Optimization */
/* General Styles for Touchscreen Container */
/* General Styles for Touchscreen Container */
/* General Styles for Digital Signage Container */
.digital-signage-container {
    display: flex;
    height: 100vh;
    overflow: hidden;
    background-color: #f9f9f9;
}

/* Left Sidebar for Categories */
.category-sidebar {
    width: 20%;
    background-color: #fff;
    border-right: 2px solid #ddd;
    padding: 20px;
    overflow-y: auto;
}

.category-sidebar h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    margin-bottom: 15px;
}

.category-item a {
    display: block;
    padding: 15px;
    font-size: 18px;
    color: #333;
    text-decoration: none;
    background-color: #f0f0f0;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.category-item a:hover,
.category-item a.active {
    background-color: #0073aa;
    color: #fff;
}

/* Main Content Area for Products */
.product-grid-container {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
}

.category-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

/* Product Item Styling */
.product-item {
    border: 1px solid #ddd;
    border-radius: 15px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.product-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

.product-details {
    width: 100%;
}

.product-name {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.product-price {
    font-size: 18px;
    font-weight: bold;
    color: #0073aa;
    margin-bottom: 10px;
}

.product-description {
    font-size: 16px;
    color: #555;
    margin-bottom: 10px;
}

.product-allergens {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

/* Quantity Container */
.quantity-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.quantity-minus,
.quantity-plus {
    padding: 10px 20px;
    font-size: 24px;
    color: #000;
    background-color: #f0f0f0;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.quantity-minus:hover,
.quantity-plus:hover {
    background-color: #0073aa;
    color: #fff;
}

.quantity-input {
    width: 60px;
    text-align: center;
    font-size: 18px;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 5px;
}

/* Add to Cart Button */
.add-to-cart-btn {
    padding: 15px 30px;
    font-size: 18px;
    color: #fff;
    background-color: #0073aa;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
/* for kiosk */
/* General Styles for Kiosk Container */
.kiosk-container {
    display: flex;
    height: 100vh;
    overflow: hidden;
    background-color: #f9f9f9;
}

/* Left Sidebar for Categories */
.category-sidebar {
    width: 20%;
    background-color: #fff;
    border-right: 2px solid #ddd;
    padding: 20px;
    overflow-y: auto;
}

.category-sidebar h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    margin-bottom: 15px;
}

.category-item a {
    display: block;
    padding: 15px;
    font-size: 18px;
    color: #333;
    text-decoration: none;
    background-color: #f0f0f0;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.category-item a:hover,
.category-item a.active {
    background-color: #0073aa;
    color: #fff;
}

/* Main Content Area for Products */
.product-grid-container {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
}

.category-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

/* Product Item Styling */
.product-item {
    border: 1px solid #ddd;
    border-radius: 15px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.product-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

.product-details {
    width: 100%;
}


/* kiosk end */