﻿/* ===== Two-Column Shop Layout ===== */
@import url('https://fonts.googleapis.com/css2?family=Marcellus&display=swap');
h1,h2,h3,h4,h5,h6{
   font-family: 'Marcellus', serif;
}

body {
  padding-top: 0px !important;
}

/* Main container for the shop page */
.o_wsale_products_main_row {
  display: flex !important;
  align-items: flex-start !important;
  flex-wrap: nowrap !important;
  gap: 20px;
}
/* Red button */
.s_website_form_send {
    background-color: #DC143C !important;  /* red background */
    border-color: #DC143C !important;      /* red border */
    color: #ffffff !important;             /* white text */
}

/* Optional: hover effect */
.s_website_form_send:hover {
    background-color: #b01030 !important;  /* darker red on hover */
    border-color: #b01030 !important;
}


/* Products grid expanded to col-9 (fills remaining space) */
#products_grid {
  flex: 0 0 75% !important;
  width: 75% !important;
  margin-left: 0 !important;
}
.origami-cash-button {
  margin-bottom: 10% !important;
}
/* Category group headings inside the products grid */
.origami-category-heading {
  font-family: 'Marcellus';
  grid-column: 1 / -1;
  margin: 12px 0 4px;
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
}

.origami-category-heading * {
  color: inherit !important;
}

.origami-category-heading-text {
  margin: 0;
}

.origami-category-heading-pieces {
  font-size: 25px;
  font-weight: 700;
  white-space: nowrap;
}

.origami-category-heading[data-origami-category="EntrAces"],
.origami-category-heading.origami-cat-entrees {
    color: #A1C89D;
}

.origami-category-heading[data-origami-category="Plats Chauds"],
.origami-category-heading.origami-cat-plats-chauds {
    color: #E39F77;
}

.origami-category-heading[data-origami-category="Sushi"],
.origami-category-heading.origami-cat-sushi {
    color: #DF646C;
}

.origami-category-heading[data-origami-category="Desserts"],
.origami-category-heading.origami-cat-desserts {
    color: #E29CC1;
}

.origami-category-heading[data-origami-category="Boissons"],
.origami-category-heading.origami-cat-boissons {
    color: #8BADD8;
}

.origami-category-heading[data-origami-category="Accompagnements"],
.origami-category-heading.origami-cat-accompagnements {
    color: #E1C57F;
}

.origami-category-heading[data-origami-category="Les Extras"],
.origami-category-heading[data-origami-category="Extras"],
.origami-category-heading.origami-cat-les-extras,
.origami-category-heading.origami-cat-extras {
    color: #8BADD8;
}

/* Quantity controls in product cards */
.origami-qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-top: 6px;
  margin-right: 5% !important;
}
.origami-qty-btn {
  width: 34px;
  height: 34px;
  border: 1px solid #332F30;
  background: #332F30;
  color: #ffffff;
  border-radius: 0;
  line-height: 1;
  font-weight: 700;
}
.origami-qty-btn:hover {
  background: #1f1f1f;
}
.origami-qty-value {
  min-width: 36px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 600;
  background: #ffffff;
  color: #111111;
  border-top: 1px solid #111111;
  border-bottom: 1px solid #111111;
}

/* Toast (same style as extra cart page) */
.cart-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 360px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(0,0,0,.25);
    opacity: 0;
    transform: translateX(120%);
    transition: all .4s ease;
    z-index: 9999;
    overflow: hidden;
}

.toast.o_cc1 .btn-primary,
.toast.o_cc1 a.btn-primary,
.cart-toast .btn-primary,
.cart-toast a.btn-primary {
  background-color: #e72839 !important;
  border-color: #c11729 !important;
  color: #fff !important;
  box-shadow: none !important;
  background-image: none !important;
}

.cart-toast .btn-primary:hover,
.cart-toast a.btn-primary:hover {
  background-color: #c11729 !important;
  border-color: #a11020 !important;
}

.toast.o_cc1 .btn-primary:hover,
.toast.o_cc1 a.btn-primary:hover {
  background-color: #c11729 !important;
  border-color: #a11020 !important;
}

.cart-toast .btn,
.cart-toast a.btn {
    background-color: #e72839 !important;
    border-color: #c11729 !important;
    color: #fff !important;
    background-image: none !important;
    box-shadow: none !important;
}

.cart-toast .btn:hover,
.cart-toast a.btn:hover {
    background-color: #c11729 !important;
    border-color: #a11020 !important;
}

.cart-toast.show {
    opacity: 1;
    transform: translateX(0);
}

/* Cash payment confirmation page */
.origami-cash-method-block {
    margin-bottom: 1rem;
    position: relative;
}

.origami-cash-method-label small {
    color: #555;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.origami-cash-method-popup {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 30;
}

.origami-cash-method-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.origami-cash-method-popup.is-open .origami-cash-method-popup-backdrop {
    opacity: 1;
}

.origami-cash-method-popup.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.origami-cash-method-popup-panel {
    position: relative;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 1rem;
    overflow: hidden;
    z-index: 31;
}

.origami-cash-method-popup-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
}

.origami-cash-method-popup-heading strong {
    font-size: 0.95rem;
}

.origami-cash-method-popup-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #777;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.origami-cash-method-popup-options {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.btn-primary {
  background-color: #d40015;
}
.o_login_auth {
  display: none;
}
.origami-cash-method-popup-option {
    border: 1px solid #d40015;
    border-radius: 8px;
    padding: 0.65rem 0.9rem;
    background: #fff;
    color: #d40015;
    text-align: left;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.origami-cash-method-popup-option small {
    font-weight: 400;
    color: #555;
    font-size: 0.78rem;
}

.origami-cash-method-popup-option:hover {
    background: #d40015;
    color: #fff;
}

.origami-cash-method-popup-option:hover small {
    color: rgba(255, 255, 255, 0.8);
}

.origami-cash-method-block.origami-cash-mode-pickup .origami-cash-method-popup {
    display: none;
}

.origami-cash-page {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px 80px;
    background: url('/Origami/static/images/sushi-background.png') no-repeat left bottom;
    background-size: 520px auto;
}

.origami-cash-wrap {
    text-align: center;
    max-width: 640px;
    width: 100%;
}

.origami-cash-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #d40015;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 36px;
}

.origami-cash-page h1 {
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 22px;
    color: #2a2a2a;
}

.origami-cash-callout {
    background: #f1ebe2;
    border: 1px solid #8b8176;
    padding: 24px 28px;
    margin: 0 auto 24px;
    max-width: 520px;
}

.origami-cash-callout p {
    margin: 0 0 10px;
    font-size: 18px;
    color: #333;
}

.origami-cash-order-number {
    margin-bottom: 14px;
    font-weight: 500;
}

.origami-cash-order-number strong {
    display: block;
    margin-top: 6px;
    font-size: 24px;
    font-weight: 700;
    color: #111;
    letter-spacing: 1px;
}

.origami-cash-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    font-size: 20px;
    font-weight: 600;
    color: #111;
    letter-spacing: 1px;
}

.origami-cash-phone-text {
    display: inline;
}

.origami-cash-phone-link {
    display: none;
    color: inherit;
    text-decoration: none;
}

.origami-cash-phone-link:hover,
.origami-cash-phone-link:focus {
    color: #d40015;
    text-decoration: none;
}

.origami-cash-phone-separator {
    margin: 0 8px;
}

.origami-cash-track {
    background: #d40015;
    border-color: #d40015;
    color: #fff;
    padding: 10px 18px;
    border-radius: 3px;
    font-size: 14px;
}

.origami-cash-track:hover {
    background: #a80011;
    border-color: #a80011;
    color: #fff;
}

.origami-cash-button {
    border: 1px solid #d40015;
    color: #d40015;
    background: #fff;
    border-radius: 4px;
    font-size: 15px;
}

.origami-cash-button:hover {
    background: #ffe9ec;
    color: #d40015;
}

@media (max-width: 768px) {
    .origami-cash-page {
        background-size: 360px auto;
        padding: 40px 16px 60px;
    }
.origami-mobile-allergen-toggle-label {
  color: #ffffff;
}
    .origami-cash-page h1 {
        font-size: 22px;
    }

    .origami-cash-callout {
        padding: 18px 20px;
    }

    .origami-cash-order-number strong {
        font-size: 22px;
    }

    .origami-cash-phone-text {
        display: none;
    }

    .origami-cash-phone-link {
        display: inline;
    }

}

.cart-toast-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    font-weight: 600;
}

.toast-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.cart-toast-body {
    padding: 16px;
}

.cart-toast-product {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-toast-product img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-toast-info {
    flex: 1;
}

.product-name {
    font-weight: 600;
    font-size: 14px;
}

.product-qty {
    font-size: 13px;
    color: #777;
}

.product-price {
    font-weight: 600;
    white-space: nowrap;
}

.cart-toast .btn-danger {
    background-color: #d40015 !important;
    border: none !important;
    padding: 12px;
    font-weight: 600;
}

/* ===== Hero Banner Styling ===== */

/* ================================
   HERO BANNER
   ================================ */
.origami-hero-banner {
    background: url('/Origami/static/images/menu.png') center/cover no-repeat;
    width: 100%;
    height: 360px;
    margin: 0;
    padding: 0;
}
/* Hide hero banner on mobile */
@media (max-width: 576px) {
    .origami-hero-banner {
        display: none !important;
    }
}


.origami-hero-content {
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.hero-title {
    font-size: 52px;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 18px;
    opacity: 0.9;
}

/* ===== Sidebar Structure ===== */

/* Updated sidebar to use column layout: allergens on top, categories/subcategories below */
.origami-sidebar {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0 !important;
  padding: 0 !important;
  background-color: transparent !important;
  margin-top: 5%;
}

/* Allergen box styling - full width at top */
.origami-allergen-box {
  background: #fafafa;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-bottom: 25px; /* spacing before categories */
  cursor: pointer;
  width: 100%;
}

.origami-allergen-box summary {
  list-style: none;
}

.origami-allergen-summary {
  font-weight: 600;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: #DC143C;
  color: #ffffff;
  padding: 8px 10px;
  border-radius: 6px;
  width: 100%;
}

.origami-allergen-arrow {
  font-size: 16px;
  color: #ef2328;
}

.origami-allergen-content {
  margin-top: 12px;
  padding-left: 4px;
}

.origami-allergen-desc {
  font-size: 13px;
  color: #777;
  margin-bottom: 10px;
}

.origami-allergen-list {
  padding-left: 0;
  list-style: none;
  margin: 0;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 6px;
}

.origami-allergen-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  font-size: 14px;
}

.origami-allergen-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  width: 100%;
}

.origami-allergen-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
  background-image: url("/Origami/static/images/eye-open.svg");
}

.origami-allergen-label.active .origami-allergen-name {
  font-weight: 600;
}

.origami-allergen-label.active .origami-allergen-icon {
  background-image: url("/Origami/static/images/eye-closed.svg");
}

.origami-allergen-checkbox {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}

@media (min-width: 992px) {
  .origami-allergen-mobile-slot {
    display: none;
  }
}
.pt-2 {
  padding-top: 0% !important;
}
@media (max-width: 991px) {
  #custom_products_sidebar .origami-allergen-box {
    display: none;
  }

  .origami-allergen-mobile-slot {
    position: absolute;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 5;
    margin-top: 5%;
    margin-left: 60%;
  }

  .origami-allergen-mobile-slot .origami-allergen-box--mobile {
    position: static;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    width: auto;
    display: inline-flex;
    align-items: center;
  }

  .origami-allergen-mobile-slot .origami-allergen-summary {
    font-size: 11px;
    padding: 4px 10px;
    border: 1px solid #d40015;
    border-radius: 16px;
    background: #d40015;
    color: #ffffff;
  }

  .origami-allergen-mobile-slot .origami-allergen-content {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 8px 10px;
    z-index: 10;
    min-width: 220px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  }

  .origami-category-heading {
    padding-right: 110px;
  }
}


/* Categories + divider + subcategories wrapper - horizontal layout below allergen box */
.origami-categories-wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0;
  width: 100%;
}

/* Categories column: simple text list on the left */
.origami-cat-col {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: none;
  padding: 0px 20px 0px 0;
  width: auto;
  align-items: flex-start;
  padding-right: 20px;
}

/* Category list arranged vertically */
.origami-cat-list {
  gap: 0;
  width: 100%;
}

/* Category items: simple list format */
.origami-cat-item {
  margin: 0 !important;
  display: block;
  padding: 0;
}

/* Category links styled as simple text, no background or icon styling */
.origami-cat-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 14px 8px;
  text-align: center;
  border-radius: 16px;
  transition: background-color 0.2s ease;
}
.origami-cat-link span {
  display: inline;
}

.origami-cat-link:hover {
  background-color: transparent;
  border-color: transparent;
  color: #dd5143;
  text-decoration: none;
}

.origami-cat-link.active {
  background-color: transparent;
  color: #d40015; /* make category name red when active */
  border-color: transparent;
  font-weight: 600;
  text-decoration: none; /* ensure no underline when active */
}
.o_filter_tag {
  background: #d40015 !important;
}
/* Remove the ::after pseudo-element that was creating labels */
.origami-cat-item::after {
  display: none;
}
.oe_product_cart .o_wsale_product_btn .btn:hover {
  background-color: #d40015 !important;
}
/* Subcategories wrapper takes the right side */
.origami-subcat-wrapper {
  flex: 0 0 60%;
  padding: 20px 0 20px 20px;
}

/* Subcategories block styling */
.origami-subcat-block {
  display: block;
}

.origami-subcat-block h4 {
  font-weight: 600;
  font-size: 14px;
  color: #333;
  margin-bottom: 16px;
  margin-top: 0;
}

.origami-subcat-block h6 {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 16px;
  margin-top: 0;
}

.origami-subcat-block[data-origami-category="EntrAces"] h6,
.origami-subcat-block[data-origami-category="Entrees"] h6,
.origami-subcat-block[data-origami-category="Entrées"] h6 {
  color: #A1C89D;
}

.origami-subcat-block[data-origami-category="Plats Chauds"] h6 {
  color: #E39F77;
}

.origami-subcat-block[data-origami-category="Sushi"] h6 {
  color: #DF646C;
}

.origami-subcat-block[data-origami-category="Les Extras"] h6,
.origami-subcat-block[data-origami-category="Extras"] h6,
.origami-subcat-block[data-origami-category="Boissons"] h6 {
  color: #8BADD8;
}

.origami-subcat-block[data-origami-category="Accompagnements"] h6 {
  color: #E1C57F;
}

/* Subcategories list styling */
.origami-subcat-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Subcategory links styling */
.origami-subcat-link {
  color: #666;
  text-decoration: none;
  font-size: 13px;
  padding: 8px 0;
  transition: color 0.2s ease;
  cursor: pointer;
}

