@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-BlackItalic.ttf") format("truetype");
  font-weight: 900;
  font-style: italic;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-BoldItalic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-LightItalic.ttf") format("truetype");
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-MediumItalic.ttf") format("truetype");
  font-weight: 500;
  font-style: italic;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-ThinItalic.ttf") format("truetype");
  font-weight: 100;
  font-style: italic;
}
body {
  font-family: "Roboto", sans-serif;
}

h1,
h2,
h3 {
  font-family: "Roboto", sans-serif;
  font-weight: 700; /* Bold */
}

p {
  font-family: "Roboto", sans-serif;
  font-weight: 400; /* Regular */
}
.header.content {
  display: flex;
  align-items: center;
  height: 100%;
  width: 100%;
  position: relative;
  flex-wrap: wrap;
  justify-content: space-around;
}
.logo {
  order: 1;
}
.block-search {
  order: 2;
  text-align: center;
}
.minicart-items .item-qty, .cart.table-wrapper .col.qty .input-text,
.productaddtocart .numbers-only {
  width: 76px;
}
.minicart-wrapper {
  order: 3;
}
div#view-cart-link {
  display: flex;
  justify-content: center;
  padding: 20px;
}
.block-minicart .cart-total-weight-volume .weight-volume-message {
  flex-wrap: wrap;
  gap: 0;
  padding: 0 10px 8px;
}
.block-minicart .cart-total-weight-volume .weight-volume-message p {
  font-size: 12px;
  margin-bottom: 5px;
}
.block-minicart .cart-total-weight-volume .weight-volume-message p > strong {
  font-weight: 500;
}
.block-minicart .cart-total-weight-volume .weight-volume-message p:last-child {
  width: 100%;
  text-align: end;
}
a, .alink, .minicart-items .product-item-name a {
  color: #27a34f;
  text-decoration: none;
}
.cms-index-index .block-title, .cms-index-index .custom-sidebar .title, .cms-index-index .custom-sidebar h2, .cms-index-index .custom-sidebar .h2-divider{
  display: none;
}
.custom-sidebar .category-list a:hover {
    color: #27a34f !important;
    text-decoration: none !important;
}
.greet.welcome {
  text-transform: uppercase;
}
#store\.menu {
  background-color: #27a34f;
}
.nav-sections-item-content > .navigation {
  background-color: #27a34f;
  padding: 6px 0;
}
.nav-sections-item-content > .navigation .level0 > .level-top {
  color: #fff;
  text-transform: uppercase;
}
.panel.header .header.links {
  display: flex; /* Make the list a flex container */
  justify-content: flex-end; /* Align all items to the right initially */
  width: 100%; /* Ensure the list spans the full width of the container */
}

.panel.header .header.links .greet.welcome {
  order: -1; /* Move the Welcome Message to the beginning */
  margin-right: auto; /* Push the Welcome Message to the left */
}

.panel.header .header.links > li {
  margin-left: 10px; /* Optional: Add spacing between items */
}
.block-search #search_mini_form .nested {
  display: none !important;
}
.logo {
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
}
.logo:hover {
  text-decoration: none;
}
.logo-divider {
  width: 3px;
  background-color: #27a34f;
  height: 52px;
  margin: 0 15px;
}
.custom-logo-text {
  font-size: 16px;
  line-height: 20px;
  text-transform: uppercase;
  color: #101010;
  font-weight: 700;
  font-family: "Roboto";
}
.custom-logo-text p {
  margin: unset;
}
.block-search .action.search::before {
  content: none;
}
.block-search .action.search {
  display: inline-block; /* Make sure it's displayed inline */
  color: #fff; /* Text color */
  font-size: 14px; /* Adjust font size */
  border-radius: 3px; /* Rounded corners */
  text-align: center; /* Center the text */
  border: none; /* Remove border */
  background: #27a34f;
  width: 120px;
  height: 45px;
  border-radius: 22px;
  background-color: #27a34f;
  right: 0px;
  padding: 0px;
}
.block-search .control {
  padding: 0;
}
/* Style for the text inside the button */
.block-search .action.search span {
  display: inline-block; /* Ensure it's treated as an inline element */
  text-align: center; /* Align text to the center */
  font-weight: 600;
  vertical-align: middle; /* Vertically align the text */
  width: auto;
  height: auto;
  position: relative;
}
.block-search .action.search.disabled,
.block-search .action.search[disabled],
fieldset[disabled] .block-search .action.search {
  opacity: 0.8;
}
.block-search,
.block-search input {
  width: 520px;
}
.block-search input {
  height: 45px;
  border-radius: 22px;
  background-color: #eefaef;
}
.block-search input:focus {
  box-shadow: 0 0 3px 1px #27a34f;
}
.header-wishlist {
  display: inline-block;
}
.header-wishlist a:link,
.header-wishlist a:visited,
.header-wishlist a:hover {
    color: #666;
}
/* Remove the current icon */
.minicart-wrapper .action.showcart::before,
.minicart-wrapper .action.showcart.active::before {
  content: none; /* Remove the icon */
}

