.addon-group-title {
  font-size: 16px;
  margin-bottom: 10px;
  margin-top: 10px;
}

.max-selection-info {
  font-size: 11px;
  margin-bottom: 15px;
  color: #666;
}

/* Container for the entire order page */

.ks-online-order-page-container {
  display: flex;
}

/* Category panel styling */

.ks-category-panel {
  width: 20%;
  padding: 10px;
}

.ks-category-list {
  list-style: none;
  padding: 0;
  margin-left: 0px;
}

.ks-category-item {
  padding: 3px;
  cursor: pointer;
  border-bottom: 1px solid #ddd;
  font-size: 15px;
}

.ks-category-item.active {
  background-color: #f0f0f0;
  font-weight: bold;
}

/* Product list styling */

.ks-online-order-page {
  width: calc(80% - 20px);
  display: flex;
  flex-direction: column;
}

.ks-product {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #25252520;
  padding: 15px;
  margin-bottom: 10px;
  background-color: #ffffff !important;
  border-radius: 5px;
  box-shadow: 0px 6px 5px -3px #25252510
}

.ks-product-image {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  margin-right: 15px;
}

.ks-product-image img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.ks-product-info {
  flex-grow: 1;
  margin-right: 15px;
}

.ks-product h2 {
  font-size: 18px;
  margin: 0;
  margin-bottom: 5px;
}

.ks-product p {
  margin: 0;
  color: #666;
}

.ks-add-to-cart {
  margin-left: auto;
  padding: 8px 15px;
  background-color: {{ACCENT_COLOR}};
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 4px 0px 0px 4px;
  font-size: 14px;
  transition: background-color 0.3s;
}

.ks-add-to-cart:hover {
  background-color: #005177;
}

/* Modal styling */

#ks-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;      /* vertically centered */
  justify-content: center;  /* horizontally centered */
  z-index: 9999999;
}


.ks-modal-content {
  background-color: white;
  padding: 20px;
  margin-left: 15px;
  margin-right: 15px;
  width: 400px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 100001;
  max-height: 60vh; /* Limit height to 80% of the viewport */
  overflow-y: auto; /* Enable vertical scrolling */
  box-sizing: border-box; /* Include padding in height calculation */
}

#ks-add-to-cart-form button[type="submit"] {
  color: white;
  margin-top: 5px;
  width: 100%;
}

#ks-modal-product-name {
 font-size: 18px;
}

.ks-modal-body {
  margin-bottom: 0px;
}

.ks-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 20px;
  height: 0px;
  padding: 11px 12px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  color: #ffffff;
  background-color: {{ACCENT_COLOR}};
  border-radius: 5px;
  border: none;
  transition: background-color 0.15s ease,
              transform 0.15s ease,
              box-shadow 0.15s ease;
}

.ks-modal-title {
  color: {{ACCENT_COLOR}};
  margin-bottom: 20px !important;
  border-bottom: 1px solid #25252510;
  padding-bottom: 20px;
  padding-right: 20%;
  line-height: 1.3 !important;
}

.ks-loading {
  opacity:.5;
  cursor:not-allowed;
} 

body.ks-modal-open {
  overflow: hidden !important;
  touch-action: none;
}


#ks-modal {
  overscroll-behavior: contain;
}

.ks-toast-offset {
  margin-bottom: 45vh !important;
}


/* Sticky Cart Bar styling */

.ks-sticky-cart-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: {{ACCENT_COLOR}};
  border-width: 2px 0px 0px 0px;
  border-style: solid;
  border-color: #d7d7d7;
  padding: 20px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10000;
  box-shadow: 0px 0px 50px 0px #25252535;
}

.ks-cart-info {
  display: flex;
  align-items: baseline;
}

#ks-cart-total {
  font-size: 24px;
  font-weight: bold;
  color: rgb(255, 255, 255);
  margin-right: 5px;
  cursor: pointer;
}

#ks-item-count {
  font-size: 13px;
  color: rgb(255, 255, 255);
  margin-left: 2px;
  cursor: pointer;
}

.ks-cart-icon {
  font-size:18px;
  margin-right: 10px;
}

.ks-view-cart-button {
 border-radius: 50px;
 padding-left: 30px;
 padding-right: 30px;
 padding-top: 7px;
 padding-bottom: 7px;
 color: {{ACCENT_COLOR}};
 background-color: #ffffff;
 font-family: montserrat;
 font-weight: bold;
 transition: box-shadow 0.2s ease;
}

.ks-cart-info span {
  font-weight: bold;
  color: rgb(255, 255, 255);
}

.ks-view-cart-button:hover {
 background-color: #ffffff;
 transform: scale(1.02);
 transition: 0.5s ease;
}

.ks-view-cart-button:active {
 box-shadow: inset 0px 5px 0px 5px black;
 transform: scale(0.95);
}

#ks-custom-checkout-fields {
  border: 1px solid #ddd;
  padding: 15px;
  background-color: #f9f9f9;
  margin-bottom: 20px;
}

#ks-custom-checkout-fields label {
  font-weight: bold;
  margin-bottom: 5px;
  display: block;
}

#ks-custom-checkout-fields select {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  margin-top: 10px;
}

.woocommerce form .form-row {
  margin-bottom: 0 !important;
}

.woocommerce-error {
  background-color: #fff !important;
  box-shadow: 0px 2px 5px 0px #25252510 !important
}

#ship-to-different-address {
  display: none !important;
}

.woocommerce-column--shipping-address {
  display: none;
}

.woocommerce-column--billing-address h2 {
  display: none;
}

.woocommerce .woocommerce-billing-fields h3 {
  display: none;
}

/* Product price display */

.ks-product-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.ks-product-price {
  margin-bottom: 0px;
  font-size: 16px;
  font-weight: bold;
  color: #333;
  background-color: #f9f9f9be;
  padding: 3px 7px;
  border-radius: 4px 4px 0px 0px;
  border-style: solid;
  border-color: #f1f1f1;
  border-width: 2px 2px 0px 2px;
  min-width: 85px;
  text-align: center;
}

.ks-out-of-stock-price {
  background-color: #f9f9f900;
  border: none;
  opacity: 0.5;
  margin-bottom: 10px;
}

.ks-add-to-cart {
  padding: 8px 10px;
  background-color: {{ACCENT_COLOR}};
  color: white;
  cursor: pointer;
  border-radius: 0px 0px 4px 4px;
  font-size: 14px;
  transition: background-color 0.3s;
  min-width: 85px;
}

.ks-add-to-cart:hover {
  background-color: #969696;
}

