/* Font Face */
@font-face {
    font-family: 'Poppins', sans-serif;
    src: url('../vendor/font/Poppins/Poppins-Regular.ttf') format('truetype');
    font-style: normal;
}

html, body {
    height: 100%;
    margin: 0;
}
body {
    font-family: 'Poppins', sans-serif;
    top: 0px !important;
    display: flex;
    flex-direction: column;
    padding-top: 200px;
}

.content {
    flex: 1;
}

.tooltip {
    font-family: 'Poppins', sans-serif;
}

/* Navbar Styles */
.navbar-brand img {
    width: auto;
    height: 40px;
}

.nav-link.position-relative {
    margin-left: 25px; /* Adjust the margin as needed */
    display: flex;
    align-items: center;
}

/* No Margin Class */
.no-margin {
    margin: 0;
}

.carousel-container {
    width: 60%;
    max-width: 800px;
    margin: 20px auto;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background-color: 
#f8f8f8;
}

.carousel-image-container {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    position: relative;
    overflow: hidden;
    background-color: 
#f0f0f0;
}

.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background-color: #fff;
}
.carousel-item {
    text-align: center;
    background-color: 
#f8f8f8;
}

.carousel-control-prev, .carousel-control-next {
    width: 8%;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}
.carousel-control-prev:hover, .carousel-control-next:hover {
    opacity: 0.9;
}
.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-indicators {
    bottom: 10px;
    margin-bottom: 0;
}
.carousel-indicators button {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background-color: rgba(255, 255, 255, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    margin: 0 4px !important;
    transition: all 0.2s ease;
}
.carousel-indicators button.active {
    background-color: white !important;
    transform: scale(1.2);
}

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 4px;
    padding: 10px;
    bottom: 40px;
    max-width: 80%;
    margin: 0 auto;
    left: 10%;
    right: 10%;
}

@media (max-width: 1199px) {
    .carousel-container {
        width: 70%;
    }
}
@media (max-width: 991px) {
    .carousel-container {
        width: 75%;
    }
    .carousel-control-prev-icon, .carousel-control-next-icon {
        width: 32px;
        height: 32px;
    }
}
@media (max-width: 768px) {
    .carousel-container {
        width: 85%;
    }
    .carousel-indicators button {
        width: 7px !important;
        height: 7px !important;
    }
}
@media (max-width: 575px) {
    .carousel-container {
        width: 90%;
        border-radius: 6px;
    }
    .carousel-control-prev-icon, .carousel-control-next-icon {
        width: 28px;
        height: 28px;
    }
}
@media (max-width: 375px) {
    .carousel-container {
        width: 95%;
    }
}

/* Password Toggle Styles */
#toggle-password {
    position: absolute;
    top: 28%;
    right: 30px;
    cursor: pointer;
    font-size: 1.25rem;
}

#toggle-password:hover {
    color: rgb(130, 130, 143);
}

#toggle-confirm-password {
    position: absolute;
    top: 28%;
    right: 30px;
    cursor: pointer;
    font-size: 1.25rem;
}

#toggle-confirm-password:hover {
    color: rgb(130, 130, 143);
}

/* Link Styles */
.login-form .form-check-label a {
    text-decoration: none;
}

.text-center a {
    color: black;
    text-decoration: none;
}

.text-center a:hover {
    color: #333;
}

/* Navbar Item Styles */
.navbar-nav .nav-link {
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition */
}

/* Hover and Active State Styles */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
    color: red !important; /* Red text on hover and active state */
}

/* Dropdown Item Styles */
.navbar-dropdown {
    color: white !important; /* Default text color for dropdown */
}

/* Dropdown Hover, Active, and Focus States */
.navbar-dropdown:hover,
.navbar-dropdown:active,
.navbar-dropdown:focus {
    background-color: white !important; /* White background for dropdown on hover */
    color: red !important; /* Red text for dropdown on hover */
}

/* Individual Dropdown Items Styles */
.dropdown-item {
    transition: background-color 0.2s ease, color 0.2s ease; /* Smooth transition */
}

