.no-results {
    background-color: #f9c6c8; /* Softer, lighter version of the theme color */
    color: #ec1f27; /* Theme color for text */
    padding: 10px 15px; /* Reduced padding */
    border-radius: 5px;
    width: 90%; /* Adjust as needed */
    text-align: center;
    position: relative; /* For better positioning within its parent */
    margin: 0 auto 40px; /* Center horizontally and set bottom margin */
    display: block; /* Ensure the container is block-level */
}


.no-results p {
    margin: 0; /* Remove margin from the <p> element */
}

.printable h3, .printable h4 {
    margin-bottom: 5px !important; /* Force margin below */
}

.printable table {
    margin-bottom: 10px !important;
}


/* Social Media Icon Overlay */
.social-icons-overlay {
    position: fixed;
    bottom: 10%;
    right: 0; /* Place on the right side */
    transform: translateY(-50%); /* Adjust for true vertical center */
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Align items to the right */
    z-index: 1000;
}

.social-btn {
    color: #283b91; /* Navy blue */
    cursor: pointer;
    height: 31px; /* Adjusted height */
    width: 31px; /* Adjusted width */
    font-family: 'Titillium Web', sans-serif;
    border-radius: 7px;
    background: white;
    margin: 5px 0; /* Adjusted margin for vertical alignment */
    justify-content: center;
    align-items: center;
    display: flex;
    overflow: hidden;
    padding: 0 2px; /* Reduced padding */
    transition: width 0.3s, border-radius 0.3s;
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.2);
}

.social-btn a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
    justify-content: center;
    overflow: hidden;
}

.social-btn svg {
    height: 21px; /* Adjusted height */
    width: 21px; /* Adjusted width */
    transition: 0.3s;
    fill: #ffffff; /* White color for the SVG icons */
}

.social-btn span {
    width: 0;
    overflow: hidden;
    transition: width 0.3s;
    text-align: center;
    margin-left: 2px; /* Adjust margin */
    color: #283b91; /* Navy blue */
    font-size: 11px;
}


ul {
    margin: 0px;
    padding: 0px;
    text-align: left;
}
.footer-section {
  background: #283b91;
  position: relative;
}
.footer-cta {
  border-bottom: 1px solid white;
  margin-left: -5px; /* Reduces space on the left of the row */
  margin-right: -5px; /* Reduces space on the right of the row */
  padding-left: 0; /* Removes extra padding */
  padding-right: 0; /* Removes extra padding */
}
.single-cta i {
  color: #ec1f27;
  font-size: 14px;
  float: left;
  margin-top: 2px;
}
.cta-text {
  padding-left: 5px;
  display: inline-block;
}
.cta-text h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.footer-widget {
    padding: 10px 40px; 
}

.footer-widget-heading h3 {
  text-align: left;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 40px;
  position: relative;
}
.footer-widget-heading h3::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -15px;
  height: 2px;
  width: 50px;
  background: #ec1f27;
}
.footer-widget ul li {
  display: inline-block;
  float: left;
  width: 90%;
  margin-bottom: 2px;
}
.footer-widget ul li a:hover{
  color: #ec1f27;
}
.footer-widget ul li a {
  color: #a3b5e7;
}

.footer-menu li {
  display: inline-block;
  margin-left: 14px;
}
.footer-menu li:hover a{
  color: #ec1f27;
}
.footer-menu li a {
  font-size: 14px;
  color: #a3b5e7;
}