.origami-subcat-link:hover {
  color: #dd5143;
}

.origami-subcat-link.active {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}
.origami-subcat-link.active::after {
  display: none;
}

.origami-subcat-link.active[data-origami-category="EntrAces"],
.origami-subcat-link.active[data-origami-category="Entrées"],
.origami-subcat-link.active[data-origami-category="Entrees"] {
  color: #2ecc71;
}

.origami-subcat-link.active[data-origami-category="Plats Chauds"] {
  color: #f39c12;
}

.origami-subcat-link.active[data-origami-category="Sushi"] {
  color: #e74c3c;
}

.origami-subcat-link.active[data-origami-category="Les Extras"],
.origami-subcat-link.active[data-origami-category="Extras"],
.origami-subcat-link.active[data-origami-category="Boissons"] {
  color: #3498db;
}

.origami-subcat-link.active[data-origami-category="Accompagnements"] {
  color: #E1C57F;
}

/* Align active subcategory colors with category headings */
.origami-subcat-link.active[data-origami-category="EntrAces"],
.origami-subcat-link.active[data-origami-category="Entrées"],
.origami-subcat-link.active[data-origami-category="Entrees"] {
  color: #A1C89D;
}

.origami-subcat-link.active[data-origami-category="Plats Chauds"] {
  color: #E39F77;
}

.origami-subcat-link.active[data-origami-category="Sushi"] {
  color: #DF646C;
}

.origami-subcat-link.active[data-origami-category="Les Extras"],
.origami-subcat-link.active[data-origami-category="Extras"],
.origami-subcat-link.active[data-origami-category="Boissons"] {
  color: #8BADD8;
}

/* sidebar-wrapper displays vertically (stacked) */
.sidebar-wrapper {
  display: flex;
  flex-direction: column;
  height: auto;
  background-color: white;
  gap: 0;
}

/* Categories column: displays icons in vertical stack */
.categories-column {
  flex: 0 0 auto;
  width: 100%;
  border-right: none;
  border-bottom: 1px solid #e0e0e0;
  overflow-y: visible;
  max-height: none;
  display: flex;
  flex-direction: column;
  padding: 0;
  background-color: white;
}

/* Subcategories column: displays below categories */
.subcategories-column {
  flex: 1;
  padding: 20px 16px;
  overflow-y: auto;
  max-height: 600px;
  background-color: white;
}

/* Hide sidebar divider - no longer needed */
.sidebar-divider {
  display: none !important;
}

/* Divider styling - vertical line between columns */
.origami-divider {
  display: none;
}

/* ===== Categories List Styling ===== */

.categories-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 16px 0;
  width: 100%;
}


.category-item {
  margin-bottom: 0;
  border-right: none;
  flex: none;
  text-align: center;
}

.category-item:nth-child(5n) {
  border-right: none;
}

/* Category links: vertical layout with icon and label stacked */
.category-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 8px;
  background-color: transparent;
  color: #333;
  text-decoration: none;
  border: none;
  border-radius: 0;
  transition: all 0.2s ease;
  font-weight: 500;
  font-size: 11px;
  cursor: pointer;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  min-height: 120px;
}

.category-link:hover {
  background-color: #f9f9f9;
  color: #dd5143;
}

.category-link.active {
  background-color: #f5f5f5;
  border-radius: 16px;
}


/* Category icon: larger circular icons */
.category-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 2px solid #e0e0e0;

    background-repeat: no-repeat;
    background-position: center;
    background-size: 36px 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: background-color 0.25s ease,
                border-color 0.25s ease,
                filter 0.25s ease;
}


.origami-cat-link[data-name="Entrées"] .category-icon,
.origami-cat-link[data-name="Entrees"] .category-icon {
    background-image: url("/Origami/static/images/entree.png");
}

.origami-cat-link[data-name="Plats Chauds"] .category-icon {
    background-image: url("/Origami/static/images/chaud.png");
}

.origami-cat-link[data-name="Sushi"] .category-icon {
    background-image: url("/Origami/static/images/piece-of-sushi.png");
}

.origami-cat-link[data-name="Desserts"] .category-icon {
    background-image: url("/Origami/static/images/desserts.png");
}

.origami-cat-link[data-name="Boissons"] .category-icon {
    background-image: url("/Origami/static/images/boissons.png");
}

.origami-cat-link[data-name="Les Extras"] .category-icon,
.origami-cat-link[data-name="Accompagnements"] .category-icon,
.origami-cat-link[data-name="Extras"] .category-icon {
    background-image: url("/Origami/static/images/extras.png");
}
/* Entrees green */
.origami-cat-link.active[data-name="Entrées"] .category-icon {
    background-color: #A1C89D;
    border-color: #A1C89D;
}

/* Plats chauds orange */
.origami-cat-link.active[data-name="Plats Chauds"] .category-icon {
    background-color: #E39F77;
    border-color: #E39F77;
}

/* Sushis red */
.origami-cat-link.active[data-name="Sushi"] .category-icon {
    background-color: #DF646C;
    border-color: #DF646C;
}

/* Desserts pink */
.origami-cat-link.active[data-name="Desserts"] .category-icon {
    background-color: #E29CC1;
    border-color: #E29CC1;
}

/* Boissons & extras blue */
.origami-cat-link.active[data-name="Les Extras"] .category-icon,
.origami-cat-link.active[data-name="Extras"] .category-icon,
.origami-cat-link.active[data-name="Boissons"] .category-icon {
    background-color: #8BADD8;
    border-color: #8BADD8;
}

.origami-cat-link.active[data-name="Accompagnements"] .category-icon {
    background-color: #E1C57F;
    border-color: #E1C57F;
}

/* Match hover colors to active category colors */
.origami-cat-link:hover[data-name="EntrAces"],
.origami-cat-link:hover[data-name="Entrées"],
.origami-cat-link:hover[data-name="Entrees"] {
    color: #A1C89D;
}
.origami-cat-link:hover[data-name="EntrAces"] .category-icon,
.origami-cat-link:hover[data-name="Entrées"] .category-icon,
.origami-cat-link:hover[data-name="Entrees"] .category-icon {
    background-color: #A1C89D;
    border-color: #A1C89D;
}

.origami-cat-link:hover[data-name="Plats Chauds"] {
    color: #E39F77;
}
.origami-cat-link:hover[data-name="Plats Chauds"] .category-icon {
    background-color: #E39F77;
    border-color: #E39F77;
}

.origami-cat-link:hover[data-name="Sushi"] {
    color: #DF646C;
}
.origami-cat-link:hover[data-name="Sushi"] .category-icon {
    background-color: #DF646C;
    border-color: #DF646C;
}

.origami-cat-link:hover[data-name="Desserts"] {
    color: #E29CC1;
}
.origami-cat-link:hover[data-name="Desserts"] .category-icon {
    background-color: #E29CC1;
    border-color: #E29CC1;
}

.origami-cat-link:hover[data-name="Les Extras"],
.origami-cat-link:hover[data-name="Extras"],
.origami-cat-link:hover[data-name="Boissons"] {
    color: #8BADD8;
}
.origami-cat-link:hover[data-name="Les Extras"] .category-icon,
.origami-cat-link:hover[data-name="Extras"] .category-icon,
.origami-cat-link:hover[data-name="Boissons"] .category-icon {
    background-color: #8BADD8;
    border-color: #8BADD8;
}
.origami-cat-link:hover[data-name="Accompagnements"] {
    color: #E1C57F;
}
.origami-cat-link:hover[data-name="Accompagnements"] .category-icon {
    background-color: #E1C57F;
    border-color: #E1C57F;
}

category-link:hover .category-icon {
  background-color: #e0e0e0;
  border-color: #dd5143;
}

.category-link.active .category-icon {
  background-color: #dd5143;
  color: white;
  border-color: #dd5143;
}
.category-link.active .category-icon img,
.category-link.active .category-placeholder {
  filter: brightness(0) invert(1);
}
.category-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.category-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  color: #666;
}

/* Show category names - displayed below icons */
.category-name {
  font-size: 13px;
  font-weight: 600;
  max-width: 70px;
  color: #000;
}


/* ===== Subcategories Styling ===== */

.subcategory-list {
  display: block;
  margin-bottom: 12px;
}

.subcategory-list.show {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* Subcategory header: visible with styling */
.subcategory-header {
  display: block;
  font-weight: 600;
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e0e0e0;
}

/* Subcategory links: cleaner list with better spacing */
.subcategory-link {
  display: block;
  padding: 6px 0;
  color: #666;
  text-decoration: none;
  font-size: 13px;
  border-radius: 0;
  transition: all 0.2s ease;
  margin-bottom: 2px;
  border-left: 3px solid transparent;
  padding-left: 0;
  line-height: 1.4;
}

.subcategory-link:hover {
  color: #dd5143;
  background-color: transparent;
  padding-left: 0;
}

.subcategory-link.active {
  color: #dd5143;
  font-weight: 600;
  background-color: transparent;
  border-left: none;
  padding-left: 0;
}

/* ===== Subcategories Wrapper ===== */

.subcategories-wrapper {
  display: flex;
  flex-direction: column;
}

/* Animation for subcategories */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ===== Products Grid Adjustments ===== */

.o_wsale_products_grid_table {
  gap: 8px 24px !important;
}

  .oe_product {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: white;
  }

  .oe_product:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-color: #ddd;
  }

.o_wsale_product_grid_wrapper {
  background-color: #f5f5f5;
}

.oe_product_image {
  background-color: #f9f9f9;
  transition: background-color 0.2s ease;
}

.oe_product_image_img_wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  position: relative;
  overflow: hidden;
  min-height: 220px;
  height: 220px;
  width: 100%;
}

.oe_product_image_img_wrapper[style*="placeholder"] {
  background-image: none !important;
}

.oe_product_image_img_wrapper img[src*="placeholder"] {
  opacity: 0;
}


.oe_product_image_img_wrapper img {
  background: transparent !important;
  background-color: transparent !important;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease, filter 0.2s ease;
  position: relative;
  z-index: 1;
}


.oe_product_image_img_wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    url('/Origami/static/images/product-background-image.png'),
    radial-gradient(circle at center, #f7f3ee 0 58%, #efe7dc 58% 66%, #f7f3ee 66% 100%);
  background-repeat: no-repeat, no-repeat;
  background-position: center, center 35%;
  background-size: 127% auto, cover;
  z-index: 0;
}
.oe_product_image_img_wrapper img {
  mix-blend-mode: multiply;
}


.oe_product:hover .oe_product_image_img_wrapper img {
  transform: scale(1.03);
  filter: saturate(1.05);
}

.oe_product_cart {
  --o-wsale-card-thumb-fill-mode: cover;
  align-items: stretch;
}

.o_wsale_product_information {
  display: flex;
  flex-direction: column;
  min-height: 120px;
}

.o_wsale_product_information_text {
  margin-bottom: 6px;
}

.o_wsale_product_sub {
  margin-top: auto;
}

#products_grid.o_wsale_layout_list .oe_product {
  --o-wsale-card-flex-align-items: stretch;
}

#products_grid.o_wsale_layout_list .oe_product .oe_product_image {
  align-self: stretch;
  display: flex;
  height: 100%;
}

#products_grid.o_wsale_layout_list .oe_product .oe_product_image_link {
  position: relative;
  flex: 1 1 auto;
  height: 100%;
  aspect-ratio: unset;
}

#products_grid.o_wsale_layout_list .oe_product .oe_product_image_img_wrapper {
  position: absolute;
  inset: 0;
}

#products_grid.o_wsale_layout_list .oe_product .oe_product_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Override product name links to display as black text without blue link color */
.o_wsale_products_item_title a,
.o_wsale_products_item_title {
  color: black !important;
  text-decoration: none !important;
  font-weight: 500;
}

.o_wsale_products_item_title a:hover {
  color: #dd5143 !important;
  text-decoration: none !important;
}

/* Fix product name color from purple to dark gray/black */
.oe_product_name a,
.oe_product_name {
  color: #333 !important;
  font-weight: 500;
}

.oe_product_name a:hover {
  color: #dd5143 !important;
}

/* ===== Header/Products Grid Styling ===== */

.products_header {
  padding: 16px 0px 0px 0px;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 20px !important;
}

.o_searchbar_form {
  flex-grow: 1;
}

.oe_search_box {
  border: 1px solid #e0e0e0 !important;
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 13px;
}

.btn-light {
  border-color: #e0e0e0;
  color: #666;
  background-color: white;
}

.btn-light:hover {
  background-color: #f5f5f5;
  border-color: #d0d0d0;
}
/* ================================
   PAGINATION ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Å“ FORCE RED STYLE
   ================================ */

.pagination .page-link {
    color: #d50000 !important;
    border-color: #d50000 !important;
    background-color: transparent !important;
}

.pagination .page-item.active .page-link {
    background-color: #d50000 !important;
    border-color: #d50000 !important;
    color: #ffffff !important;
}

.pagination .page-link:hover {
    background-color: #d50000 !important;
    border-color: #d50000 !important;
    color: #ffffff !important;
}

.pagination .page-item.disabled .page-link {
    color: #d50000 !important;
    opacity: 0.4;
    background-color: transparent !important;
    border-color: #d50000 !important;
}

/* Icons inside pagination */
.pagination .page-link .fa {
    color: inherit !important;
}


/* ===== Responsive Hero Banner ===== */

@media (max-width: 768px) {
  /* Mobile layout: allergens full width, categories/divider/subcategories stack vertically */
  .origami-sidebar {
    flex-direction: column !important;
    gap: 20px !important;
  }
  .origami-categories-wrapper {
    flex-direction: column;
  }
.oe_product_image_img_wrapper img {
  margin-bottom: 0 !important;
  width: auto;
  max-width: 80%;
  height: auto;
  max-height: 80%;
}

.oe_product_image_img_wrapper::before {
  margin-bottom: 0 !important;
}
  /* Fixed mobile responsive layout */
  .origami-cat-col {
    justify-content: flex-start;
    gap: 16px;
  }

  .origami-cat-list {
    width: 100%;
  }

  .origami-cat-link {
    font-size: 10px;
  }

  #custom_products_sidebar {
    flex: 0 0 100% !important;
    width: 100% !important;
  }

  #products_grid {
    flex: 0 0 100% !important;
    width: 100% !important;
  }
  .hero-banner {
    height: 150px;
    margin-bottom: 20px;
  }

  .hero-banner-title {
    font-size: 36px;
  }

  .hero-banner-subtitle {
    font-size: 12px;
  }
}



