/*
Width <= 1024 is where screen changes from menu to dropdown Desktop -> Tablet
Width <= 768 is where it changes to slim mode Tablet -> Phone
Width <= 500 is where breadcrumbs are removed Phones

e.g.
min-width: 1025px is for when the viewport width is 1025 pixels or larger.
max-width: 1024px is for when the viewport width is 1024 pixels or smaller.
*/

@media (min-width: 768px) {
    body {
        padding: 0 0;
    }
}

html {
    background-color: #fff;
    /* Sets the full-page background color */
    color-scheme: light only;
    /* Force light mode, prevent dark mode */
}

:root {
    color-scheme: light only;
}

body {
    color-scheme: light only;
}

@media (prefers-color-scheme: dark) {

    html,
    body {
        background-color: #fff !important;
        color: #212529 !important;
    }
}

body.menu-open {
    overflow: hidden;
}

h1 {
    font-size: 1.8rem;
    /* fs-2 in Bootstrap */
    font-weight: 300;
    /* fw-light */
    color: #212529;
    /* text-dark (approximate color) */
    line-height: 1.5;
    /* lh-base */
    margin-top: 0.75rem;
    /* mt-3 */
}

/* Utility class to remove margin-top from h1 */
h1.no-margin-top,
.no-margin-top h1 {
    margin-top: 0 !important;
}

@media (max-width: 767px) {
    h1 {
        font-size: 1.6rem;
        margin-top: 0 !important;
    }

    h2 {
        margin-top: 0 !important;
    }
}


h2 {
    font-size: 1.25rem;
    /* fs-4 in Bootstrap */
    font-weight: 300;
    /* fw-light */
    color: #212529;
    /* text-dark (approximate color) */
    line-height: 1.5;
    /* lh-base */
    margin-top: 0.25rem;
    /* mt-1 */
}

h3 {
    font-size: 1.125rem;
    font-weight: 300;
    color: #212529;
    line-height: 1.5;
    margin-top: 0.25rem;
}

h4 {
    font-size: 1.125rem;
    /* fs-5 in Bootstrap */
    font-weight: 300;
    /* fw-light */
    color: #212529;
    /* text-dark (approximate color) */
    line-height: 1.5;
    /* lh-base */
    margin-top: 0.25rem;
    /* mt-1 */
}

h5 {
    font-size: 0.875rem;
    /* Adjust this value if fs-15 means something different in your project */
    margin-bottom: 0;
    font-weight: 600;
}

h6 {
    font-size: 1rem;
    /* fs-6 in Bootstrap */
    font-weight: 300;
    /* fw-light */
    color: #212529;
    /* text-dark (approximate color) */
    line-height: 1.5;
    /* lh-base */
    margin-top: 0.5rem;
    /* mt-2 */
}

.hideit {
    display: none;
}

.section {
    padding-top: 20px;
}

/* Shared badge styles */
.badge {
    border: 1px solid rgba(0, 0, 0, 0.2);
    font-size: 90%;
    font-weight: 600;
    padding: 0.35em 0.6em;
}

.badge-secondary {
    background-color: #6c757d;
    color: #fff;
}

.badge-success {
    background-color: #28a745;
    color: #fff;
}

.badge-danger {
    background-color: #dc3545;
    color: #fff;
}

.badge-warning {
    background-color: #ffc107;
    color: #212529;
}

.badge-info {
    background-color: #17a2b8;
    color: #fff;
}

.badge-promotion-discount {
    font-size: 60%;
    padding: 0.2em 0.4em;
}

.form-control {
    border: 1px solid #C5CAD3 !important;
    padding: 7px 15px;
}

.form-control::placeholder {
    color: #6c757d;
    opacity: 0.6;
}

.form-select {
    border: 1px solid #C5CAD3 !important;
    font-size: 14px;
    /*0.9rem; */
}

.form-select:focus {
    background-color: white;
}

.form-check-input {
    /*margin-top: 0px !important;*/
    margin-left: 0px !important;
}

.input-sm {
    font-size: 15px;
}

.btn-sm {
    font-size: 12px;
}


.lazy {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

.load-image {
    opacity: 1;
}

/* 1. Container to maintain 3:2 aspect ratio using aspect-ratio property */
.custom-img-container {
    position: relative;
    width: 100%;
    max-width: 300px;
    /* Desired maximum width on larger screens */
    aspect-ratio: 3 / 2;
    /* Maintains 3:2 Aspect Ratio */
    overflow: hidden;
    margin: 0 auto;
    /* Center the container within its parent */
    /* background-color: #f0f0f0; /* Temporary background for debugging */
}

.custom-img-container-lg {
    max-width: 480px;
    /* Desired maximum width on larger screens, matches thumbnail width */
}

/* 2. Image styling to cover the container */
.custom-img-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 3. Responsive adjustments for smaller screens */
@media (max-width: 576px) {
    .custom-img-container {
        max-width: 100%;
        /* Allows the container to take full width on small screens */
        aspect-ratio: 3 / 2;
        /* Maintains the 3:2 aspect ratio */
    }
}


/* 1. Container to maintain 16:9 aspect ratio using aspect-ratio property */
.custom-img-container-16-9 {
    position: relative;
    width: 100%;
    max-width: 300px;
    /* Desired maximum width on larger screens */
    aspect-ratio: 16 / 9;
    /* Maintains 16:9 Aspect Ratio */
    overflow: hidden;
    margin: 0 auto;
    /* Center the container within its parent */
    /* background-color: #f0f0f0; /* Temporary background for debugging */
}

.custom-img-container-16-9-lg {
    max-width: 500px;
    /* Desired maximum width on larger screens */
}

/* 2. Image styling to cover the container */
.custom-img-container-16-9 img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures the image covers the container without distortion */
    display: block;
    /* Removes any unexpected gaps below the image */
}