/* Mobile View Adjustments */

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }
   
  .woocommerce .woocommerce-billing-fields h3 {
  margin-top: 0px;
  }

  .woocommerce .woocommerce-billing-fields {
  border-style: solid;
  border-color: #ffffff;
  border-width: 1px;
  width: 100%;
  }

  .woocommerce-info {
  margin-bottom: 20px !important;
  }

  .woocommerce #order_review {
  border-style: solid;
  border-color: #ffffff;
  border-width: 1px;
  }

  .ks-online-order-page-container {
   margin-top: 15px !important;
  }

  .ks-online-order-page-container {
    display: block;
  }

  .woocommerce form .form-row label {
  margin-top: 10px;
  }

  .ks-category-buttons-mobile {
   box-shadow: 0px 0px 20px 0px #25252530;
  }

  .ks-category-panel {
    display: none;
  }

  .ks-category-buttons-mobile {
    display: block;
    width: calc(100% + 30px);
    overflow-x: auto;
    white-space: nowrap;
    margin-left: -15px;
    margin-right: -15px;
    padding: 20px 15px 15px 15px;
    box-sizing: border-box;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #fff;
  }

  .ks-online-order-page {
    width: 100%;
    padding: 0;
    margin-top: 0px;
    box-sizing: border-box;
  }

  .ks-product {
    display: flex;
    width: 100%;
    margin-bottom: 15px;
    padding: 15px 15px 15px 20px;
    box-sizing: border-box;
  }

  .ks-product-info {
    width: 75%;
    text-align: left;
  }

  /* Style for the product title */

  .ks-product-info h2 {
    font-size: 15px;
    margin: 0 0 5px 0;
    color: #333;
  }

  /* Style for the product description */

  .ks-product-info p {
    font-size: 12px;
    color: #666;
    margin: 0;
  }

  /* Product actions (price and button) to take 30% width and center content */

  .ks-product-actions {
    width: 25%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .ks-product-actions {
    margin-bottom: 5px;
  }

  .ks-product-price {
    margin-top: 5px;
  }

  .ks-product-actions .ks-add-to-cart {
    width: 100%;
    box-sizing: border-box;
  }

  /* Mobile Category Buttons Styling */

  .ks-category-buttons-mobile .ks-category-button {
    margin-right: 5px;
    margin-bottom: 5px;
    padding: 10px 15px;
    border-radius: 4px;
    display: inline-block;
    color: #ffffff;
    background: {{ACCENT_COLOR}};
  }

  .ks-category-buttons-mobile .ks-category-button:last-child {
    margin-right: 15px;
  }

  .ks-category-buttons-mobile .ks-category-button:first-child {
    margin-right: 5px;
  }

  .ks-category-buttons-mobile .ks-category-button:active {
    opacity: 0.5;
  }

  .ks-category-title {
    font-size: 28px;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 20px;
    margin-top: 0px;
    text-align: center;
  }

  .ks-category-description {
    font-size: 14px;
    margin-top: -20px;
    margin-bottom: 20px;
    text-align: center;
  }

  .ks-category-group {
    margin-bottom: 10px;
  }

  .ks-modal-content {
    width: calc(100% - 30px);   /* keep your 15px left/right gap */
    margin-left: 15px;
    margin-right: 15px;
    margin-top: 10vh;
    max-height: 80vh; /* override the 60vh limit */
    overflow-y: auto;
    border-radius: 12px; /* optional: looks better full-screen */
  }

  #ks-modal {
    padding-bottom: 20%;
  }
}

/* Category Header Style (responsive) */

.ks-category-panel {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0px 5px 5px 0px #25252505;
}

.ks-category-header {
  position: relative;
  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    rgba(255,255,255,0.85) 60%,
    rgba(255,255,255,0) 100%
  );
  padding: 40px 15px 15px;
}

@media (max-width: 768px) {
  .ks-category-header {
    margin: 0 -15px;
  }
}

.ks-category-header::before {
  content: "";
  position: absolute;
  inset: 1px;
  pointer-events: none;
  border-top: 2px solid transparent;
  border-image: linear-gradient(
    to right,
    #f9f9f9,
      {{ACCENT_COLOR}},
    #f9f9f9
  ) 1;
}


/* Desktop View Adjustments */

@media (min-width: 769px) {
  .ks-category-buttons-mobile {
    display: none;
  }

  .ks-category-title {
    font-size: 28px;
    text-align: center;
    font-weight: 400;
    margin-bottom: 20px;
    margin-top: 0px;
  }

  .ks-category-description {
    font-size: 14px;
    text-align: center;
    margin-top: -20px;
    margin-bottom: 20px;
}

  .ks-category-panel {
    display: block;
    width: 20%;
    float: left;
    margin-right: 20px;
    box-sizing: border-box;
  }

  .ks-category-panel h3 {
    font-size: 22px;
    font-weight: 400;
  }

  .ks-online-order-page {
    width: calc(80% - 20px);
    float: left;
    box-sizing: border-box;
  }

  .ks-product {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin-bottom: 20px;
    padding: 15px;
    box-sizing: border-box;
    border: 1px solid #25252515;
    border-radius: 10px;
    background-color: #fff;
  }
}

@media (min-width: 1024px) {
  .ks-category-panel {
    position: sticky;
    top: 70px;
    align-self: flex-start;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
  }
}

#ks-note {
  display: block;
}

#ks-add-to-cart-form label[for="ks-note"] {
  display: block;
  margin: 10px 0;
}

#custom-fields-container .addon-group {
  display: block;
}

#custom-fields-container .addon-group label {
  display: block;
  margin-bottom: 10px;
}

#custom-fields-container .addon-group input[type="checkbox"] {
  margin-right: 10px;
}

#custom-fields-container .addon-group .ks-addon-item {
  margin-bottom: 10px;
}

#custom-fields-container .addon-group {
  margin-bottom: 20px;
}

/* Start of Cart Styling........ */

.woocommerce-cart .woocommerce-info {
  text-align: center !important;
}

#ks-add-to-cart-form button[type="submit"] {
  margin-bottom: 0px !important;
  margin-top: 10px;
}

.woocommerce-cart-form {
  margin-top: 20px !important;
}

.woocommerce-cart .cart-collaterals .cart_totals {
  width: 100% !important;
  margin-top: 30px !important;
  margin-bottom: 30px !important;
}

.woocommerce form .form-row select {
  height: 40px !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
  border-radius: 7px !important;
}

.woocommerce form .form-row .input-text {
  border-radius: 7px !important;
}



#order_review {
  margin-bottom: 50px;
}

@media (max-width: 768px) {
 #order_review {
   margin-bottom: 25px !important;
 }
}

