/* Minimal integration styles for ASP.NET Core / HTCommerce functional elements (LTR / English).
   Does NOT alter any designer visual styles from style.ltr.css. */

.field-validation-error,
.validation-summary-errors {
  color: #dc3545;
  font-size: 13px;
  margin-top: 6px;
  display: block;
}

.validation-summary-errors ul {
  list-style: none;
  padding: 0;
  margin: 0 0 15px 0;
}

.validation-summary-errors li {
  background: #fff5f5;
  border: 1px solid #f5c2c7;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 6px;
}

.choco-alert-success {
  background: #e8f5f1;
  border: 1px solid #0d705c;
  color: #0d705c;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 14px;
}

/* Server-side Html.Pager inside #pagination-container styled identically to designer simplePagination */
#pagination-container .pager ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 30px 0 0 0;
}

#pagination-container .pager ul li a,
#pagination-container .pager ul li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 50%;
  border: 1px solid #0d705c;
  color: #0d705c;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
}

#pagination-container .pager ul li.current-page span,
#pagination-container .pager ul li a:hover {
  background-color: #0d705c;
  color: #fff;
}

/* Match designer's exact <a> CTA button rules for native <button type="submit"> elements */
html,
body {
  overflow-x: clip;
  max-width: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

footer.footer {
  margin-top: auto;
  width: 100%;
}

footer.footer .footer_logo {
  align-items: center;
  text-align: center;
}

footer.footer .footer_logo > a {
  display: inline-flex;
  justify-content: center;
}

.html-checkout-page footer.footer {
  padding-bottom: 90px;
}

body.choco-drawer-open {
  overflow: hidden !important;
}

.SideCart,
.SideSelectTime,
.SideProdDetails {
  height: 100vh;
  height: 100dvh;
}

#Checkout {
  padding-bottom: 40px;
}

#Checkout .checkoutBtn {
  z-index: 99;
}

#Checkout .checkoutBtn button {
  background-color: #0d705c;
  display: block;
  text-align: center;
  border: none;
  padding: 12px;
  width: 80%;
  margin: auto;
  color: #fff;
  outline: none;
  box-shadow: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

#Checkout .checkoutBtn button:hover {
  background-color: #f7c621;
}

#loginPage .content .form-box form .loginButton button,
#loginPage .content .form-box form .registerButton button {
  background-color: #0d705c;
  display: inline-block;
  text-align: center;
  border: none;
  padding: 10px;
  width: 100%;
  border-radius: 30px;
  color: #fff;
  outline: none;
  box-shadow: none;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

#loginPage .content .form-box form .loginButton button:hover,
#loginPage .content .form-box form .registerButton button:hover {
  background-color: #f7c621;
}

#EditProfile .Form .saveBtn button,
#ChangePassword .Form .saveBtn button,
#ContactPage .form .sendBtn button {
  background-color: #0d705c;
  display: inline-block;
  text-align: center;
  border: none;
  padding: 10px;
  width: 270px;
  max-width: 100%;
  color: #fff;
  outline: none;
  box-shadow: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

#EditProfile .Form .saveBtn button:hover,
#ChangePassword .Form .saveBtn button:hover,
#ContactPage .form .sendBtn button:hover {
  background-color: #f7c621;
}

#My_Addresses .Form .FormButtons button.AddBtn {
  border: none;
  cursor: pointer;
}

#Checkout .main_item .payment_method .data {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#Checkout .main_item .payment_method .data .payment_item {
  width: calc(50% - 5px);
}

#Checkout .main_item .payment_method .data .payment_item input[type="radio"] {
  display: none;
}

#Checkout .main_item .payment_method .data .payment_item label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  min-height: 54px;
  width: 100%;
}

#Checkout .main_item .payment_method .data .payment_item label h6 {
  flex: 1;
  min-width: 0;
  line-height: 1.4;
  font-size: 14px;
}

#Checkout .main_item .payment_method .data .payment_item label .checked {
  position: static !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

#Checkout .main_item .payment_method .data .payment_item input:checked + label .checked {
  opacity: 1;
  visibility: visible;
}

/* Clean organized Checkout Order Items & Delivery Info on mobile + desktop */
#Checkout .location .item {
  gap: 10px;
}

#Checkout .location .item .data {
  flex: 1;
  min-width: 0;
}