.sku-link {
    color: #283b91; /* Navy blue */
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.sku-link:hover {
    color: #ec1f27; /* Red */
    text-decoration: underline !important;
}

.sku-link:active {
    color: #ec1f27; /* Red */
}

.quantity-dropdown {
    display: none; /* Hide by default */
    position: absolute;
    background-color: white;
    border: 1px solid #ddd;
    z-index: 1;
    width: 100%; /* Match the input field width */
    text-align: center;
    left: 0; /* Align to the left of the input */
}

.quantity-wrapper {
    position: relative; /* Ensure the dropdown is positioned relative to its container */
    display: inline-block;
    width: 100%; /* Ensure the wrapper takes up the full cell width */
}

.quantity-input {
    text-align: center !important;
    width: 100%; /* Make the input take up full width of the table cell */
    box-sizing: border-box;
}

.quantity-dropdown div:hover {
    background-color: #ec1f27; /* Red background on hover */
    color: white; /* White text on hover */
    cursor: pointer;
}

.quantity-input {
    text-align: center !important;
}

.quantity-dropdown div:hover {
    background-color: #ec1f27; /* Red background on hover */
    color: white; /* White text on hover */
    cursor: pointer;
}

/* Hide number input's up and down arrows */
.quantity-input::-webkit-inner-spin-button,
.quantity-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-input {
    -moz-appearance: textfield; /* Firefox */
}


.custom-table, .results-container {
    width: 70%; /* Decrease the overall table width */
    border-collapse: collapse !important;
    margin: 0 auto !important; /* Center the table */
    text-align: left !important;
    background-color: white !important; /* White background */
    color: #283b91 !important; /* Navy blue text */
    border: 1px solid #283b91 !important; /* Navy blue border */
}

.custom-table th, .custom-table td, 
.results-container th, .results-container td {
    border: 1px solid #283b91 !important; /* Navy blue border */
    padding: 0.25em !important;
    text-align: left !important;
}

.custom-table th, 
.results-container th {
    background-color: #283b91 !important; /* Navy blue background */
    color: white !important; /* White text */
}

.custom-table td:first-child, .custom-table th:first-child,
.results-container td:first-child, .results-container th:first-child {
    width: 10% !important; /* Ensure the checkbox column is small */
    text-align: center !important; /* Center align the checkbox column */
}

.results-container td:nth-child(4) {
    text-align: right !important;
}
.custom-table td:nth-child(3) {
    width: 50% !important; /* Largest column */
}

/* Set the second column (Quantity) to be smaller */
.custom-table th:nth-child(2), .custom-table td:nth-child(2) {
    width: 15% !important; /* Smaller than column 4 */
}

/* Set consistent width for the fourth column */
.custom-table th:nth-child(4), .custom-table td:nth-child(4) {
    width: 25% !important; /* Ensure column 4 is larger than column 2 */
}

/* Limit the size of the input number in the second column */
.custom-table td:nth-child(2) input[type="number"] {
    width: 100% !important; /* Set a fixed smaller width for the input field */
    margin: 0 auto;
    box-sizing: border-box;
}
/* Hide the logo and contact info by default */
.logoforprint-container {
    display: none !important; /* Hidden in the normal web view */
}

/* Align the third column's tds to the left */
.printable.separate td:nth-child(3), 
.printable.combined td:nth-child(3),
.table-bordered td:nth-child(4) {
    text-align: right !important;
}

/* Ensure consistent width for all table columns except for description */
.table-bordered th:nth-child(1), .table-bordered td:nth-child(1),
.table-bordered th:nth-child(3), .table-bordered td:nth-child(3),
.table-bordered th:nth-child(4), .table-bordered td:nth-child(4) {
    width: 10%;
}

.table-bordered th:nth-child(2), .table-bordered td:nth-child(2) {
    width: 20%;
}

/* Decrease the overall table width */
.table-bordered {
    width: 70%;   /* Use !important to override any conflicting rules */
    margin: 0 auto !important; /* Center the table */
}

/* Ensure consistent width for all table columns for printable separate and printable combined */
.printable.separate th:nth-child(1), .printable.separate td:nth-child(1),
.printable.combined th:nth-child(1), .printable.combined td:nth-child(1),
.printable.separate th:nth-child(3), .printable.separate td:nth-child(3),
.printable.combined th:nth-child(3), .printable.combined td:nth-child(3) {
    width: 20% !important;
}

.printable.separate th:nth-child(2), .printable.separate td:nth-child(2),
.printable.combined th:nth-child(2), .printable.combined td:nth-child(2) {
    width: 40% !important;
}

/* Decrease the overall table width for printable separate and printable combined */
.printable.separate, .printable.combined {
    width: 80% !important; /* Use !important to override any conflicting rules */
    margin: 0 auto !important; /* Center the table */
}

/* General Body Styles */
body {
    background: white;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    margin: 0;
    font-family: 'Nunito', sans-serif;
    color: #283b91; /* Navy blue text */
    font-size: 14px;
    cursor: auto;
}


/* Adjust the z-index of other elements if necessary */
.top-navbar, .middle-navbar, .bottom-navbar, .container, footer {
    position: relative;
    z-index: 10; /* Ensures these elements are above the banner */
}

/* Navigation Bar and Footer Styles */
.top-navbar, .middle-navbar, .bottom-navbar {
    background-color: white;
    padding: 0.5em;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Adjust alignment */
    position: relative;
    z-index: 10;
}

.middle-navbar {
    background: #283b91;
    padding: 0.5em;
    display: flex;
    justify-content: center;
}

.middle-navbar h2 {
    margin: 0;
    font-size: 2.2em; /* Adjusted font size */
    text-align: center;
    flex: 1;
    color: white;
}

.bottom-navbar {
    background-color: white;
    padding: 0.5em;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: none;
}

footer {
    padding: 1.2em 0; /* Increased padding for bigger height */
    width: 100%;
    border-top: none;
    text-align: center;
    font-family: 'Nunito', sans-serif;
    color: white; /* White text */
    background-color: #283b91; /* Navy blue */
    font-size: 12px;
    font-weight: bold; /* Bold by default */
    position: relative; /* Ensure footer stays at the bottom */
    bottom: 0;
    left: 0;
    right: 0;
    margin-top: auto;
}

footer p {
    margin: 0.5em 0;
}

footer a {
    color: white; /* White text */
    text-decoration: none;
    margin: 0 5px;
    transition: color 0.3s;
}

footer a i {
    transition: color 0.3s; /* Ensure icon color changes on hover */
}

footer a:hover, footer a:hover i {
    color: #ec1f27; /* Red */
}

/* Navbar Content Styles */
.top-navbar .logo-container {
    display: flex;
    justify-content: flex-start;
}

.top-navbar img {
    margin-top: 3px;
    margin-left: 3px;
    max-height: 37px; /* Reduced logo size */
}

.middle-navbar a, .middle-navbar img {
    color: #283b91; /* Navy blue text */
    text-decoration: none;
    margin: 0 0.5em;
    font-size: 1em;
    transition: filter 0.3s, color 0.3s;
}
/* Set the width of the first column (Select) to be smaller */
.results-container table td:first-child,
.table-bordered td:first-child {
    width: 5%;  /* Make the select column smaller */
}

.results-container table th:first-child,
.table-bordered th:first-child {
    width: 5%;  /* Set width for the Select column header, no text alignment change */
}

/* Main Content Styles */
.container {
    width: 70%;
    margin: auto;
    padding: 2em 0;
    flex: 1;
    position: relative;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.5); /* Adjust background transparency */
    color: #283b91; /* Navy blue text */
    border-radius: 8px; /* Add border radius */
}