#billing_country_field {
  display: none !important;
}

#billing_exact_time_field label {
  font-weight: bold !important;
  font-size: 18pt !important;
}

#billing_exact_time_field label .required {
  font-size: 10pt !important;
  font-weight: normal !important;
}

.woocommerce-cart .entry-title {
  text-align: center !important;
  font-size: 24pt !important;
  margin-top: 30px !important;
}

.woocommerce-cart .woocommerce .shop_table .button {
  background-color: #ffffff !important;
  border-width: 1px !important;
  border-style: solid !important;
  border-color: {{ACCENT_COLOR}} !important;
  color: {{ACCENT_COLOR}} !important;
  font-weight: bold !important;
}

.woocommerce-cart .woocommerce .shop_table .button:hover {
  background-color: {{ACCENT_COLOR}} !important;
  border-width: 1px !important;
  border-style: solid !important;
  border-color: {{ACCENT_COLOR}} !important;
  color: #ffffff !important;
  font-weight: bold !important;
}

#billing_company_field {
  display: none !important;
}

#shipping_company_field {
  display: none !important;
}

#shipping_country_field {
  display: none !important;
}

#billing_country_field {
  display: none !important;
}

#billing_address_2 {
  display: none !important;
}

#shipping_address_2 {
  display: none !important;
}

#shipping_state_field {
  display: none !important;
}

#billing_state_field {
  display: none !important;
}

.ks-category-panel h3 {
  margin-top: 13px !important;
  margin-bottom: 5px;
}

.ks-category-panel {
  padding-top: 0px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.ks-online-order-page {
  margin-top: 20px !important;
}

#ks-note {
  font-size: 16px;
}

.ks-online-order-page-container {
  margin-top: 10px !important;
  margin-bottom: 15px;
}

.product-thumbnail {
  display: none !important;
}

.site-footer .site-info span::after {
  content: "" !important;
}

@media (max-width: 768px) {
  .woocommerce-cart table.cart tr td {
    margin: 0px !important;
    padding-top: 5px !important;
    margin-bottom: 0px !important;
    padding-bottom: 5px !important;
  }

  .woocommerce-cart table.cart td.actions {
    margin-top: 15px !important;
    margin-bottom: 15px !important;
  }

  .variation {
    display: inline !important;
  }

  .thx-txt-sub,
  .thx-top-txt {
    display: inline !important;
  }

  .woocommerce-cart table.cart .cart_item dl.variation dd::after {
    content: "\a" !important;
    white-space: pre !important;
  }

  .woocommerce-cart table.cart .cart_item .product-remove {
    padding: 0px !important;
    margin-left: 0px !important;
    width: 20px !important;
    text-align: center !important;
    display: inline !important;
    float: right !important;
    padding-bottom: 0px !important;
  }

  .woocommerce-cart table.cart .cart_item .product-remove a {
    position: relative !important;
    right: 30px !important;
    top: 10px !important;
    background-color: #e0e0e0 !important;
    border-radius: 50px !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    width: 30px !important;
    margin-bottom: 0px !important;
    text-align: center !important;
  }

  td.product-name:before,
  td.product-subtotal:before,
  td.product-quantity:before,
  td.product-price:before {
    display: none !important;
  }

  .woocommerce-cart table.cart tr td {
    text-align: left !important;
  }

  td.product-price,
  td.product-quantity,
  td.product-subtotal {
    display: inline-block !important;
  }

  td.product-subtotal {
    float: right !important;
  }

  td.product-price::after {
    content: "\00a0\00a0\00a0X" !important;
  }

  .woocommerce-cart table.cart .cart_item .product-quantity {
    margin-left: -20px !important;
  }

  .product-subtotal {
    height: 0px !important;
    position: relative !important;
    right: 0px !important;
    bottom: -10px !important;
  }

  .woocommerce-cart table.cart .cart_item a {
    text-transform: capitalize !important;
    font-size: 13pt !important;
    text-align: left !important;
    margin-top: 10px !important;
  }

  .woocommerce-cart table.cart .cart_item .product-quantity input {
    height: 30px !important;
    padding-left: 2px !important;
    padding-right: 2px !important;
    width: 45px !important;
    margin-bottom: 7px !important;
    margin-top: 7px !important;
    text-align: center !important;
  }
}

.woocommerce-cart table.cart .cart_item dl dt,
.woocommerce-cart table.cart .cart_item dl dd {
  display: inline !important;
  text-transform: capitalize !important;
  font-weight: normal !important;
  font-size: 10pt !important;
}

#calc_shipping_country_field.form-row.form-row-wide {
  display: none !important;
}

#calc_shipping_state.input-text {
  display: none !important;
}

#calc_shipping_city.input-text {
  display: none !important;
}

.woocommerce-cart .cart_totals table th {
  display: none !important;
}

#calc_shipping_postcode.input-text {
  display: inline-block !important;
  width: 200px !important;
  border-radius: 0px !important;
}

#calc_shipping_postcode_field.form-row.form-row-wide {
  display: inline-block !important;
}

.woocommerce-cart .cart_totals .shipping-calculator-form p:last-of-type {
  display: inline !important;
}

.woocommerce-cart .cart_totals .shipping-calculator-form {
  text-align: center !important;
  margin-top: -40px !important;
  margin-bottom: -15px !important;
}

.woocommerce-cart .cart_totals table td {
  text-align: center !important;
}

.woocommerce-cart .cart_totals h2 {
  display: none !important;
}

.woocommerce-cart .order-total .woocommerce-Price-amount.amount::before {
  content: "Subtotal: " !important;
  font-size: 10pt !important;
  font-weight: normal !important;
}

.woocommerce-cart .cart_totals .wc-proceed-to-checkout {
  text-align: center !important;
}

.woocommerce-cart .cart_totals {
  margin-bottom: 30px !important;
}

.cart-subtotal {
  display: none !important;
}

.woocommerce-shipping-totals.shipping {
  background-color: #f5f5f5 !important;
}

.woocommerce-cart .cart_totals  #shipping_method.woocommerce-shipping-methods label {
  font-size: 14pt !important;
}

.woocommerce-cart .woocommerce .shop_table {
  margin-bottom: 30px !important;
}

.order-total {
  font-size: 14pt !important;
}