/* Add your custom image from the tmp folder */
.minicart-wrapper .action.showcart {
  background-image: url("/media/tmp/design/cart-icon.png"); /* Use the relative path */
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  width: 30px; /* Adjust based on image size */
  height: 30px; /* Adjust based on image size */
  /* margin-bottom: 2em; */
  vertical-align: top;
}
.minicart-wrapper .action.showwishlist,
.category-wishlist-btn {
  background-image: url("/media/tmp/design/wish-icon.png"); /* Path to your wishlist icon */
  background-repeat: no-repeat;
  background-position: center 0;
  display: inline-block;
  width: 56px; /* Adjust width */
  height: 40px; /* Adjust height */
  margin-right: 4px; /* Space between wishlist and minicart */
  overflow: hidden;
  vertical-align: middle;
  text-align: center;
}
.minicart-wrapper .action.showwishlist span {
    display: block;
    margin-top: 26px;
    font-size: 11px;
    text-decoration: none;
}
.minicart-wrapper {
  margin-left: 5em;
}
.category-wishlist-btn span {
    display: block;
    margin-top: 26px;
    text-decoration: none;
    color: #666;
    font-size: 11px;
    text-transform: capitalize;
}
.cart-pallet-percentage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  background: #f5f5f5;
}
.cart-total-weight-volume {
  display: flex;
  background: #f5f5f5;
  flex-direction: column;
  text-align: center;
}
.weight-volume-message {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 20px;
  padding: 0 10px;
}
.minicart-wrapper .pallet-image {
  display: none;
}
.pallet-percentage-message span.red-color {
  color: #d9534f; font-weight: bold;
}
.pallet-percentage-message span.green-color {
  color: #28a745; font-weight: bold;
}
.page-layout-2columns-left .sidebar-main .block.filter,
.page-main > .page-title-wrapper .page-title {
  display: none;
}
.cms-index-index .widget-product-grid .product-item-inner,
.cms-index-index .widget-product-grid .minimal-price-link {
  display: none !important;
}
.sidebar-main {
  padding-right: unset;
}
.custom-sidebar h2 {
  font-size: 26px;
  color: #101010;
  font-weight: 900;
  font-family: "Roboto";
  text-align: left;
  text-transform: uppercase;
  margin: 0.5rem 0;
}
.widget-product-grid .product-item-details {
  display: grid;
  align-content: center;
  align-items: center;
  text-align: center;
  height: 118px;
  padding: 5px;
  background-color: #eefaef;
}
.widget-product-grid .product-item-link {
  line-height: 20px;
  text-transform: uppercase;
  color: #242424;
  font-weight: 700;
  font-family: "Roboto";
}
.widget-product-grid .product-item-name > a,
.product.name a > a {
  color: #242424;
  text-decoration: none;
}
.widget-product-grid .product-item .price-box {
  margin: unset;
}
.widget-product-grid .product-item .price-box .price {
  color: #27a34f;
}
/* Styles for Grid and List View */
.view-toggle button {
  padding: 0;
  cursor: pointer;
  border: 0;
  background: #f2f2f2;
}

.view-toggle button.active {
  background: #fff;
}

/* Grid View Styles */
.block.widget.block-products-list .products-grid .product-items {
  display: flex;
  flex-wrap: wrap;
}