.results-container input[type="checkbox"], .results-container select {
    width: 17%;
    padding: 0.25em;
    margin-bottom: 0.5em;
    border: none;
    border-bottom: 2px solid #283b91 !important;
    font-size: 1em;
    outline: none;
    transition: border-bottom-color 0.3s ease-in-out;
    background: white;
    color: #ec1f27 !important; /* Red text */
}

.form-container input[type="text"] {
    width: 17%;
    padding: 0.25em;
    margin-bottom: 0.5em;
    border: none;
    border-bottom: 2px solid #283b91 !important; /* Navy blue border */
    font-size: 1em;
    outline: none;
    transition: border-bottom-color 0.3s ease-in-out, color 0.3s ease-in-out;
    background: white;
    color: #283b91 !important; /* Navy blue text */
}

.form-container input[type="text"]:hover, 
.form-container input[type="text"]:focus {
    border-bottom-color: #ec1f27 !important; /* Red border on hover or focus */
    color: #ec1f27 !important; /* Red text on hover or focus */
}

.form-container input[type="text"]::placeholder {
    color: rgba(40, 59, 145, 0.7);
}

input[type="number"] {
    width: 50%;
    padding: 0.25em;
    margin-bottom: 0.5em;
    border: 1px solid #283b91 !important; /* Navy blue border */
    font-size: 1em;
    outline: none;
    transition: border-color 0.3s ease-in-out, color 0.3s ease-in-out;
    background: white;
    color: #283b91 !important; /* Navy blue text */
}

input[type="number"]:hover, 
input[type="number"]:focus {
    border-color: #ec1f27 !important; /* Red border on hover or focus */
    color: #ec1f27 !important; /* Red text on hover or focus */
}

input[type="checkbox"] {
    accent-color: #ec1f27 !important; /* Red */
    border: 1px solid #283b91 !important; /* Navy blue */
}

input[type="checkbox"]:checked {
    accent-color: #ec1f27 !important; /* Red */
}