@media (max-width: 768px) {
  .o_wsale_products_main_row {
    flex-direction: column !important;
    gap: 16px;
  }

  #custom_products_sidebar {
    flex: 0 0 100% !important;
    width: 100% !important;
    margin-right: 0;
    margin-bottom: 0;
    position: relative;
    top: 0;
  }

  #products_grid {
    flex: 0 0 100% !important;
    width: 100% !important;
  }

  .sidebar-wrapper {
    flex-direction: column;
  }

  .categories-column {
    flex: 0 0 auto;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
    max-height: auto;
  }

  .categories-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .category-link {
    flex: 0 0 25%;
  }

  .subcategories-column {
    flex: 1;
    width: 100%;
  }

  .category-icon {
    width: 50px;
    height: 50px;
    font-size: 18px;
  }
}

@media (max-width: 991px) {
  .products_header {
    flex-wrap: nowrap !important;
    gap: 8px !important;
  }

  .products_header .o_wsale_products_searchbar_form {
    display: flex !important;
    flex: 1 1 auto;
    min-width: 0;
    order: 0;
  }

  .products_header .o_wsale_products_searchbar_form.d-none {
    display: flex !important;
  }

  .products_header .dropdown-toggle.btn {
    display: none !important;
  }

  .products_header .d-lg-none.me-auto > a.btn {
    display: none !important;
  }

  /* Override Bootstrap row stacking */
  #custom_products_sidebar .row {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center;
    max-width: 720px;
    gap: 15px;
  }

  /* Force Bootstrap columns to stay side by side */
  #custom_products_sidebar .col-md-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }

  /* Visual separation */
  .origami-cat-col {
    padding-right: 12px;
    border-right: 1px solid #e0e0e0;
  }

  .subcategories {
    padding-left: 12px;
  }
}

@media (max-width: 768px) {

  /* Override Bootstrap row stacking */
  #custom_products_sidebar .row {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center;
  }

  /* Force columns to stay side by side */
  #custom_products_sidebar .col-md-6 {
    flex: 0 0 40% !important;
    max-width: 50% !important;
  }

  /* Optional: center the whole block */
  #custom_products_sidebar .row {
    max-width: 720px;
  }

  /* Small spacing polish */
  .origami-cat-col {
    padding-right: 12px;
    border-right: 1px solid #e0e0e0;
  }

  .subcategories {
    padding-left: 12px;
  }
}
/* =========================================
   FIX CUT CATEGORY TEXT + SCROLL SIZE
   ========================================= */

/* Sidebar container */
#custom_products_sidebar {
  /* Removed max-height constraint to allow full height for all categories */
  max-height: none;
  overflow: visible;
}

/* Scroll ONLY categories + subcategories */
#custom_products_sidebar .row {
  /* Removed max-height to let content flow naturally without scroll */
  max-height: none;
  overflow-y: visible;
  overflow-x: hidden;
  padding-right: 8px;
}

#custom_products_sidebar .origami-categories-sticky {
  position: sticky;
  top: 110px;
  z-index: 20;
  padding-top: 8px;
}

/* =====================
   LEFT COLUMN FIX
   ===================== */
.origami-cat-col {
  padding-left: 16px !important;   /* ÃƒÂ°Ã…Â¸Ã¢â‚¬ÂÃ‚Â¥ prevents text clipping */
  padding-right: 16px !important;
  box-sizing: border-box;
}

/* Category links */
.origami-cat-link {
  white-space: normal !important;  /* allow wrapping */
  word-break: break-word;
  overflow: visible;
  line-height: 1.4;
}

/* Category text */
.origami-cat-link span {
  display: block;
  padding-left: 0;
}

/* =====================
   RIGHT COLUMN FIX
   ===================== */
.subcategories {
  padding-left: 16px !important;
  box-sizing: border-box;
}

/* Subcategory links */
.origami-subcat-link {
  white-space: normal;
  word-break: break-word;
  line-height: 2.4;
}

/* =====================
   SCROLLBAR REFINEMENT
   ===================== */
#custom_products_sidebar .row::-webkit-scrollbar {
  width: 5px;
}

#custom_products_sidebar .row::-webkit-scrollbar-thumb {
  background-color: #c9c9c9;
  border-radius: 4px;
}

#custom_products_sidebar .row::-webkit-scrollbar-track {
  background: transparent;
}
/* =========================================
   KEEP TITLES FIXED ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Å“ SCROLL LISTS ONLY
   ========================================= */

/* Categories title */
.origami-cat-col h4 {
  position: sticky;
  top: 0;
  background: white;
  z-index: 5;
  padding: 12px 0;
  margin-bottom: 8px;
}

/* Subcategories title */
.origami-subcat-block h4 {
  position: sticky;
  top: 0;
  background: white;
  z-index: 5;
  padding: 12px 0;
  margin-bottom: 8px;
}

/* Scroll ONLY the lists */
.origami-cat-list {
  max-height: none;
  overflow-y: visible;
  overflow-x: hidden;
  padding-right: 6px;
}

/* Remove category list scrollbar on desktop */
#custom_products_sidebar .origami-cat-list {
  overflow-y: visible !important;
  scrollbar-width: none;
}
#custom_products_sidebar .origami-cat-list::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.origami-subcat-list {
  max-height: calc(100vh - 250px);
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
}

/* Add divider between categories and subcategories columns */
.origami-cat-col {
  border-right: 1px solid #e0e0e0;
  padding-right: 12px;
}

.subcategories {
  padding-left: 12px;
}

/* Refined scrollbar (optional) */
/* Refined scrollbar for subcategories only */
.origami-subcat-list::-webkit-scrollbar {
  width: 5px;
}

.origami-subcat-list::-webkit-scrollbar-thumb {
  background-color: #c9c9c9;
  border-radius: 4px;
}

.origami-subcat-list::-webkit-scrollbar-track {
  background: transparent;
}
/* =====================================================
   MOBILE: SIDE-BY-SIDE CATEGORIES & SUBCATEGORIES
   ===================================================== */

@media (max-width: 768px) {

  /* Sidebar reset */
  #custom_products_sidebar {
    position: relative !important;
    max-height: none !important;
    overflow: visible !important;
  }
.origami-cat-list {
    max-height: none !important;
    overflow-y: visible !important;
    overflow-x: hidden;
    padding: 8px 12px;
  }

  /* =====================
     SUBCATEGORIES - WITH SCROLL
     ===================== */
  .origami-subcat-list {
    max-height: calc(100vh - 280px) !important;
    overflow-y: auto !important;
    overflow-x: hidden;
    padding: 8px 12px;
    -webkit-overflow-scrolling: touch;
  }
  /* Force 2 columns */
  #custom_products_sidebar .row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    max-height: calc(100vh - 160px);
    overflow: hidden !important;
  }

  /* Each column = 50% */
  #custom_products_sidebar .col-md-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding: 0 !important;
  }

  /* =====================
     TITLES (FIXED)
     ===================== */

  .origami-cat-col h4,
  .origami-subcat-block h4 {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 5;
    margin: 0;
    border-bottom: 1px solid #eee;
  }

  /* =====================
     SCROLLABLE LISTS
     ===================== */

  .origami-cat-list {
  max-height: none;
  overflow-y: visible;
  overflow-x: hidden;
  padding-right: 6px;
}

.origami-subcat-list {
  max-height: calc(100vh - 360px);
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
}

  /* =====================
     CATEGORY LINKS
     ===================== */

  .origami-cat-link {
    display: block;
    padding: 10px 0;
    font-size: 14px;
    white-space: normal;
    line-height: 1.4;
    border-bottom: 1px solid #eee;
  }

  /* =====================
     SUBCATEGORY LINKS
     ===================== */

  .origami-subcat-link {
    display: block;
    padding: 10px 0;
    font-size: 15px;
    white-space: normal;
    line-height: 1.4;
    border-bottom: 1px solid #eee;
  }
.category-name {
  max-width: 50px;
}
  /* Vertical separator */
  .origami-cat-col {
    border-right: 1px solid #e6e6e6;
  }
}
/* =====================================================
   TABLET + MOBILE (ÃƒÂ¢Ã¢â‚¬Â°Ã‚Â¤ 991px)
   MOVE SIDEBAR TO TOP + SIDE-BY-SIDE LISTS
   ===================================================== */

@media (max-width: 991px) {
  #custom_products_sidebar .origami-categories-sticky {
    position: fixed;
    top: 53px;
    left: 0;
    right: 0;
    z-index: 30;
    background: #fff;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.06);
  }

  #products_grid {
    padding-top: 130px;
  }

  /* 1ÃƒÂ¯Ã‚Â¸Ã‚ÂÃƒÂ¢Ã†â€™Ã‚Â£ Stack sidebar ABOVE products */
  .o_wsale_products_main_row {
    flex-direction: column !important;
    gap: 16px;
  }

  /* 2ÃƒÂ¯Ã‚Â¸Ã‚ÂÃƒÂ¢Ã†â€™Ã‚Â£ Sidebar becomes full width */
  #custom_products_sidebar {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    top: 0 !important;
  }

  /* 3ÃƒÂ¯Ã‚Â¸Ã‚ÂÃƒÂ¢Ã†â€™Ã‚Â£ Products take full width below */
  #products_grid {
    flex: 0 0 100% !important;
    width: 100% !important;
  }

  /* 4ÃƒÂ¯Ã‚Â¸Ã‚ÂÃƒÂ¢Ã†â€™Ã‚Â£ Categories + Subcategories side by side */
  #custom_products_sidebar .row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start;
  }

  /* 5ÃƒÂ¯Ã‚Â¸Ã‚ÂÃƒÂ¢Ã†â€™Ã‚Â£ Each column = 50% */
  #custom_products_sidebar .origami-cat-col,
  #custom_products_sidebar .subcategories {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
}
/* =====================================
   FIX CATEGORY TEXT CUTTING (ÃƒÂ¢Ã¢â‚¬Â°Ã‚Â¤ 991px)
   ===================================== */

@media (max-width: 991px) {

  /* Give categories more width */
  #custom_products_sidebar .origami-cat-col {
    max-width: 55% !important;
  }

  #custom_products_sidebar .subcategories {
    max-width: 45% !important;
  }
}
@media (min-width: 992px) {
  .o_wsale_products_main_row {
    flex-direction: row !important;
  }
  .origami-subcat-block {
  margin-left: -6% !important;
}
#products_grid:where(:not(.o_wsale_layout_list)) .o_wsale_products_grid_table {
        grid-auto-rows: minmax(80px, auto) !important;
    }
  #custom_products_sidebar {
    width: 25% !important;
    flex: 0 0 25% !important;
    position: sticky;
    top: 20px;
  }

  #products_grid {
    width: 75% !important;
  }
}
@media (max-width: 991px) {

  /* Sidebar goes on top */
  .o_wsale_products_main_row {
    flex-direction: column !important;
  }

  #custom_products_sidebar,
  #products_grid {
    width: 100% !important;
  }

  /* Categories + subcategories SIDE BY SIDE */
  #custom_products_sidebar .row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
  }

  .origami-cat-col {
    flex: 0 0 55% !important;
    max-width: 55% !important;
  }

  .subcategories {
    flex: 0 0 45% !important;
    max-width: 45% !important;
  }
}
@media (max-width: 767px) {

  .origami-cat-list,
  .origami-subcat-list {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (min-width: 992px) {

  /* ÃƒÂ°Ã…Â¸Ã¢â‚¬ÂÃ‚Â¥ PREVENT SUBCATEGORIES FROM DROPPING */
  #custom_products_sidebar .row {
    display: flex !important;
    flex-wrap: nowrap !important;   /* ÃƒÂ¢Ã¢â‚¬Â Ã‚Â MOST IMPORTANT LINE */
    align-items: flex-start;
  }

  /* Give columns guaranteed space */
  #custom_products_sidebar .origami-cat-col {
    flex: 0 0 45% !important;
    max-width: 45% !important;
  }

  #custom_products_sidebar .subcategories {
    flex: 0 0 55% !important;
    max-width: 55% !important;
  }
}

/* =====================================
   REDUCE GLOBAL LEFT/RIGHT SPACING
   ===================================== */

/* Odoo main container */
#wrap .container,
#wrap .container-fluid {
  padding-left: 12px !important;
  padding-right: 12px !important;
  max-width: 95% !important;
}
/* Tighten rows inside shop */
.o_wsale_products_main_row,
#custom_products_sidebar .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
/* Sidebar itself */
#custom_products_sidebar {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Categories column */
.origami-cat-col {
  padding-left: 8px !important;   /* was 16px */
  padding-right: 12px !important;
}

/* Subcategories column */
.subcategories,
.origami-subcat-wrapper {
  padding-left: 12px !important;
}
/* Hide delivery & billing address on payment page */
#address_on_payment {
    display: none !important;
}
/* Hide the coupon code / gift card row on checkout */
.coupon_form {
    display: none !important;
}
/* Konnect "Pay Now" button */
button[name="o_payment_submit_button"].btn-primary {
    background-color: #d40015 !important;
    color: #fff !important;
    border-color: #d40015 !important;
}

button[name="o_payment_submit_button"].btn-primary:hover {
    background-color: #b30012 !important;  /* slightly darker red on hover */
    border-color: #b30012 !important;
    color: #fff !important;
}

button[name="o_payment_submit_button"].btn-primary:active {
    background-color: #a10010 !important;  /* even darker red when clicked */
    border-color: #a10010 !important;
}

.text-center {
  color: #d62828;
}
/* General style for category links with images */
.origami-cat-link {
    position: relative;
    display: inline-block;
    min-height: 20px; /* adjust based on your image size */
}

/* Specific images based on category name */

/* Inactive buttons */
.btn-group-toggle .btn-outline-primary {
    background-color: #fff;
    color: #d40015;
    border-color: #d40015;
}

/* Hover effect for inactive buttons */
.btn-group-toggle .btn-outline-primary:hover {
    background-color: #d40015;
    color: #fff;
    border-color: #d40015;
}
.origami-subcat-block h6 {
  display: block;
}

.origami-subcat-block[data-origami-category="EntrAces"] h6,
.origami-subcat-block[data-origami-category="Entrees"] h6,
.origami-subcat-block[data-origami-category="Entrées"] h6 {
  color: #A1C89D !important;
}

.origami-subcat-block[data-origami-category="Plats Chauds"] h6 {
  color: #E39F77 !important;
}

.origami-subcat-block[data-origami-category="Sushi"] h6 {
  color: #DF646C !important;
}