.woocommerce-cart #shipping_method.woocommerce-shipping-methods input[type=radio]:checked + label {
  text-align: center !important;
  background-color: {{ACCENT_COLOR}} !important;
  border-radius: 0px !important;
  border-width: 3px !important;
  display: inline-block !important;
  padding-top: 2px !important;
  padding-bottom: 2px !important;
  padding-left: 30px !important;
  padding-right: 30px !important;
  margin-top: 15px !important;
  margin-bottom: 15px !important;
  color: white !important;
  z-index: 99999 !important;
  box-shadow: 0px 3px 5px 0px inset #25252520 !important;
  border: solid 2px #25252550 !important;
}

.woocommerce-cart #shipping_method.woocommerce-shipping-methods label {
  text-align: center !important;
  background-color: #25252530 !important;
  border-radius: 0px !important;
  display: inline-block !important;
  font-weight: bold !important;
  padding-top: 2px !important;
  padding-bottom: 2px !important;
  padding-left: 30px !important;
  padding-right: 30px !important;
  margin-top: 15px !important;
  margin-bottom: 15px !important;
  color: white !important;
  z-index: 99999 !important;
  box-shadow: 0px -3px 5px 0px inset  #25252520 !important;
  border: solid 2px #25252540 !important;
}

.woocommerce-cart #shipping_method.woocommerce-shipping-methods  li {
  display: inline-block !important;
  margin-left: 5px !important;
  margin-right: 5px !important;
}

.woocommerce-cart #shipping_method.woocommerce-shipping-methods input[type=radio] {
  display: none !important;
}

@media (max-width: 768px) {
  .woocommerce-cart .select2 {
    display: none !important;
  }

  .shipping-calculator-form {
    margin-top: 30px !important;
  }

  .woocommerce-cart .cart_totals .shipping-calculator-form {
    margin-top: 15px !important;
    margin-bottom: 10px !important;
  }

  .woocommerce .shop_table .button {
    margin-top: 5px !important;
    border-radius: 7px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }
}

.woocommerce-cart .variation {
  margin-bottom: 0px !important;
}

.woocommerce-cart .variation .woocommerce-Price-amount.amount::after {
  content: "\a" !important;
  white-space: pre !important;
}

.cart-exact-time h3 {
  font-size: 13pt !important;
  margin-bottom: 10px !important;
  margin-top: 10px !important;
  color: {{ACCENT_COLOR}} !important;
  font-weight: 600 !important;
}

.cart-exact-time {
  text-align: center !important;
}

.cart-exact-time select {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
  border-radius: 7px !important;
}

.shipping-calculator-button {
  font-size: 13pt !important;
  color: {{ACCENT_COLOR}} !important;
  font-weight: 600 !important;
  font-family: montserrat !important;
  line-height: 1.0 !important;
}

.woocommerce-cart .cart_totals table td .woocommerce-shipping-destination {
  font-size: 12pt !important;
  font-family: montserrat !important;
  color: #252525 !important;
}

.cart-exact-time {
  padding-top: 7px !important;
  padding-bottom: 26px !important;
  margin-top: 20px !important;
  text-align: center !important;
  border-top: 1px solid #d9d9d9 !important;
  border-bottom: 1px solid #d9d9d9 !important;
  margin-left: 30px !important;
  margin-right: 30px !important;
  margin-bottom: -5px !important;
}

#calc_shipping_country {
  display: none !important;
}

.shipping-calculator-form {
  padding-top: 2px !important;
  padding-bottom: 5px !important;
}

.woocommerce-cart .cart_totals table td ul {
  margin-bottom: 5px !important;
}

.woocommerce-cart .cart_totals table {
  border-top: 1px solid #d9d9d9 !important;
}

.woocommerce-cart .shop_table .button {
  border-radius: 7px !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  margin-left: 1px !important;
}

#calc_shipping_postcode.input-text {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  border-radius: 7px !important;
}

.woocommerce-cart .fee {
  display: none !important;
}

/* end of cart styling */

.woocommerce-info {
  border-radius: 0px !important;
  background: #ffffff !important;
  box-shadow: 0px 2px 5px 0px #25252510 !important;
}

/* Start of checkout styling */

.woocommerce-checkout dl.variation {
  margin: 0;
}

.woocommerce-checkout dt.variation-nbsp {
  display: none;
}

.woocommerce-checkout .variation {
  font-size: 13px;
  font-style: italic;
}

.woocommerce form .form-row .input-text {
  font-size: 16px !important;
}

.woocommerce-checkout #billing_exact_time_field {
  position: fixed !important;
  bottom: 35px !important;
  right: 10% !important;
  z-index: 1002 !important;
}

.woocommerce-checkout .woocommerce-shipping-totals.shipping {
  position: fixed !important;
  bottom: 20px !important;
  left: 0px !important;
  z-index: 1001 !important;
  background-color: #ffffff00 !important;
}

.woocommerce-checkout .shipping th {
  display: none !important;
}

.woocommerce-checkout .shipping td {
  float: left !important;
  margin-left: 10% !important;
}

.woocommerce-checkout .shipping li {
  display: inline !important;
}

.woocommerce-checkout #del-time-bar {
  width: 100% !important;
  position: fixed !important;
  bottom: 0px !important;
  left: 0px !important;
  height: 140px !important;
  background-color: #252525 !important;
  z-index: 1000 !important;
  opacity: 80%;
}

body:has(.ks-sticky-cart-bar) footer {
  padding-bottom: 85px;
}

.woocommerce-checkout #billing_exact_time_field label {
  font-size: 16px !important;
  font-family: montserrat;
  font-weight: 400 !important;
  text-align: center !important;
  margin-bottom: 5px !important;
  color: #ffffff !important;
}

.woocommerce-checkout #billing_exact_time_field select {
  display: inline-block !important;
  width: 50% !important;
}

.woocommerce-checkout #shipping_method.woocommerce-shipping-methods label {
  text-align: center !important;
  background-color: #c8c8c8 !important;
  display: inline-block !important;
  font-weight: bold !important;
  padding-top: 5px !important;
  padding-bottom: 5px !important;
  padding-left: 30px !important;
  padding-right: 30px !important;
  margin-top: 5px !important;
  margin-bottom: 0px !important;
  margin-right: 0px !important;
  margin-left: 0px !important;
  color: white !important;
  z-index: 9 !important;
  border: none 2px #25252500 !important;
  border-radius: 5px;
}

.woocommerce-checkout #shipping_method.woocommerce-shipping-methods input[type=radio]:checked + label {
  text-align: center !important;
  background-color: {{ACCENT_COLOR}} !important;
  border-width: 2px !important;
  display: inline-block !important;
  padding-top: 5px !important;
  padding-bottom: 5px !important;
  padding-left: 30px !important;
  padding-right: 30px !important;
  margin-top: 5px !important;
  margin-bottom: 0px !important;
  margin-right: 0px !important;
  margin-left: 0px !important;
  color: white !important;
  z-index: 9 !important;
  border: solid 2px #ffffff !important;
  border-radius: 5px;

}