/* 3. Responsive adjustments for smaller screens */
@media (max-width: 576px) {
    .custom-img-container-16-9 {
        max-width: 100%;
        /* Allows the container to take full width on small screens */
        aspect-ratio: 16 / 9;
        /* Maintains the 16:9 aspect ratio */
    }
}

.img-container {
    text-align: center;
    /*--bs-gutter-x: 5px;*/
}

.ratio img {
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ratio-3x2 {
    --bs-aspect-ratio: 66.39%;
}

.w-10 {
    width: 10% !important
}

.w-20 {
    width: 20% !important
}

.w-30 {
    width: 30% !important
}

.w-40 {
    width: 40% !important
}

.kitoption {
    transition: border 0.3s ease;
    /* Smooth transition for border */
    border: 1px solid transparent;
    /* Initially transparent border */
    border-radius: 0.35rem;
}

.kitoption:hover {
    border: 1px solid gray;
    /* Border properties on hover */
    border-radius: 0.35rem;
    cursor: pointer;
}

.holidaycheckbox {
    width: 30px;
    height: 30px;
    vertical-align: middle;
}

.arrow-placeholder {
    position: relative;
    padding-left: 20px;
}

.arrow-placeholder svg {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.mdi-bullet-placeholder {
    position: relative;
    padding-left: 28px;
    /* Adjust based on your icon size and desired spacing */
    min-height: 20px;
    /* Adjust based on your line height */
}

.mdi-bullet-placeholder i.mdi {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    /* Adjust to match your desired icon size */
}


.breadcrumb-item a {
    color: #383840;
}

.breadcrumb {
    margin-top: 12px;
    margin-bottom: 0px;
}

/* for mobile */
@media (max-width: 500px) {
    .breadcrumb {
        display: none;
    }

    .mobile-margin-top {
        margin-top: 15px;
    }
}

#image-viewer-single-popup {
    width: 500px;
    /*400px*/
    height: 100%;
}

.video_player {
    border: solid 1px #FFFFFF;
    position: relative;
    width: 100%;
    height: 0;
    /*270px*/
    padding-bottom: 56.25%;
}

.youtubeframe {
    border: 1px solid #FFFFFF;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*
#wr360image_wr360PlayerId {
    margin-left: 0px !important;
}
*/
.co2-logo {
    max-width: 200px;
}

.scrolldiv {
    width: 100%;
    height: 100%;
    overflow: auto;
}

.general_popup {
    height: inherit !important;
}

.fancybox-inner {
    overflow: inherit !important;
}

.fancybox-skin {
    background: white;
}

.wide-form {
    width: 110%;
    margin-left: -5%;
}

.wide-form .row div {
    padding: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.table-spacing {
    border-collapse: separate;
    border-spacing: 0 10px;
    /* Horizontal and vertical spacing */
}

.ui-datepicker {
    z-index: 1000 !important;
}

.mousehand {
    cursor: pointer;
}

.label-dispatched {
    background-color: #cfffcf;
}

.label-pending {
    background-color: #ceceff;
}


/* Apply these styles only when #preview-pane has
   been placed within the Jcrop widget */
.jcrop-holder #preview-pane {
    display: block;
    position: absolute;
    z-index: 2000;
    top: 10px;
    right: -400px;
    padding: 6px;
    border: 1px rgba(0, 0, 0, .4) solid;
    background-color: white;

    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;

    -webkit-box-shadow: 1px 1px 5px 2px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 1px 1px 5px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 1px 1px 5px 2px rgba(0, 0, 0, 0.2);
}

/* The Javascript code will set the aspect ratio of the crop
   area based on the size of the thumbnail preview,
   specified here */
#preview-pane .preview-container {
    width: 350px;
    height: 350px;
    overflow: hidden;
}

.munger_target {
    width: calc(100vw - 525px);
}


/* Paul icon on homepage */
.builder-wrapper {
    padding-left: 0;
}

.builder-background {
    background-image: url(/img/assets/co2supermarket/homepage/co2-builder.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    aspect-ratio: 480 / 300;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    position: relative;
    /* Added for absolute positioning of child */
}

.builder-create {
    position: absolute;
    /* Changed to absolute positioning */
    top: 4%;
    /* Adjust this value to move content up or down */
    left: 80px;
    right: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
}

.builder-text {
    font-size: clamp(1.7rem, 3.0vw, 2.5rem);
    font-weight: 500;
    font-family: Tahoma, Arial, sans-serif;
    margin-bottom: 10px;
}

/* for desktop set the height */
@media (min-width: 1025px) {
    .builder-text {
        height: 112px;
    }
}

@media (min-width: 768px) {
    .builder-create {
        padding-top: 5px;
        padding-left: 15px;
    }
}

@media (min-width: 1025px) {
    .builder-create {
        padding-top: 25px;
        padding-left: 32px;
    }
}

/*
.review-overall {
    width: 100%;
    margin-top: 7px;
    height: 220px;
    min-height: 220px;
    max-height: 220px;
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    border-radius: 35px;
}
*/

/* ---------------- */

#bottombarsticky {
    position: fixed;
    bottom: 0;
    display: block;
    margin: 0 !important;
    bottom: 0 !important;
    right: 20px !important;
    font-size: 12px !important;
    text-align: left;
    /*z-index: 1000;*/
    min-width: 425px;
    width: 425px;
    /*max-width: 450px;*/
}

#contactus-bottom {
    float: right;
}

#contactus-bottom a.left {
    border-radius: 0px;
    border-top-left-radius: 5px;
    margin-right: -4px;
    color: #FFFFFF;
}

#contactus-bottom a.middle {
    border-radius: 0px;
}

#contactus-bottom a.right {
    border-radius: 0px;
    border-top-right-radius: 5px;
    margin-left: -4px;
}