.origami-subcat-block[data-origami-category="Les Extras"] h6,
.origami-subcat-block[data-origami-category="Extras"] h6 {
  color: #8BADD8 !important;
}
/* Active button */
.btn-group-toggle .btn-primary.active {
    background-color: #d40015 !important;
    color: #fff !important;
    border-color: #d40015 !important;
}
#delivery-mode-container {
    color: #000 !important;
}
/* Bigger & modern Date & Time Picker Fields for desktop */
#pickup_datetime_field input[type="date"],
#pickup_datetime_field input[type="time"] {
    width: 100% !important;
    max-width: 100% !important;
    padding: 18px 20px;       /* bigger padding */
    font-size: 18px;           /* bigger text */
    font-weight: 500;
    border: 1px solid #ddd;
    border-radius: 10px;       /* slightly more rounded */
    box-shadow: inset 0 3px 6px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
}

/* Focus state for better UX */
#pickup_datetime_field input[type="date"]:focus,
#pickup_datetime_field input[type="time"]:focus {
    border-color: #d40015;
    box-shadow: 0 0 0 3px rgba(212, 0, 21, 0.2);
    outline: none;
}

/* Mobile responsive: slightly smaller fields */
@media (max-width: 768px) {
    #pickup_datetime_field input[type="date"],
    #pickup_datetime_field input[type="time"] {
        padding: 14px 16px;   /* smaller padding on mobile */
        font-size: 16px;       /* slightly smaller font */
        border-radius: 8px;    /* slightly less rounded */
    }

    /* Stack date and time vertically */
    #pickup_datetime_field > div > div {
        width: 100%;
        margin-bottom: 12px;
    }
}
/* Disable shop sorting dropdown safely */
.o_wsale_sort_by,
.o_wsale_sort_by * {
    display: none !important;
}
/* Hide the filmstrip completely, including dynamic injection */
.o_wsale_filmstip_container,
.o_wsale_filmstip_container * {
    display: none !important;
    visibility: hidden !important;
}
.o_wsale_product_information {
  margin-left: 10px;
}

/* Hide the Company field on contact us form */
#contactus_form input[name="company"],
#contactus_form input[name="company"] + label,
#contactus_form input[name="company"] ~ label,
#contactus_form input[name="company"] ~ span,
#contactus_form input[name="company"] ~ div {
    display: none !important;
}

/* Simpler version that usually works */
#contactus_form .s_website_form_field input[name="company"],
#contactus_form .s_website_form_field label[for="contact4"] {
    display: none !important;
}
.lead {
  padding-left: 24px;
  padding-bottom: 24px;
}

/* =====================================
   ORIGAMI MOBILE: CATEGORIES + SUBCATEGORIES COMPACT
   ===================================== */
@media (max-width: 768px) {
  #custom_products_sidebar .origami-sidebar {
    margin-top: 0 !important;
  }
  .address-block {
    padding-left: 34px;
  }
  #custom_products_sidebar .row {
    margin-top: 4px !important;
    padding-top: 10px !important;
  }
#wrap .container {
  margin-top: -4% !important;
}
  #custom_products_sidebar .origami-cat-col {
    flex: 0 0 60% !important;
    max-width: 60% !important;
  }.oe_product_image_img_wrapper::before

  #custom_products_sidebar .subcategories {
    flex: 0 0 40% !important;
    max-width: 40% !important;
  }

  #custom_products_sidebar .subcategories.mt-5 {
    margin-top: 0 !important;
  }
.products_header .dropdown-toggle.btn, .products_header .btn-light {
  display: none;
}


  #custom_products_sidebar .origami-cat-col h4,
  #custom_products_sidebar .origami-subcat-block h6 {
    margin-top: 0 !important;
    margin-bottom: 4px !important;
  }

  #custom_products_sidebar .origami-cat-item {
    margin-bottom: 4px !important;
  }

  #custom_products_sidebar .origami-cat-link {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    padding: 6px 0 !important;
    text-align: left !important;
  }

  #custom_products_sidebar .origami-cat-list,
  #custom_products_sidebar .origami-subcat-list {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }

  #custom_products_sidebar .origami-cat-link .category-icon {
    width: 36px !important;
    height: 36px !important;
    background-size: 20px 20px !important;
    margin: 0 !important;
    flex-shrink: 0;
  }

  #custom_products_sidebar .origami-cat-link .category-name {
    max-width: none !important;
    text-align: left !important;
  }

  #custom_products_sidebar .origami-subcat-link {
    padding: 6px 0 !important;
  }
}

/* Align categories/subcategories list heights */
#custom_products_sidebar {
  --origami-sidebar-list-height: calc(100vh - 250px);
}

#custom_products_sidebar .origami-cat-list,
#custom_products_sidebar .origami-subcat-list {
  max-height: var(--origami-sidebar-list-height);
  overflow-y: auto;
}

@media (max-width: 768px) {
  #custom_products_sidebar {
    --origami-sidebar-list-height: calc(100vh - 280px);
  }
}

@media (max-width: 768px) {
  #custom_products_sidebar .origami-cat-list,
  #custom_products_sidebar .origami-subcat-list {
    height: calc(100vh - 360px) !important;
    max-height: calc(100vh - 360px) !important;
    overflow-y: auto !important;
  }
}

@media (max-width: 768px) {
  #custom_products_sidebar .origami-cat-list {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  #custom_products_sidebar .origami-subcat-list {
    height: var(--origami-subcat-list-height, auto) !important;
    max-height: var(--origami-subcat-list-height, none) !important;
    overflow-y: auto !important;
  }
}

/* Mobile: vertical two-column categories + subcategories */
@media (max-width: 768px) {
  #custom_products_sidebar .row {
    flex-direction: row !important;
    align-items: flex-start !important;
  }
.pt-3 {
  margin-top: -1rem !important;
}
  #custom_products_sidebar .origami-cat-col {
    flex: 0 0 52% !important;
    max-width: 52% !important;
    padding-left: 6px !important;
    padding-right: 0 !important;
    border-right: 1px solid #eee !important;
  }

  #custom_products_sidebar .subcategories {
    flex: 0 0 48% !important;
    max-width: 48% !important;
    padding-left: 12px !important;
    padding-right: 6px !important;
    margin-top: 0 !important;
  }

  #custom_products_sidebar .origami-cat-col h4,
  #custom_products_sidebar .origami-subcat-block h6 {
    margin-bottom: 4px !important;
    padding: 0px 0 0 2% !important;
    border-bottom: 1px solid #eee;
  }

  #custom_products_sidebar .origami-cat-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    padding: 6px 0 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  #custom_products_sidebar .origami-cat-item {
    margin-bottom: 0 !important;
  }

  #custom_products_sidebar .origami-cat-link {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 6px 8px !important;
    border-radius: 12px !important;
    text-align: left !important;
  }

  #custom_products_sidebar .origami-cat-link .category-icon {
    width: 40px !important;
    height: 40px !important;
    background-size: 18px 18px !important;
  }

  #custom_products_sidebar .origami-subcat-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    padding: 6px 0 !important;
    height: var(--origami-subcat-list-height, auto) !important;
    max-height: var(--origami-subcat-list-height, none) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
  }

  #custom_products_sidebar .origami-subcat-link {
    display: block !important;
    padding: 6px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #f1f1f1 !important;
    border-radius: 0 !important;
    white-space: normal !important;
  }
}

@media (max-width: 768px) {
  #products_grid h1 {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .products_header h4.mb-0.me-auto {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .products_header {
    padding: 4px 0 !important;
    margin-bottom: 6px !important;
  }

  #products_grid {
    margin-top: 0 !important;
  }

  .o_wsale_products_grid_table {
    gap: 10px !important;
  }

  .oe_product {
    margin-bottom: 8px !important;
  }
}


@media (max-width: 768px) {
  #custom_products_sidebar,
  #custom_products_sidebar .origami-sidebar {
    margin-top: 0 !important;
  }
}

/* Mobile override: horizontal categories + subcategories with scroll */
@media (max-width: 768px) {
  #custom_products_sidebar .row {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  #custom_products_sidebar .origami-cat-col,
  #custom_products_sidebar .subcategories {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    border-right: 0 !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
  }

  #custom_products_sidebar .origami-cat-list,
  #custom_products_sidebar .origami-subcat-list {
    display: flex !important;
    flex-direction: row !important;
    gap: 8px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    height: auto !important;
    max-height: none !important;
    -webkit-overflow-scrolling: touch;
  }

  #custom_products_sidebar .origami-cat-item {
    flex: 0 0 auto !important;
    margin: 0 !important;
  }

  #custom_products_sidebar .origami-cat-link {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 6px 10px !important;
    border: 1px solid #eee !important;
    border-radius: 14px !important;
    white-space: nowrap !important;
    text-align: left !important;
  }

  #custom_products_sidebar .origami-cat-link .category-icon {
    width: 30px !important;
    height: 30px !important;
    background-size: 18px 18px !important;
  }

  #custom_products_sidebar .origami-subcat-link {
    display: inline-flex !important;
    align-items: center !important;
    padding: 4px 12px !important;
    border: 1px solid #eee !important;
    border-radius: 999px !important;
    white-space: nowrap !important;
  }
}

.o_wsale_wishlist {
  background-color: #f5f3f1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),
    url('/Origami/static/images/product-background-image.png');
  background-size: cover;
  background-position: center;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.o_wsale_wishlist h1,
.o_wsale_wishlist .o_wsale_wishlist_header,
.o_wsale_wishlist .oe_wishlist td,
.o_wsale_wishlist .oe_wishlist th,
.o_wsale_wishlist .oe_wishlist .btn-link,
.o_wsale_wishlist .oe_wishlist .text-muted {
  color: #e72839;
}

.o_wsale_wishlist .oe_wishlist {
  background: transparent;
}

.o_wsale_wishlist .oe_wishlist td,
.o_wsale_wishlist .oe_wishlist th {
  border-color: rgba(231, 40, 57, 0.25);
}

.o_wsale_wishlist .oe_wishlist .btn,
.o_wsale_wishlist .oe_wishlist .btn-primary,
.o_wsale_wishlist .oe_wishlist .btn-danger {
  background-color: #e72839;
  border-color: #c11729;
  color: #fff;
  box-shadow: none;
}

.o_wsale_wishlist .oe_wishlist .btn:hover,
.o_wsale_wishlist .oe_wishlist .btn:focus {
  background-color: #c11729;
  border-color: #a11020;
}

.o_wsale_wishlist .oe_wishlist .oe_wishlist_footer .btn-link,
.o_wsale_wishlist .oe_wishlist .o_wsale_wishlist_title {
  color: #e72839;
}

.o_wsale_wishlist .cart-toast,
.o_wsale_wishlist .cart-toast.show {
  border-color: #e72839;
  background-color: #fff;
  color: #e72839;
}

.o_wsale_wishlist .cart-toast .cart-toast-header strong,
.o_wsale_wishlist .cart-toast .cart-toast-body {
  color: #e72839;
}

.o_wsale_wishlist .cart-toast .btn-danger,
.o_wsale_wishlist .cart-toast .btn-primary,
.o_wsale_wishlist .cart-toast a.btn.btn-primary {
  background-color: #e72839 !important;
  border-color: #c11729 !important;
  color: #fff !important;
  box-shadow: none !important;
}

.o_wsale_wishlist .cart-toast .btn-danger:hover,
.o_wsale_wishlist .cart-toast .btn-primary:hover,
.o_wsale_wishlist .cart-toast a.btn.btn-primary:hover {
  background-color: #c11729 !important;
  border-color: #a11020 !important;
}

.o_wsale_wishlist .toast.show,
.o_wsale_wishlist .toast-body {
  background-color: #fff;
  color: #e72839;
  border-color: #e72839;
}

.o_wsale_wishlist .toast .btn.btn-primary,
.o_wsale_wishlist .toast-body .btn.btn-primary {
  background-color: #e72839 !important;
  border-color: #c11729 !important;
  color: #fff !important;
  box-shadow: none !important;
}

.o_wsale_wishlist .toast .btn.btn-primary:hover,
.o_wsale_wishlist .toast-body .btn.btn-primary:hover {
  background-color: #c11729 !important;
  border-color: #a11020 !important;
}

.wishlist-section {
  background: linear-gradient(
      rgba(255, 255, 255, 0.92),
      rgba(255, 255, 255, 0.92)
    ),
    url('/Origami/static/images/product-background-image.png') center/cover no-repeat;
  border-radius: 18px;
  padding: 30px 32px;
  margin-bottom: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.wishlist-section h3 {
  color: #e72839;
  font-weight: 600;
  margin-bottom: 13px;
}

.wishlist-section .checkbox label,
.wishlist-section table {
  color: #4a4a4a;
}

.wishlist-section table {
  border: 1px solid rgba(231, 40, 57, 0.25);
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.8);
}

.wishlist-section table th,
.wishlist-section table td {
  border-color: rgba(231, 40, 57, 0.2);
}

.wishlist-section .text-muted {
  color: #a51427 !important;
}

.wishlist-section .btn-link,
.wishlist-section .o_wish_add {
  color: #e72839;
}

.wishlist-section .btn-secondary,
.wishlist-section .btn-secondary.btn-block {
  background-color: #e72839;
  border-color: #c11729;
  color: #fff;
  font-weight: 600;
}

.wishlist-section .btn-secondary:hover {
  background-color: #c11729;
  border-color: #a11020;
}





/* ===== Origami 2026 Shop Redesign ===== */


.origami-hero-banner {
  position: relative;
  height: 420px;
  background: linear-gradient(rgba(0, 0, 0, 0.7)), url('/Origami/static/images/menu.png') center center / cover no-repeat;
}

.origami-hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: clamp(72px, 8vw, 110px);
  font-weight: 400 !important;
  line-height: 0.95;
}

.hero-subtitle {
  margin: 0;
  color: #ffffff;
  font-size: clamp(26px, 2.4vw, 44px);
  font-family: 'DINPro', 'Arial', sans-serif;
  font-weight: 300;
}

.hero-subtitle strong {
  font-weight: 700;
}

.origami-hero-categories {
  position: relative;
  z-index: 3;
  margin-top: -18px;
  padding: 0 24px 22px;
}

.origami-hero-categories-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(140px, 1fr));
  gap: 22px;
}

.origami-hero-category-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 112px;
  padding: 16px 14px;
  border-radius: 20px;
  background: #eceae8;
  box-shadow: 0 8px 18px rgba(92, 62, 40, 0.08);
  text-decoration: none;
}

.origami-hero-category-link[data-name='Entrées'] {
  background: #b6d5ac;
}

.origami-hero-category-link:hover {
  text-decoration: none;
}