.woocommerce-checkout #shipping_method.woocommerce-shipping-methods input[type=radio]:checked + label::after {
  content: "\00a0 ✓" !important;
}

.woocommerce-checkout #shipping_method.woocommerce-shipping-methods input[type=radio] {
  display: none !important;
}

.woocommerce-checkout #shipping_method.woocommerce-shipping-methods {
  width: 100% !important;
}

.woocommerce-checkout #shipping_method.woocommerce-shipping-methods::before {
  content: "Collection / Delivery Options (for your postcode):\00a0\00a0\a";
  white-space: pre !important;
  font-size: 16px !important;
  font-family: montserrat !important;
  font-weight: 400 !important;
  color: #ffffff !important;
}

.woocommerce-checkout .woocommerce-shipping-totals.shipping td {
  width: 40% !important;
}

.woocommerce-checkout #order_review table tr ul {
  text-align: center !important;
  width: 100% !important;
}

.woocommerce-checkout #order_review table tr {
  width: 100% !important;
  border-color: #25252520 !important;
}

.woocommerce-checkout #billing_exact_time_field label .required {
  display: none !important;
}

.woocommerce-checkout #billing_exact_time_field.form-row.form-row-wide.validate-required {
  width: 40% !important;
  text-align: center !important;
}

  .woocommerce-checkout .woocommerce-checkout-review-order {
    box-shadow: 0px 2px 5px 0px #25252510 !important;
    padding-bottom: 25px !important;
    border-radius: 7px;
  }


/* mobile checkout styling */

@media (max-width: 1000px) {
  .woocommerce-checkout #billing_exact_time_field {
    position: fixed !important;
    bottom: 20px !important;
    left: 0px !important;
    right: 0px !important;
    z-index: 1002 !important;
    display: block !important;
  }

  .woocommerce-checkout .woocommerce-shipping-totals.shipping {
    position: fixed !important;
    bottom: 90px !important;
    z-index: 1001 !important;
    background-color: #ffffff00 !important;
  }

  .woocommerce-checkout .shipping th {
    display: none !important;
  }

  .woocommerce-checkout .woocommerce-checkout-review-order {
    box-shadow: 0px 2px 5px 0px #25252510 !important;
    padding-bottom: 25px !important;
    border-radius: 7px;
  }

  .woocommerce-checkout #del-time-bar {
    width: 100% !important;
    position: fixed !important;
    bottom: 0px !important;
    left: 0px !important;
    height: 200px !important;
    background-color: #252525 !important;
    z-index: 1000 !important;
    opacity: 80%;
  }

  .woocommerce-checkout #billing_exact_time_field label {
    font-size: 14pt !important;
    font-family: montserrat;
    font-weight: 400 !important;
    text-align: center !important;
    margin-bottom: 5px !important;
    color: #ffffff !important;
    width: 100% !important;
    margin-left: 0px !important;
    margin-right: 0px !important;
  }

  .woocommerce-checkout #billing_exact_time_field select {
    border-radius: 5px !important;
    border: none;
    width: calc(100% - 50px) !important;
    padding: 0px 20px 0px 20px !important;
  }

  .woocommerce-checkout #shipping_method.woocommerce-shipping-methods label {
    text-align: center !important;
    background-color: #c8c8c8 !important;
    display: inline-block !important;
    font-weight: normal !important;
    font-size: 10pt;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
    width: 40% !important;
    margin-top: 5px !important;
    margin-bottom: 0px !important;
    margin-right: 0px !important;
    margin-left: 0px !important;
    color: white !important;
    z-index: 9 !important;
    border: hidden 1px !important;
    border-radius: 5px !important;
  }

  .woocommerce-checkout #shipping_method.woocommerce-shipping-methods input[type=radio]:checked + label {
    text-align: center !important;
    background-color: {{ACCENT_COLOR}} !important;
    border-width: 3px !important;
    display: inline-block !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    width: 40% !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
    margin-top: 5px !important;
    margin-bottom: 0px !important;
    margin-right: 0px !important;
    margin-left: 0px !important;
    color: white !important;
    z-index: 9 !important;
    border: solid 2px !important;
    border-radius: 5px !important;
  }

  .woocommerce-checkout #shipping_method.woocommerce-shipping-methods input[type=radio]:checked + label::after {
    content: "\00a0 ✓" !important;
  }

  .woocommerce-checkout #shipping_method.woocommerce-shipping-methods input[type=radio] {
    display: none !important;
  }

  .woocommerce-checkout #shipping_method.woocommerce-shipping-methods::before {
    content: "Collection / Delivery Options (for your postcode):\00a0\00a0\a";
    white-space: pre !important;
    font-size: 13px !important;
    font-family: montserrat !important;
    font-weight: 400 !important;
    color: #ffffff !important;
  }

  .woocommerce-checkout #billing_exact_time_field label {
    font-size: 9pt !important;
  }

  .woocommerce-checkout .woocommerce-shipping-totals.shipping td {
    display: flex !important;
    width: 100% !important;
    margin-left: 0px !important;
    margin-right: 0px !important;
    justify-content: space-between !important;
  }

  .woocommerce-checkout #billing_exact_time_field label .required {
    display: none !important;
  }

  .woocommerce-checkout #billing_exact_time_field.form-row.form-row-wide.validate-required {
    width: 100% !important;
    text-align: center !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
  }
  body:has(.woocommerce-billing-fields__field-wrapper) footer {
    padding-bottom: 195px !important;
  }

  .ks-online-order-page-container {
  margin-top: 0px !important;
  }

  .woocommerce .woocommerce-billing-fields h3 {
  margin-top: 0px !important;
  }
}

body:has(.woocommerce-billing-fields__field-wrapper) footer {
    padding-bottom: 140px;
}

.woocommerce #payment #place_order {
  width: 100%;
  margin-top: 10px !important;
  border-radius: 5px !important;
  margin-bottom: -5px !important;
}


.woocommerce-checkout .woocommerce form .form-row .input-text {
   margin-bottom: 15px !important; 
}


/* end of checkout styling*/

.custom-quantity input {
  width: 50px;
  border: none;
}

.custom-quantity input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
  text-align: center !important;
  background-color: #f0f0f0 !important;
  height: 25px !important;  
    border-radius: 0px;
}

.custom-quantity input[type="number"] {
  -moz-appearance: textfield !important;
  text-align: center !important;
  background-color: #f0f0f0 !important;
  height: 25px !important;  
    border-radius: 0px;

}