#cartinform {
    height: 115px;
    width: 100%;
    float: left;
    border-left: 1px solid #70a67c;
    border-top: 1px solid #70a67c;
    border-right: 1px solid #70a67c;
    border-top-left-radius: 5px;
    background-color: #FFFFFF;
}

#bottombarsticky .noleftrad {
    border-top-left-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
}


.btn-flat {
    display: inline-block;
    margin: 0;
    line-height: 15px;
    vertical-align: middle;
    font-size: 12px;
    text-shadow: none;
    box-shadow: none;
    background-image: none;
    border: 0 none;
    color: #fff;
    font-weight: 500;
    border-radius: 4px;
    /*background: #4387bf;*/
    /*border: 1px solid #3883c0;*/
    cursor: pointer;
    padding: 7px 14px;
    -webkit-transition: all .1s linear;
    -moz-transition: all .1s linear;
    transition: all .1s linear;
}

.btn-flat [class^="icon-"],
.btn-flat [class*=" icon-"] {
    margin-right: 3px;
}

.btn-flat:active {
    -webkit-box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.3) inset;
    -moz-box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.3) inset;
    box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.3) inset;
    background: #30628b;
    opacity: 1;
}

.btn-flat:hover {
    text-decoration: none;
    opacity: 1;
    color: #fff;
    background: #3b9ff3;
    border-color: #3b9ff3;
}


@media only screen and (max-width: 767px) {
    #kit-more-information {
        display: none;
    }
}

@media (max-width: 767px) {
    .kitoption:hover {
        border: 1px solid #FFFFFF;
    }
}


/* cart styling */
.flying-cart {
    position: fixed;
    z-index: 9999;
}

.flying-cart svg {
    width: 30px;
    height: 30px;
}

.cart-icon {
    width: 35px;
    height: 35px;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    min-width: 18px;
    height: 18px;
    font-size: 11px;
}

#nav_menu_toggle {
    padding-right: 15px;
    padding-left: 10px;
}

.mdi-menu {
    font-size: 2.5rem;
}

.header-item {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border: 0;
    border-radius: 0;
}

/* Style the search container */
.search-button-border {
    border-color: #C5CAD3;
}

.search-box .form-control {
    border-radius: 10px;
    padding-left: 5px;
    padding-right: 35px;
    width: 280px;
}

.search-box .search-icon {
    font-size: 16px;
    position: absolute;
    left: 13px;
}

.search-box .search-icon {
    position: absolute;
    left: 250px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
}


/* Customer Support styling */
.customer-support-container {
    background-image: url('/img/customer_support_tile.png');
    background-color: rgba(255, 255, 255, 0.15);
    /* White with 80% opacity */
    background-blend-mode: overlay;
    /* This blends the image with the background color */
    background-repeat: repeat;
    background-position: center;
    /*padding: 15px;*/
    border-radius: 8px;
}

.customer-support-content {
    background-color: transparent;
    border-radius: 8px;
    padding-left: 10px;
}


/* Remove background image on mobile */
@media (max-width: 767px) {
    .customer-support-container {
        background-image: none;
    }

    .customer-support-content {
        padding-left: 0px;
    }
}


.customer-support-response-container {

    /*background-color: rgba(249, 249, 249, 0.92);*/
    /*box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);*/
    border-radius: 8px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;

}