.origami-hero-category-link .category-icon,
.origami-cat-link .category-icon {
  width: 56px;
  height: 56px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.origami-hero-category-label {
  color: #161616;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}

.origami-hero-category-link[data-name='Entrées'] .category-icon,
.origami-cat-link[data-name='Entrées'] .category-icon,
.origami-cat-link[data-name='Entrees'] .category-icon {
  background-image: url('/Origami/static/images/entree.png');
}

.origami-hero-category-link[data-name='Sushi'] .category-icon,
.origami-cat-link[data-name='Sushi'] .category-icon {
  background-image: url('/Origami/static/images/sushi.svg');
}

.origami-hero-category-link[data-name='Plats Chauds'] .category-icon,
.origami-cat-link[data-name='Plats Chauds'] .category-icon {
  background-image: url('/Origami/static/images/plats.svg');
}

.origami-hero-category-link[data-name='Accompagnements'] .category-icon,
.origami-cat-link[data-name='Accompagnements'] .category-icon,
.origami-cat-link[data-name='Extras'] .category-icon,
.origami-cat-link[data-name='Les Extras'] .category-icon {
  background-image: url('/Origami/static/images/extras.png');
}

.origami-hero-category-link[data-name='Desserts'] .category-icon,
.origami-cat-link[data-name='Desserts'] .category-icon {
  background-image: url('/Origami/static/images/desserts.png');
}

.origami-hero-category-link[data-name='Boissons'] .category-icon,
.origami-cat-link[data-name='Boissons'] .category-icon {
  background-image: url('/Origami/static/images/boissons.png');
}

#wrap .container,
#wrap .container-fluid {
  max-width: 1360px !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
}

.o_wsale_products_main_row {
  align-items: flex-start !important;
  gap: 32px !important;
  padding-bottom: 36px;
}

#custom_products_sidebar {
  flex: 0 0 320px !important;
  width: 320px !important;
  margin-top: 0 !important;
  position: sticky;
  top: 108px;
  align-self: flex-start;
}

#products_grid {
  flex: 1 1 auto !important;
  width: auto !important;
  margin-left: 0 !important;
}

#custom_products_sidebar .origami-sidebar {
  gap: 18px !important;
  margin-top: 0 !important;
}

#custom_products_sidebar .origami-allergen-box,
#custom_products_sidebar .row.origami-categories-sticky {
  border-radius: 26px;
  background: none;
}

#custom_products_sidebar .origami-allergen-summary {
  padding: 10px 26px 16px;
  background: transparent;
  color: #171717;
  font-size: 19px;
  font-weight: 700;
}

#custom_products_sidebar .origami-allergen-content {
  padding: 0 26px 24px;
  margin-top: 0;
}

#custom_products_sidebar .origami-allergen-list {
  max-height: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
}

#custom_products_sidebar .origami-allergen-item {
  padding: 0;
}

#custom_products_sidebar .origami-allergen-label {
  gap: 10px;
  font-size: 15px;
  color: #242424;
}

#custom_products_sidebar .origami-allergen-icon {
  width: 20px;
  height: 20px;
  border: 2px solid #222222;
  border-radius: 6px;
  background: none;
}

#custom_products_sidebar .origami-allergen-label.active .origami-allergen-icon {
  border-color: #ef2328;
  background: #ef2328;
  box-shadow: inset 0 0 0 3px #ffffff;
}

#custom_products_sidebar .row.origami-categories-sticky {
  margin: 0 !important;
  padding: 22px 18px;
  display: block !important;
}

#custom_products_sidebar .origami-cat-col,
#custom_products_sidebar .subcategories {
  max-width: 100% !important;
  flex: 0 0 100% !important;
  padding: 0 !important;
}

#custom_products_sidebar .subcategories {
  margin-top: 16px !important;
}

#custom_products_sidebar .origami-cat-list,
#custom_products_sidebar .origami-subcat-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  max-height: none !important;
  overflow: visible !important;
}

.origami-cat-item {
  margin: 0 !important;
}

.origami-cat-link {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 12px 14px !important;
  border-radius: 16px !important;
  background: #f0efee;
  text-align: left !important;
  text-decoration: none;
}

.origami-cat-link.active {
  background: #b6d5ac;
  color: #111111 !important;
}

.origami-cat-link .category-name {
  color: #161616;
  font-size: 15px;
  font-weight: 700;
}

.origami-subcat-link {
  display: block;
  padding: 8px 10px !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  color: #2a2a2a;
  font-size: 14px;
  text-decoration: none;
}

.origami-subcat-link.active {
  color: #ef2328;
  text-decoration: none;
}

.products_header {
  padding: 8px 0 20px !important;
  margin-bottom: 24px !important;
  border-bottom: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(220px, 380px) 1fr;
  gap: 16px;
  align-items: center;
}

.products_header h4.mb-0.me-auto {
  display: none !important;
}


.products_header .o_wsale_apply_layout {
  display: none !important;
}
.products_header .o_wsale_products_searchbar_form,
.products_header .o_searchbar_form,
.products_header form {
  width: 100%;
}

.products_header .oe_search_box,
.products_header input[name='search'] {
  min-height: 56px;
  border: 2px solid rgba(255, 119, 123, 0.45) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.9);
  color: #51443f;
  font-size: 16px;
  box-shadow: 0 10px 24px rgba(104, 76, 61, 0.06);
}

.products_header .dropdown-toggle.btn,
.products_header .btn-light {
  min-height: 56px;
  border: 2px solid rgba(255, 119, 123, 0.55) !important;
  border-radius: 14px !important;
  background: #E41E26 !important;
  color: #ffffff !important;
  font-size: 22px;
  box-shadow: none !important;
}

.products_header .o_pricelist_dropdown,
.products_header .dropdown,
.products_header .d-flex.align-items-center.ms-auto {
  justify-self: end;
}

.o_wsale_products_grid_table {
  gap: 9px !important;
}

.oe_product {
  border: 1px solid rgba(220, 214, 209, 0.95) !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 14px 28px rgba(99, 73, 58, 0.08);
}

.oe_product_image,
.o_wsale_product_grid_wrapper {
  background: transparent !important;
}

.oe_product_image_img_wrapper {
  min-height: 250px !important;
  height: 250px !important;
  padding: 18px 18px 8px !important;
}

.oe_product_image_img_wrapper img {
  object-fit: contain !important;
}

.oe_product_image_img_wrapper {
  position: relative;
}

.oe_product .o_wsale_product_sub > .o_wsale_product_btn {
  display: none;
}

.origami-wishlist-overlay {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 3;
  width: 32px;
  height: 32px;
  min-width: 32px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(216, 209, 202, 0.95);
  background: rgba(255, 255, 255, 0.96);
  color: #6b625b;
  box-shadow: 0 8px 18px rgba(60, 44, 35, 0.12);
}

.origami-wishlist-overlay:hover,
.origami-wishlist-overlay:focus {
  background: #ffffff;
  color: #d40015;
}

.origami-wishlist-overlay[disabled] {
  opacity: 1;
  color: #d40015;
}

.o_wsale_product_information {
  padding: 0 14px 14px !important;
  min-height: 150px;
}
.origami-product-information-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.origami-product-title-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.origami-product-title {
  width: 100%;
  margin-bottom: 0 !important;
  min-height: calc(1.25em * 2);
}

.origami-product-name-link {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.origami-product-title-block.is-expanded .origami-product-name-link {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

.origami-product-name-toggle {
  padding: 0;
  border: 0;
  background: transparent;
  color: #d40015;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.origami-product-name-toggle:hover {
  color: #aa0011;
}

.o_wsale_products_item_title,
.o_wsale_products_item_title a,
.oe_product_name,
.oe_product_name a {
  color: #1d1d1d !important;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 500;
}

.product-reference {
  color: #1d1d1d !important;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: nowrap;
  font-size: 18px !important;
  line-height: 1.2;
}

.product-reference-label,
.product-reference-value {
  font-size: inherit;
  font-weight: inherit;
}

/* Bottom row of product card */
.o_wsale_product_sub {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center !important;
  column-gap: 10px;
  row-gap: 0;
  width: 100%;
}

/* Price area */
.o_wsale_product_sub .product_price,
.o_wsale_product_sub .text-nowrap,
.o_wsale_product_sub .oe_currency_value,
.o_wsale_product_sub .fw-bold {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Qty area */
.o_wsale_product_sub .origami-qty-controls {
  flex: none;
  white-space: nowrap;
  margin: 0 !important;
  justify-self: end;
}

/* Prevent qty buttons from shrinking */
.origami-qty-btn,
.origami-qty-value {
  flex: 0 0 auto;
}

.o_wsale_product_sub .text-nowrap,
.o_wsale_product_sub .oe_currency_value,
.o_wsale_product_sub .product_price,
.o_wsale_product_sub .fw-bold {
  color: #141414 !important;
  font-size: 17px !important;
  font-weight: 800 !important;
}
@media (max-width: 576px) {
  /* make each product card a positioning context */
  .oe_product,
  .oe_product_cart {
    position: relative !important;
  }

  /* image wrapper stays as reference area */
  .oe_product .oe_product_image_img_wrapper {
    position: relative !important;
  }

  /* move the existing wishlist button from the bottom row to the image */
  .oe_product .o_wsale_product_sub .o_add_wishlist {
    position: absolute !important;
    top: 10px;
    right: 10px;
    z-index: 30 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid #e5e5e5 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  }

  /* place it visually over the image area */
  .oe_product .o_wsale_product_sub .o_add_wishlist {
    top: 18px !important;
    right: 18px !important;
  }

  /* keep the bottom row for price + qty only */
  .oe_product .o_wsale_product_sub {
    position: static !important;
  }
}
@media (max-width: 576px) {
.o_wsale_product_sub {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 6px;
  }

  /* Price takes full row */
  .o_wsale_product_sub .text-nowrap,
  .o_wsale_product_sub .oe_currency_value,
  .o_wsale_product_sub .product_price,
  .o_wsale_product_sub .fw-bold {
    flex: 0 0 100% !important;
    width: 100% !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: unset !important;
    line-height: 1.2;
    margin-bottom: 2px;
  }

  /* Qty stays below */
  .origami-qty-controls {
    flex: 0 0 auto !important;
    margin: 0 !important;
    white-space: nowrap !important;
  }

  .origami-qty-btn {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  .origami-qty-value {
    min-width: 28px;
    height: 28px;
    font-size: 14px;
  }
  /* 1. Make the IMAGE wrapper the positioning reference */
  .oe_product .oe_product_image_img_wrapper {
    position: relative !important;
  }

  /* 2. Move the wishlist button INTO the image area */
  .oe_product .o_wsale_product_sub .o_add_wishlist {
    position: absolute !important;

    /* position INSIDE image */
    top: -46px !important;   /* 👈 adjust depending on image height */
    right: 76% !important;

    z-index: 30 !important;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    margin: 0 !important;
    padding: 0 !important;

    border-radius: 8px !important;
    background: rgba(255,255,255,0.95) !important;
    border: 1px solid #e5e5e5 !important;
  }

}
.origami-qty-controls {
  margin-right: 0 !important;
}

.origami-qty-btn {
  width: 34px;
  height: 34px;
  border-radius: 4px;
  border: 0;
  background: #474546;
}

.origami-qty-value {
  border-color: #474546;
  font-size: 18px;
  font-weight: 700;
}

.origami-category-heading {
  margin: 12px 0 10px;
  color: #151515;
  font-size: 34px;
}

@media (max-width: 1180px) {
  .origami-hero-categories-inner {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
  }

  .o_wsale_products_main_row {
    gap: 24px !important;
  }

  #custom_products_sidebar {
    flex-basis: 280px !important;
    width: 280px !important;
  }
}

@media (max-width: 991px) {
  .origami-hero-banner {
    height: 300px;
  }

  .origami-hero-categories {
    margin-top: 0;
    padding: 18px 16px 16px;
  }

  .origami-hero-categories-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .origami-hero-category-link {
    min-height: 92px;
    padding: 14px 10px;
    border-radius: 16px;
  }

  .origami-hero-category-link .category-icon {
    width: 42px;
    height: 42px;
  }

  .origami-hero-category-label {
    font-size: 13px;
  }

  .o_wsale_products_main_row {
    flex-direction: column !important;
  }

  #custom_products_sidebar,
  #products_grid {
    width: 100% !important;
    flex: 0 0 100% !important;
  }

  #custom_products_sidebar {
    position: static;
  }

  .products_header {
    grid-template-columns: 1fr;
  }

  #custom_products_sidebar .origami-allergen-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .origami-hero-banner {
    display: block !important;
    height: 155px;
  }

  .hero-title {
    font-size: 56px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .origami-hero-categories-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #wrap .container,
  #wrap .container-fluid {
    padding-left: 0px !important;
    padding-right: 0px !important;
  }

  .oe_product_image_img_wrapper {
    min-height: 210px !important;
    height: 210px !important;
  }

  .o_wsale_products_item_title,
  .o_wsale_products_item_title a,
  .oe_product_name,
  .oe_product_name a {
    font-size: 17px;
  }

  .product-reference {
    font-size: 16px !important;
  }
}

/* ===== Shop rail adjustment ===== */
.origami-hero-categories,
.origami-hero-categories-inner,
.origami-hero-category-link {
  display: none !important;
}

#custom_products_sidebar {
  flex: 0 0 100% !important;
  width: 100% !important;
  position: static !important;
  top: auto !important;
  margin-bottom: 22px;
}

#custom_products_sidebar .origami-sidebar {
  gap: 16px !important;
}

#custom_products_sidebar .row.origami-categories-sticky {
  display: block !important;
  padding: 18px 18px 22px;
}

#custom_products_sidebar .origami-cat-col,
#custom_products_sidebar .subcategories {
  max-width: 100% !important;
  flex: 0 0 100% !important;
  width: 100% !important;
  padding: 0 !important;
}

#custom_products_sidebar .origami-cat-col {
  margin-bottom: 14px;
}

#custom_products_sidebar .origami-cat-list {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 12px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: 2px 2px 10px !important;
  scrollbar-width: thin;
  scrollbar-color: #e6252a rgba(230, 37, 42, 0.12);
}

#custom_products_sidebar .origami-cat-list::-webkit-scrollbar {
  height: 8px;
}

#custom_products_sidebar .origami-cat-list::-webkit-scrollbar-thumb {
  background: #e6252a;
  border-radius: 999px;
}

#custom_products_sidebar .origami-cat-list::-webkit-scrollbar-track {
  background: rgba(230, 37, 42, 0.12);
  border-radius: 999px;
}

#custom_products_sidebar .origami-cat-item {
  flex: 0 0 auto;
}

#custom_products_sidebar .origami-cat-link {
  min-width: 170px;
  justify-content: flex-start !important;
  white-space: nowrap;
}

#custom_products_sidebar .subcategories {
  margin-top: 0 !important;
}

#custom_products_sidebar .origami-subcat-block {
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(233, 213, 201, 0.9);
  padding: 10px 12px;
}