#Checkout .location .item .data i {
  flex-shrink: 0;
}

#Checkout .location .item .change_btn {
  flex-shrink: 0;
  white-space: nowrap;
}

#Checkout .main_item .details_item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  background-color: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
}

#Checkout .main_item .details_item .title {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

#Checkout .main_item .details_item .title img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  flex-shrink: 0;
  margin: 0;
  border-radius: 8px;
  border: 1px solid #dcdcdc;
}

#Checkout .main_item .details_item .title .titleCount {
  flex: 1;
  min-width: 0;
}

#Checkout .main_item .details_item .title .titleCount h5 {
  font-size: 14px;
  font-weight: 700;
  color: #1d1d1d;
  line-height: 1.45;
  margin-bottom: 3px;
}

#Checkout .main_item .details_item .title .titleCount > span {
  display: inline-block;
  background-color: #f2f4f5;
  color: #555;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 12px;
  margin-top: 5px;
}

#Checkout .main_item .details_item .orderprice {
  flex-shrink: 0;
  white-space: nowrap;
  align-self: center;
  text-align: end;
}

#Checkout .main_item .details_item .orderprice span {
  font-weight: 700;
  font-size: 14px;
  color: #0d705c;
}

@media (max-width: 575px) {
  #Checkout .main_item {
    padding: 16px 14px;
  }

  #Checkout .main_item .payment_method .data .payment_item {
    width: 100%;
  }

  #Checkout .main_item .details_item {
    padding: 10px;
    gap: 10px;
  }

  #Checkout .main_item .details_item .title img {
    width: 52px;
    height: 52px;
  }

  #Checkout .checkoutBtn {
    padding: 12px 16px;
  }

  #Checkout .checkoutBtn button {
    width: 100%;
  }
}

/* SideSelectTime radio pills styling matching checkbox selectors */
.SideSelectTime .SecTwo .list_days .item input[type="radio"],
.SideSelectTime .SecTwo .list_times .item input[type="radio"] {
  display: none;
}

.SideSelectTime .SecTwo .list_days .item input[type="radio"]:checked + label,
.SideSelectTime .SecTwo .list_times .item input[type="radio"]:checked + label {
  background-color: #0d705c;
  color: #fff;
  border-color: #0d705c;
}

.SideSelectTime .SecTwo .list_times .item.disabled-slot label {
  opacity: 0.45;
  pointer-events: none;
}

/* Prevent closed nice-select dropdowns (~80 areas) from inflating scroll height inside drawers & pages */
.nice-select .list {
  display: none;
  max-height: 240px;
  overflow-y: auto;
}

.nice-select.open .list {
  display: block;
}

.SideSelectTime .SecTwo {
  overflow-x: hidden;
  overflow-y: auto;
}

.SideSelectTime .SecTwo .list_times .item label {
  padding: 6px 8px;
  font-size: 12.5px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 600px) {
  .SideSelectTime .SecTwo .list_times .item label {
    padding: 6px 6px;
    font-size: 11.5px;
  }
}

/* Saved addresses quick picker inside Checkout */
#Checkout .saved-addresses-box {
  margin-bottom: 18px;
}

#Checkout .saved-addresses-box .address-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 2px solid #d2d2d2;
  border-radius: 10px;
  padding: 12px 15px;
  margin-bottom: 8px;
  cursor: pointer;
}

#Checkout .saved-addresses-box .address-pill.active {
  border-color: #0d705c;
}

/* Product quantity box visible when already in cart */
.product.in-cart .content .cartBtn,
.product_list.in-cart .content .cartBtn {
  display: none;
}

.product.in-cart .content .quantity,
.product_list.in-cart .content .quantity {
  display: flex;
}

/* Order review bar visible when cart has items (hidden on checkout/cart pages so it never covers Pay button) */
.order_review.has-items {
  opacity: 1;
  visibility: visible;
}

.html-checkout-page .order_review,
.html-shopping-cart-page .order_review {
  display: none !important;
}

/* Toast notifications */
#choco-toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 340px;
}

html[dir="ltr"] #choco-toast-container {
  right: auto;
  left: 20px;
}

.choco-toast {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
  padding: 14px 18px;
  border-left: 4px solid #0d705c;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: #1d1d1d;
}

.choco-toast.toast-error {
  border-left-color: #dc3545;
}