.results-container table {
    width: 70%;
    border-collapse: collapse;
    margin-bottom: 0.5em;
    border: 1px solid #283b91; /* Navy blue */
    background: white;
    color: #283b91; /* Navy blue text */
}

.results-container th, .results-container td {
    border: 1px solid #283b91; /* Navy blue */
    padding: 0.25em;
    text-align: left;
    background: white;
    color: #283b91; /* Navy blue text */
}

th {
    background-color: #283b91; /* Navy blue */
    color: white; /* White */
}

.table-bordered {
    border: 1px solid #283b91; /* Navy blue */
    width: 70%;
    border-collapse: collapse;
    margin: 20px auto;
    text-align: left;
    background-color: white; /* White background */
    color: #283b91; /* Navy blue text */
}

.table-bordered th, .table-bordered td {
    border: 1px solid #283b91; /* Navy blue */
    padding: 0.25em;
    text-align: left;
}

.table-bordered th {
    background-color: #283b91; /* Navy blue */
    color: white; /* White */
}


/* Define a class for tables with uniform spacing */
.uniform-spacing-table {
    width: 100%; /* Ensure the table takes the full width of its container */
    border-collapse: collapse; /* Ensure borders collapse into a single border */
    border-spacing: 10px; /* Uniform spacing between table cells */
    margin: 20px 0; /* Margin around the table for spacing */
    background-color: white; /* White background for the table */
    color: #283b91; /* Navy blue text */
}

/* Apply consistent padding to table cells */
.uniform-spacing-table th, .uniform-spacing-table td {
    padding: 10px; /* Uniform padding inside each cell */
    border: 1px solid #283b91; /* Navy blue border for table cells */
    text-align: left; /* Left-align text within cells */
}

/* Table header specific styles */
.uniform-spacing-table th {
    background-color: #283b91; /* Navy blue background for headers */
    color: white; /* White text for headers */
}


.suggestions {
    position: relative;
    display: inline-block;
    width: 100%; /* Ensure this div takes the full width of its container */
}

.suggestion-list {
    position: absolute;
    border: none;
    border-radius: 5px;
    background-color: #283b91; /* Navy blue */
    box-shadow: 0 0 11px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    max-height: 150px;
    overflow-y: auto;
    width: 40%; /* Make the suggestion box as wide as the .suggestions container */
    left: 0; /* Align it to the left edge of the .suggestions container */
    margin-top: 0px; /* Reduce spacing between the input field and suggestion box */
    padding: 0px; /* Reduce padding inside the suggestion box */
}

.suggestion-item {
    padding: 5px; /* Moderate padding for better readability */
    cursor: pointer;
    color: white;
    margin-bottom: 0px; /* Reduce spacing between suggestion items */
    border-radius: 0px; /* Reduce border radius for better visual appearance */
}

.suggestion-item:hover {
    background-color: #ec1f27; /* Red */
}

/* Container for Centering Buttons */
.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px; /* Adjust gap as needed */
}

button, .styled-button {
    padding: 1px 3px; /* Further reduced padding to decrease height and width */
    border-radius: 7px;
    border: 0;
    background-color: #283b91; /* Navy blue */
    letter-spacing: 1px;
    font-size: 9px;
    transition: all 0.3s ease;
    box-shadow: rgba(40, 59, 145, 0.7) 0px 5px 0px 0px;
    color: white; /* White text */
    cursor: pointer;
    max-width: 100px; /* Further reduced max-width */
    text-align: center;
    margin-top: 2px !important; /* Added top margin */
    margin-left: 3px; /* Reduced left margin for spacing */
    margin-right: 3px; /* Reduced right margin for spacing */
}

button:hover, .styled-button:hover {
    background-color: #ec1f27; /* Red */
}

button:active, .styled-button:active {
    background-color: #283b91; /* Navy blue */
    box-shadow: rgba(40, 59, 145, 0.7) 0px 0px 0px 0px;
    transform: translateY(5px);
    transition: 200ms;
}



/* Container for Centering Buttons */
.modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0, 0, 0, 0.8); /* Updated background color */
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: rgba(0, 0, 0, 0.8); /* Matching tutorial-step background */
    margin: auto;
    padding: 10px;
    width: 70%;
    max-width: 400px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    animation-name: animatetop;
    animation-duration: 0.4s;
    font-size: 14px;
    line-height: 1.1;
    color: #cccccc;
    text-align: left; /* Align text to the left */
}