#custom_products_sidebar .origami-subcat-list {
  max-height: 280px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: #e6252a rgba(230, 37, 42, 0.12);
}

#custom_products_sidebar .origami-subcat-list::-webkit-scrollbar {
  width: 8px;
}

#custom_products_sidebar .origami-subcat-list::-webkit-scrollbar-thumb {
  background: #e6252a;
  border-radius: 999px;
}

#custom_products_sidebar .origami-subcat-list::-webkit-scrollbar-track {
  background: rgba(230, 37, 42, 0.12);
  border-radius: 999px;
}

@media (max-width: 991px) {
  #custom_products_sidebar .origami-cat-link {
    min-width: 150px;
  }

  #custom_products_sidebar .origami-subcat-list {
    max-height: 220px !important;
  }
}

@media (max-width: 576px) {
  #custom_products_sidebar .row.origami-categories-sticky {
    padding: 14px 14px 16px;
  }

  #custom_products_sidebar .origami-cat-link {
    min-width: 138px;
    padding: 10px 12px !important;
  }

  #custom_products_sidebar .origami-cat-link .category-icon {
    width: 44px !important;
    height: 44px !important;
  }
}

/* ===== Force category rail to top ===== */
.o_wsale_products_main_row {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
}

#custom_products_sidebar {
  order: 1;
  max-width: 100% !important;
}

#products_grid {
  order: 2;
  width: 100% !important;
  flex: 0 0 100% !important;
}

#custom_products_sidebar .row.origami-categories-sticky {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
}

#custom_products_sidebar .origami-cat-col {
  order: 1;
  display: block !important;
  margin-bottom: 16px !important;
}

#custom_products_sidebar .subcategories {
  order: 2;
  display: block !important;
}

#custom_products_sidebar .origami-cat-list {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
}

#custom_products_sidebar .origami-cat-item {
  display: block !important;
  width: auto !important;
}

/* ===== Top category rail with left sidebar restored ===== */
.origami-top-category-rail {
  position: relative;
  z-index: 3;
  margin-top: -18px;
  padding: 0 24px 22px;
}

.origami-top-category-rail-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  gap: 22px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 12px;
  scrollbar-width: thin;
  scrollbar-color: #e6252a rgba(230, 37, 42, 0.12);
}

.origami-top-category-rail-inner::-webkit-scrollbar {
  height: 8px;
}

.origami-top-category-rail-inner::-webkit-scrollbar-thumb {
  background: #e6252a;
  border-radius: 999px;
}

.origami-top-category-rail-inner::-webkit-scrollbar-track {
  background: rgba(230, 37, 42, 0.12);
  border-radius: 999px;
}

.origami-top-cat-link {
  flex: 0 0 auto;
  min-width: 170px;
  min-height: 112px;
  justify-content: center !important;
  flex-direction: column !important;
  gap: 12px !important;
  border-radius: 20px !important;
  background: #eceae8 !important;
  box-shadow: 0 8px 18px rgba(92, 62, 40, 0.08);
  text-decoration: none;
  white-space: nowrap;
}

.origami-top-cat-link[data-name='Entrées'],
.origami-top-cat-link[data-name='Entrees'] {
  background: #b6d5ac !important;
}

.origami-top-cat-link .category-icon {
  width: 56px !important;
  height: 56px !important;
}

.origami-top-cat-link .category-name {
  text-align: center;
}

.o_wsale_products_main_row {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 32px !important;
}

#custom_products_sidebar {
  order: 0 !important;
  flex: 0 0 320px !important;
  width: 320px !important;
  position: sticky !important;
  top: 108px !important;
  margin-bottom: 0 !important;
}

#products_grid {
  order: 0 !important;
  flex: 1 1 auto !important;
  width: auto !important;
}

#custom_products_sidebar .row.origami-categories-sticky {
  display: block !important;
  padding: 22px 18px !important;
}

#custom_products_sidebar .origami-cat-col,
#custom_products_sidebar .origami-cat-list,
#custom_products_sidebar .origami-cat-item {
  display: none !important;
}

#custom_products_sidebar .subcategories {
  display: block !important;
  max-width: 100% !important;
  width: 100% !important;
  flex: 0 0 100% !important;
  margin-top: 0 !important;
  padding: 0 !important;
}

#custom_products_sidebar .origami-subcat-block {
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(233, 213, 201, 0.9);
  padding: 10px 12px;
}

#custom_products_sidebar .origami-subcat-list {
  max-height: 280px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}
@media (max-width: 576px) {
  .o_wsale_product_sub {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 6px;
  }

  .o_wsale_product_sub .product_price,
  .o_wsale_product_sub .text-nowrap,
  .o_wsale_product_sub .oe_currency_value,
  .o_wsale_product_sub .fw-bold {
    font-size: 16px !important;
    line-height: 1.1;
  }

  .origami-qty-btn {
    width: 30px;
    height: 30px;
  }

  .origami-qty-value {
    min-width: 30px;
    height: 30px;
    font-size: 16px;
  }
}
@media (max-width: 991px) {
  .origami-top-category-rail {
    margin-top: 0;
    padding: 18px 16px 16px;
  }

  .origami-top-category-rail-inner {
    gap: 12px;
  }

  .origami-top-cat-link {
    min-width: 148px;
    min-height: 92px;
    padding: 14px 10px !important;
    border-radius: 16px !important;
  }

  .category-icon {
    width: 42px !important;
    height: 42px !important;
  }

  .o_wsale_products_main_row {
    flex-direction: column !important;
  }

  #custom_products_sidebar,
  #products_grid {
    width: 100% !important;
    flex: 0 0 100% !important;
  }

  #custom_products_sidebar {
    position: static !important;
    top: auto !important;
  }
}

@media (max-width: 576px) {
  .origami-top-cat-link {
    min-width: 138px;
  }
}

/* ===== Subcategory panel like allergen block ===== */
#custom_products_sidebar .origami-subcat-block {
  position: relative;
  border-radius: 26px !important;
  background: none !important;
  border: 1px solid rgba(233, 213, 201, 0.9) !important;
  box-shadow: 0 16px 30px rgba(95, 72, 56, 0.08);
  padding: 60px 22px 22px !important;
}

#custom_products_sidebar .origami-subcat-block::before {
  content: attr(data-origami-category);
  position: absolute;
  top: 22px;
  left: 22px;
  right: 22px;
  color: #171717;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
}

#custom_products_sidebar .origami-subcat-block::after {
  content: '\25BE';
  position: absolute;
  top: 22px;
  right: 22px;
  color: #ef2328;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

#custom_products_sidebar .origami-subcat-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px 12px !important;
  max-height: 320px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding-right: 6px;
}

#custom_products_sidebar .origami-subcat-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 46px;
  margin: 0 !important;
  padding: 10px 12px !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  border-radius: 12px !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center !important;
  text-decoration: none !important;
  white-space: normal !important;
}

#custom_products_sidebar .origami-subcat-link:hover {
  border-color: #ef2328 !important;
  color: #ef2328 !important;
  text-decoration: none !important;
}

#custom_products_sidebar .origami-subcat-link.active {
  background: #ef2328 !important;
  border-color: #ef2328 !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

@media (max-width: 576px) {
  #custom_products_sidebar .origami-subcat-block {
    padding: 66px 16px 16px !important;
  }

  #custom_products_sidebar .origami-subcat-block::before {
    top: 18px;
    left: 16px;
    right: 16px;
    font-size: 17px;
  }

  #custom_products_sidebar .origami-subcat-block::after {
    top: 18px;
    right: 16px;
  }

  #custom_products_sidebar .origami-subcat-list {
    grid-template-columns: 1fr !important;
    max-height: 260px !important;
  }
}

/* ===== Independent sidebar scrolling ===== */
@media (min-width: 992px) {
  .o_wsale_products_main_row {
    align-items: stretch !important;
  }
  .nav-menu-mobile-cta {
    display: none;
  }
  .origami-categories-sticky
{
  width: 105% !important;
}
.origami-hero-category-link[data-name='Plats Chauds'] .category-icon,
.origami-cat-link[data-name='Plats Chauds'] .category-icon {
  width: 72px !important;
  height: 72px !important;
}
  #custom_products_sidebar {
    position: sticky !important;
    top: 108px !important;
    align-self: flex-start !important;
    max-height: calc(100vh - 124px) !important;
    overflow: hidden !important;
  }

  #custom_products_sidebar .origami-sidebar {
    max-height: calc(100vh - 124px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-right: 6px;
    scrollbar-width: thin;
    scrollbar-color: #e6252a rgba(230, 37, 42, 0.12);
  }

  #custom_products_sidebar .origami-sidebar::-webkit-scrollbar {
    width: 8px;
  }

  #custom_products_sidebar .origami-sidebar::-webkit-scrollbar-thumb {
    background: #e6252a;
    border-radius: 999px;
  }

  #custom_products_sidebar .origami-sidebar::-webkit-scrollbar-track {
    background: rgba(230, 37, 42, 0.12);
    border-radius: 999px;
  }
}

/* ===== True split scrolling: sidebar and products ===== */
@media (min-width: 992px) {
  body {
    overflow-y: hidden;
  }

  #wrap {
    min-height: 0 !important;
  }

  .o_wsale_products_main_row {
    height: calc(100vh - 230px) !important;
    min-height: calc(100vh - 230px) !important;
    max-height: calc(100vh - 230px) !important;
    align-items: stretch !important;
    overflow: hidden !important;
  }

  #custom_products_sidebar,
  #products_grid {
    min-height: 0 !important;
    max-height: 100% !important;
  }

  #custom_products_sidebar {
    position: relative !important;
    top: 0 !important;
    align-self: stretch !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-right: 6px;
    scrollbar-width: thin;
    scrollbar-color: #e6252a rgba(230, 37, 42, 0.12);
  }

  #custom_products_sidebar::-webkit-scrollbar {
    width: 8px;
  }

  #custom_products_sidebar::-webkit-scrollbar-thumb {
    background: #e6252a;
    border-radius: 999px;
  }

  #custom_products_sidebar::-webkit-scrollbar-track {
    background: rgba(230, 37, 42, 0.12);
    border-radius: 999px;
  }

  #custom_products_sidebar .origami-sidebar {
    max-height: none !important;
    overflow: visible !important;
    padding-right: 0 !important;
  }

  #products_grid {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-right: 6px;
    scrollbar-width: thin;
    scrollbar-color: #e6252a rgba(230, 37, 42, 0.12);
  }

  #products_grid::-webkit-scrollbar {
    width: 8px;
  }

  #products_grid::-webkit-scrollbar-thumb {
    background: #e6252a;
    border-radius: 999px;
  }

  #products_grid::-webkit-scrollbar-track {
    background: rgba(230, 37, 42, 0.12);
    border-radius: 999px;
  }
}

@media (max-width: 991px) {
  body {
    overflow-y: auto;
  }
.category-icon {
  width: 57px !important;
  height: 57px !important;
}
  .o_wsale_products_main_row {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }

  #custom_products_sidebar,
  #products_grid {
    overflow: visible !important;
    max-height: none !important;
  }
}

/* ===== Restore page scroll and keep sidebar internally scrollable ===== */
body {
  overflow-y: auto !important;
}

@media (min-width: 992px) {
  .o_wsale_products_main_row {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    align-items: flex-start !important;
  }

  #products_grid {
    overflow: visible !important;
    max-height: none !important;
    padding-right: 0 !important;
  }

  #custom_products_sidebar {
    position: sticky !important;
    top: 108px !important;
    align-self: flex-start !important;
    max-height: calc(100vh - 124px) !important;
    overflow: hidden !important;
    padding-right: 0 !important;
  }

  #custom_products_sidebar .origami-sidebar {
    max-height: calc(100vh - 124px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-right: 6px !important;
    scrollbar-width: thin;
    scrollbar-color: #e6252a rgba(230, 37, 42, 0.12);
  }

  #custom_products_sidebar .origami-sidebar::-webkit-scrollbar {
    width: 8px;
  }

  #custom_products_sidebar .origami-sidebar::-webkit-scrollbar-thumb {
    background: #e6252a;
    border-radius: 999px;
  }

  #custom_products_sidebar .origami-sidebar::-webkit-scrollbar-track {
    background: rgba(230, 37, 42, 0.12);
    border-radius: 999px;
  }
}

@media (max-width: 991px) {
  .o_wsale_products_main_row,
  #custom_products_sidebar,
  #products_grid,
  #custom_products_sidebar .origami-sidebar {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }
}

/* ===== Whole left sidebar scrolls as one column ===== */
@media (min-width: 992px) {
  #custom_products_sidebar {
    position: sticky !important;
    top: 108px !important;
    align-self: flex-start !important;
    max-height: calc(100vh - 124px) !important;
    overflow: hidden !important;
  }

  #custom_products_sidebar .origami-sidebar {
    max-height: calc(100vh - 124px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-right: 8px !important;
    scrollbar-width: thin;
    scrollbar-color: #e6252a rgba(230, 37, 42, 0.12);
  }

  #custom_products_sidebar .origami-sidebar::-webkit-scrollbar {
    width: 8px;
  }

  #custom_products_sidebar .origami-sidebar::-webkit-scrollbar-thumb {
    background: #e6252a;
    border-radius: 999px;
  }

  #custom_products_sidebar .origami-sidebar::-webkit-scrollbar-track {
    background: rgba(230, 37, 42, 0.12);
    border-radius: 999px;
  }

  #custom_products_sidebar .origami-allergen-box,
  #custom_products_sidebar .origami-subcat-block {
    flex-shrink: 0;
  }

  #custom_products_sidebar .origami-subcat-list,
  #custom_products_sidebar .origami-allergen-list {
    max-height: none !important;
    overflow: visible !important;
    padding-right: 0 !important;
  }
}

/* ===== Shared sidebar scroll wrapper ===== */
@media (min-width: 992px) {
  #custom_products_sidebar {
    position: sticky !important;
    top: 108px !important;
    align-self: flex-start !important;
    max-height: calc(100vh - 124px) !important;
    overflow: hidden !important;
  }

  #custom_products_sidebar .origami-sidebar {
    max-height: calc(100vh - 124px) !important;
    overflow: hidden !important;
    padding-right: 0 !important;
  }

  #custom_products_sidebar .origami-sidebar-scroll {
    max-height: calc(100vh - 124px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-right: 8px !important;
    scrollbar-width: thin;
    scrollbar-color: #e6252a rgba(230, 37, 42, 0.12);
  }

  #custom_products_sidebar .origami-sidebar-scroll::-webkit-scrollbar {
    width: 8px;
  }

  #custom_products_sidebar .origami-sidebar-scroll::-webkit-scrollbar-thumb {
    background: #e6252a;
    border-radius: 999px;
  }

  #custom_products_sidebar .origami-sidebar-scroll::-webkit-scrollbar-track {
    background: rgba(230, 37, 42, 0.12);
    border-radius: 999px;
  }

  #custom_products_sidebar .origami-allergen-list,
  #custom_products_sidebar .origami-subcat-list,
  #custom_products_sidebar .subcategories,
  #custom_products_sidebar .row.origami-categories-sticky {
    max-height: none !important;
    overflow: visible !important;
  }
}