/* Dropdown Item Hover, Active, and Focus States */
.dropdown-item:hover,
.dropdown-item:active,
.dropdown-item:focus {
    background-color: #f8f9fa !important; /* Light background for hover state */
    color: red !important; /* Red text for hover state */
}

/* Active Dropdown Item Style */
.dropdown-item.active {
    background-color: white !important; /* White background for active dropdown item */
    color: red !important; /* Red text for active dropdown item */
}

/* Parent Dropdown Link Active State */
.dropdown.show > .nav-link {
    color: red !important; /* Red text for active parent dropdown link */
}

/* Parent Dropdown Link Hover State */
.dropdown:hover > .nav-link {
    color: red !important; /* Red text for parent dropdown link on hover */
}

/* General Styles for OTP Inputs */
.inputs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.inputs input {
    width: 10vw; /* Relative width */
    height: 10vw; /* Relative height to maintain aspect ratio */
    max-width: 50px; /* Maximum width */
    max-height: 55px; /* Maximum height */
    font-weight: bold;
    font-size: 2vw; /* Responsive font size */
    border: 1px solid #ccc;
    text-align: center;
    margin: 5px; /* Margin between inputs */
}

/* Remove spinner buttons for number inputs */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}

/* Media Queries for Smaller Screens */
@media (min-width: 1920px) { /* Very large screens */
    .inputs input {
        width: 8vw; /* Reduce size for very large screens */
        height: 8vw;
        font-size: 1.5vw;
    }
}

@media (max-width: 912px) {
    .inputs input {
        width: 15vw;
        height: 15vw;
        font-size: 3vw;
    }
}

@media (max-width: 768px) {
    .inputs input {
        width: 15vw;
        height: 15vw;
        font-size: 4vw;
    }
}

@media (max-width: 576px) {
    .inputs input {
        width: 20vw;
        height: 20vw;
        font-size: 6vw;
    }
}

/* Chevron Styles */
.fa-chevron-down, .fa-bars {
    transition: transform 0.3s ease;
}

.rotate-180 {
    transform: rotate(-180deg);
}

.rotate-90 {
    transform: rotate(90deg);
}

/* Responsive Styles for smaller devices */
@media (max-width: 991px) {
    .fa-chevron-right {
        transform: rotate(90deg);
    }
}

.text-container {
    text-align: right;
    padding: 20px;
}

.text-container h1 {
    font-size: 3.2em;
    font-weight: bold;
    line-height: 1.2;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.text-container h1 span {
    display: inline-block;
    margin: 0 5px;
}

@media (max-width: 768px) {
    .text-container {
        text-align: right;
    }

    .text-container h1 {
        justify-content: right;
    }
}

.container {
    max-width: 1170px;
    margin: auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

ul {
    list-style: none;
    padding: 0;
}

.footer {
    background-color: black;
    padding-top: 70px;
    padding-bottom: 1px;
    color: #bbbbbb;
}

.footer h4 {
    font-size: 18px;
    color: #ffffff;
    text-transform: capitalize;
    margin-bottom: 35px;
    font-weight: 500;
    position: relative;
}

.footer p {
    font-size: 16px;
    font-weight: 300;
    color: white;
}

.footer-col {
    width: 20%;
    padding: 0 10px;
    box-sizing: border-box;
}

.footer-col.first-col {
    margin-right: 8%;
    width: 50%;
}

.footer-col.first-col img {
    max-width: 100%;
    height: auto;
    display: block;
}

.footer-col h4::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    background-color: red;
    height: 2px;
    box-sizing: border-box;
    width: 70px;
}

.footer-col ul li:not(:last-child) {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 16px;
    text-transform: capitalize;
    color: white;
    text-decoration: none;
    font-weight: 300;
    display: block;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: red;
    padding-left: 8px;
}

/* Responsive design */
@media (max-width: 767px) {
    .footer-col.first-col {
        width: 50%;
        margin-bottom: 30px;
    }
}

@media (max-width: 574px) {
    .footer-col {
        width: 100%;
    }
}

@media (max-width: 574px) {
    .footer-col.first-col {
        width: 100%;
    }
}

.or-spacing {
    margin: 0 5px; /* Adjust the value as needed */
}

.product-card {
    transition: box-shadow 0.2s ease;
    cursor: pointer;
    overflow: hidden;
}

.product-card:hover {
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
}

.product-card img {
    transition: transform 0.2s ease;
}

.product-card:hover img {
    transform: scale(1.1);
}

.product-card .card-img-container {
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
}

.product-card .card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card-img-top {
    height: auto;
    object-fit: cover;
}

.product-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

/* Featured Products Grid Styles */
.featured-product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.featured-product-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.featured-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 2px;
    background: #f8f9fa;
    padding: 2px;
    width: 100%;
    min-height: 200px;
}