@media (max-width: 767px) {
    .customer-support-response-container {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
}



.customer-info {
    background-color: rgba(255, 255, 255, 0.92);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 20px;
    margin: 15px;
}

@media (max-width: 767px) {
    .customer-info {
        padding: 0px !important;
        margin: 15px 0 !important;
    }
}


.my-message {
    background-color: #dceccd;
    text-align: left;
    padding: 10px 15px;
    border-radius: 15px 15px 0 15px;
    margin: 5px 0;
    float: right;
    position: relative;
    clear: both;
    margin-right: 10px;
    max-width: 85%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.my-message-timed {
    background-color: #edbd6c;
    /* Different color for timed messages */
}

.my-message::after {
    content: "";
    position: absolute;
    bottom: 0;
    /* Tail at the bottom */
    right: -10px;
    /* Position it slightly outside */
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-top-color: #dceccd;
    /* Match background color */
    border-bottom: 0;
    border-left: 0;
    margin-top: -10px;
    /* Adjust position to align with the box */
}

.my-message-timed::after {
    border-top-color: #edbd6c;
    /* Different color for timed messages */
}

.their-message {
    background-color: #f1f0f0;
    /* WhatsApp light grey */
    color: black;
    text-align: left;
    padding: 10px 15px;
    border-radius: 15px 15px 15px 0;
    /* Rounded corners with a flat bottom-right */
    margin: 5px 0;
    float: left;
    position: relative;
    /* Required for pseudo-element positioning */
    clear: both;
    margin-left: 10px;
    max-width: 85%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.their-message::after {
    content: "";
    position: absolute;
    bottom: 0;
    /* Tail at the bottom */
    left: -10px;
    /* Position it slightly outside */
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-top-color: #f1f0f0;
    /* Match background color */
    border-bottom: 0;
    border-right: 0;
    margin-top: -10px;
    /* Adjust position to align with the box */
}

/* Style for the message editing textarea - CURRENTLY FOR TESTING */
.message-edit-container textarea {
    width: 100% !important;
    height: 300px !important;
    box-sizing: border-box;
}

/* Expand the entire message container to 90% screen width when editing */
.my-message:has(.message-edit-container[style*="display: block"]),
.their-message:has(.message-edit-container[style*="display: block"]) {
    width: 90% !important;
    max-width: 90% !important;
}

/* Fallback for browsers that don't support :has() */
.my-message.editing-mode,
.their-message.editing-mode {
    width: 90% !important;
    max-width: 90% !important;
}

/* Clearfix to handle float */
.row::after {
    content: "";
    display: table;
    clear: both;
}

/* Styling for the date message */
.date-message {
    clear: both;
    /* Clear any floats from the previous message divs */
    margin-top: 4px;
    /* Space between the message and date */
}

/* Header Styling */
.page-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #fff;
    /*padding: 10px 20px;*/
    box-sizing: border-box;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header .container-fluid {
    max-width: 100%;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-right: 15px;

}

/* Logo */
.navbar-brand {
    margin-left: 0px;
    margin-right: 10px;
}

/* Promo Items */
.promo-items {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    flex-grow: 1;
    justify-content: space-around;
}

/* Promo Item */
.promo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.promo-item:last-child {
    margin-right: 0;
}

/* Promo Images */
.promo-img {
    max-width: 35px;
    /* Adjust the size as needed */
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Promo Text */
.promo-text {
    font-size: 0.875rem;
    /* Equivalent to 14px */
    color: #343a40;
    /* Adjust the color as needed */
    margin-top: 5px;
    /* Space between image and text */
    font-weight: bold;
    /* Optional: make the main text bold */
}

/* Promo Subtext */
.promo-text-sub {
    font-size: 0.75rem;
    /* Smaller font size, equivalent to 12px */
    color: #6c757d;
    /* A lighter color for subtext */
    margin-top: 2px;
    /* Slight spacing between main text and subtext */
}


.header .cart-icon {
    margin-top: 10px;
}

/* Right Side: Buttons and Search Bar */
.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    max-width: 350px;
    /* Increase this value as needed */
    width: 100%;
    /* Allow it to use the available space */
}


.header-right>* {
    margin-left: 20px;
}

.header-buttons {
    display: flex;
    align-items: center;
}

.header-buttons>* {
    margin-left: 10px;
    margin-right: 10px;
}

.page-header .btn {
    padding-left: 0px;
    padding-right: 0px;
}

.page-header .search-button-border {
    padding-left: 10px;
    padding-right: 10px;
}

/* Prevent search bar from shrinking or wrapping */
#nav_search {
    width: 100%;
    margin-top: 0px;
    /* Space between buttons and search bar */
}

#nav_search .input-group {
    width: 100%;
}


/* Responsive Adjustments */
@media (max-width: 1024px) {
    .header-content {
        flex-wrap: wrap;
        justify-content: center;
    }

    .header-right {
        margin-top: 10px;
    }

    .header-right>* {
        margin-left: 10px;
    }

    .promo-items {
        margin-top: 10px;
    }
}

@media (max-width: 767px) {
    .promo-text {
        font-size: 0.75rem;
        /* 12px */
    }

    .promo-text-sub {
        font-size: 0.6875rem;
        /* 11px */
    }
}

@media (max-width: 576px) {
    .promo-text-sub {
        display: none;
        /* Hide subtext on very small screens */
    }
}



/* Position the navbar on the left */
.position-fixed-left {
    position: fixed;
    top: 0px;
    /*left: 0;*/
    height: calc(100vh - 70px);
    /* Subtract header height from viewport height */
    width: 240px;
    /* Adjust the width as needed */
    z-index: 1000;
    /* Ensure it stays above other content */
    overflow-y: auto;
    /* Enable scrolling if content overflows */
}

/* Adjust main content to avoid overlap */
.main-content {
    margin-left: 235px;
    /* Same as sidebar width */
    margin-top: 105px;
    /* Same as header height */
    padding: 5px;
    /* Optional: Add padding */
}


/* Shared navbar styles */
.menu-icon {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin-right: 8px;
}

.dropdown-menu {
    border: 0px !important;
}


/* Navbar styling across all menus */
.navbar-custom {

    padding-top: 5px;

    .container {
        background-color: #fff;
        padding-bottom: 10px;
        padding-left: 0px;
        z-index: 10000;
    }

    #nav_menus_controls {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 35px;
    }

    .nav_search_container {
        padding-left: 8px;
    }

    .navbar-nav {
        list-style: none;
        padding-left: 0;
        margin-bottom: 0;
    }

    .submenu {
        list-style: none;
        /* Remove bullets from submenus */
        display: none;
        /* Hidden by default */
        position: relative;
        /* Ensure it positions correctly */
        padding-left: 1rem;
        /* Indent submenu items */
    }

    .nav-link {
        text-transform: none !important;
    }

}

/* Shared styling for parent menu item links in desktop sidebar and mobile */
.navbar-desktop-sidebar .nav-link,
.navbar-mobile a.menu-item {
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 20px !important;
    letter-spacing: 0px !important;
    padding: 10px 10px !important;
}

/* Shared styling for sub-menu items in desktop sidebar and mobile */
.navbar-desktop-sidebar .sub-menu-item,
.navbar-mobile .sub-menu-item {
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 30px !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    padding-left: 5px !important;
}

/* Current main category (product / category page) — must override default .nav-link weights */
.navbar-desktop-sidebar .nav-link.nav-sidebar-category-active,
.navbar-mobile a.menu-item.nav-sidebar-category-active {
    font-weight: 700 !important;
}

.navbar-desktop-sidebar .sub-menu-item.nav-sidebar-category-active,
.navbar-mobile .sub-menu-item.nav-sidebar-category-active {
    font-weight: 700 !important;
}

.navbar-mobile {
    padding-bottom: 8px !important;
    padding-left: 0px !important;
    padding-right: 0px !important;

    .container {
        padding-right: 8px;
        box-shadow: 0px 4px 10px rgba(69, 61, 80, .08);
    }

    .navbar-collapse {
        max-height: calc(100dvh - 200px);
        overflow-y: auto;
    }

    .menu-item {
        padding-top: 3px !important;
        /* This will be overridden by a.menu-item for <a> tags */
        padding-bottom: 3px !important;
        /* This will be overridden by a.menu-item for <a> tags */
    }

    .nav_options {
        order: 1;
        margin-right: 15px;
    }

    #navbar-collapse-1 {
        order: 2;
        margin-right: -8px;
    }

    .nav_search_container {
        order: 3;
    }

}