.choco-toast .toast-close {
  background: none;
  border: none;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  color: #777;
}

.ajax-loading-block-window {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.45);
  z-index: 99998;
}

/* Keep top header delivery selector pill sleek on a single line (prevent #header .social span rule from breaking inner span) */
#header .social .selectTimeBtn {
  width: auto;
  min-width: 200px;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}

#header .social .selectTimeBtn span.choco-header-time-label {
  display: inline;
  width: auto;
  white-space: nowrap;
}

#header .social .selectTimeBtn img {
  margin-left: 0;
  flex-shrink: 0;
}

/* Clean styling for Admin top bar when logged in as Administrator */
.admin-header-links {
  background: #1d1d1d;
  color: #fff;
  padding: 6px 20px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.admin-header-links a {
  color: #f7c621;
  font-weight: 600;
}

/* Order Details page styled to match Chocolicious designer Checkout & My Orders cards */
.choco-order-details {
  padding-bottom: 60px !important;
}

.choco-od-meta h4 {
  font-size: 20px;
  font-weight: 700;
  color: #1d1d1d;
  margin-bottom: 6px;
}

.choco-od-meta h4 span {
  color: #0d705c;
}

.choco-status-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
}

.choco-status-badge.arrived {
  background-color: #e6f4f0;
  color: #0d705c;
  border: 1px solid #0d705c;
}

.choco-status-badge.process {
  background-color: #fff7df;
  color: #b78500;
  border: 1px solid #f7c621;
}

.choco-status-badge.canceled {
  background-color: #fdecef;
  color: #d10e52;
  border: 1px solid #d10e52;
}

.choco-od-total-pill {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 30px;
  background-color: #fff;
  border: 1px solid #d1d1d1;
  font-size: 14px;
  color: #1d1d1d;
}

.choco-od-total-pill strong {
  color: #0d705c;
}

.choco-od-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.choco-od-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid #0d705c;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.choco-od-btn.primary {
  background-color: #0d705c;
  color: #fff;
}

.choco-od-btn.primary:hover {
  background-color: #f7c621;
  border-color: #f7c621;
  color: #fff;
}

.choco-od-btn.outline {
  background-color: #fff;
  color: #0d705c;
}

.choco-od-btn.outline:hover {
  background-color: #0d705c;
  color: #fff;
}

.choco-od-address {
  font-size: 14px;
  line-height: 1.85;
  color: #444;
}

.choco-od-address .addr-name {
  font-size: 15px;
  font-weight: 700;
  color: #1d1d1d;
  margin-bottom: 4px;
}

.choco-od-pay-status {
  background: #e6f4f0;
  color: #0d705c;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 767px) {
  .choco-od-actions {
    justify-content: flex-start;
  }
}

/* Password Recovery & Registration Result pages styled to match designer auth cards */
.choco-auth-simple {
  padding: 60px 0;
}

.choco-auth-card {
  max-width: 540px;
  margin: 0 auto;
  background: #f0f0f0;
  border: 2px solid #d1d1d1;
  border-radius: 20px;
  padding: 40px 35px;
  text-align: center;
}

.choco-auth-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #e6f4f0;
  color: #0d705c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
}

.choco-auth-subtitle {
  color: #667085;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 25px;
}

.choco-auth-card .form-control {
  background-color: #fff;
}

.choco-auth-submit {
  margin-top: 20px;
}

.choco-auth-submit button,
.choco-auth-submit a {
  display: inline-block;
  width: 100%;
  padding: 12px 24px;
  border-radius: 30px;
  background-color: #0d705c;
  color: #fff;
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.choco-auth-submit button:hover,
.choco-auth-submit a:hover {
  background-color: #f7c621;
  color: #fff;
}

.choco-auth-back {
  margin-top: 20px;
}

.choco-auth-back a {
  color: #0d705c;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.choco-auth-back a:hover {
  color: #f7c621;
}

@media (max-width: 575px) {
  .choco-auth-card {
    padding: 30px 20px;
  }
}

/* Saved address cards Edit/Delete links & Edit Address page */
#My_Addresses .Form.always-open {
  display: block !important;
}

.choco-addr-pill-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.choco-addr-card-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
}

.choco-addr-edit-link,
.choco-addr-delete-link {
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
}