/* ===== Sidebar bottom breathing room ===== */
@media (min-width: 992px) {
  #custom_products_sidebar .origami-sidebar-scroll {
    padding-bottom: 100px !important;
  }
}

/* ===== Category rail color states ===== */
.origami-top-cat-link {
  background: #eceae8 !important;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.origami-top-cat-link[data-name='Entrées'],
.origami-top-cat-link[data-name='Entrees'],
.origami-top-cat-link[data-name='Sushi'],
.origami-top-cat-link[data-name='Plats Chauds'],
.origami-top-cat-link[data-name='Accompagnements'],
.origami-top-cat-link[data-name='Desserts'],
.origami-top-cat-link[data-name='Boissons'] {
  align-self: normal;
  background: #eceae8 !important;
}

.origami-top-cat-link:hover,
.origami-top-cat-link.active {
  color: #161616 !important;
  text-decoration: none !important;
}

.origami-top-cat-link:hover[data-name='Entrées'],
.origami-top-cat-link:hover[data-name='Entrees'],
.origami-top-cat-link.active[data-name='Entrées'],
.origami-top-cat-link.active[data-name='Entrees'] {
  background: #b6d5ac !important;
}

.origami-top-cat-link:hover[data-name='Sushi'],
.origami-top-cat-link.active[data-name='Sushi'] {
  background: #f2b0b7 !important;
}

.origami-top-cat-link:hover[data-name='Plats Chauds'],
.origami-top-cat-link.active[data-name='Plats Chauds'] {
  background: #edc09f !important;
}

.origami-top-cat-link:hover[data-name='Accompagnements'],
.origami-top-cat-link.active[data-name='Accompagnements'] {
  background: #ead9a2 !important;
}

.origami-top-cat-link:hover[data-name='Desserts'],
.origami-top-cat-link.active[data-name='Desserts'] {
  background: #efc6d8 !important;
}

.origami-top-cat-link:hover[data-name='Boissons'],
.origami-top-cat-link.active[data-name='Boissons'] {
  background: #c7d9ef !important;
}

/* ===== Top rail: remove inner icon color fill ===== */
.origami-top-cat-link .category-icon,
.origami-top-cat-link:hover .category-icon,
.origami-top-cat-link.active .category-icon,
.origami-top-cat-link:hover[data-name='Entrées'] .category-icon,
.origami-top-cat-link:hover[data-name='Entrees'] .category-icon,
.origami-top-cat-link.active[data-name='Entrées'] .category-icon,
.origami-top-cat-link.active[data-name='Entrees'] .category-icon,
.origami-top-cat-link:hover[data-name='Sushi'] .category-icon,
.origami-top-cat-link.active[data-name='Sushi'] .category-icon,
.origami-top-cat-link:hover[data-name='Plats Chauds'] .category-icon,
.origami-top-cat-link.active[data-name='Plats Chauds'] .category-icon,
.origami-top-cat-link:hover[data-name='Accompagnements'] .category-icon,
.origami-top-cat-link.active[data-name='Accompagnements'] .category-icon,
.origami-top-cat-link:hover[data-name='Desserts'] .category-icon,
.origami-top-cat-link.active[data-name='Desserts'] .category-icon,
.origami-top-cat-link:hover[data-name='Boissons'] .category-icon,
.origami-top-cat-link.active[data-name='Boissons'] .category-icon {
  border: none;
  background-color: transparent !important;
  box-shadow: none !important;
}

/* ===== Top rail: use original category colors on full card ===== */
.origami-top-cat-link:hover[data-name='Entrées'],
.origami-top-cat-link:hover[data-name='Entrees'],
.origami-top-cat-link.active[data-name='Entrées'],
.origami-top-cat-link.active[data-name='Entrees'] {
  background: #A1C89D !important;
}

.origami-top-cat-link:hover[data-name='Sushi'],
.origami-top-cat-link.active[data-name='Sushi'] {
  background: #DF646C !important;
}

.origami-top-cat-link:hover[data-name='Plats Chauds'],
.origami-top-cat-link.active[data-name='Plats Chauds'] {
  background: #E39F77 !important;
}

.origami-top-cat-link:hover[data-name='Accompagnements'],
.origami-top-cat-link.active[data-name='Accompagnements'] {
  background: #E1C57F !important;
}

.origami-top-cat-link:hover[data-name='Desserts'],
.origami-top-cat-link.active[data-name='Desserts'] {
  background: #E29CC1 !important;
}

.origami-top-cat-link:hover[data-name='Boissons'],
.origami-top-cat-link.active[data-name='Boissons'] {
  background: #8BADD8 !important;
}

/* ===== Category rail positioning fix ===== */
.origami-top-category-rail {
  margin-top: 24px !important;
  padding: 0 24px 22px !important;
}

.origami-top-category-rail-inner {
  justify-content: center !important;
  align-items: center !important;
}

@media (max-width: 991px) {
  .origami-top-category-rail {
    margin-top: 18px !important;
    padding: 0 16px 16px !important;
  }

  .origami-top-category-rail-inner {
    justify-content: flex-start !important;
  }
}

/* ===== Sidebar horizontal alignment tweak ===== */
@media (min-width: 992px) {
  #custom_products_sidebar {
    margin-left: -50px !important;
  }
}

/* ===== Mobile shop layout: categories grid, subcategories, then allergens ===== */
@media (max-width: 767.98px) {
  .origami-top-category-rail {
    margin-top: 15px !important;
    padding: 0 16px 14px !important;
  }

  .origami-top-category-rail-inner {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
    overflow: visible !important;
    padding: 0 !important;
    justify-content: stretch !important;
  }

  .origami-top-cat-link {
    min-width: 0 !important;
    width: 100% !important;
    min-height: 102px !important;
    padding: 14px 8px 12px !important;
    gap: 8px !important;
    border-radius: 14px !important;
    box-shadow: none !important;
  }



  .origami-top-cat-link .category-name {
    font-size: 10px !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    text-align: center !important;
  }

  #custom_products_sidebar {
    margin-top: 0 !important;
    margin-bottom: 18px !important;
  }

  #custom_products_sidebar .origami-sidebar,
  #custom_products_sidebar .origami-sidebar-scroll {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    overflow: visible !important;
    max-height: none !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
  }

  #custom_products_sidebar .row.origami-categories-sticky {
    order: 1 !important;
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  #custom_products_sidebar .subcategories {
    margin-top: 0 !important;
    padding: 0 !important;
  }

  #custom_products_sidebar .origami-subcat-block {
    padding: 58px 16px 16px !important;
    box-shadow: none !important;
  }

  #custom_products_sidebar .origami-subcat-block::before,
  #custom_products_sidebar .origami-subcat-block::after {
    top: 18px !important;
  }

  #custom_products_sidebar .origami-subcat-block::before {
    left: 16px !important;
    right: 42px !important;
    font-size: 17px !important;
  }

  #custom_products_sidebar .origami-subcat-block::after {
    right: 16px !important;
  }

  #custom_products_sidebar .origami-subcat-list {
    max-height: none !important;
    overflow: visible !important;
  }

  #custom_products_sidebar .origami-allergen-box {
    order: 2 !important;
    margin: 0 !important;
  }

  .origami-allergen-mobile-slot {
    display: none !important;
  }
}

/* ===== Mobile shop layout correction: keep subcategories below categories ===== */
@media (max-width: 767.98px) {
  #custom_products_sidebar .origami-categories-sticky,
  #custom_products_sidebar .row.origami-categories-sticky {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    z-index: auto !important;
    background: transparent !important;
    box-shadow: none !important;
  }
.nav-link .px-0 .nav-dropdown-toggle {
  margin-left: -10px !important;
}
  #products_grid {
    padding-top: 0 !important;
    margin-top: -44px !important;
  }
.o_wsale_products_main_row {
  gap: 0px !important;
}
.origami-hero-content
{
  height: 188% !important;
}
.origami-hero-banner {
  height: 50px;
}
  #custom_products_sidebar .origami-allergen-box {
    display: block !important;
    order: 2 !important;
    width: 100% !important;
  }

  .origami-allergen-mobile-slot {
    display: none !important;
  }
}

/* ===== Mobile allergen list: two columns ===== */
@media (max-width: 767.98px) {
  #custom_products_sidebar .origami-allergen-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 14px !important;
    row-gap: 8px !important;
  }

  #custom_products_sidebar .origami-allergen-item {
    margin: 0 !important;
  }

  #custom_products_sidebar .origami-allergen-label {
    width: 100% !important;
  }
}

/* ===== Mobile subcategory accordion toggle ===== */
@media (max-width: 767.98px) {
  #custom_products_sidebar .origami-subcat-block {
    cursor: pointer;
  }

  #custom_products_sidebar .origami-subcat-block[data-collapsed="1"] {
    padding-bottom: 0px !important;
  }

  #custom_products_sidebar .origami-subcat-block[data-collapsed="1"] .origami-subcat-list {
    display: none !important;
  }
}
/* ===== Subcategory accordion toggle across layouts ===== */
#custom_products_sidebar .origami-subcat-block {
  cursor: pointer;
}

#custom_products_sidebar .origami-subcat-block::after {
  transition: transform 0.2s ease;
}

#custom_products_sidebar .origami-subcat-block[data-collapsed="1"] {
  padding-bottom: 0px !important;
}

#custom_products_sidebar .origami-subcat-block[data-collapsed="1"]::after {
  transform: rotate(-90deg);
}

#custom_products_sidebar .origami-subcat-block[data-collapsed="1"] .origami-subcat-list {
  display: none !important;
}
/* ===== Entrées selector repair ===== */
.origami-cat-link[data-name='Entrées'] .category-icon,
.origami-top-cat-link[data-name='Entrées'] .category-icon,
.origami-hero-category-link[data-name='Entrées'] .category-icon {
  background-image: url('/Origami/static/images/entree.png') !important;
}

.origami-cat-link.active[data-name='Entrées'],
.origami-cat-link:hover[data-name='Entrées'] {
  background: #A1C89D !important;
}

.origami-cat-link.active[data-name='Entrées'] .category-icon,
.origami-cat-link:hover[data-name='Entrées'] .category-icon {
  background-color: #A1C89D !important;
  box-shadow: none !important;
}

.origami-top-cat-link[data-name='Entrées'] {
  background: #eceae8 !important;
}

.origami-top-cat-link.active[data-name='Entrées'],
.origami-top-cat-link:hover[data-name='Entrées'] {
  background: #A1C89D !important;
}

.origami-top-cat-link.active[data-name='Entrées'] .category-icon,
.origami-top-cat-link:hover[data-name='Entrées'] .category-icon {
  background-color: transparent !important;
  box-shadow: none !important;
}
/* ===== Origami mobile filter/sort toolbar redesign ===== */
@media (max-width: 767.98px) {
  .products_header {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    gap: 12px !important;
    padding: 8px 0 14px !important;
    margin-bottom: 14px !important;
  }

  .products_header .d-flex.align-items-center.d-lg-none.me-auto.o_not_editable {
    order: 0;
    flex: 0 0 100%;
    width: 100%;
  }

  .products_header .o_wsale_products_searchbar_form,
  .products_header .o_wsale_products_searchbar_form.d-none,
  .products_header .o_searchbar_form {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    flex: 0 0 0 !important;
  }

  .products_header .o_wsale_products_searchbar_form *,
  .products_header .o_searchbar_form * {
    display: none !important;
  }

  .products_header .o_wsale_apply_layout {
    display: none !important;
  }

  .products_header button.origami-shop-filter-trigger,
  .products_header .origami-shop-filter-trigger.btn,
  .products_header .origami-shop-filter-trigger.btn-light {
    order: 1;
    flex: 0 0 110px;
    width: 110px;
    max-width: 110px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 14px 18px !important;
    border: 2px solid #d40015 !important;
    border-radius: 16px !important;
    background: #d40015 !important;
    background-color: #d40015 !important;
    background-image: none !important;
    color: #ffffff !important;
    box-shadow: none !important;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
  }

  .products_header .origami-filter-mobile-label {
    display: block;
    line-height: 1;
  }

  .products_header .origami-shop-filter-trigger > .position-absolute {
    left: auto !important;
    right: 12px !important;
    top: 10px !important;
    transform: none !important;
    border-color: rgba(212, 0, 21, 0.35) !important;
    background: #ffffff !important;
  }

  .products_header .dropdown_sorty_by,
  .products_header .dropdown_sorty_by.d-none {
    order: 1;
    flex: 1 1 0;
    min-width: 0;
    width: auto !important;
    display: block !important;
    margin: 0 !important;
  }

  .products_header .origami-sort-toggle,
  .products_header .dropdown_sorty_by .dropdown-toggle.btn {
    display: none !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 56px;
    padding: 14px 18px !important;
    border: 2px solid rgba(212, 0, 21, 0.35) !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    background-image: none !important;
    color: #9b918b !important;
    box-shadow: none !important;
    gap: 10px;
  }

  .products_header .dropdown_sorty_by .fa-sort-amount-asc {
    display: none !important;
  }

  .products_header .origami-sort-mobile-label {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    overflow: hidden;
    font-size: 15px;
    line-height: 1.2;
  }

  .products_header .origami-sort-mobile-prefix {
    white-space: nowrap;
  }

  .products_header .origami-sort-mobile-value {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #7f726d;
  }

  .products_header .dropdown_sorty_by .dropdown-toggle::after {
    margin-left: auto;
    flex-shrink: 0;
    border-top-color: #d40015;
    border-top-width: 0.42em;
    border-right-width: 0.34em;
    border-left-width: 0.34em;
  }

  .products_header .dropdown_sorty_by .dropdown-menu {
    width: 100%;
    min-width: 100%;
    border-radius: 16px;
    overflow: hidden;
  }

  #custom_products_sidebar .origami-subcat-block {
    overflow: hidden !important;
  }

  #custom_products_sidebar .origami-subcat-list {
    max-height: min(45vh, 320px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-right: 4px !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  #custom_products_sidebar .origami-subcat-list::-webkit-scrollbar {
    width: 6px;
  }

  #custom_products_sidebar .origami-subcat-list::-webkit-scrollbar-thumb {
    background: rgba(212, 0, 21, 0.35);
    border-radius: 999px;
  }
}