.modal-content h2 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #cccccc !important;
}

.modal-content p, .modal-content ol, .modal-content ol li {
    font-size: 14px;
    margin-bottom: 10px;
    color: #cccccc;
}

.close {
    color: #cccccc;
    float: right;
    font-size: 20px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #ec1f27; /* Red */
    text-decoration: none;
    cursor: pointer;
}

.modal-content .styled-button {
    display: block;
    margin: 0 auto;
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0;
    }
    to {
        top: 0;
        opacity: 1;
    }
}

/* Tutorial Step Styles */
.tutorial-step {
    position: fixed;
    background: rgba(0, 0, 0, 0.8);
    color: #cccccc;
    padding: 1em;
    border-radius: 10px;
    display: none;
    z-index: 2000;
    font-size: 14px;
    top: 100px;
    left: 50%;
    transform: translate(-50%, 0);
    text-align: center;
    width: 60%;
    max-width: 300px;
    box-sizing: border-box;
}

.tutorial-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
}

.tutorial-step .next-btn,
.tutorial-step .skip-btn {
    background: #283b91; /* Navy blue */
    border: none;
    padding: 3px 7px;
    color: #cccccc; /* Light gray text */
    cursor: pointer;
    border-radius: 7px;
    margin: 0.25em;
    font-size: 9px;
    transition: all 0.3s ease;
}

.tutorial-step .next-btn:hover,
.tutorial-step .skip-btn:hover {
    background: #ec1f27; /* Red */
}

/* Hide the contact info by default */
.contact-info {
    display: none;
}


/* Hide the logo and contact info by default */
.print-only {
    display: none;
}


/* Print Media Styles*/
@media print {
    th, td {
        font-size: 14px !important;
    }
    
    h3, h4 {
    font-size: 14px !important;
    font-weight: bold !important;
    }

    /* Force portrait mode */
    @page {
        size: portrait;
        margin-top: 80px !important; /* Top margin for all pages except the first */
    }
    
    /* First page-specific margin */
    @page:first {
        margin-top: 50px !important; /* No top margin for the first page */
    }

    /* Remove all space caused by the navbars and the logo */
    .top-navbar, 
    .middle-navbar, 
    .bottom-navbar {
        height: 0 !important; /* Remove height */
        margin: 0 !important;  /* Remove margin */
        padding: 0 !important; /* Remove padding */
        display: none !important; /* Hide these elements entirely */
    }

    .top-navbar img {
        height: 0 !important; /* Remove height for the logo */
        margin: 0 !important;  /* Remove margin */
        padding: 0 !important; /* Remove padding */
        display: none !important; /* Hide the image */
    }

    body {
        font-size: 1em;
    }

    body * {
        visibility: hidden;
    }

    .printable.combined, .printable.combined * {
        visibility: visible;
        color: black !important; /* Black */
    }

    .printable.separate, .printable.separate * {
        visibility: visible;
        color: black !important; /* Black */
    }

    .buttons {
        visibility: hidden;
    }

    .printable.combined {
        position: absolute;
        left: 0;
        top: 0;
        width: 95%;
        padding: 1em;
        transform: none;
    }

    .printable.combined h2 {
        color: black !important; /* Black */
        font-size: 16px !important;
    }

    .printable.separate {
        position: relative;
        width: 95%;
        padding: 1em;
        transform: none;
        margin: 0;
        padding-top: 0;
    }

    .printable.separate h2 {
        color: black !important; /* Black */
        font-size: 16px !important;
        text-align: left;
        page-break-after: avoid;
    }

    .results-container table,
    .table-bordered,
    .printable.separate table,
    .printable.combined table {
        width: 100% !important;
        font-size: 1em !important;
        border-collapse: collapse;
        margin: 0;
        page-break-inside: avoid;
    }

    .results-container th,
    .printable.separate th,
    .printable.combined th {
        background-color: white !important;
    }

    .results-container td,
    .table-bordered th,
    .table-bordered td,
    .printable.separate th,
    .printable.separate td,
    .printable.combined th,
    .printable.combined td {
        padding: 0.25em !important;
        border: 2px solid black !important; /* Black */
        text-align: left;
        page-break-inside: avoid;
    }

    .results-container th,
    .table-bordered th,
    .printable.separate th,
    .printable.combined th {
        background-color: white !important; /* White */
        color: black !important; /* Black */
        page-break-after: avoid;
    }

    .results-container th:nth-child(1), .results-container td:nth-child(1),
    .table-bordered th:nth-child(1), .table-bordered td:nth-child(1),
    .printable.separate th:nth-child(1), .printable.separate td:nth-child(1),
    .printable.combined th:nth-child(1), .printable.combined td:nth-child(1) {
        width: 20% !important;
    }

    .results-container th:nth-child(2), .results-container td:nth-child(2),
    .table-bordered th:nth-child(2), .table-bordered td:nth-child(2),
    .printable.separate th:nth-child(2), .printable.separate td:nth-child(2),
    .printable.combined th:nth-child(2), .printable.combined td:nth-child(2) {
        width: 40% !important;
    }

    .results-container th:nth-child(3), .results-container td:nth-child(3),
    .table-bordered th:nth-child(3), .table-bordered td:nth-child(3),
    .printable.separate th:nth-child(3), .printable.separate td:nth-child(3),
    .printable.combined th:nth-child(3), .printable.combined td:nth-child(3) {
        width: 20% !important;
    }

    .printable.separate + .printable.separate {
        page-break-before: always;
    }
    
    /* Make sure .logoforprint-container is visible in print */
    .logoforprint-container {
        display: block !important; /* Ensure it is shown in print */
        visibility: visible !important; /* Ensure visibility is set */
    }

    .logoforprint-container img {
        max-height: 50px !important; /* Adjust logo size for print */
        width: auto !important; /* Maintain aspect ratio */
    }

    /* Ensure the contact info text is visible */
    .logoforprint-container {
        display: block !important; /* Ensure it's visible */
        color: black !important; /* Set text color to black for print */
        margin-top: none !important; 
        margin-bottom: none !important; 
    }
    
    .contact-info {
        display: block !important; /* Ensure it's visible */
        color: black !important; /* Set text color to black for print */
        font-size: 10px !important; /* Adjust font size */
        color: black !important; /* Set text color to black for print */
        margin-top: none !important; 
        margin-bottom: none !important; 
    }

    /* Override any global visibility settings that might hide elements */
    body * {
        visibility: hidden; /* Hide everything by default */
    }

    .printable.separate, .printable.combined, .logoforprint-container, 
    .logoforprint-container *, .printable.separate *, .printable.combined * {
        visibility: visible !important; /* Ensure visibility for printable elements */
        color: black !important; /* Ensure proper text color in print */
    }


    /* Hide the navbar/header for printing */
    .top-navbar,
    .middle-navbar,
    .bottom-navbar {
        display: none !important;
    }

    .styled-button.print-hide {
        display: none !important;
    }

}