.custom-quantity {
  width: 100px !important;
  background-color: #f0f0f0 !important;
  text-align: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  align-content: center !important;
  height: 25px !important;
  margin-top: 10px !important;
  margin-bottom: 10px !important;
}

.custom-quantity button {
  font-family: 'Courier New', Courier, monospace !important;
  font-weight: normal !important;
  font-size: 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 25px !important;
  width: 25px !important;
  background-color: #e0e0e0 !important;
  color: #252525 !important;
  text-align: center !important;
  padding: 0px !important;
}

.custom-quantity button:hover {
  color: #252525 !important;
}

.custom-quantity .remove .fas.fa-trash-alt {
  font-size: 14px !important;
  color: #777777 !important;
  vertical-align: middle !important;
  text-align: center !important;
}

.ks-online-order-page-container {
  margin-top: 10px;
}

body:has(.ks-online-order-page-container) footer {
    padding-bottom: 83px;
}


.woocommerce-checkout #payment .payment_method_cod {
  display: none;
}

/* Force visibility of the Change link */

.show-cash-payment {
  display: inline-block !important;
  color: #959595 !important;
  cursor: pointer;
  margin-bottom: 10px !important;
  font-size: 11px !important;
}

.were-closed-open-txt {
  font-family: 'montserrat', arial, sans-serif;
  font-weight: 900;
  margin-top: 10px !important;
  font-size: 16pt !important;
  line-height: 2;
}

.ks-until-txt {
  color: #252525;
  font-weight: bold;
  text-align: center;
  font-size: 13px;
}

#open-closed-sign {
rotate: -3deg;
}

@media (max-width: 768px) {
 #open-closed-sign {
 rotate: 0deg;
 }
}



/* thank you page */

.woocommerce-order-received .thank-you-del-col-meth {
  margin-bottom: 0px !important;
  font-size: 22pt;
  text-align: center;
  font-weight: bold;
  line-height: 1;
  width: 100% !important;
}

.woocommerce-order-received .del-col-time-thank-you {
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 0px !important;
  margin-top: 15px !important;
  }

.woocommerce-order-received .order-again {
  display: none;
}

.woocommerce-order-received .woocommerce-thankyou-order-details li strong {
  display: inline-flex;
  padding: 0px;
  margin-top: 0px;
}

.woocommerce-order-received .woocommerce-thankyou-order-details li {
  padding-top: 7px;
  padding-bottom: 7px;
}

.woocommerce-order-received .woocommerce-thankyou-order-details {
  padding-top: 3px !important;
  padding-bottom: 3px !important;
  border: 0px !important;
  border-bottom: 3px solid #d6d6d6 !important;
  border-radius: 10px !important;
  box-shadow: 0px 5px 5px 0px #25252510 !important;
}

.woocommerce-order-received .thank-you-columns {
  margin-bottom: 25px;
}

.woocommerce-order-received .custom-field-content-col {
  background-color: white;
  padding: 20px;
  border-bottom: 3px solid #d6d6d6;
  border-radius: 10px;
  box-shadow: 0px 5px 5px 0px #25252510;
  align-content: space-around !important;
}

.woocommerce-order-received .thx-top-txt {
  font-size: 28pt;
  font-weight: bold;
  line-height: 1.5;
  margin-top: 10px;
  margin-bottom: 0px;
}

.woocommerce-order-received .thank-you-text-col {
  align-content: space-around;
  padding: 20px;
  text-align: center;
}

.woocommerce-order-received .thx-txt-sub {
  font-size: 14pt;
  line-height: 2;
}

@keyframes fadeInFromBelow {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.fade-in-below {
  display: inline-block;
  width: 100%;
  animation: fadeInFromBelow 0.5s ease-out forwards;
  opacity: 0;
  animation-delay: 0.2s;
}

.fade-in-below-delay {
  display: inline-block;
  animation: fadeInFromBelow 0.5s ease-out forwards;
  opacity: 0;
  animation-delay: 0.6s;
}

.woocommerce-order-received .woocommerce-order-details {
  padding: 20px;
  background-color: white;
  border-bottom: 3px solid #d6d6d6;
  border-radius: 10px;
  box-shadow: 0px 5px 5px 0px #25252510;
}

.woocommerce-order-received  .woocommerce-order-details__title {
  margin-top: 0px;
}

.woocommerce-order-received  .order-again .button {
  display: none;
}

.woocommerce-order-received .woocommerce .col2-set .col-1 {
  padding: 20px;
  margin-bottom: 25px;
  background-color: white;
  border-bottom: 3px solid #d6d6d6;
  border-radius: 10px;
  box-shadow: 0px 5px 5px 0px #25252510;
}

.woocommerce-order-received .woocommerce:not(:has(.col2-set)) .woocommerce-customer-details {
  padding: 20px;
  margin-bottom: 25px;
  background-color: white;
  border-bottom: 3px solid #d6d6d6;
  border-radius: 10px;
  box-shadow: 0px 5px 5px 0px #25252510;
}

.woocommerce-order-received .woocommerce-order-received h2 {
  margin: 0px;
}

.woocommerce-order-received address {
  margin: 0px;
}

.woocommerce-order-received .woocommerce .col2-set .col-2 {
  padding: 20px;
  margin-bottom: 35px;
  background-color: white;
  border-bottom: 3px solid #d6d6d6;
  border-radius: 10px;
  box-shadow: 0px 5px 5px 0px #25252510;
}

.woocommerce-order-received h2 {
  line-height: 1;
  margin-bottom: 10px;
  margin-top: 0px;
  font-size: 14pt;
}

.woocommerce-column__title {
  margin-top: 0px;
}

.woocommerce-order-received .woocommerce-customer-details .woocommerce-column__title {
  display: none;
}

@media (max-width: 768px) {
  .thx-top-txt {
    font-size: 14pt;
  }
    
    .thx-top-txt {
    margin-bottom: 15px !important;
    }

  .thank-you-text-col {
    padding: 0px !important;
    margin-top: 50px;
    margin-bottom: 35px;
  }

  .custom-field-content-col {
    padding: 40px 20px 40px 20px !important;
  }

  .del-col-time-thank-you {
    margin-top: 10px;
    margin-bottom: 0;
  }

  .thank-you-del-col-meth {
    display: block;
    width: 100%;
    margin-top: 0px !important;
  }
  .woocommerce-order-received p {
    margin: 0 !important;
  }
    
      .thank-you-columns {
        flex-direction: column;
    }

    .thank-you-text-col,
    .custom-field-content-col {
        text-align: center  !important;
        width: 100%;
    }

    .thx-top-txt,
    .thx-txt-sub,
    .thank-you-del-col-meth,
    .del-col-time-thank-you {
    display: block;
    width: 100%;
    }
    .fade-in-below {
    animation-duration: 1s;
    }
    .woocommerce-order-received .thank-you-del-col-meth {
    font-size: 16pt;
    }
}


.woocommerce-order-received .woocommerce-customer-details--phone {
  margin-bottom: 10px !important;
  margin-top: 10px !important;
}

#checkmark-animation {
        margin: 0 auto;
        display: block;
}