/* Added for mobile navbar shadow control when menu is open */
.navbar-mobile .container.no-shadow-mobile {
    box-shadow: none !important;
}

@media (max-width: 1024px) {
    .navbar {
        box-shadow: none !important;
    }
}

.navbar-desktop-sidebar {

    position: fixed !important;
    float: left !important;
    top: 115px !important;
    box-shadow: none !important;

    .navbar-nav {
        max-height: calc(100dvh - 124px);
        overflow-y: auto;
        will-change: transform;
    }

    .navbar-collapse {
        display: block !important;
    }

    .dropdown {
        border: 0px !important;
    }

    /* Adjust caret icon if using one */
    .nav-link.active .caret-icon {
        transform: rotate(180deg);
    }

    .sub-menu-item {
        width: 100% !important;
    }

    .nav_options {
        order: 2;
        display: flex !important;
        align-items: center !important;
        margin-right: 15px !important;
    }

    .nav_search_container {
        padding-left: 8px;
        order: 3;
    }

}


.navbar-desktop-topbar {

    top: 0 !important;
    position: sticky !important;
    background-color: #fff !important;
    height: 110px !important;
    box-shadow: 0px 4px 10px 0px rgba(69, 61, 80, .08) !important;
    padding-top: 25px !important;

    .btn {
        padding-left: 10px;
        padding-right: 10px;
    }

    .sub-menu-item-desktop {
        width: 200px;
    }

    .cart-icon .cart-count {
        position: absolute;
        top: -9px;
        right: -10px;
        line-height: 1.6;
        width: 20px;
        height: 20px;
        border-radius: 50%;
    }

    .menu-item {
        padding-bottom: 0px !important;
    }

    #navbar-collapse-1 {
        order: 1;
    }

    .nav_options {
        order: 2;
        display: flex !important;
        align-items: center !important;
        margin-right: 15px !important;
    }

    .nav_search_container {
        padding-left: 8px;
        order: 3;
    }

}

#scrollToBottom {
    position: fixed;
    bottom: 20px;
    /* Distance from the bottom edge */
    left: 50%;
    /* Center horizontally */
    width: 50px;
    height: 50px;
    background-color: white;
    /* White background */
    border: 2px solid lightgrey;
    /* Light grey circular border */
    border-radius: 50%;
    /* Circular shape */
    display: flex;
    /* Flexbox for centering */
    align-items: center;
    /* Vertical centering */
    justify-content: center;
    /* Horizontal centering */
    box-shadow: none;
    /* No shadow */
    cursor: pointer;
    z-index: 1000;
    transform: translateX(-50%);
    /* Center horizontally */
    transition: opacity 0.3s, visibility 0.3s;
    opacity: 0;
    /* Initially hidden */
    visibility: hidden;
    /* Initially hidden */
}

/* Add the arrow using a pseudo-element */
#scrollToBottom::before {
    content: '';
    display: block;
    width: 12px;
    /* Width of the arrow */
    height: 12px;
    /* Height of the arrow */
    border-left: 3px solid #1a1a1a;
    /* Really dark grey left border */
    border-bottom: 3px solid #1a1a1a;
    /* Really dark grey bottom border */
    transform: rotate(-45deg);
    /* Rotate to create a down arrow */
    margin-top: -5px;
}

/* Show the button when necessary */
#scrollToBottom.show {
    opacity: 1;
    visibility: visible;
}

/* Customer Support Admin pagination styling */
.pagination .page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: white;
    font-weight: bold;
}

/* Add a custom style for the "Select All" link used in the Customer Support Admin Close column */
.small-link {
    color: blue;
    font-size: small;
}

/* Gift Voucher Styles */
.voucher-preview-img {
    width: 60px;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 5px;
}

.voucher-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.voucher-card {
    width: 400px;
    border: 2px solid #333;
    border-radius: 10px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.voucher-header {
    text-align: center;
    padding: 20px 20px 10px 20px;
    background: white;
}

.voucher-image {
    width: 175px;
    height: 82px;
    object-fit: contain;
    border-radius: 8px;
    /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);*/
}

.voucher-content {
    padding: 20px;
    text-align: center;
}

.voucher-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.voucher-code {
    font-size: 18px;
    font-weight: bold;
    color: #495057;
    margin: 15px 0;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    display: inline-block;
}

.voucher-message {
    font-size: 16px;
    font-style: italic;
    color: #6c757d;
    margin: 20px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.voucher-message-container {
    margin: 20px 0;
}

.voucher-message-input {
    width: 100%;
    min-height: 80px;
    padding: 15px;
    font-size: 16px;
    font-style: italic;
    color: #6c757d;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid #dee2e6;
    border-left: 4px solid #007bff;
    border-right: 4px solid #007bff;
    border-radius: 8px;
    resize: vertical;
    font-family: inherit;
    text-align: center;
}

.voucher-message-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.voucher-message-input::placeholder {
    color: #adb5bd;
    font-style: italic;
}

.voucher-footer {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #dee2e6;
}

.voucher-site {
    font-size: 16px;
    font-weight: bold;
    color: #495057;
    margin-bottom: 8px;
}

.voucher-expiry {
    font-size: 14px;
    color: #6c757d;
}

@media (max-width: 768px) {
    .voucher-card {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    .voucher-title {
        font-size: 24px;
    }
}

/* Cookie Overlay Style */
#cookie-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1200;
}

/* Cookie Banner Style */
.cookie-banner {
    display: block !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 1300;
    padding: 10px;
    border-top: 1px solid #ccc;
    height: auto;
    /* Allow height to grow based on content */
    max-height: 100vh;
    /* Ensure the banner doesn't exceed the viewport height */
    overflow-y: auto;
    /* Enable scrolling if the content is too tall */
}

/* Cookie Customisation Panel */
.cookie-customisation {
    display: none;
}

/* Remove default left padding for form-check within the cookie customisation popup */
#cookie-customisation-popup .form-check {
    padding-left: 0 !important;
}