/* Responsive columns based on number of items */
/* 1 image = 1 column (full width) */
.featured-images-grid:has(.featured-image-item:nth-child(1):last-child) {
    grid-template-columns: 1fr;
}

/* 2 images = 2 columns */
.featured-images-grid:has(.featured-image-item:nth-child(2):last-child) {
    grid-template-columns: repeat(2, 1fr);
}

/* 3 images = 3 columns */
.featured-images-grid:has(.featured-image-item:nth-child(3):last-child) {
    grid-template-columns: repeat(3, 1fr);
}

/* 4 images = 2x2 grid */
.featured-images-grid:has(.featured-image-item:nth-child(4):last-child) {
    grid-template-columns: repeat(2, 1fr);
}

/* 5 images = 3 columns with 2 on last row */
.featured-images-grid:has(.featured-image-item:nth-child(5):last-child) {
    grid-template-columns: repeat(3, 1fr);
}

/* 6 images = 3x2 grid */
.featured-images-grid:has(.featured-image-item:nth-child(6):last-child) {
    grid-template-columns: repeat(3, 1fr);
}

/* 7-9 images = 3x3 grid */
.featured-images-grid:has(.featured-image-item:nth-child(7)) {
    grid-template-columns: repeat(3, 1fr);
}

/* 10+ images = flexible 4 columns */
.featured-images-grid:has(.featured-image-item:nth-child(10)) {
    grid-template-columns: repeat(4, 1fr);
}