/* List View (Table) Styles */

.block.widget.block-products-list .product-table {
  width: 100%;
  border-collapse: collapse;
}

.block.widget.block-products-list #product-list-container .product-image-container {
  display: inherit;
}
/* Wrapper for View Toggle and Item Counter */
.view-toggle-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}
.view-toggle-wrapper .product-count {
  padding: 10px;
  font-size: 12px;
}
.custom-sidebar .title {
  border-bottom: 2px solid #27a34f;
}
.custom-sidebar .title p {
  width: fit-content;
  height: 52px;
  background-color: #27a34f;
  font-size: 22px;
  line-height: 20px;
  text-transform: uppercase;
  color: #ffffff;
  font-weight: 700;
  font-family: "Roboto";
  display: grid;
  align-content: center;
  text-align: center;
  padding-bottom: 0px;
  margin-bottom: 0px;
  padding: 0 20px;
}
.custom-sidebar .category-list {
  padding-left: 0px;
  list-style-type: none;
}
._keyfocus *:focus, input:not([disabled]):focus, textarea:not([disabled]):focus, select:not([disabled]):focus {
    box-shadow: 0 0 3px 1px #27a34f;
}
.h2-divider {
  width: auto;
  background-color: #27a34f;
  height: 2px;
  margin-bottom: 2em;
}
.category-link {
  font-size: 13px;
  line-height: 24px;
  color: #666666;
  font-weight: 400;
  font-family: "Roboto";
}
.custom-block-title {
  margin-bottom: 15px;
}
.block.widget.block-products-list.grid .block-title, .custom-block-title {
  border-bottom: 2px solid #27a34f;
}
.block.widget.block-products-list.grid .block-title strong, .custom-block-title  strong {
  width: fit-content;
  height: 52px;
  background-color: #27a34f;
  font-size: 22px;
  line-height: 20px;
  text-transform: uppercase;
  color: #ffffff;
  font-weight: 700;
  font-family: "Roboto";
  display: grid;
  align-content: center;
  text-align: center;
  padding-bottom: 0px;
  margin: 0px;
  padding: 0px 20px;
}
.block.widget .products-grid .product-item:nth-child(2n + 1) {
  margin-left: calc((100% - 4 * 24.439%) / 3);
}
.block-search .action.search:hover {
  background: #4caf50;
}
.page-products .products-grid .product-item .product-item-info {
  width: 100%;
}
.page-products .products-grid .product-item, .block.widget .products-grid .product-item {
  text-align: center;
}
.product.details.product-item-details {
  padding: 10px 5px;
  background-color: #eefaef;
}
.page-products .products-grid .product-item-details .qty-input-block {
  display: flex;
  margin: 10px;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.page-products .products-grid .product-item-details .qty-input-block input[type="number"] {
  max-width: 52px;
}
.page-products .products-grid .calculated-price {
  color: #27a34f;
}
.page-products .products-grid .add-to-cart-grid button {
  background-color: #27a34f;
  color: white;
}
.page-products .products-grid .product-item-description {
  margin: 0;
  text-transform: uppercase;
  color: #242424;
  font-weight: 700;
  font-family: "Roboto";
}
table.product-table {
  width: 100%; /* Ensure the table takes up the full width of the container */
}

table.product-table th,
table.product-table td {
  padding: 6px; /* Add padding for spacing within cells */
  text-align: center; /* Horizontally center the content */
  vertical-align: middle; /* Vertically center the content */
  border: 1px solid #ddd !important; /* Optional: Add borders for clarity */
}

table.product-table th {
  background-color: #27a34f;
  font-size: 14px;
  line-height: 20px;
  text-transform: uppercase;
  color: #ffffff;
  font-weight: 700;
  font-family: "Roboto";
}

table.product-table td {
  background-color: #fff;
  font-size: 14px;
  line-height: 17px;
  text-transform: uppercase;
  color: #242424;
  font-weight: 700;
  font-family: "Roboto";
}

table.product-table td input.qty-input {
  text-align: center;
}

table.product-table td:nth-child(1) a{
  background-color: #27a34f;
  padding: 4px;
  margin: 5px;
  color: white;
  line-height: 28px;
}

/* Make sure each column (except Description) takes equal width */
table.product-table td:nth-child(1),
table.product-table td:nth-child(4),
table.product-table td:nth-child(5),
table.product-table td:nth-child(6),
table.product-table td:nth-child(7) {
  width: 10%; /* Adjust width to make all columns equally spaced */
}

table.product-table td:nth-child(1) {
    width: 8%;
}

table.product-table td:nth-child(2) {
    width: 8%;
}

table.product-table td:nth-child(7) {
    width: 7%;
}

table.product-table td:nth-child(8) {
  width: 10%;
}

table.product-table td:nth-child(9) {
    width: 14%;
}

/* Combine two boxes for the Description column */
table.product-table td:nth-child(3) {
  width: 23%; /* Make the Description column wider (combine the two boxes) */
  text-align: center; /* Left-align the content in the Description column */
}

/* Optional: Style for the image */
table.product-table td img {
  height: 42px;
}
table.product-table a {
  color: #27a34f;
}
table.product-table td p{
  font-weight: 700;
  margin-bottom: 4px;
}
table.product-table td button {
  background: #ffffff;
  border: 1px solid #27a34f;
  color: #27a34f;
}
table.product-table td button:hover {
  background: #27a34f;
  border: 1px solid #27a34f;
  color: #fff;
}
.catalog-category-view .column.main {
  overflow-x: auto;
}
table.product-table .pro-img:hover div.large-img {
  visibility: visible;
}
table.product-table td div.large-img {
  position: absolute;
  visibility: hidden;
  top: 0;
  left: 0;
  height: 100%;
}
table.product-table td div.large-img span {
  position: fixed;
}
table.product-table td div.large-img span img {
  width: 240px;
  height: 300px;
  border: 1px solid #27a34f;

}
.category-link input[type="checkbox"] {
position: unset;
}
p.cat-link {
  display: none;
}
.search.results p.cat-link {
  display: block;
}
.pager {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 0px 5px;
}
.pager .pages .item, .toolbar .pages .item {
  font-size: 1.4rem;
}
.pager .pages strong.page, .toolbar .pages strong.page {
  font-size: 1.6rem;
  text-decoration: underline;
}
.pager .pages a.page, .toolbar .pages a.page {
  color: #27a34f;
}
.pager .pages a.page:active, .toolbar .pages a.page:active {
  color: #333333;
}
.breadcrumbs {
    margin: 0 0 4px;
}
/* Footer css */
/* Footer container should be a flex container */
.footer.content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: none;
  padding: 20px 0;
  border: none;
}