/* Add space between the checkbox and label text in the Cookie Customisation popup */
#cookie-customisation-popup .form-check-input {
    margin-right: 10px !important;
}

/* Custom container for the Cookie Customisation Popup */
.cookie-popup-container {
    margin: 0 auto;
    width: 400px;
}

/* Close icon for the Cookie Banner */
.close-cookie-banner {
    position: absolute;
    top: 0px;
    right: 10px;
    font-size: 24px;
    color: #000;
    text-decoration: none;
    cursor: pointer;
    z-index: 1400;
}


/* Product feature list with arrows */
.product-feature-item {
    display: flex;
    align-items: flex-start;
    margin: 0.5rem 0;
}

.product-feature-icon {
    flex-shrink: 0;
    margin-right: 8px;
}

.product-feature-text {
    flex: 1;
}

/* Product Page Layout */
/* Title and Review Stars are now outside the grid, styled as block elements by default */

#category_gallery .stock-status-new-line {
    display: block;
}

.stock-status-new-line {
    font-size: 0.8em;
    /* Reduce font size relative to parent */
}

.product-layout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3px;
}

/* New styling for the column wrappers */
.product-main-column,
.product-sidebar-column {
    display: grid;
    gap: 0px;
    /* align-content: start; Remove if using flex, for grid it helps pack items at the start */
}

/* --- Mobile Specific Styles for Product Layout Grid --- */
@media (max-width: 1024px) {

    /* Target mobile devices, adjust breakpoint if needed */
    .product-main-column,
    .product-sidebar-column {
        display: contents;
        /* Make .grid-item divs behave as direct children of .product-layout-grid */
    }

    /* New order for .grid-item-X containers on mobile */

    .product-layout-grid .grid-item-0 {
        order: 1;
    }

    /* ReviewStars */
    /* AddToCart  */
    .product-layout-grid .grid-item-1 {
        order: 2;
    }

    /* KitContents */
    .product-layout-grid .grid-item-5 {
        order: 3;
    }

    /* 360 and video via getImageDiv() */
    .product-layout-grid .grid-item-6 {
        order: 4;
    }

    /* Photo gallery */
    .product-layout-grid .grid-item-7 {
        order: 5;
    }

    /* AtAGlance */
    .product-layout-grid .grid-item-2 {
        order: 6;
    }

    /* Description */
    .product-layout-grid .grid-item-3 {
        order: 7;
    }

    /* Tags */
    .product-layout-grid .grid-item-8 {
        order: 8;
    }

    /* RelatedProducts */
    .product-layout-grid .grid-item-9 {
        order: 9;
    }

    /* CustomerReviews */
    .product-layout-grid .grid-item-4 {
        order: 10;
    }

}

/* --- End Mobile Specific Styles --- */

/* Hide 360 view tab link ONLY on mobile */
@media (max-width: 767px) {
    #product-tabs .nav-item:has(#rotate_view-tab) {
        display: none;
    }
}

/* Hide any grid-item that is empty */
/* This rule now targets .grid-item divs within their respective columns */
.product-main-column>.grid-item:empty,
.product-sidebar-column>.grid-item:empty {
    display: none;
}

/* Fallback for semantic divs if they end up empty inside a non-empty grid-item */
.product-main-column>.grid-item>div:empty,
.product-sidebar-column>.grid-item>div:empty {
    display: none;
}

/* Desktop and larger tablet layout */
@media (min-width: 1025px) {
    .product-layout-grid {
        grid-template-columns: 2fr 1fr;
        /* Two columns for main and sidebar */
        gap: 25px;
        align-items: start;
        /* Aligns .product-main-column and .product-sidebar-column to the top */
    }

    /* Reset mobile order for semantic divs when on desktop */
    /* This targets the semantic divs inside .grid-item inside the column wrappers */
    .product-main-column .grid-item>div,
    .product-sidebar-column .grid-item>div {
        order: initial;
    }

}

/* firstname-field - Used as honeypot for spam prevention */
.firstname-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    z-index: -1;
}

/* Increase spinner size */
.spinner-large {
    font-size: 2em;
    vertical-align: middle;
}

/* Add styles to hide/show navbar versions based on screen width */
/* Hide desktop version on small screens */
@media (max-width: 1024px) {
    .navbar-desktop-version {
        display: none !important;
    }

    .navbar-mobile-version {
        display: block !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 1030 !important;
        background-color: #fff;
    }

    /* Style the expanded mobile menu to overlay content */
    .navbar-mobile-version .navbar-collapse.show,
    .navbar-mobile-version .navbar-collapse.collapsing {
        position: absolute;
        top: 100%;
        /* Position below the main navbar bar */
        left: 0;
        right: 0;
        /* Ensures it spans full width if width: 100% is tricky with box-sizing */
        width: 100%;
        background-color: #fff;
        /* Ensure it has a solid background */
        z-index: 1040;
        /* Ensure it's above the sticky navbar (1030) and other content */
        box-shadow: 0px 15px 14px -100px rgba(69, 61, 80, .25);
        /*border-bottom: 0px solid #cccccc;*/
    }

    .main-content {
        margin-left: 0;
        margin-top: 0;
        padding: 0;
    }
}

/* Hide mobile version on large screens */
@media (min-width: 1025px) {
    .navbar-desktop-version {
        display: block !important;
    }

    .navbar-mobile-version {
        display: none !important;
    }
}

/* ======================================== */
/* Trello Board Styles for NavBar Admin */
/* ======================================== */