.featured-image-item {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-image-item.clickable {
    cursor: pointer;
    position: relative;
}

.featured-image-item.clickable::before {
    content: '\f002'; /* Font Awesome search icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.featured-image-item.clickable::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.featured-image-item.clickable:hover::before,
.featured-image-item.clickable:hover::after {
    opacity: 1;
}

.featured-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-image-item:hover img {
    transform: scale(1.1);
}

.featured-image-empty {
    background: #f0f0f0;
    color: #ccc;
    font-size: 1.5rem;
}

.featured-product-name h5 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .featured-images-grid {
        gap: 1px;
        padding: 1px;
    }
    
    .featured-product-name {
        padding: 15px;
    }
    
    .featured-product-name h5 {
        font-size: 0.95rem;
    }
    
    .featured-image-empty {
        font-size: 1rem;
    }
}

/* Edit Modal Image Management */
.current-image-item {
    transition: all 0.3s ease;
}

.current-image-item:hover {
    transform: translateY(-2px);
}

.current-image-item .btn-remove-image {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.current-image-item:hover .btn-remove-image {
    opacity: 1;
}

.current-image-item .btn-move-up,
.current-image-item .btn-move-down {
    font-size: 0.75rem;
    padding: 2px 8px;
}

.current-image-item .btn-move-up:hover:not(:disabled),
.current-image-item .btn-move-down:hover:not(:disabled) {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.table-fixed th, .table-fixed td {
    white-space: nowrap;
}

.contact-info, .contact-form {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.fade-up {
    opacity: 0;
    transform: translateY(130px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

.custom-checkbox .form-check-input:checked {
    background-color: black;
    border-color: black;
}

.search-input {
    max-width: 700px;
}

.search-input-field {
    padding-left: 40px;
    border: 1px solid #ced4da;
    box-shadow: none;
}

.input-group-text {
    background-color: transparent;
    border: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    color: black;
}

/* Hide telephone and vertical divider on large screens */
.d-lg-none {
    display: none !important;
}

/* Show telephone and vertical divider on small screens */
.d-lg-block {
    display: block !important;
}

@media (max-width: 991.98px) {
    .d-lg-none {
        display: block !important;
    }
    .d-lg-block {
        display: none !important;
    }
}

.nav-pills .nav-link.active {
    background-color: #f8f9fa;
    color: #f8f9fa;
    border-left: 3px solid red;
}
.order-card {
    transition: all 0.3s ease;
}
.order-card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}
.profile-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.product-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}
.quantity-input {
    text-align: center;
    border: none;
}
.quantity-input::-webkit-inner-spin-button, 
.quantity-input::-webkit-outer-spin-button { 
    -webkit-appearance: none;
    margin: 0;
}
.quantity-btn {
    width: 30px;
    height: 30px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sticky-label {
    position: sticky;
    top: 0;   /* Sticky at the top */
    left: 0;  /* Sticky at the left */
    z-index: 1;
    background-color: #fff; /* Ensure background covers content underneath */
}

.scrollable-content {
    max-height: 600px; /* Adjust this as needed */
    overflow-y: auto;
}

.page-item.active .page-link {
    color: #fff !important;
    background-color: #000 !important;
    border-color: #000 !important; 
}

.page-link {
    color: #000 !important;
    background-color: #fff !important;
    border: 1px solid #dee2e6 !important; 
}

.page-link:hover {
    color: #fff !important;
    background-color: #000 !important;
    border-color: #000 !important; 
}

.filter-order .btn {
    white-space: nowrap;      /* Mencegah teks turun ke baris baru */
    overflow: hidden;         /* Sembunyikan teks yang melebihi area */
    text-overflow: ellipsis;  /* Tambahkan elipsis jika teks terlalu panjang */
}

@media (max-width: 991px) {
    body {
       padding-top: 245px;      /* Sesuaikan lebar maksimum pada tampilan mobile */
    }
}

@media (max-width: 768px) {
    .filter-order .btn {
        max-width: 80px;      /* Sesuaikan lebar maksimum pada tampilan mobile */
    }
}

@media (max-width: 425px) {
    .filter-order .btn {
        max-width: 80px;      /* Sesuaikan lebar maksimum pada tampilan mobile */
    }
}

@media (max-width: 375px) {
    .filter-order .btn {
        max-width: 70px;      /* Sesuaikan lebar maksimum pada tampilan mobile */
    }
}

@media (max-width: 320px) {
    .filter-order .btn {
        max-width: 55px;      /* Sesuaikan lebar maksimum pada tampilan mobile */
    }
}

a.disabled {
    pointer-events: none; /* Disable pointer events */
    color: gray; /* Change color to indicate it's disabled */
    text-decoration: none; /* Remove underline */
}


body > .skiptranslate > iframe.skiptranslate {
    display: none !important;
    visibility: hidden !important;
}

.goog-logo-link {
    display:none !important;
} 

.goog-logo-link {
    display:none !important;
}

.goog-te-gadget {
    font-size: 0px!important;
}

.VIpgJd-ZVi9od-l4eHX-hSRGPd {
    display: none !important;
}

.VIpgJd-ZVi9od-aZ2wEe {
    display: none !important;
}

.VIpgJd-ZVi9od-aZ2wEe-OiiCO VIpgJd-ZVi9od-aZ2wEe-OiiCO-ti6hGc {
    display: none !important;
}

.VIpgJd-ZVi9od-aZ2wEe-wOHMyf VIpgJd-ZVi9od-aZ2wEe-wOHMyf-ti6hGc{
    display: none !important;
}

#goog-gt-tt, .goog-te-balloon-frame
{
    display: none !important;
}

.goog-text-highlight 
{ 
    background: none !important;
    box-shadow: none !important;
}

.goog-te-combo {
    font-family: 'Poppins' !important; /* Jika Poppins tidak bekerja, Arial atau font bawaan akan digunakan */
    cursor: pointer;
    padding: 5px 5px;
    font-weight: bold;
    border-radius: 5px;
    border: 1px solid #ced4da;
    font-size: 14px;
    line-height: 1.5;
    color: black;
    background-color: #fff;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23343a40' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1.5em;
    padding-right: 1.5rem;
    
}
.custom-select-wrapper {
    position: relative;
}

.custom-select-wrapper::before {
    content: '\f1ab'; /* Unicode Font Awesome for 'fa-language' */
    font-family: "Font Awesome 5 Free"; /* Font Awesome font */
    font-weight: 900; /* Solid weight for the icon */
    position: absolute;
    left: 10px; /* Adjust left position */
    top: 50%;
    transform: translateY(-50%); /* Center vertically */
    color: #343a40; /* Icon color */
    font-size: 1.2em; /* Icon size */
}

.goog-te-combo {
    padding-left: 2.5rem; /* Adjust padding to make space for the icon */
}


.goog-te-combo:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.filepond--credits {
    display: none !important;
}


/* Style specific input clear cancel button */
[type='search']::-webkit-search-cancel-button {
    -webkit-appearance: none;
    background-color: black !important;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3C!--!Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--%3E%3Cpath d='M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM175 175c9.4-9.4 24.6-9.4 33.9 0l47 47 47-47c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-47 47 47 47c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-47-47-47 47c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l47-47-47-47c-9.4-9.4-9.4-24.6 0-33.9z'/%3E%3C/svg%3E");
    background-size: 20px 20px;
    height: 20px;
    width: 20px;
    cursor: pointer;
    transition: background-color 0.35s ease;
  }
  
[type='search']::-webkit-search-cancel-button:hover {
    background-color: grey !important;
}

.filter-option-inner-inner {
    color: black !important;
}

.search-item {
    cursor: pointer; /* Pointer on all search items */
}

.search-item:hover, .search-item:focus {
    background-color: #f0f0f0; /* Optional: Add a background color on hover/focus */
    cursor: pointer; /* Show pointer on hover */
}

/* General styling for images */
.small-img {
    max-width: 100px;
    width: auto;
    height: auto;
    margin: 0 auto; /* Center the image horizontally */
}

@media print {
    /* Keep product images small when printing */
    .produk-detail img {
        max-height: 100px;
        width: auto;
        height: auto;
    }

    /* Optional: Adjust other elements to fit well on print */
    .produk-detail {
        display: flex;
        justify-content: start;
        align-items: center;
        width: auto;
    }

    /* Hide unnecessary elements like buttons */
    .no-print {
        display: none;
    }

    body {
        padding-top: 0px;
    }
}

.fixed-top {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.mega-dropdown-menu {
    background-color: #ffffff;
    border: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-top: 0;
    padding: 0;
    width: 100%;
    max-height: 80vh;
    position: fixed;
    left: 0;
    right: 0;
    overflow: hidden;
}

.menu-categories {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 80vh;
}

.category-nav {
    border-bottom: 1px solid #e9ecef;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1020;
    width: 100%;
}

.category-nav-scroll {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: thin;
    padding: 0.5rem 1rem;
    -webkit-overflow-scrolling: touch;
}

.category-nav-scroll::-webkit-scrollbar {
    height: 4px;
}

.category-nav-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.category-nav-scroll::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.category-btn {
    background: none;
    border: none;
    color: #495057;
    cursor: pointer;
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
    transition: color 0.2s;
    white-space: nowrap;
}

.category-btn:hover,
.category-btn.active {
    color: red;
}

.category-btn.active::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: red;
}

.category-content-wrapper {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.category-section {
    display: none;
}

.category-section.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

/* Updated grid layout with better responsiveness */
.products-grid {
    display: grid;
    gap: 1rem;
    max-width: 100%;
    margin: 0 auto;
}

/* Responsive grid columns */
@media (min-width: 1400px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) and (max-width: 1399px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* Product column styles */
.product-column,
.subcategory-column {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    width: 100%;
    min-width: 0; /* Prevents overflow */
    height: auto;
}

/* Scrollable lists */
.product-column ul,
.subcategory-column ul {
    max-height: 300px;
    overflow-y: auto;
    margin: 0;
    padding: 0;
    padding-right: 10px;
    list-style: none;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.product-column ul::-webkit-scrollbar,
.subcategory-column ul::-webkit-scrollbar {
    width: 4px;
}

.product-column ul::-webkit-scrollbar-track,
.subcategory-column ul::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.product-column ul::-webkit-scrollbar-thumb,
.subcategory-column ul::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.subcategory-title {
    color: #6c757d;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    position: sticky;
    top: 0;
    background: #f8f9fa;
    padding: 0.5rem 0;
    z-index: 1;
}

.product-link {
    color: #212529;
    display: block;
    font-size: 0.9rem;
    padding: 0.5rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 4px;
    white-space: normal;
    word-wrap: break-word;
}

.product-link:hover,
.product-link.active {
    color: red;
    background-color: rgba(255, 0, 0, 0.05);
}

.container-fluid {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
@media (max-width: 767px) {
    .mega-dropdown-menu {
        position: fixed;
        top: 56px;
        bottom: 0;
        left: 0;
        right: 0;
        max-height: calc(100vh - 56px);
    }

    .category-content-wrapper {
        padding: 0.5rem;
    }

    .product-column,
    .subcategory-column {
        padding: 0.75rem;
    }

    .product-column ul,
    .subcategory-column ul {
        max-height: 250px;
    }
}

/* Touch device optimizations */
@media (hover: none) {
    .product-link:hover {
        color: inherit;
        background-color: transparent;
    }
}

@media (max-width: 425px) {
    .mega-dropdown-menu {
        max-height: 70vh;
        overflow-y: auto;
    }

    .category-nav-scroll {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        padding: 0.5rem;
        scrollbar-width: thin;
    }

    .product-column {
        max-height: 200px;
        overflow-y: auto;
    }

    .product-column ul, 
    .product-column li {
        max-height: none;
    }
    .subcategory-column {
        max-height: 200px;
        overflow-y: auto;
    }

    .subcategory-column ul, 
    .subcategory-column li {
        max-height: none;
    }

    .category-nav-scroll::-webkit-scrollbar {
        height: 4px;
    }

    .category-nav-scroll::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    .category-nav-scroll::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 4px;
    }

    .category-btn {
        padding: 0.5rem;
        font-size: 0.85rem;
    }

    .subcategory-title {
        font-size: 0.75rem;
    }

    .product-link {
        font-size: 0.8rem;
    }
}

@media (min-width: 374px) {
    .container-fluid {
        max-width: 350px;
    }
}

@media (min-width: 424px) {
    .container-fluid {
        max-width: 420px;
    }
}

@media (min-width: 576px) {
    .container-fluid {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container-fluid {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container-fluid {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container-fluid {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .container-fluid {
        max-width: 1320px;
    }
}

@media print {
    .dt-paging,
    .dt-search,
    .dt-length,
    .dt-column-order,
    .dt-info {
        display: none !important;
    }


    @page {
        margin: 20px;
    }

    body {
        font-size: 12px;
        padding: 20px;
    }

    .table th,
    .order-information {
        -webkit-print-color-adjust: exact;
    }
}

.banner-images-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    width: 100%;
}
.banner-image {
    margin-bottom: 15px;
}

.banner-image:last-child {
    margin-bottom: 0;
}

.banner-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.custom-about-us-img-size {
    aspect-ratio: 16 / 9;
    width: 100%;
    object-fit: cover;
}