/* Footer links block */
.footer-links {
  flex: 1;
  margin-bottom: 20px;
}

/* Footer newsletter form */
.footer-newsletter {
  padding-right: 40px;
  flex: 1;
  text-align: center;
  margin-top: 20px;
}

/* Copyright block */
.footer .copyright {
  text-align: center;
  width: 100%;
}

.footer-logo {
  padding-left: 40px;
}
.footer-address-row {
  width: 100%;
}
.footer-address-content {
  background-color: #eefaef;
  display: flex;
  justify-content: center;
  padding: 20px 0;
  flex-wrap: wrap;
}
/* ==Custom footer links=== */
.custom-footer-content {
  width: 100%;
  border-top: 1px solid #d1d1d1;
}
/* Footer container */
.footer-container {
  color: black;
  padding: 0 40px 20px;
}

/* Footer columns */
.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}

/* Footer column styles */
.footer-column {
  padding: 15px;
}

.footer-column h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.footer-column ul {
  list-style-type: none;
  padding: 0;
}

.footer-column ul li {
  margin: 5px 0;
}

.footer-column ul li a {
  color: black;
  text-decoration: none;
}

.footer-column form {
  display: flex;
  flex-direction: column;
}

.footer-column form input[type="email"] {
  padding: 10px;
  margin-bottom: 10px;
  border: none;
  border-radius: 4px;
}

.footer-column form button {
  padding: 10px;
  background-color: #444;
  border: none;
  color: white;
  border-radius: 4px;
  cursor: pointer;
}