@media (max-width: 768px) {
    #checkmark-animation {
        margin: 0 auto;
        display: block;
    }
}

.estimated-time-title {
  text-align: center;
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 0px !important;
  margin-top: 15px !important;
  background-color: #f1f1f1;
  padding-top: 3px;
  padding-bottom: 3px;
  border-radius: 5px 5px 0px 0px;
}

.estimated-time {
  text-align: center;
  font-weight: bold;
  font-size: 17px;
  background-color: #f9f9f9;
  padding-top: 5px;
  padding-bottom: 5px;
  border-radius: 0px 0px 5px 5px;
}

@media (min-width: 769px) {
    .thank-you-columns {
        display: flex; /* Ensure flexbox is active for layout */
        justify-content: space-between;
    }

    .custom-field-content-col {
        flex: 0 0 35%; /* Flex-grow: 0, Flex-shrink: 0, Flex-basis: 30% */
        max-width: 35%; /* Ensure the column does not exceed 30% */
        padding-right: 40px !important;
        padding-left: 40px !important;

    }

    .thank-you-text-col {
        flex: 0 0 65%; /* Remaining 70% for the text column */
        max-width: 65%;
    }
}

/* Popup container (hidden by default) */
.popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

/* Popup content */
.popup-content {
    background-color: #fff;
    margin: 15% auto;
    padding-top: 30px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 10px;
    border: 1px solid #888;
    width: 50%;
    text-align: center;
}

@media (max-width: 768px) {
  .popup-content {
    background-color: #fff;
    margin: 15% auto;
    padding-top: 30px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 10px;
    border: 1px solid #888;
    width: 80%;
}
}

/* Close button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}


.addon-quantity {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0;
}

.addon-quantity .addon-name {
  font-size: 14px;
  flex: 1;
}

.addon-name {
  line-height: 1.2 !important;
}

.addon-quantity .quantity-controls {
  display: flex;
  align-items: center;
}

.addon-quantity .quantity-controls input[type="number"]::-webkit-inner-spin-button,
.addon-quantity .quantity-controls input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.addon-quantity .quantity-controls input[type="number"] {
  -moz-appearance: textfield;
}

.addon-quantity .quantity-controls input[type="number"] {
  width: 40px;
  height: 30px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  padding: 0;
}

.addon-quantity .quantity-controls button.decrement,
.addon-quantity .quantity-controls button.increment {
  height: 30px;
  border-radius: 4px;
  background-color: #f0f0f0;
  border: none;
  font-size: 18px;
  line-height: 0px;
  font-family: Arial, sans-serif;
  text-align: center;
  margin: 0 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  padding: 11px 15px !important;
}

.addon-quantity .quantity-controls button.decrement:hover,
.addon-quantity .quantity-controls button.increment:hover {
  background-color: #ddd;
}

.addon-group .selection-info {
font-size: 15px !important;
}

.addon-quantity .quantity-controls .increment,
.addon-quantity .quantity-controls .decrement {
  color: #252525 !important;
}

/* =========================================
   MINI-CART POPUP WRAPPER
   ========================================= */

#ks-mini-cart-overlay {
    display: none; /* Initially hidden */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    z-index: 99998; /* Below the mini-cart */
}

#ks-mini-cart {
  position: fixed;
  bottom: 105px; 
  left: 20px;
  width: 90%;
  max-width: 400px;
  background: #fff;
  border: 3px solid #f5f5f5;
  z-index: 99999;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  display: none; /* initially hidden; displayed via JS */
}
#ks-mini-cart::after {
    content: "";
    position: absolute;
    bottom: -15px; /* Adjusts the placement */
    left: 50px; 
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 20px solid white; /* Same color as cart background */
}

/* Inner container for spacing */
#ks-mini-cart .ks-mini-cart-inner {
  position: relative;
  padding: 20px;
}

/* Close button in top-right corner */
#ks-mini-cart .ks-mini-cart-close {
  position: absolute;
  top: 10px;
  right: 0px;
  background: transparent;
  border: none;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: {{ACCENT_COLOR}};

}
#ks-mini-cart .ks-mini-cart-close:hover {
  color: #252525;
}

.ks-mini-cart-main-title {
  font-weight: bold;
  text-transform: uppercase;
  color: {{ACCENT_COLOR}};
}

#ks-mini-cart-contents {
  margin-top:10px;
}

#ks-mini-cart-contents .ks-item-addons {
  font-style: italic;
}

.ks-item-price bdi {
  margin-left: 10px;
}

/* =========================================
   MINI-CART TABLE
   ========================================= */

#ks-mini-cart .ks-mini-cart-table {
  width: 100%;
  border-bottom: 1px solid #25252550;
  margin-bottom: 10px;
}



#ks-mini-cart .ks-mini-cart-table th,
#ks-mini-cart .ks-mini-cart-table td {
  padding: 0px 0px 20px 0px;
  text-align: right;
  border: hidden;
}
#ks-mini-cart .ks-mini-cart-table th:first-child, 
#ks-mini-cart .ks-mini-cart-table td:first-child {
  text-align: left;
}

#ks-mini-cart .ks-mini-cart-empty {
  text-align: center;
  padding: 20px;
  font-weight: bold;
}

#ks-mini-cart .ks-mini-cart-total {
  font-size: 16px;
  text-align: right;
}

#ks-mini-cart .ks-mini-cart-actions {
  text-align: right;
}


#ks-mini-cart .ks-remove-item-btn {
  background: #ececec;
  color: #252525;
  border: none;
  padding: 4px 7px;
  margin-left: 10px;
  cursor: pointer;
}
#ks-mini-cart .ks-remove-item-btn:hover {
  background: #ececec;
}

#ks-mini-cart th {
  margin-bottom:10px;
}

.popup-link {
  cursor: pointer;
  user-select: none;
}

.ks-pay-title {
  color: {{ACCENT_COLOR}} !important;
    margin-bottom: 7px !important;
}

.ks-mini-cart-item .ks-item-name {
  font-weight: bold;
  letter-spacing: 0.2.;
  font-size: 14px;
}