.trello-board {
    display: flex;
    /* Arrange lists horizontally */
    overflow-x: auto;
    /* Enable horizontal scrolling if needed */
    padding: 20px 10px;
    /* Add some padding around the board */
    background-color: #f8f9fa;
    /* Light background for the board area */
    min-height: 60vh;
    /* Ensure it has some minimum height */
    align-items: flex-start;
    /* Align lists to the top */
    gap: 15px;
    /* Space between lists */
}

.trello-list {
    background-color: #e9ecef;
    /* Background for lists */
    border-radius: 5px;
    padding: 10px;
    width: 300px;
    /* Fixed width for lists */
    flex-shrink: 0;
    /* Prevent lists from shrinking */
    display: flex;
    flex-direction: column;
    /* Stack header, cards, and add button vertically */
    max-height: 80vh;
    /* Limit list height */
}

.trello-list.add-list-placeholder {
    background-color: transparent;
    border: 2px dashed #ced4da;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    min-height: 100px;
    /* Give it some height */
}

.trello-list.add-list-placeholder:hover {
    background-color: rgba(0, 0, 0, 0.03);
}


.list-header {
    padding: 5px 8px 10px 8px;
    font-weight: bold;
    border-bottom: 1px solid #ced4da;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: grab;
    /* Indicate the header is draggable */
}

.list-header h5 {
    margin-bottom: 0;
    font-size: 1rem;
    overflow: hidden;
    /* Prevent long titles from breaking layout */
    text-overflow: ellipsis;
    /* Add ellipsis for long titles */
    white-space: nowrap;
    /* Keep title on one line */
    flex-grow: 1;
    /* Allow title to take available space */
    margin-right: 10px;
    /* Space between title and controls */
}

.list-controls {
    opacity: 0;
    /* Hide controls by default */
    max-width: 0;
    /* Take no space initially */
    overflow: hidden;
    /* Clip content when max-width is 0 */
    display: flex;
    /* Added: Use flexbox */
    flex-wrap: nowrap;
    /* Added: Prevent wrapping */
    /* Adjust transition to include max-width */
    transition: opacity 0.2s ease-in-out, max-width 0.3s ease-in-out;
}

.list-header:hover .list-controls {
    opacity: 1;
    /* Show controls on hover */
    max-width: 100px;
    /* Allow space for controls - adjust if needed */
}

.list-controls .btn {
    padding: 0.1rem 0.3rem;
    /* Smaller padding for tiny buttons */
    font-size: 0.7rem;
    /* Smaller font size */
    line-height: 1;
    /* Adjust line height */
    margin-left: 3px;
}

.list-controls .mdi {
    font-size: 1rem;
    /* Adjust icon size if needed */
    vertical-align: middle;
}


.card-container {
    flex-grow: 1;
    /* Allow card container to fill available space */
    overflow-y: auto;
    /* Enable vertical scrolling for cards */
    min-height: 50px;
    /* Minimum height before scrolling */
    padding-right: 5px;
    /* Space for scrollbar */
    margin-bottom: 10px;
    /* Space before add button */
}

.trello-card {
    background-color: #fff;
    border-radius: 3px;
    padding: 8px 10px;
    margin-bottom: 8px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    cursor: grab;
    /* Indicate draggable */
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

/* ADDED: Style for the content wrapper within the card */
.card-content-wrapper {
    flex-grow: 1;
    /* Make content take available space */
    white-space: pre-wrap;
    /* ADDED: Preserve whitespace within the label */
    /* Add other styling like padding if needed */
}

.trello-card:last-child {
    margin-bottom: 0;
}

.card-controls {
    flex-shrink: 0;
    /* Prevent controls from shrinking */
    opacity: 0;
    /* Hide controls by default */
    transition: opacity 0.2s ease-in-out;
}

.trello-card:hover .card-controls {
    opacity: 1;
    /* Show controls on hover */
}

.card-controls .btn {
    padding: 0.1rem 0.3rem;
    font-size: 0.7rem;
    line-height: 1;
    margin-left: 3px;
}

.card-controls .mdi {
    font-size: 0.9rem;
    /* Adjust icon size */
    vertical-align: middle;
}


.menu-icon-admin {
    width: 18px;
    height: 18px;
    vertical-align: middle;
    margin-right: 5px;
}

.menu-icon-admin-sub {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 5px;
}


/* SortableJS Dragging Styles */
.trello-card.sortable-ghost {
    background-color: #d0eaff;
    /* Light blue background */
    opacity: 0.7;
    border: 2px dashed #007bff;
    border-radius: 3px;
    box-shadow: none;
    color: transparent;
    min-height: 30px;
    box-sizing: border-box;
}

.trello-list.sortable-ghost {
    background-color: #c3e6cb;
    /* Light green for list placeholder */
    opacity: 0.7;
    border: 2px dashed #28a745;
    /* More prominent dashed border */
    border-radius: 5px;
    box-shadow: none;
}


.trello-card.sortable-drag {
    background-color: #fff;
    /* Keep background white while dragging */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
    /* Stronger shadow */
    transform: rotate(2deg);
    /* Slightly increased rotation */
    opacity: 0.9;
    /* Slightly transparent */
    cursor: grabbing;
}

.trello-list.sortable-drag {
    background-color: #e9ecef;
    /* Keep original list background */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
    /* Stronger shadow */
    transform: rotate(1deg);
    opacity: 0.95;
    /* Slightly transparent */
    cursor: grabbing;
}


.add-sub-item-btn {
    margin-top: auto;
    /* Push button to the bottom */
    width: 100%;
    font-size: 0.9rem;
    text-align: left;
    padding: 8px 10px;
}

.add-main-item-btn {
    width: calc(100% - 20px);
    /* Adjust width considering padding */
    margin: 10px;
    /* Center button within placeholder */
}

/* Custom Scrollbar for Card Container (Optional - Webkit browsers) */
.card-container::-webkit-scrollbar {
    width: 8px;
}

.card-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

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

.card-container::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

/* Prevent text selection while SortableJS fallback dragging */
body.sortable-fallback .list-header h5,
body.sortable-fallback .card-content-wrapper {
    user-select: none;
    -webkit-user-select: none;
    /* For Safari */
    -moz-user-select: none;
    /* For Firefox */
    -ms-user-select: none;
    /* For Internet Explorer/Edge */
}

.add-sub-item-btn {
    margin-top: auto;
    /* Push button to the bottom */
    width: 100%;
    font-size: 0.9rem;
    text-align: left;
    padding: 8px 10px;
}

/* Force user-select off during drag using manually added class */
body.force-no-select * {
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}

/* CSS-only overlay solution removed */

/* Styling for JavaScript-added overlay */
.main-content-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.25);
    z-index: 1025;
    cursor: pointer;
    /* Show pointer cursor to indicate it's clickable */
    transition: opacity 0.3s ease;
    /* Smooth transition for fade effect */
}

