﻿/* ===== 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: 65px !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: 1em;
  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-phone {
    font-size: 20px;
    font-weight: 600;
    color: #111;
    letter-spacing: 1px;
}

.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-cash-page h1 {
        font-size: 22px;
    }

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

.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;
}

.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: 45% !important;
  width: auto;
  max-width: 80%;
  height: auto;
  max-height: 80%;
}
.oe_product_image_img_wrapper::before {
  margin-bottom: 45% !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;
  }
#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: 2% !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;
  }

  #custom_products_sidebar .origami-cat-col h4,
  #custom_products_sidebar .origami-subcat-block h6 {
    margin-top: 0 !important;
    margin-bottom: 4px !important;
    padding-top: 4px !important;
    padding-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: 4px 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;
}