/* On hover, button background changes */
.footer-column form button:hover {
  background-color: #666;
}

.footer-address-section {
  width: 100%;
}

.footer-address {
  display: flex;
  align-items: center;
  width: 370px;
  justify-content: center;
}
.footer-address .address-phone,
.footer-address .address-location {
  width: 180px;
}
.footer-address-content p {
  font-weight: 600;
}
.address-text p {
  display: flex;
  color: #27a34f;
  align-items: center;
  padding: 0 10px;
  text-transform: uppercase;
  width: 140px;
}
.address-location p {
  text-transform: uppercase;
}
.address-text p > img {
  padding: 10px;
}
.block.newsletter input {
  border: none;
  border-radius: 22px;
  background-color: #eefaef;
  height: 40px;
}
.action.primary, .action-primary, .action.primary:focus, .action-primary:focus, .action.primary:active, .action-primary:active {
  background: #27a34f;
  border: 1px solid #27a34f;
}
.action.primary:hover, .action-primary:hover {
  background: #4caf50;
}
button.action.subscribe.primary {
  background: #27a34f;
  border-radius: 22px !important;
  height: 40px;
}
.block.newsletter .field.newsletter {
  max-width: 100%;
}
.block.newsletter {
  width: 50%;
  padding-right: 40px;
  margin-bottom: 0;
}
.block.newsletter .action.subscribe {
  margin-left: -40px;
  padding: 10px 25px;
}
.footer-copyright-row {
  width: 100%;
}
.footer-copyright-row p {
  padding: 5px;
}

.footer-top-row {
  width: 100%;
}
.footer-top-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  gap: 20px;
  background-image: url("/media/wysiwyg/top-footer-bg.png");
  background-size: cover;
  background-position: center;
  height: 320px;
  margin-bottom: 25px;
}

.top-column {
  flex: 1 1 calc(33.333% - 20px);
  max-width: calc(20% - 20px);
  text-align: center;
  padding: 20px;
  border-radius: 8px;
}

.top-column img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.top-column h4 {
  color: #27a34f;
  margin-top: 15px;
  font-size: 1.5rem;
}

.top-column p {
  margin-top: 10px;
  color: #fff;
}

.product-details td.product-minimum-qty {
    text-align: center;
    font-size: 12px;
}

.product-info-main .product-addto-links {
    margin: 8px 0;
}

.toolbar-products {
    margin-bottom: 0;
}
.products {
    margin: 10px 0 0 0;
}
/* Shrink grid begin */
.cms-index-index .product.details.product-item-details {
    padding: 8px 5px;
}
.product-item {
    font-size: 1.2rem;
}
.products.list .qty-input {
    font-size: 13px;
    height: 21px;
    width: 70px;
    text-align: center;
    padding: 0px 8px;
}
.cms-index-index .products-grid .product-item-details .qty-input-block {
    margin: 8px 10px;
}
.products.list  .price-display {
    font-weight: 700;
}
.feature-products-cat-link {
    margin: 0 !important;
}
.cms-index-index .products-grid .product-item-details .qty-input-block {
    margin: 8px 10px;
}
.cms-index-index .products-grid .add-to-cart-grid button {
    font-size: 1.2rem;
    padding: 4px 15px;
}
/* Shrink grid end */
/* Shrink header start */
.toolbar-amount {
    margin: 0;
    padding: 0;
}
.toolbar-products select {
    height: 24px;
    padding: 0px 10px 0px;
}
.opc-block-summary .minicart-items-wrapper{
  max-height: 360px;
  overflow-y: scroll;
}
.minicart-wrapper .minicart-items-wrapper{
  max-height: 360px;
}
.minicart-items .product-item-details .price-container{
  display: inline-block;
}
.minicart-items .product-item-details .unit-of-measure{
  font-size: 1.4rem;
  font-weight: 700;
}
@media screen and (min-width: 768px) {
    .page-header .header.panel {
        padding-bottom: 6px;
        padding-top: 6px;
    }
    .header.panel>.header.links>li {
        font-size: 12px;
    }
    .header.content {
        padding: 6px 20px;
    }
}
@media (min-width: 769px) {
    .logo {
        margin: 0 auto 0 0;
    }
    .logo img {
        max-height: 36px;
        width: auto;
    }
    .navigation .level0>.level-top {
        line-height: 36px;
    }
    .modes-mode {
        padding: 0px 4px;
    }
    .nav-sections {
        margin-bottom: 12px;
    }
    .page-layout-2columns-left .sidebar-main {
      height: 100vh;
      overflow-y: scroll;
      width: 15.66666667%;
    }
    .page-layout-2columns-left .column.main {
        width: 84.333333%;
    }
    .page-layout-2columns-left .main{
      padding-left: 0.5%;
    }
}
@media (min-width: 769px) and (max-width: 991px) {
    .page-layout-2columns-left .sidebar-main {
        width: 23.66666667%;
        font-size: 13px;
    }
    .page-layout-2columns-left .column.main {
        width: 76.333333%;
    }
    .category-link {
        font-size: 13px;
    }
}
/* Shrink header end */
@media (min-width: 640px) {
    .products-grid .product-item {
        margin-bottom: 10px;
    }
}