.ks-mini-cart-item .ks-item-name .ks-item-addons {
  text-decoration: italic;
  font-weight: normal !important;
  font-size: 13px;
}

.ks-mini-cart-item .ks-item-name .ks-item-note {
  font-weight: normal !important;
  font-size: 13px;
}

.ks-item-name {
  position: relative;
}

.ks-item-name::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    height: 1px;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.08),
        transparent
    );
}


/* Set overall max height for the mini-cart */
#ks-mini-cart {
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

/* Make only the contents scroll */
#ks-mini-cart-contents {
    overflow-y: auto;
    flex-grow: 1;
    /* Optional: ensures it cannot exceed the parent */
    max-height: calc(65vh - 120px); /* adjust if needed */
    border-top: solid 1px {{ACCENT_COLOR}};
}




/* ===============================================
   DESKTOP SEARCH: visible only on desktop
   =============================================== */
.ks-search-container-desktop {
  display: none;
  position: sticky;
  top: 0px;
  z-index: 999;
  max-width: 100%;
  margin: 0;
  padding: 5px 5px;
  background-color: #ffffff;
  border-radius: 0px 0px 10px 10px;
  box-shadow: 0px 0px 20px 0px #25252510;
}
.ks-search-container-desktop .ks-search-container-inner {
  position: relative;
}
#ks-search-suggestions-desktop {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  border: 1px solid #ddd;
  background-color: #fff;
  display: none;
  z-index: 9999;
  width: 100%;
}
#ks-product-search-desktop {
  width: 100%;
  border-radius: 0px 0px 5px 5px;
  border: none;
  font-size: 16px;
}


/* ===============================================
   MOBILE SEARCH: visible only on mobile
   =============================================== */
.ks-search-container-mobile {
  display: none; /* hidden by default (we show it on mobile only) */
  position: relative;
  padding-top: 0px !important;
}
.ks-search-container-mobile .ks-search-container-inner {
  position: relative;
}
#ks-search-suggestions-mobile {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  border: 1px solid #ddd;
  display: none;
  z-index: 999;
  background-color: #fff;
  margin-top: -2px;
}
#ks-product-search-mobile {
  width: 100%;
  border-radius: 0px 0px 5px 5px !important;
  border-width: 0px 1px 1px 1px;
  font-size: 16px;
  box-shadow: 0px 0px 20px 0px #25252530;
  z-index: 999 !important;
  padding: 15px 15px;
}

/* MEDIA QUERIES */
@media (min-width: 769px) {
  /* Desktop: show desktop search, hide mobile search */
  .ks-search-container-desktop {
    display: block;
  }
  .ks-search-container-mobile {
    display: none;
  }
}

@media (max-width: 768px) {
  /* Mobile: hide desktop search, show mobile search */
  .ks-search-container-desktop {
    display: none;
  }
  .ks-search-container-mobile {
    display: block;
    position: sticky;
    top: 78px;
    z-index: 999;
    padding: 10px 0px;
    margin-bottom: 15px;
    width: 100%;
  }
}

.ks-search-wrapper {
  position: relative;
  display: inline-block; /* or block, depending on your layout */
  width: 100%;
}

/* The input should have some right padding so text doesn't get blocked by the button */
#ks-product-search-mobile {
  width: 100%;
  padding-right: 2.2em; /* space for the clear button, adjust as needed */
  box-sizing: border-box;
}

/* Position the clear button absolutely at the right side of the input */
.ks-clear-search-mobile {
  position: absolute;
  right: 0px;
  margin-right: -5px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  color: #333;
  z-index: 9999;
}
.ks-clear-search-mobile:hover {
  color: #333;
  background: none;
}

.ks-clear-search-desktop {
  position: absolute;
  right: 0px;
  margin-right: -5px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  color: #333;
  z-index: 9999;
}
.ks-clear-search-desktop:hover {
  color: #333;
  background: none;
}

.ks-category-buttons-mobile {
    will-change: transform;
}
.ks-search-container-mobile {
    will-change: transform;
}

.swal2-icon {
  border-color: {{ACCENT_COLOR}} !important;
  color: {{ACCENT_COLOR}} !important;
}

.swal2-cancel,
.swal2-confirm {
  background: {{ACCENT_COLOR}} !important;
  font-size: 13px;
}

.swal2-cancel:hover,
.swal2-confirm:hover {
  background: {{ACCENT_COLOR}} !important;
  font-size: 13px;
}

.swal2-title {
  font-size: 20px;
}

.swal2-popup {
  max-width: 90% !important;
}

.swal2-cancel button {
  letter-spacing: 0.0 !important;
}

.woocommerce-order-received .checkout-head {
    display: none !important;
}

.ks-live-estimate{
  display: block;
  width: 100%;
  text-align: center;
  font-size: 18px;
  color: #252525;
  font-family: "Asap Condensed", "Roboto Condensed", sans-serif;
  }

.woocommerce-checkout .ks-address-group {
  display: flow-root; /* contains floated .form-row children */
  background: rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  padding: 14px;
}

.woocommerce-checkout .ks-address-title {
  font-weight: 600;
  font-size: 14px;
  color: #ffffff;
  background-color: #252525;
  padding: 2px 10px;
  border-radius: 7px;
  display: inline-block;
  margin-bottom:10px;
}

.popup-content {
  line-height: 1.5;
  font-size: 14px;
}


.ks-postcode-checker {
  text-align: center;
  margin-top: 15px;
}

#ks-pc-toggle {
  border-radius: 500px;
  font-size: 16px;
  font-weight: bold;
  font-family: "Asap Condensed", "Roboto Condensed", sans-serif;
  letter-spacing: 0.2pt;
  color: #ffffff;
  padding: 2px 12px !important;
}

#ks-pc-input {
  border-radius: 500px 0 0 500px;
  padding: 7px 15px 7px 15px; 
  max-width: 180px;
  border: none;
  font-size: 16px;
  text-transform: capitalize;
}

#ks-pc-btn {
  border-radius: 0 500px 500px 0;
  padding: 7px 15px 7px 12px !important;
  font-size: 16px;
  text-transform: capitalize;
  font-weight: bold;
  color: #ffffff;
  letter-spacing: 0.2pt;
}

#ks-pc-result {
  background-color: #ffffff;
  border-radius: 5px;
  font-size: 15px;
  padding: 10px 25px;
}

#ks-pc-close {
  padding: 3px 4px 8px 8px;
  line-height: 1.0;
  border-radius: 0px 10px 0px 50px;
  font-size: 18px;
  color: #ffffff;
}