.choco-addr-edit-link {
  color: #0d705c !important;
}

.choco-addr-edit-link:hover {
  color: #f7c621 !important;
}

.choco-addr-delete-link {
  color: #d10e52 !important;
}

.choco-addr-delete-link:hover {
  color: #a00b3f !important;
}

/* My Orders card action buttons (Reorder + Invoice/Details/Print) */
#My_Orders .ordersList .orderItem .reorderBtn.choco-order-card-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

#My_Orders .ordersList .orderItem .reorderBtn.choco-order-card-btns a {
  width: auto !important;
  min-width: 130px;
  padding: 9px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

#My_Orders .ordersList .orderItem .reorderBtn.choco-order-card-btns a.choco-invoice-btn {
  background-color: #0d705c;
  color: #fff;
  border-color: #0d705c;
}

#My_Orders .ordersList .orderItem .reorderBtn.choco-order-card-btns a.choco-invoice-btn:hover {
  background-color: #f7c621;
  border-color: #f7c621;
  color: #fff;
}

/* Shopping Cart & SideCart grouped flavor chips + clean mobile layout (no overlap with quantity controls) */
#Shopping_cart .cart_list .shoppingcartItem {
  border-bottom: 1px solid #efefef;
  gap: 12px;
}

#Shopping_cart .cart_list .shoppingcartItem .image {
  flex: 1 1 42%;
  min-width: 0;
  align-items: flex-start;
  gap: 12px;
}

#Shopping_cart .cart_list .shoppingcartItem .image > a {
  flex-shrink: 0;
}

#Shopping_cart .cart_list .shoppingcartItem .image img {
  margin-left: 0;
  margin-right: 0;
  width: 70px;
  height: 70px;
  object-fit: cover;
}

#Shopping_cart .cart_list .shoppingcartItem .image > div {
  flex: 1;
  min-width: 0;
}

.quantity button.plus-btn,
.quantity button.minus-btn,
#Shopping_cart .cart_list .shoppingcartItem .quantity button[class*="btn"],
.SideCart .cartItem .quantity button[class*="btn"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  line-height: 1 !important;
  flex-shrink: 0;
}

.quantity button.plus-btn img,
.quantity button.minus-btn img,
#Shopping_cart .cart_list .shoppingcartItem .quantity .plus-btn img,
#Shopping_cart .cart_list .shoppingcartItem .quantity .minus-btn img,
.SideCart .cartItem .quantity .plus-btn img,
.SideCart .cartItem .quantity .minus-btn img {
  margin: 0 !important;
  width: 12px;
  height: auto !important;
  display: block !important;
}

/* Keep product card & list card +/- buttons true circles (override style.css 75px width) */
.product .quantity button.plus-btn,
.product .quantity button.minus-btn {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px;
  border-radius: 50% !important;
}

.product_list .content .quantity button.plus-btn,
.product_list .content .quantity button.minus-btn {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px;
  border-radius: 50% !important;
}

.product .quantity input,
.product_list .content .quantity input {
  flex: 1;
  min-width: 0;
}

.choco-cart-attrs {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.choco-attr-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.choco-attr-label {
  font-size: 11.5px;
  color: #6c757d;
  font-weight: 600;
  line-height: 1.35;
}

.choco-attr-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.choco-attr-chip {
  display: inline-block;
  background-color: #eef6f4;
  color: #0d705c;
  border: 1px solid #cce3dd;
  border-radius: 14px;
  padding: 2px 9px;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.45;
  max-width: 100%;
  word-break: break-word;
}

.choco-cart-attrs-compact {
  margin-top: 4px;
  margin-bottom: 6px;
}

.choco-cart-attrs-compact .choco-attr-chip {
  font-size: 11px;
  padding: 1px 7px;
}

.choco-cart-attrs-fallback {
  display: block;
  color: #777;
  font-size: 12px;
  margin-top: 4px;
  line-height: 1.5;
}

@media (max-width: 767px) {
  #Shopping_cart .cart_list .shoppingcartItem {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "image removeCart"
      "quantity total";
    gap: 12px 10px;
    padding: 14px 12px;
  }

  #Shopping_cart .cart_list .shoppingcartItem .image {
    grid-area: image;
    width: 100%;
    align-items: flex-start;
    gap: 10px;
  }

  #Shopping_cart .cart_list .shoppingcartItem .image img {
    width: 66px;
    height: 66px;
  }

  #Shopping_cart .cart_list .shoppingcartItem .image h5 {
    white-space: normal;
    text-wrap: wrap;
    line-height: 1.45;
    font-size: 14px;
    margin-bottom: 2px;
  }

  #Shopping_cart .cart_list .shoppingcartItem .removeCart {
    grid-area: removeCart;
    align-self: start;
    justify-self: end;
  }

  #Shopping_cart .cart_list .shoppingcartItem .quantity {
    grid-area: quantity;
    align-self: center;
    justify-self: start;
    padding-top: 8px;
    border-top: 1px dashed #ececec;
    width: 100%;
  }

  #Shopping_cart .cart_list .shoppingcartItem .total {
    grid-area: total;
    align-self: center;
    justify-self: end;
    text-align: end;
    padding-top: 8px;
    border-top: 1px dashed #ececec;
    width: 100%;
  }
}