/* ===== Origami mobile filter offcanvas close button ===== */
@media (max-width: 767.98px) {
  #o_wsale_offcanvas {
    display: flex;
    flex-direction: column;
  }

  #o_wsale_offcanvas .offcanvas-header {
    position: sticky;
    top: 0;
    z-index: 3;
    background: #ffffff;
  }

  #o_wsale_offcanvas #o_wsale_offcanvas_content {
    padding-bottom: 96px;
  }

  #o_wsale_offcanvas .origami-offcanvas-close-wrap {
    position: sticky;
    bottom: 0;
    z-index: 3;
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #ffffff 28%);
  }

  #o_wsale_offcanvas .origami-offcanvas-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    border: 2px solid #d40015 !important;
    border-radius: 16px !important;
    background: #d40015 !important;
    background-image: none !important;
    color: #ffffff !important;
    font-size: 17px;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(212, 0, 21, 0.18);
  }
}

/* ===== Compact mobile shop top area ===== */
@media (max-width: 767.98px) {
  .origami-top-category-rail {
    margin-top: 10px !important;
    padding: 0 12px 8px !important;
  }

  .origami-top-category-rail-inner {
    gap: 8px !important;
  }

  .origami-top-cat-link {
    min-height: 84px !important;
    padding: 10px 6px 8px !important;
    gap: 5px !important;
    border-radius: 12px !important;
  }

  .origami-top-cat-link .category-icon {
    width: 36px !important;
    height: 36px !important;
    background-size: contain !important;
  }

  .origami-top-cat-link .category-name {
    font-size: 9px !important;
    line-height: 1.1 !important;
  }

  #custom_products_sidebar {
    margin-bottom: 8px !important;
  }

  #custom_products_sidebar .origami-sidebar,
  #custom_products_sidebar .origami-sidebar-scroll {
    gap: 8px !important;
  }

  #custom_products_sidebar .row.origami-categories-sticky {
    margin-bottom: 0 !important;
  }

  #custom_products_sidebar .subcategories {
    margin-top: 0 !important;
  }

  #custom_products_sidebar .origami-allergen-box {
    margin-top: 0 !important;
  }

  #custom_products_sidebar .origami-allergen-summary {
    padding: 12px 15px 10px !important;
    font-size: 15px !important;
  }

  #custom_products_sidebar .origami-allergen-content {
    margin-top: 8px !important;
  }

  .products_header {
    gap: 10px !important;
    padding: 4px 0 10px !important;
    margin-bottom: 8px !important;
  }

  .products_header button.origami-shop-filter-trigger,
  .products_header .origami-shop-filter-trigger.btn,
  .products_header .origami-shop-filter-trigger.btn-light,
  .products_header .origami-sort-toggle,
  .products_header .dropdown_sorty_by .dropdown-toggle.btn {
    min-height: 50px !important;
    padding: 12px 16px !important;
    border-radius: 14px !important;
  }

  .products_header button.origami-shop-filter-trigger,
  .products_header .origami-shop-filter-trigger.btn,
  .products_header .origami-shop-filter-trigger.btn-light {
    flex: 0 0 92px;
    width: 92px;
    max-width: 92px;
    font-size: 16px;
  }

  .products_header .origami-sort-mobile-label {
    font-size: 14px;
  }

  #products_grid {
    padding-top: 0 !important;
  }

  .o_wsale_products_grid_table_wrapper,
  #o_wsale_products_grid {
    margin-top: 0 !important;
  }
}

/* Keep shop product images locked to the visual center across viewport sizes. */
.oe_product_image_img_wrapper {
  display: grid !important;
  place-items: center !important;
  position: relative !important;
  overflow: hidden !important;
  padding: 18px !important;
}

.oe_product_image_img_wrapper img {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: calc(100% - 36px) !important;
  max-height: calc(100% - 36px) !important;
  margin: 0 !important;
  transform: translate(-50%, -50%) !important;
  object-fit: contain !important;
  object-position: center center !important;
}

.oe_product_image_img_wrapper::before {
  inset: 0 !important;
  margin: 0 !important;
  background-position: center center, center center !important;
}

@media (max-width: 991.98px) {
  .oe_product_image_img_wrapper {
    padding: 14px !important;
  }

  .oe_product_image_img_wrapper img {
    max-width: calc(100% - 28px) !important;
    max-height: calc(100% - 28px) !important;
  }
}

/* ===== Mobile sticky category + subcategory rails ===== */
@media (max-width: 767.98px) {
  :root {
    --origami-mobile-shop-sticky-top: 72px;
    --origami-mobile-shop-rail-height: 58px;
  }

  .origami-top-category-rail {
    position: sticky !important;
    top: var(--origami-mobile-shop-sticky-top) !important;
    z-index: 40 !important;
    margin-top: 0 !important;
    padding: 8px 0 6px !important;
    background: #ffffff !important;
    border-top: 1px solid #f1ece6;
    border-bottom: 1px solid #ece4dd;
  }

  .origami-top-category-rail-inner {
    display: flex !important;
    flex-wrap: nowrap !important;
    grid-template-columns: none !important;
    gap: 10px !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 0 12px !important;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .origami-top-category-rail-inner::-webkit-scrollbar,
  #custom_products_sidebar .origami-subcat-list::-webkit-scrollbar {
    display: none;
  }

  .origami-top-cat-link {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: max-content !important;
    min-height: 48px !important;
    padding: 10px 14px !important;
    border: 1px solid #e6ddd6 !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    white-space: nowrap !important;
    box-shadow: none !important;
    scroll-snap-align: start;
  }

  .origami-top-cat-link .category-icon {
    width: 28px !important;
    height: 28px !important;
    flex: 0 0 28px !important;
    border-radius: 50% !important;
    background-color: #ffffff !important;
    background-size: 18px 18px !important;
    background-position: center !important;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08) !important;
  }

  .origami-top-cat-link .category-name {
    font-size: 14px !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
    text-align: left !important;
  }

  #custom_products_sidebar {
    position: sticky !important;
    top: calc(var(--origami-mobile-shop-sticky-top) + var(--origami-mobile-shop-rail-height)) !important;
    z-index: 39 !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    background: #ffffff !important;
    width: 100% !important;
  }

  #custom_products_sidebar .origami-sidebar,
  #custom_products_sidebar .origami-sidebar-scroll,
  #custom_products_sidebar .row.origami-categories-sticky,
  #custom_products_sidebar .subcategories {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
  }


  #custom_products_sidebar .origami-subcat-block {
    display: none;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    cursor: default !important;
  }

  #custom_products_sidebar .origami-subcat-block::before,
  #custom_products_sidebar .origami-subcat-block::after {
    content: none !important;
    display: none !important;
  }

  #custom_products_sidebar .origami-subcat-list {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    gap: 14px !important;
    align-items: center !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    max-height: none !important;
    padding: 10px 12px 8px !important;
    margin: 0 !important;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    border-bottom: 1px solid #ece4dd;
  }

  #custom_products_sidebar .origami-subcat-block[data-collapsed="1"] .origami-subcat-list {
    display: flex !important;
  }

  #custom_products_sidebar .origami-subcat-list > .origami-subcat-link,
  #custom_products_sidebar .origami-subcat-list > .origami-subcat-link.d-block,
  #custom_products_sidebar .origami-subcat-link,
  #custom_products_sidebar .origami-subcat-link.d-block {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    width: auto !important;
    margin: 0 !important;
    margin-bottom: 0 !important;
    align-items: center !important;
    min-height: 34px !important;
    padding: 0 0 6px !important;
    font-size: 14px !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    color: #7b726c !important;
    text-decoration: none !important;
    border-bottom: 2px solid transparent;
    scroll-snap-align: start;
  }

  #custom_products_sidebar .origami-subcat-link.mb-2 {
    margin-bottom: 0 !important;
  }

  .origami-subcat-link.active {
    font-weight: 700 !important;
    text-decoration: none !important;
    border-bottom-color: currentColor !important;
  }
}
/* ===== Mobile shop filters row: subcategories, then allergens + search ===== */
@media (max-width: 767.98px) {
  #custom_products_sidebar .origami-allergen-box {
    display: none !important;
  }

  .origami-top-cat-link {
    display: inline-flex !important;
    width: auto !important;
    min-width: max-content !important;
    max-width: none !important;
    min-height: 48px !important;
    padding: 10px 16px !important;
    gap: 10px !important;
    overflow: visible !important;
  }

  .origami-top-cat-link .category-name {
    display: block !important;
    flex: 0 0 auto !important;
    min-width: 0 !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }

  #custom_products_sidebar .origami-mobile-filter-row {
    display: grid !important;
    grid-template-columns: minmax(128px, 42%) minmax(0, 1fr);
    gap: 10px !important;
    align-items: start !important;
    padding: 10px 12px 12px !important;
    margin: 0 !important;
    background: #ffffff !important;
    border-top: 1px solid #f1ebe4;
  }

  #custom_products_sidebar .origami-mobile-allergen-toggle {
    min-height: 44px;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 14px;
    border: 1px solid #e6ddd6;
    border-radius: 999px;
    background: #ed1f24;
    color: #2f2925;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
  }

  #custom_products_sidebar .origami-mobile-allergen-toggle-arrow {
    transition: transform 0.2s ease;
  }

  #custom_products_sidebar .origami-mobile-allergen-toggle[aria-expanded="true"] .origami-mobile-allergen-toggle-arrow {
    transform: rotate(180deg);
  }

  #custom_products_sidebar .origami-mobile-search-slot,
  #custom_products_sidebar .origami-mobile-search-form,
  #custom_products_sidebar .origami-mobile-search-form .oe_search_box {
    width: 100% !important;
    min-width: 0 !important;
  }

  #custom_products_sidebar .origami-mobile-search-form {
    margin: 0 !important;
  }

  #custom_products_sidebar .origami-mobile-search-form .oe_search_box {
    display: flex !important;
    align-items: center !important;
    min-height: 44px !important;
    padding: 0 4px 0 14px !important;
    border: 1px solid #e6ddd6 !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    overflow: hidden !important;
  }

  #custom_products_sidebar .origami-mobile-search-input,
  #custom_products_sidebar .origami-mobile-search-form input[name='search'] {
    min-width: 0 !important;
    height: 42px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #2f2925 !important;
    font-size: 14px !important;
  }

  #custom_products_sidebar .origami-mobile-search-input::placeholder {
    color: #8b8179 !important;
    opacity: 1 !important;
  }

  #custom_products_sidebar .origami-mobile-search-submit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #f7f2ed !important;
    color: #2f2925 !important;
    box-shadow: none !important;
    flex: 0 0 36px !important;
  }

  #custom_products_sidebar .origami-mobile-allergen-panel {
    grid-column: 1 / -1;
    margin: 0 !important;
  }

  #custom_products_sidebar .origami-mobile-allergen-panel[hidden] {
    display: none !important;
  }

  #custom_products_sidebar .origami-mobile-allergen-panel:not([hidden]) {
    display: block !important;
  }

  #custom_products_sidebar .origami-mobile-allergen-panel .origami-allergen-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px 12px !important;
    margin: 0 !important;
    padding: 12px !important;
    border: 1px solid #ece4dd;
    border-radius: 18px;
    background: #fbf8f4 !important;
  }

  #custom_products_sidebar .origami-mobile-allergen-panel .origami-allergen-item {
    margin: 0 !important;
  }

  #custom_products_sidebar .origami-mobile-allergen-panel .origami-allergen-label {
    width: 100% !important;
  }
}
/* ===== Mobile category rail polish: icon size and subcategory accent sync ===== */
@media (max-width: 767.98px) {
  .origami-top-category-rail-inner {
    align-items: stretch !important;
  }

  .origami-top-cat-link {
    flex: 0 0 auto !important;
    box-sizing: border-box !important;
    min-width: max-content !important;
    min-height: 52px !important;
    padding: 10px 18px !important;
    gap: 12px !important;
  }

  .origami-top-cat-link .category-icon {
    width: 34px !important;
    height: 34px !important;
    flex: 0 0 34px !important;
    background-size: 22px 22px !important;
    background-position: center !important;
  }

  .origami-top-cat-link .category-name {
    flex: 0 0 auto !important;
    max-width: none !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
  }

  #custom_products_sidebar .origami-subcat-block[data-origami-category="EntrAces"],
  #custom_products_sidebar .origami-subcat-block[data-origami-category="Entrées"],
  #custom_products_sidebar .origami-subcat-block[data-origami-category="Entrees"] {
    --origami-subcat-accent: #A1C89D;
    --origami-subcat-text: #1f1b18;
  }

  #custom_products_sidebar .origami-subcat-block[data-origami-category="Sushi"] {
    --origami-subcat-accent: #DF646C;
    --origami-subcat-text: #1f1b18;
  }

  #custom_products_sidebar .origami-subcat-block[data-origami-category="Plats Chauds"] {
    --origami-subcat-accent: #E39F77;
    --origami-subcat-text: #1f1b18;
  }

  #custom_products_sidebar .origami-subcat-block[data-origami-category="Accompagnements"],
  #custom_products_sidebar .origami-subcat-block[data-origami-category="Les Extras"],
  #custom_products_sidebar .origami-subcat-block[data-origami-category="Extras"] {
    --origami-subcat-accent: #E1C57F;
    --origami-subcat-text: #1f1b18;
  }

  #custom_products_sidebar .origami-subcat-block[data-origami-category="Desserts"] {
    --origami-subcat-accent: #E29CC1;
    --origami-subcat-text: #1f1b18;
  }

  #custom_products_sidebar .origami-subcat-block[data-origami-category="Boissons"] {
    --origami-subcat-accent: #8BADD8;
    --origami-subcat-text: #1f1b18;
  }

  #custom_products_sidebar .origami-subcat-link,
  #custom_products_sidebar .origami-subcat-link.d-block,
  #custom_products_sidebar .origami-subcat-list > .origami-subcat-link,
  #custom_products_sidebar .origami-subcat-list > .origami-subcat-link.d-block {
    border-width: 1px !important;
    border-style: solid !important;
    border-color: #e6ddd6 !important;
    border-radius: 999px !important;
    color: #000 !important;
    min-height: 40px !important;
    padding: 0 14px 2px !important;
    font-weight: 600 !important;
    text-align: center !important;
  }

  #custom_products_sidebar .origami-subcat-link:hover,
  #custom_products_sidebar .origami-subcat-link.active {
    background: var(--origami-subcat-accent, #ef2328) !important;
    border-color: var(--origami-subcat-accent, #ef2328) !important;
    color: var(--origami-subcat-text, #1f1b18) !important;
    text-decoration: none !important;
  }
}