/* Responsive Styles */
@media (max-width: 1024px) {
    .container {
        width: 85% !important;
    }
    
    .printable.separate, .printable.combined {
        width: 100% !important;
    }
    
    .form-container input[type="text"], .results-container select {
        width: 40% !important;
    }
    
    .results-container input[type="checkbox"] {
        width: 80% !important;
    }
    
    .custom-table, .results-container table {
        width: 100% !important; /* Force the width of both results-container and custom-table */
        table-layout: fixed !important;
    }

    .results-container {
        width: 100% !important; /* Ensure the width of the results-container is maximized */
    }

    .table-bordered {
        width: 100% !important; /* Increased width for better layout on smaller screens */
        table-layout: fixed !important;
    }

    .custom-table th, .custom-table td,
    .results-container th, .results-container td,
    .table-bordered th, .table-bordered td {
        padding: 0.5em !important;
        word-wrap: break-word !important;
    }

    .custom-table th:nth-child(1), .custom-table td:nth-child(1),
    .results-container th:nth-child(1), .results-container td:nth-child(1),
    .table-bordered th:nth-child(1), .table-bordered td:nth-child(1) {
        width: 10% !important;
    }

    .custom-table th:nth-child(3), .custom-table td:nth-child(3) {
        width: 50% !important; /* Keep description the largest only in custom-table */
    }

    .results-container th:nth-child(2), .results-container td:nth-child(2),
    .table-bordered th:nth-child(2), .table-bordered td:nth-child(2) {
        width: 40% !important; /* Increased width for better layout in results-container and table-bordered */
    }

    .custom-table th:nth-child(2), .custom-table td:nth-child(2),
    .results-container th:nth-child(3), .results-container td:nth-child(3),
    .table-bordered th:nth-child(3), .table-bordered td:nth-child(3) {
        width: 20% !important;
    }

    .custom-table th:nth-child(4), .custom-table td:nth-child(4),
    .results-container th:nth-child(4), .results-container td:nth-child(4),
    .table-bordered th:nth-child(4), .table-bordered td:nth-child(4) {
        width: 20% !important;
    }

    /* Ensure quantity input is smaller */
    .custom-table input[type="number"],
    .results-container input[type="number"] {
        width: 60px !important; /* Fixed small size */
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }

    button, .styled-button {
        font-size: 10px !important;
        padding: 1px 5px !important; /* Further reduced padding to decrease height and width */
        max-width: 120px !important; /* Further reduced max-width */
    }

    .modal-content, .tutorial-step {
        width: 95% !important;
        max-width: 350px !important;
        padding: 10px !important;
        box-sizing: border-box !important;
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        margin: 0 !important;
        line-height: 0.9 !important;
    }

    .middle-navbar {
        padding: 1.7em !important; /* Increase padding for more spacing */
    }

    .middle-navbar h2 {
        font-size: 2.2em; /* Increase for prominent headings */
    }

    h3, h4 {
        font-size: 1.8em; /* Adjust for better visibility */
    }

    footer {
        font-weight: normal !important;
    }
    
    .footer-widget {
        padding: 10px !important;
    }
    
    .footer-widget-heading h3::before {
      bottom: -5px;
    }
    
    .footer-widget-heading h3 {
      margin-bottom: 10px;
    }

}