/* Add padding to table cells for tables in SetAdminGroup.php */
.table-bordered th,
.table-bordered td {
    padding: 6px;
}

/* Custom styling for MyOrdersView product table on mobile */
@media (max-width: 767px) {

    /* Add spacing between table header and body for checkout order details table only */
    .checkout-order-details-table thead th {
        padding: 0 !important;
        /* Remove padding from header cells */
        padding-bottom: 0.75rem !important;
        /* Add bottom padding to create space between thead and tbody */
    }

    /* Add spacing between image column and part name column */
    .table tbody tr .order-details-image-column-cell {
        padding-right: 0.75rem !important;
    }

    .table .order-item-total-col {
        width: 25%;
        /* Adjust as needed */
        min-width: 90px;
        /* Ensure a minimum width for the total */
        /*padding: 0 !important;*/
        /* Padding for this specific column is handled here */
    }

    /* Reduce horizontal padding for all cells in the table body and give bottom padding */
    .table tbody tr td,
    .table tbody tr th {
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-top: 0;
        /* Explicitly set top padding to 0 initially */
        padding-bottom: 0.5rem !important;
        /* Space below each row item */
    }

    /* Add top padding only to rows after the first one in the tbody */
    .table tbody tr+tr td,
    .table tbody tr+tr th {
        padding-top: 0.5rem !important;
        /* This creates space *between* item rows */
    }

}

/* Mobile Promo Bar */
.mobile-promo-bar {
    display: none;
    /* Hidden by default (desktop) */
    background-color: #ffffff;
    position: relative;
    /* Not fixed - scrolls naturally with page */
    overflow: hidden;
    padding: 12px 0;
    border-bottom: 1px solid #6c757d;
    min-height: 60px;
}

.mobile-promo-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.mobile-promo-slide {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-promo-slide a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    justify-content: center;
    width: 100%;
}

.mobile-promo-slide .promo-item {
    display: grid !important;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    align-items: start;
    padding: 0 15px;
    column-gap: 12px;
    row-gap: 0;
    text-align: left !important;
    margin-right: 0 !important;
}

.mobile-promo-slide .promo-img {
    width: 40px;
    height: auto;
    flex-shrink: 0;
    object-fit: contain;
    grid-row: 1 / 3;
    grid-column: 1;
    align-self: center;
}

.mobile-promo-slide .promo-text {
    font-size: 18px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 0;
    text-align: left !important;
    grid-row: 1;
    grid-column: 2;
    line-height: 1.3;
    display: block !important;
}

.mobile-promo-slide .promo-text-sub {
    font-size: 13px !important;
    color: #6c757d !important;
    line-height: 1.3;
    text-align: left !important;
    grid-row: 2;
    grid-column: 2;
    margin-top: 2px;
    white-space: normal;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    height: auto !important;
    max-height: none !important;
}

/* Show promo bar only on mobile */
@media (max-width: 767px) {
    .mobile-promo-bar {
        display: block;
    }

    /* Make navbar sticky when it reaches the top */
    .navbar-mobile-version {
        position: sticky;
        top: 0;
        z-index: 1030;
    }
}

/* Align quantity select and Add to Basket button heights */
.select-quantity-basket {
    padding: 0.25rem 2rem 0.25rem 0.5rem;
    line-height: 1.5;
    margin: 0;
    height: 35px;
}

.btn-add-basket {
    padding: 0.25rem 0.5rem;
    line-height: 1.5;
    display: inline-flex;
    align-items: center;
    height: 35px;
}

/* Checkout Customers Also Bought Styles */
.checkout-cab-qty-btn-minus {
    border-radius: 0.25rem 0 0 0.25rem;
    border-right: none;
    border-color: #dee2e6;
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    align-items: center;
}

.checkout-cab-qty-input {
    width: 60px;
    border-radius: 0;
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    line-height: normal;
    padding: 0.25rem 0;
    text-align: center;
}

.checkout-cab-qty-btn-plus {
    border-radius: 0 0.25rem 0.25rem 0;
    border-left: none;
    border-color: #dee2e6;
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    align-items: center;
}

.checkout-cab-card-body {
    padding-top: 0;
}

/* Center images in Bootstrap columns on mobile */
@media (max-width: 575.98px) {

    .col-sm-4 img,
    .col-sm-3 img,
    .col-sm-6 img {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ==========================================================================
   Widescreen Layout Enhancements
   ========================================================================== */

@media (min-width: 1400px) {
    body {
        max-width: 1500px;
    }

    .container {
        max-width: 1400px;
    }

    /* Category Gallery - show 4 products per row on widescreen */
    #category_gallery .row>.col-lg-4 {
        flex: 0 0 auto;
        width: 25%;
    }
}