/* Keep Cart action buttons (Continue Shopping & Empty Cart) equal width & single-line */
#Shopping_cart .cart_list .buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

#Shopping_cart .cart_list .buttons > a.continueBtn,
#Shopping_cart .cart_list .buttons > form {
  flex: 1 1 160px;
  max-width: 210px;
  display: flex !important;
  margin: 0;
}

#Shopping_cart .cart_list .buttons > a.continueBtn,
#Shopping_cart .cart_list .buttons > form > a.emptyBtn {
  width: 100%;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  font-size: 14px;
}

@media (max-width: 575px) {
  #Shopping_cart .cart_list .buttons {
    padding: 14px 12px;
    gap: 10px;
  }

  #Shopping_cart .cart_list .buttons > a.continueBtn,
  #Shopping_cart .cart_list .buttons > form {
    flex: 1 1 calc(50% - 5px);
    max-width: none;
  }

  #Shopping_cart .cart_list .buttons > a.continueBtn,
  #Shopping_cart .cart_list .buttons > form > a.emptyBtn {
    font-size: 13px;
    padding: 8px 10px;
  }
}

/* Smooth native CSS horizontal scroll carousel on mobile (< 768px) + GPU-composited Owl Carousel on desktop */
@media (max-width: 767px) {
  .choco-home-carousel.owl-carousel,
  .choco-home-carousel.choco-mobile-native-scroll {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    gap: 12px;
    padding: 4px 2px 12px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .choco-home-carousel.owl-carousel::-webkit-scrollbar,
  .choco-home-carousel.choco-mobile-native-scroll::-webkit-scrollbar {
    display: none;
  }

  .choco-home-carousel > .product {
    flex: 0 0 68%;
    width: 68%;
    max-width: 68%;
    scroll-snap-align: start;
    margin-bottom: 10px;
  }
}

@media (min-width: 600px) and (max-width: 767px) {
  .choco-home-carousel > .product {
    flex: 0 0 42%;
    width: 42%;
    max-width: 42%;
  }
}

.choco-home-carousel .owl-stage-outer {
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

.choco-home-carousel .owl-stage {
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.choco-home-carousel .owl-item {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.choco-home-carousel.owl-grab {
  user-select: none;
  -webkit-user-select: none;
}

@media (hover: none), (max-width: 767px) {
  .choco-home-carousel .product,
  .choco-home-carousel .product .main .image img,
  .choco-home-carousel .product .content {
    transition: none !important;
  }
}

/* =========================================================
   Compact Section Spacing + Modern Product Card Design
   ========================================================= */
#Categories .nav-menu {
  padding: 12px 16px;
}

.Products {
  padding: 26px 0 !important;
}

.Products .Section_title {
  margin-bottom: 18px !important;
  gap: 6px !important;
}

.Products .viewAllBtn {
  margin-top: 8px;
}

.Products .owl-nav {
  bottom: -24px;
}

.footer {
  padding-top: 40px;
}

.footer .footer_bottom {
  margin-top: 34px;
}

/* Modern Product Card (.choco-product-card) */
.product.choco-product-card {
  --brand: #0F6E5C;
  background: #fff;
  border: 1px solid #e7eeec;
  border-radius: 22px !important;
  padding: 10px !important;
  margin-bottom: 16px;
  box-shadow: 0 8px 24px rgba(18, 48, 42, 0.08);
  display: flex;
  flex-direction: column;
  height: auto;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product.choco-product-card:hover {
  border-color: var(--brand);
  box-shadow: 0 12px 28px rgba(18, 48, 42, 0.13);
}

.choco-pc-media {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  background: #f5f7f6;
}

.choco-pc-media > a {
  display: block;
  width: 100%;
}

.choco-pc-image {
  display: block;
  width: 100%;
  aspect-ratio: 11 / 10;
  object-fit: cover;
  border-radius: 16px;
}

.choco-pc-body {
  padding: 12px 6px 4px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.choco-pc-title {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
  color: #12302A;
  min-height: 2.8em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.choco-pc-title a {
  color: inherit;
  text-decoration: none;
}

.choco-pc-title a:hover {
  color: var(--brand);
}

.choco-pc-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.choco-pc-price {
  direction: ltr;
  color: var(--brand);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}

.choco-pc-price small {
  font-size: 11.5px;
  font-weight: 700;
  margin-inline-start: 2px;
}

.choco-product-card button {
  font-family: inherit;
  color: #fff;
  border: 0;
  cursor: pointer;
  outline: none;
}

.choco-product-card button:focus,
.choco-product-card button:active {
  outline: none !important;
  box-shadow: none !important;
}

.choco-product-card button:focus-visible {
  outline: 2px solid rgba(15, 110, 92, 0.45) !important;
  outline-offset: 2px;
}

.choco-pc-add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  padding: 0 16px;
  border-radius: 13px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}

.choco-pc-add-btn:hover {
  background: #f7c621;
  color: #fff;
}

.choco-pc-add-btn.choco-pc-flavors-btn {
  padding: 0 12px;
  font-size: 13px;
}

.choco-pc-stepper {
  display: none;
  align-items: center;
  gap: 2px;
  height: 40px;
  padding: 0 2px;
  border-radius: 13px;
  background: var(--brand);
  color: #fff;
  flex-shrink: 0;
}

.choco-pc-step-btn {
  width: 34px;
  height: 36px;
  border-radius: 11px;
  background: transparent;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background-color 0.15s ease;
}

.choco-pc-step-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

.choco-pc-stepper output {
  min-width: 22px;
  text-align: center;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.product.choco-product-card.in-cart .choco-quick-add-btn {
  display: none;
}

.product.choco-product-card.in-cart .choco-pc-stepper {
  display: inline-flex;
}

@media (max-width: 767px) {
  .Products {
    padding: 18px 0 !important;
  }

  .Products .Section_title {
    margin-bottom: 12px !important;
  }

  .product.choco-product-card {
    padding: 8px !important;
    border-radius: 18px !important;
    margin-bottom: 10px;
  }

  .choco-pc-media,
  .choco-pc-image {
    border-radius: 13px;
  }

  .choco-pc-body {
    padding: 10px 4px 2px;
  }

  .choco-pc-title {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .choco-pc-price {
    font-size: 17px;
  }

  .choco-pc-price small {
    font-size: 10.5px;
  }

  .choco-pc-add-btn {
    height: 36px;
    padding: 0 12px;
    border-radius: 11px;
    font-size: 13px;
    gap: 4px;
  }

  .choco-pc-add-btn.choco-pc-flavors-btn {
    padding: 0 10px;
    font-size: 12px;
  }

  .choco-pc-stepper {
    height: 36px;
    border-radius: 11px;
  }

  .choco-pc-step-btn {
    width: 30px;
    height: 32px;
    font-size: 18px;
  }

  .choco-pc-stepper output {
    min-width: 18px;
    font-size: 14px;
  }
}

/* On 2-column grids (Related / Recently Viewed on small phones), stack footer neatly if tight */
@media (max-width: 480px) {
  #ProductDetails .col-6 .choco-pc-footer,
  #CategoryPage .col-6 .choco-pc-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  #ProductDetails .col-6 .choco-pc-add-btn,
  #ProductDetails .col-6 .choco-pc-stepper,
  #CategoryPage .col-6 .choco-pc-add-btn,
  #CategoryPage .col-6 .choco-pc-stepper {
    width: 100%;
    justify-content: center;
  }

  #ProductDetails .col-6 .choco-pc-stepper,
  #CategoryPage .col-6 .choco-pc-stepper {
    justify-content: space-between;
  }
}

/* =========================================================
   Horizontal Product List Card (Category / View All Page)
   ========================================================= */
#CategoryPage {
  padding: 32px 0 42px !important;
}

#CategoryPage .Section_title {
  margin-bottom: 22px !important;
}

.product_list.choco-product-list-card {
  --brand: #0F6E5C;
  background: #FFFFFF;
  border: 1px solid #D9E5E1;
  border-radius: 20px !important;
  padding: 10px !important;
  margin-bottom: 18px;
  display: flex;
  align-items: stretch;
  gap: 14px;
  box-shadow: 0 6px 20px rgba(18, 48, 42, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.product_list.choco-product-list-card:hover {
  border-color: var(--brand);
  box-shadow: 0 10px 24px rgba(18, 48, 42, 0.11);
}

.choco-pl-media {
  width: 138px;
  height: 138px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  display: block;
  background: #f5f7f6;
}

.choco-pl-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}

.choco-pl-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 4px 2px 0;
}

.choco-pl-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.choco-pl-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 800;
  color: #12302A;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.choco-pl-title a {
  color: inherit;
  text-decoration: none;
}

.choco-pl-title a:hover {
  color: var(--brand);
}

.choco-pl-sub {
  font-size: 13.5px;
  color: #4F6B64;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.choco-pl-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
}

.choco-pl-price {
  direction: ltr;
  font-size: 20px;
  font-weight: 800;
  color: var(--brand);
  line-height: 1.1;
  white-space: nowrap;
}

.choco-pl-price small {
  font-size: 12.5px;
  font-weight: 700;
  margin-inline-start: 2px;
}

.choco-product-list-card button {
  font-family: inherit;
  border: 0;
  cursor: pointer;
  outline: none;
}

.choco-product-list-card button:focus,
.choco-product-list-card button:active {
  outline: none !important;
  box-shadow: none !important;
}

.choco-product-list-card button:focus-visible {
  outline: 2px solid rgba(15, 110, 92, 0.45) !important;
  outline-offset: 2px;
}

.choco-pl-add-circle {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--brand);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.choco-pl-add-circle:hover {
  background: #f7c621;
  color: #FFFFFF;
}

.choco-pl-flavors-btn {
  height: 42px;
  padding: 0 15px;
  border-radius: 999px;
  background: var(--brand);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}

.choco-pl-flavors-btn:hover {
  background: #f7c621;
  color: #FFFFFF;
}

.choco-pl-stepper {
  display: none;
  height: 46px;
  align-items: center;
  background: #E3F0EC;
  border-radius: 999px;
  padding: 0 2px;
  flex-shrink: 0;
}

.choco-pl-step-btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: transparent;
  color: var(--brand);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background-color 0.15s ease;
}

.choco-pl-step-btn:hover {
  background: rgba(15, 110, 92, 0.12);
}

.choco-pl-stepper output {
  min-width: 22px;
  text-align: center;
  font-weight: 800;
  font-size: 17px;
  color: #12302A;
  margin: 0;
}

.product_list.choco-product-list-card.in-cart .choco-quick-add-btn {
  display: none;
}

.product_list.choco-product-list-card.in-cart .choco-pl-stepper {
  display: inline-flex;
}

@media (max-width: 575px) {
  #CategoryPage {
    padding: 20px 0 32px !important;
  }

  .product_list.choco-product-list-card {
    padding: 9px !important;
    border-radius: 18px !important;
    gap: 12px;
    margin-bottom: 14px;
  }

  .choco-pl-media,
  .choco-pl-image {
    width: 110px;
    height: 110px;
    border-radius: 12px;
  }

  .choco-pl-title {
    font-size: 15.5px;
  }

  .choco-pl-sub {
    font-size: 12.5px;
  }

  .choco-pl-price {
    font-size: 17.5px;
  }

  .choco-pl-price small {
    font-size: 11px;
  }

  .choco-pl-add-circle {
    width: 42px;
    height: 42px;
  }

  .choco-pl-flavors-btn {
    height: 38px;
    padding: 0 12px;
    font-size: 12.5px;
  }

  .choco-pl-stepper {
    height: 42px;
  }

  .choco-pl-step-btn {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .choco-pl-stepper output {
    min-width: 18px;
    font-size: 15.5px;
  }
}