.mt16 {
    margin-top: 16px;
}

.mb16 {
    margin-bottom: 16px;
}

.f12 {
    font-size: 12px;
}

.minicart-wrapper .action.showcart {
    position: relative;
}
.minicart-wrapper .action.showcart .counter.qty {
    position: absolute;
    top: -10px;
    right: -15px;
    font-size: 1.4rem;
    line-height: normal;
    height: auto;
    width: auto;
    min-width: 16px;
    min-height: 18px;
}
.page-products .toolbar .limiter {
  display: block;
  float: right;
  padding: 4px 15px;
}
.limiter-text {
  display: none;
}
.toolbar-products .pages {
    display: inline-block;
    float: left;
}
.top-pager .field.limiter, .cms-index-index .top-pager .field.limiter{
    display: none;
}
.products.wrapper.list.products-list {
    overflow-x: auto;
}
@media (max-width: 768px) {
    .toolbar-products .pages {
        margin: 16px 0;
        float: unset;
    }
}
.message-modal-content.modal-popup .modal-header {
    margin-top: 1.3rem;
    padding-top: 0;
}
.message-modal-content.modal-popup .modal-header,
.message-modal-content.modal-popup .modal-content,
.message-modal-content .modal-footer {
    padding-left: 1rem;
    padding-right: 1rem;
}
.message-modal-content.modal-popup .modal-content {
    padding-bottom: 0;
}
.message-modal-content .modal-footer {
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.message-modal-content.modal-slide .action-close {
    padding: 0.5rem 1rem;
}
@media (min-width: 1024px) {
    .message-modal-content.modal-popup .modal-title {
        padding-bottom: 0;
    }
}
.feature-products-cat-link {
    margin: 0 !important;
}
.feature-products-cat-link a:link,
.feature-products-cat-link a:hover,
.feature-products-cat-link a:visited {
    color: #27a34f;
    font-weight: bold;
}
.cms-index-index .products.list.items.product-items,  .page-products .products.list.items.product-items{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cms-index-index .item.product.product-item,  .page-products .item.product.product-item{
  display: flex;
  flex-direction: column;
  align-items: stretch;
  /* flex: 1 1 calc(12% - 10px); */
  /* flex: 1 1 calc(25% - 10px); /* Adjust width as per your layout */
  /* min-width: 250px; Set a minimum width if needed */
}

.cms-index-index .product-item-info {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: auto;
}

.cms-index-index .product.details.product-item-details {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Ensures contents are spread evenly */
  padding: 10px 5px;
  background-color: #eefaef;
}
.cms-index-index .products-grid .product-item-details .qty-input-block{
  display: flex;
  margin: 6px 10px;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.cms-index-index .products-grid .product-item-details .qty-input-block input[type="number"] {
  max-width: 52px;
}
.cms-index-index .products-grid .calculated-price{
  color: #27a34f;
}
.cms-index-index .products-grid .add-to-cart-grid button{
  background-color: #27a34f;
  color: white;
}
.cms-index-index .products-grid .product-item-description{
  margin: 0;
  text-transform: uppercase;
  color: #242424;
  font-weight: 700;
  font-family: "Roboto";
}
.cms-index-index .field.limiter {
  display: block;
  float: right;
  padding: 4px 15px;
}
.cms-index-index .products-grid .product-item, .block.widget .products-grid .product-item{
  text-align: center;
}
.cms-index-index .product-item {
  /* margin-left: calc((100% - 4 * 24.439%) / 3); */
  margin-left: 0.2em;
}
.cms-index-index .modes-mode.active {
  color: #a6a6a6;
  cursor: pointer;
}
.cms-index-index .modes-mode:hover {
  color: #7d7d7d;
  background: #dedede;
}
.opc-block-summary .minicart-items-wrapper {
    overflow-x: hidden;
    /* max-height: none; */
}
.btn-defaul-middle,
.btn-defaul-middle:focus,
.btn-defaul-middle:active,
.btn-defaul-middle:hover {
    background: #27a34f;
    border: 1px solid #27a34f;
    color: #fff;
    text-transform: uppercase;
    border-radius: 0;
}
.visible-mobile {
    display: none;
}
@media (min-width: 1024px), print {
 .cms-index-index .products-grid .product-item, .page-products .products-grid .product-item{
    width: calc((100% - 20%) / 7);
    margin-left: 2%;
  }
}
@media (max-width: 639px), print {
  .block.widget .products-grid .product-item {
    margin-left: calc((100% - 4* 24.439%) / 3);
  }
  .custom-sidebar h2, .custom-sidebar .title p {
    font-size: 16px;
  }
  .category-link {
    font-size: 13px;
    line-height: 20px;
  }
}

@media (min-width: 1024px), print {
  .block.widget .products-grid .product-item {
    width: 13%;
  }
  table.product-table {
    border-collapse: separate;
    border-spacing: 5px;
  }
  /* .page-products .products-grid .product-item {
    width: calc((100% - 12%) / 5);
  } */
  .page-products .products-grid .product-item:nth-child(5n + 1) {
    margin-left: 2%;
  }
  .page-products .products-grid .product-item:nth-child(4n + 1) {
    margin-left: 2%;
  }
}

@media screen and (min-width: 640px) and (max-width: 1023px) {
  .block.widget .products-grid .product-item:nth-child(3n + 1) {
      margin-left: 0;
  }
  .block.widget .products-grid .product-item {
      margin-left: calc((100% - 4* 24.439%) / 3);
      width: 32.8%;
  }
  .custom-sidebar h2, .custom-sidebar .title p {
    font-size: 16px;
  }
  table.product-table th {
    font-size: 12px;
  }
  .category-link {
    font-size: 13px;
    line-height: 24px;
  }

  .products-grid .product-item {
        width: 30.333333%;
  }

  .products.list.items.product-items {
    gap: 20px !important;
}
}

@media (min-width: 769px), print {
  .nav-sections-item-content > .navigation .level0 > .level-top {
    padding-right: 2.3em;
  }
  .navigation .level0.parent > .level-top > .ui-menu-icon::after {
    font-size: 38px;
    line-height: 28px;
  }
  .navigation, .breadcrumbs, .page-header .header.panel, .header.content, .footer.content, .page-wrapper > .widget, .page-wrapper > .page-bottom, .block.category.event, .top-container, .page-main {
    max-width: none;
  }
  .custom-sidebar-filter-btn {
      display: none;
  }
}

@media screen and (min-width: 481px) and (max-width: 768px) {
    .footer-logo {
      max-width: 30%;
    }
    .header .logo {
      max-width: 20%;
    }

    .cms-index-index .products.list.items.product-items .product-item {
       width: 30%;
    }

    .page-layout-2columns-left .sidebar-main {
        width: 17.66666667%;
        float: left;
        -ms-flex-order: 1;
        -webkit-order: 1;
        order: 1;
    }

  .custom-sidebar .category-list {
    padding-left: 0px ;
    list-style-type: none ;
  }

  .page-layout-2columns-left .column.main {
    width: 82.33333333%;
    float: right;
    -ms-flex-order: 2;
    -webkit-order: 2;
    order: 2;
  }


  .field.limiter {
    float: none !important;
    padding-right: 54px !important;
  }

  .products {
    margin: 30px 0 ;
  }

  .cms-index-index .products.list.items.product-items {
    display: flex ;
    flex-wrap: wrap ;
    gap: 26px ;
  }


  .cms-index-index .item.product.product-item {
    display: flex ;
    flex-direction: column ;
    align-items: stretch ;
  }

  .columns {
    display: block;
  }

  .modes {
    display: inline-block;
  }

  }

  @media screen and (min-width: 481px) and (max-width: 639px) {
    .logo-divider {
      height: 45px;
    }
  }

  @media screen and (min-width: 769px) and (max-width: 1030px) {
    .block-search, .block-search input {
        width: 312px;
    }
    .minicart-wrapper {
        margin-left: 1rem;
    }
  }


/* Responsive: Stack columns for mobile */
@media screen and (max-width: 768px) {
  .page-main-full-width {
    padding-left: 15px;
    padding-right: 15px;
  }
  .header.content {
    padding: 10px 0;
    justify-content: space-evenly;
  }
  .footer-columns {
    grid-template-columns: 1fr 1fr; /* 2 columns */
  }
  .top-column {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(25% - 20px);
  }
  .panel.header .header.links {
    display: none;
  }
  .block-search .action.search {
    display: none;
  }
  .header .logo {
    margin: 0;
    right: 50px;
  }
  .logo-divider {
    padding: 1px;
  }
  .block-search .control {
    border-top: none;
    margin: 0;
  }
  .block-search input {
    height: 32px;
    border-radius: 10px;
  }
  .block-search,
  .block-search input {
    width: 100%;
  }
  .minicart-wrapper {
    margin: 0;
    order: 2;
    right: 10px;
  }
  .block-search {
    order: 3;
  }
  .block-search .label {
    margin-top: -48px;
    padding: 0 10px;
  }
  .minicart-wrapper .action.showwishlist {
    width: 25px;
    height: 25px;
    margin: 2px 5px 0 5px;
    background-size: contain;
  }
  .page-products .toolbar .limiter {
    float: unset;
  }
  .pallet-percentage-message {
    padding: 5px;
  }
  .minicart-wrapper .action.showcart .counter.qty {
    left: 0;
    right: auto;
  }
  .custom-sidebar {
      display: none;
  }
  .custom-sidebar .category-list {
      height: 190px;
      overflow: auto;
      margin: 8px 0 8px 0;
      border: 1px solid #27a34f;
      padding: 8px;
  }
  .visible-mobile {
      display: block;
  }
}

/* Responsive: Stack columns for very small screens */
@media screen and (max-width: 480px) {
  .footer-address-content {
    flex-direction: column;
    align-items: center;
  }
  .block.newsletter {
    padding: 20px 25px;
    width: 100%;
    margin: 0;
  }
  .footer-container {
    padding: 0 20px 20px;
  }
  .top-column {
    flex: 1 1 100%;
    max-width: 80%;
  }
  .footer-top-container {
    height: auto;
  }
  .footer.content {
    justify-content: center;
  }
  .footer-logo {
    padding-left: 0;
    text-align: center;
  }
  .footer-logo img {
    max-width: 70%;
  }
  .logo-divider {
    width: 1px;
    height: 40px;
    margin: 0 7px;
    padding: 1px;
  }
  .header .logo {
    max-width: 30%;
    right: 30px;
  }
  .custom-logo-text {
    font-size: 12px;
  }
  .minicart-wrapper .action.showcart {
    width: 25px;
    height: 25px;
  }

  .modes {
    display: inline-block;
  }

  .cms-index-index .products.list.items.product-items {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
  }

  .cms-index-index .products.list.items.product-items .product-item {
       width: 48%;  /* 2 per row for extra small screens */
    }

  .field.limiter {
    float: none !important;
    padding-right: 54px !important;
  }

  .columns {
    display: flex !important;
    flex-direction: column; /* Stack items vertically */
  }

  .sidebar.sidebar-main {
    order: -1; /* Moves sidebar to the top */
  }

  .column.main {
    order: 0; /* Keeps the main column below */
  }

  .category-list li{
    width:max-content;
  }

}