@media (max-width: 768px) {
    .container {
        width: 90% !important;
    }
    
    .printable.separate, .printable.combined {
        width: 100% !important;
    }
    
    .form-container input[type="text"], .results-container select {
        width: 40% !important;
    }
    
    .results-container input[type="checkbox"] {
        width: 80% !important;
    }
    
    .custom-table, .results-container table {
        width: 100% !important; /* Force the width of both results-container and custom-table */
        table-layout: fixed !important;
    }

    .results-container {
        width: 100% !important; /* Ensure the width of the results-container is maximized */
    }

    .table-bordered {
        width: 100% !important; /* Increased width for better layout on smaller screens */
        table-layout: fixed !important;
    }

    .custom-table th, .custom-table td,
    .results-container th, .results-container td,
    .table-bordered th, .table-bordered td {
        padding: 0.5em !important;
        word-wrap: break-word !important;
    }

    .custom-table th:nth-child(1), .custom-table td:nth-child(1),
    .results-container th:nth-child(1), .results-container td:nth-child(1),
    .table-bordered th:nth-child(1), .table-bordered td:nth-child(1) {
        width: 10% !important;
    }

    .custom-table th:nth-child(3), .custom-table td:nth-child(3) {
        width: 50% !important; /* Keep description the largest in custom-table */
    }

    .results-container th:nth-child(2), .results-container td:nth-child(2),
    .table-bordered th:nth-child(2), .table-bordered td:nth-child(2) {
        width: 40% !important; /* Increased width for results-container and table-bordered */
    }

    .custom-table th:nth-child(2), .custom-table td:nth-child(2),
    .results-container th:nth-child(3), .results-container td:nth-child(3),
    .table-bordered th:nth-child(3), .table-bordered td:nth-child(3) {
        width: 20% !important;
    }

    .custom-table th:nth-child(4), .custom-table td:nth-child(4),
    .results-container th:nth-child(4), .results-container td:nth-child(4),
    .table-bordered th:nth-child(4), .table-bordered td:nth-child(4) {
        width: 20% !important;
    }

    .custom-table input[type="number"],
    .results-container input[type="number"] {
        width: 60px !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }

    button, .styled-button {
        font-size: 10px !important;
        padding: 1px 5px !important; /* Further reduced padding to decrease height and width */
        max-width: 120px !important; /* Further reduced max-width */
    }

    .modal-content, .tutorial-step {
        width: 95% !important;
        max-width: 350px !important;
        padding: 10px !important;
        box-sizing: border-box !important;
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        margin: 0 !important;
        line-height: 0.9 !important;
    }
    
    .middle-navbar {
        padding: 1.5em !important; /* Slightly increase padding */
    }

    .middle-navbar h2 {
        font-size: 2em; /* Increase for better emphasis */
    }

    h3, h4 {
        font-size: 1.6em; /* Adjust for readability */
    }

    footer {
        font-weight: normal !important;
    }
    
    .footer-widget {
        padding: 10px !important;
    }
    
    .footer-widget-heading h3::before {
      bottom: -5px;
    }
    
    .footer-widget-heading h3 {
      margin-bottom: 10px;
    }
    
    .social-icons-overlay {
    display: none;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95% !important;
    }
    
    .printable.separate, .printable.combined {
        width: 100% !important;
    }

    .form-container input[type="text"], .results-container select {
        width: 50% !important;
    }
    
    .results-container input[type="checkbox"] {
        width: 80% !important;
    }
    
    .custom-table, .results-container table {
        width: 100% !important; /* Force the width of both results-container and custom-table */
        table-layout: fixed !important;
    }

    .results-container {
        width: 100% !important; /* Ensure the width of the results-container is maximized */
    }

    .table-bordered {
        width: 100% !important; /* Increased width for better layout on smaller screens */
        table-layout: fixed !important;
    }

    .custom-table th, .custom-table td,
    .results-container th, .results-container td,
    .table-bordered th, .table-bordered td {
        padding: 0.5em !important;
        word-wrap: break-word !important;
    }

    .custom-table th:nth-child(1), .custom-table td:nth-child(1),
    .results-container th:nth-child(1), .results-container td:nth-child(1),
    .table-bordered th:nth-child(1), .table-bordered td:nth-child(1) {
        width: 10% !important;
    }

    .custom-table th:nth-child(3), .custom-table td:nth-child(3) {
        width: 50% !important; /* Keep description the largest in custom-table */
    }

    .results-container th:nth-child(2), .results-container td:nth-child(2),
    .table-bordered th:nth-child(2), .table-bordered td:nth-child(2) {
        width: 40% !important; /* Increased width for results-container and table-bordered */
    }

    .custom-table th:nth-child(2), .custom-table td:nth-child(2),
    .results-container th:nth-child(3), .results-container td:nth-child(3),
    .table-bordered th:nth-child(3), .table-bordered td:nth-child(3) {
        width: 20% !important;
    }

    .custom-table th:nth-child(4), .custom-table td:nth-child(4),
    .results-container th:nth-child(4), .results-container td:nth-child(4),
    .table-bordered th:nth-child(4), .table-bordered td:nth-child(4) {
        width: 20% !important;
    }

    .custom-table input[type="number"],
    .results-container input[type="number"] {
        width: 60px !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }

    button, .styled-button {
        font-size: 10px !important;
        padding: 1px 5px !important; /* Further reduced padding to decrease height and width */
        max-width: 120px !important; /* Further reduced max-width */
    }

    .modal-content, .tutorial-step {
        width: 95% !important;
        max-width: 350px !important;
        padding: 10px !important;
        box-sizing: border-box !important;
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        margin: 0 !important;
        line-height: 0.9 !important;
    }

    .middle-navbar {
        padding: 1em !important;
    }
    
    .middle-navbar h2 {
        font-size: 1.7em;
    }
    
    h3, h4 {
        font-size: 1.4em;
    }
    
    footer {
        font-weight: normal !important;
    }
    
    .footer-widget {
        padding: 10px !important;
    }
    
    .footer-widget-heading h3::before {
      bottom: -5px;
    }
    
    .footer-widget-heading h3 {
      margin-bottom: 10px;
    }

    .social-icons-overlay {
    display: none;
    }

}

/* Selected SKUs Styles */
.selected-skus a {
    color: #283b91; /* Navy blue text */
    text-decoration: none;
}

.selected-skus a:hover {
    color: #ec1f27; /* Red */
    text-decoration: none;
}

input[type="radio"]:checked {
    accent-color: #ec1f27; 
}

/* Safari-specific styles */
@media not all and (min-resolution:.001dpcm) {
    .printable.combined .styled-button {
        z-index: 1000; /* Ensure the button is on top */
        position: relative; /* Ensure it's not covered by other elements */
    }
} /* Closing brace for the @media block */

/* Ensure proper visibility and interaction */
.printable.combined .styled-button {
    visibility: visible;
    display: block;
    z-index: 1000; /* Bring the button to the front */
    position: relative; /* Ensure it's not covered by other elements */
}

/* Check for overlapping elements */
.printable.combined {
    position: relative; /* Ensure combined view container is positioned correctly */
}

.printable.combined * {
    pointer-events: auto; /* Ensure all elements in combined view can be interacted with */
}
