/* ORIGAMI SUSHI BAR - HOMEPAGE STYLES */

/* Color Variables */
:root {
    --primary-color: #DC143C;
    --primary-dark: #B81F28;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #F5F5F5;
    --bg-white: #FFFFFF;
    --border-color: #EEEEEE;
}
section {
    display: block;
    background-image: url(/Origami/static/images/5.png);
    background-size: cover;
    background-position: center;
    padding: 60px 20px 80px;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}
/* HERO SECTION */
.hero-section {
    position: relative;
    min-height: 588px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.1) 60%), url('/Origami/static/images/hero-image.jpeg');
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center;
    border-bottom: 1px solid #000;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.15), transparent 55%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding: 0px 40px;
    gap: 40px;
}

.hero-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
    text-align: left;
    align-items: flex-start;
    color: #fff;
}

.hero-image-container {
    display: none;
}

.hero-carousel-section {
    display: block;
    background-image:
        url('/Origami/static/images/5.png');
    background-size: cover;
    background-position: center;
    padding: 60px 20px 80px;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-carousel-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.08), transparent 40%);
    pointer-events: none;
}

.hero-carousel-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1275px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    height: 520px;
}

.hero-carousel-copy {
    position: relative;
    width: min(640px, 92%);
    margin: 0 auto 24px;
    color: #5E5E5E;
    text-align: center;
}

.hero-carousel-copy h3 {
    font-size: 34px;
    margin: 0 0 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.hero-carousel-copy p {
    font-size: 16px;
    margin: 0;
    line-height: 1.5;
}

/* ============================
   HERO MOBILE CAROUSEL
============================ */
.hero-mobile-carousel {
    display: block;
    width: 100%;
    height: 360px;
    overflow: hidden;
    border-radius: 26px;
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.65);
    flex: 1;
    min-width: 0;
}

/* SLIDING TRACK */
.hero-carousel-track {
    display: flex;
    align-items: center;
    height: 100%;
    width: calc(var(--hero-slide-count, 17) * 100%);
    animation: hero-slide calc(var(--hero-slide-count, 17) * 4s) infinite linear;
    justify-content: flex-start;
}

/* EACH SLIDE IMAGE */
.hero-carousel-track img {
    width: 5%;
    height: 675px;
    object-fit: cover;
    display: block;
}

/* Mobile only */
@media (max-width: 768px) {

    .hero-text p {
        display: none;
    }
.hero-carousel-track img {
    width: 5%;
    height: 375px;
    object-fit: cover;
    display: block;
}
    .hero-subtitle {
        display: block;
        text-align: right;
        width: 100%;
        margin-bottom: 16px;
    }

    .hero-mobile-carousel {
        display: block;
        height: 240px;
        border-radius: 0px;
    }
}

/* Auto slide animation */
@keyframes hero-slide {
    from { transform: translateX(0); }
    to   { transform: translateX(calc(-100% / var(--hero-slide-count, 17) * (var(--hero-slide-count, 17) - 1))); }
}


.hero-text h1 {
    /* Reduced font size to prevent line breaking and kept heading compact */
    font-size: 77px;
    font-weight: bold;
    margin-bottom: 6px;
    line-height: 1.2;
    color: #5E5E5E;
}

.hero-text h2 {
    font-size: 70px;
    font-weight: bold;
    margin: 0 0 6px;
    line-height: 1.2;
}

.hero-text h2 .highlight {
    color: var(--primary-color);
    display: inline;
}

.hero-title-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: max-content;
}

.hero-text p,
.hero-description {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--text-light);
    max-width: 90%;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 700;
    color: #5E5E5E;
    text-align: right;
    width: fit-content;
    margin: 0 0 14px;
    line-height: 1.2;
    align-self: flex-end;
}

.hero-description {
    margin-top: 0;
    font-size: 13px;
    max-width: 360px;
}

/* Updated hero-logo styles to work within the left 60% section */
.hero-logo {
    /* Reduced size from 100px to 50px */
    width: 220px;
    height: auto;
    object-fit: contain;
    margin-top: 35px;
}

.hero-cta-row {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.hero-cta-row .hero-btn-arrow {
    margin-left: 10px;
    font-size: 18px;
    line-height: 1;
    vertical-align: middle;
}

/* UPDATED: Force image container to full height */
.hero-image-container {
    flex: 0 0 40%;
    height: 100vh; /* Force full viewport height */
    display: flex;
}

.hero-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .hero-text {
        padding: 50px 30px;
        padding-top: 20%;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .hero-text p {
        font-size: 14px;
    }

    .hero-logo {
        width: 45%;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: auto; /* ⬅️ avoid mobile 100vh issues */
        padding-bottom: 24px;
    }

    .hero-content {
        flex-direction: column;
        height: auto;
    }

    .hero-text {
        flex: none;
        padding: 60px 20px 40px;
        padding-top: 120px;
        text-align: center;
        align-items: center;
    }

    .hero-text h1 {
        font-size: 30px;
        line-height: 1.25;
    }

    .hero-text p {
        font-size: 14px;
        max-width: 100%;
    }

    .hero-logo {
        width: 150px;
        margin-top: 0;
    }

    .hero-cta-row {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        width: 100%;
        gap: 16px;
        margin-right: 0;
        margin-top: 60%;
    }

    .hero-cta-row .btn {
        order: 1;
    }

    .hero-cta-row .hero-logo {
        display: none;
    }

    .hero-image-container {
        flex: none;
        height: 300px; /* ⬅️ controlled image height */
    }

    .hero-main-image {
        height: 100%;
        object-fit: cover;
    }

    .hero-carousel-section {
        margin: 0px -4% 0px -4% !important;
    }

    .hero-carousel-wrapper {
        flex-direction: column;
        align-items: stretch;
        height: 375px;
    }

    .hero-carousel-copy {
        text-align: center;
        margin-bottom: 24px;
    }
}

@media (max-width: 480px) {
    .hero-text {
        padding-top: 40px;
    }

    .hero-text h1 {
        font-size: 42px;
    }
.hero-text h2 {
    font-size: 35px;
}
    .hero-text p {
        font-size: 13px;
    }

    .hero-logo {
        width: 65%;
    }

    .hero-image-container {
        height: 220px;
    }
}


/* Menu Categories Section */
.menu-categories-section {
    padding: 60px 20px;
    background-color: #F4F3F2;
    text-align: center;
}

.section-title {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 50px;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

/* Category Buttons */
.categories-buttons {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

@media (min-width: 992px) {
    .categories-buttons {
        flex-wrap: nowrap;
        gap: 16px;
        justify-content: center;
    }

    .dynamic-categories-buttons .category-btn {
        flex: 0 0 auto;
        max-width: 140px;
    }
}

.dynamic-categories-buttons .category-btn {
    flex: 0 0 calc((100% - 80px) / 3);
}

@media (max-width: 768px) {
    .dynamic-categories-buttons .category-btn {
        flex: 0 0 calc((100% - 40px) / 3);
    }
}

@media (max-width: 480px) {
    .dynamic-categories-buttons .category-btn {
        flex: 0 0 calc((100% - 18px) / 3);
    }
}

.category-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    padding: 0;
}

.category-btn span {
    display: block;
    text-align: center;
    max-width: 90px;
    white-space: normal;
    word-break: break-word;
    line-height: 1.15;
}

.category-btn:hover {
    color: #1a1a1a;
}

.category-btn:hover .category-icon {
    border-color: #1a1a1a;
}

/* Category icon (same as shop sidebar) */
.category-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 2px solid #1a1a1a;
    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;
}

.category-icon-letter {
    font-weight: 700;
    color: #1a1a1a;
}

.category-btn[data-name="Entr?es"] .category-icon,
.category-btn[data-name="EntrAces"] .category-icon,
.category-btn[data-name="Entrees"] .category-icon,
.category-btn[data-name="Sushi"] .category-icon,
.category-btn[data-name="Plats Chauds"] .category-icon,
.category-btn[data-name="Desserts"] .category-icon,
.category-btn[data-name="Les Extras"] .category-icon,
.category-btn[data-name="Accompagnements"] .category-icon,
.category-btn[data-name="Extras"] .category-icon {
    background-size: 48px 48px;
}

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

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

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

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

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

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

.category-btn.active[data-name="Entr?es"] .category-icon,
.category-btn.active[data-name="EntrAces"] .category-icon,
.category-btn.active[data-name="Entrees"] .category-icon {
    background-color: #A1C89D;
    border-color: #A1C89D;
}

.category-btn.active[data-name="Plats Chauds"] .category-icon {
    background-color: #E39F77;
    border-color: #E39F77;
}

.category-btn.active[data-name="Sushi"] .category-icon {
    background-color: #DF646C;
    border-color: #DF646C;
}

.category-btn.active[data-name="Desserts"] .category-icon {
    background-color: #E29CC1;
    border-color: #E29CC1;
}

.category-btn.active[data-name="Boissons"] .category-icon {
    background-color: #8BADD8;
    border-color: #8BADD8;
}

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

.category-btn.active {
    color: #1a1a1a;
}

.category-btn:hover[data-name="Entr?es"] .category-icon,
.category-btn:hover[data-name="EntrAces"] .category-icon,
.category-btn:hover[data-name="Entrees"] .category-icon {
    background-color: #A1C89D;
    border-color: #A1C89D;
}

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

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

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

.category-btn:hover[data-name="Boissons"] .category-icon {
    background-color: #8BADD8;
    border-color: #8BADD8;
}

.category-btn:hover[data-name="Accompagnements"] .category-icon {
    background-color: #E1C57F;
    border-color: #E1C57F;
}

.btn-icon-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #1a1a1a;
}

/* Gallery Container */
.gallery-container {
    position: relative;
}

.gallery-items {
    display: none;
    align-items: center;
    gap: 16px;
    animation: fadeIn 0.3s ease-in;
    width: 100%;
}

.gallery-items.active {
    display: flex;
}

.gallery-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 8px;
    width: 100%;
    justify-content: space-evenly;
}

.gallery-track::-webkit-scrollbar {
    height: 6px;
}
.gallery-track::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 6px;
}

.gallery-nav {
    border: none;
    background: #d40015;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    flex: 0 0 36px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Gallery Items */
.gallery-item {
    position: relative;
    background-color: #222;
    border-radius: 8px;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
    transition: transform 0.3s ease;
    flex: 0 0 280px;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item-placeholder {
    width: 100%;
    height: 100%;
    background: #222;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 700;
}

.gallery-item h4 {
    position: absolute;
    bottom: 15px;
    left: 15px;
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    z-index: 2;
}

.gallery-arrow {
    display: none;
}

.gallery-arrow:hover {
    background-color: #d62a3f;
}

.menu-discover-wrap {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.menu-discover-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 10px;
    background-color: #d40015;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.menu-discover-btn:hover {
    background-color: #d94135;
    color: #ffffff;
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 24px;
        margin-bottom: 40px;
    }
    
    .categories-buttons {
        gap: 20px;
    }
    
    .category-icon {
        width: 70px;
        height: 70px;
    }
    
    .category-icon-letter {
        font-size: 16px;
    }
    
    .category-btn {
        font-size: 12px;
    }
    
    .gallery-items {
        gap: 10px;
    }
    .gallery-nav {
        display: none;
    }
    .gallery-item {
        height: 220px;
        flex: 0 0 220px;
    }
}

@media (max-width: 480px) {
    .categories-buttons {
        gap: 9px;
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
    }
    
    .category-icon-letter {
        font-size: 14px;
    }
    
    .category-btn {
        font-size: 11px;
    }
    
    .gallery-items {
        gap: 8px;
    }
    .gallery-item {
        height: 200px;
        flex: 0 0 200px;
    }
}


/* Combined Nouveautés & Promo Section */
/* Nouveautes Carousel Container */
.nouveautes-container {
  width: 100%;
  background: #f9f9f9;
  padding: 40px 20px;
  display: block;
    background-image: url(/Origami/static/images/5.png);
    background-size: cover;
    background-position: center;
    padding: 60px 20px 80px;
    position: relative;
    border-top: 1px solid #000;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.nouveautes-title {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 10px 0;
  letter-spacing: -0.5px;
  /* center the title */
  text-align: center;
}

.nouveautes-subtitle {
  font-size: 16px;
  color: #DF646C;
  margin: 0 0 30px 0;
  font-weight: 400;
  /* center the subtitle and make it red */
  text-align: center;
}

/* Carousel Wrapper */
.nouveautes-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  /* removed padding and ensured no horizontal overflow for proper centering */
  padding: 0;
  display: flex;
  align-items: center;
}

/* Track Container */
.nouveautes-track {
  display: flex;
  gap: 20px;
  scroll-behavior: smooth;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  padding: 10px 0;
  width: 100%;
  /* ensured track takes full width without left shift */
  margin: 0;
  flex: 1;
}

.nouveautes-track::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

/* Carousel Item (group of 4 products) */
.carousel-item {
  display: flex;
  gap: 15px;           /* slightly smaller gap between cards */
  flex: 0 0 90%;       /* make the carousel item narrower than full width */
  min-width: 90%;      /* match flex-basis */
  transition: none !important;
  transform: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.carousel-item:hover {
  /* make absolutely sure nothing happens on hover */
  transform: none !important;
  box-shadow: none !important;
  background: transparent !important;
}


/* Product Card */
.product-card {
  flex: 1;
  min-width: calc(25% - 10px);  /* slightly smaller than before */
  max-width: 220px;              /* optional: prevent cards from growing too wide */
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

.product-card:hover {
  /* removed all card hover effects */
  /* This block is now intentionally empty as all card hover effects were removed. */
}

.product-card .card-image {
  width: 100%;
  height: 230px;
  overflow: hidden;
  background: #f7f7f7;
  transition: background-color 0.3s ease;
  position: relative;
  padding: 10px 15px 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 230px;
  max-height: 230px;
}

.product-card:hover .card-image {
  background-color: #f5f5f5;
}

.product-card .card-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    url('/Origami/static/images/product-background-image.png');
  background-repeat: no-repeat, no-repeat;
  background-position: center, center;
  background-size: 114%, cover;
  z-index: 0;
  pointer-events: none;
}

.product-card img {
  width: auto;
  max-width: 190px;
  height: auto;
  max-height: 190px;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease, filter 0.2s ease;
  position: relative;
  z-index: 1;
  mix-blend-mode: multiply;
  background: none;
  background-color: transparent;
}

.product-card:hover img {
  transform: scale(1.03);
  filter: saturate(1.05);
}

.product-card .card-content {
  padding: 8px 10px;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card .product-name {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.4;
  min-height: 2.8em;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Carousel Navigation Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid #ddd;
  font-size: 20px;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
  color: #333;
}

.carousel-arrow:hover {
  background: rgba(255, 255, 255, 1);
  border-color: #333;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-arrow.prev {
  left: 15px;
}

.carousel-arrow.next {
  right: 15px;
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .carousel-item {
    justify-content: center;  /* center the single product card */
  }

  .product-card {
    max-width: 90%;          /* make it a bit smaller than the track width */
    flex: 0 0 auto;          /* don't stretch flex */
  }

  .product-card .card-image {
    height: 200px;           /* reduce image height for mobile */
    min-height: 150px;
    max-height: 200px;
  }

  .product-card .card-content {
    padding: 10px;           /* smaller padding to fit content */
  }

  .product-card .product-name {
    font-size: 14px;         /* smaller text for mobile */
    min-height: 2em;         /* reduce min-height so it's visible */
    line-height: 1.3;
  }
  .carousel-arrow {
    display: none !important;
  }
}
/* Mobile-specific carousel height */
@media (max-width: 576px) {
  .nouveautes-carousel {
    height: 300px; /* adjust as needed for mobile */
  }

  .product-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* or center if you want content vertically centered */
  }

  .product-card .card-image {
    height: 100%; /* image takes most of the card height */
    min-height: 180px;
    max-height: 220px;
  }

  .product-card .card-content {
    height: auto; /* remaining space for product name */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5px; /* optional padding */
  }
}


/* Promotional Banner */
.promo-banner-container {
    background-color: #E63946;
    margin: 40px 60px;
}

.promo-banner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    min-height: 320px;
}

/* Promo Images on Left - Increased size and gap */
.promo-images-left {
    position: relative;
    width: 40%;
    height: 320px;
    flex-shrink: 0;
    display: flex;
    gap: 20px;
}

.promo-img-1,
.promo-img-2 {
    width: 48%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

/* Promo Content - Centered */
.promo-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 30px;
}

.promo-content h2 {
    font-size: 36px;
    font-weight: 300;
    color: white;
    margin: 0;
    letter-spacing: -0.5px;
}

/* Promo Button */
.btn-promo {
    background-color: #1a1a1a;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-promo:hover {
    background-color: #333;
}

/* Responsive */
@media (max-width: 768px) {
    .products-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .card-image {
        height: 200px;
    }
    
    .nouveautes-title {
        font-size: 24px;
    }
    
    .promo-banner {
        flex-direction: column;
        gap: 20px;
        min-height: auto;
    }
    
    .promo-images-left {
        width: 100%;
        height: 240px;
    }
    
    .promo-content h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .products-showcase {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .card-image {
        height: 180px;
    }
    
    .nouveautes-title {
        font-size: 20px;
    }
    
    .promo-content h2 {
        font-size: 22px;
    }
    
    .btn-promo {
        padding: 10px 20px;
        font-size: 12px;
    }
}


/* PLATS EN PROMOTION SECTION */
.plats-promotion-section {
    background-image: url('/Origami/static/images/5.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    border-top: 1px solid #d9d9d9;
    border-bottom: 1px solid #d9d9d9;
    padding: 35px 20px;
    text-align: center;
}



.plats-promotion-section h2 {
    font-size: 32px;
    font-weight: 300;
    color: #1a1a1a;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

/* Products Grid */
.plats-promotion-section .products-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto 50px;
    padding: 0 20px;
}

/* Showcase Item (NO background anymore) */
.showcase-item {
    background-color: transparent;
    border: 1px solid #e8e8e8;
    border-radius: 0;
    overflow: visible;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.showcase-item:hover {
    transform: translateY(-4px);
}

/* Image Container – background ONLY here */
.showcase-item img {
    width: 100%;
    height: 280px;
    object-fit: contain;
    display: block;
    background-color: #f1f1f1;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 16px;
    transition: box-shadow 0.3s ease;
}

/* Subtle hover effect on image */
.showcase-item:hover img {
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

/* Text Content */
.showcase-item h3 {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    text-align: left;
    padding-left: 10px;
}

.showcase-item .price {
    font-size: 13px;
    color: #666;
    margin: 0;
    text-align: left;
    padding-left: 10px;
}

/* Section Center Button */
.section-center {
    text-align: center;
    margin-top: 40px;
}

.btn-primary {
    background-color: #1a1a1a;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #333;
}

/* Responsive */
@media (max-width: 768px) {
    .plats-promotion-section .products-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .showcase-item img {
        height: 200px;
    }

    .plats-promotion-section h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .plats-promotion-section .products-showcase {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .showcase-item img {
        height: 180px;
    }

    .plats-promotion-section h2 {
        font-size: 20px;
    }

    .btn-primary {
        padding: 10px 20px;
        font-size: 12px;
    }
}


/* ===============================
   INFO CARDS SECTION
   =============================== */
.info-cards-section {
    background-image: url('/Origami/static/images/5.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 80px 20px;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    position: relative;
}

/* Add semi-transparent overlay to fade the background image */
.info-cards-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.info-cards-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 250px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.info-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 180px;
}

.info-card h3 {
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.5px;
    color: #1a1a1a;
    margin: 0;
}

/* <CHANGE> Fixed icon sizing - exact width and height with object-fit to maintain aspect ratio */
.info-icon {
    width: 150px;
    height: 150px;
    object-fit: contain;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .info-cards-grid {
        gap: 50px;
    }

    .info-card {
        width: 140px;
    }

    .info-icon {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 480px) {
    .info-cards-grid {
        flex-direction: column;
        align-items: center;        /* ⬅️ CENTER cards horizontally */
        gap: 40px;
    }

    .info-card {
        width: 100%;                /* ⬅️ allow full width */
        max-width: 260px;           /* ⬅️ keeps card nicely sized */
        margin: 0 auto;             /* ⬅️ extra safety centering */
    }

    .info-icon {
        width: 100px;
        height: 100px;
    }
}



/* ================================
   COMMANDER MAINTENANT SECTION
   ================================ */
.order-now-section {
    padding: 45px 0 40px;
    text-align: center;
}

.order-title {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 10px;
}

.order-subtitle {
    color: #d70000;
    font-size: 16px;
    margin-bottom: 60px;
}

.order-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.order-card {
    width: 700px;
    height: 220px;
    border-radius: 4px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

/* Livraison (red block) */
.order-livraison {
    background: #d50000 url('/Origami/static/images/livraison.png') bottom repeat-x;
}

/* Emporter (black block) */
.order-emporter {
    background: #1c1c1c url('/Origami/static/images/emporter.png') bottom repeat-x;
}

.order-icon {
    width: 120px;
    height: auto;
}

.order-label {
    color: white;
    font-size: 20px;
    font-weight: 500;
}
/* ================================
   MOBILE RESPONSIVE (SAFE FIX)
   ================================ */

@media (max-width: 768px) {
    .order-grid {
        flex-direction: column;   /* ⬅️ stack cards */
        align-items: center;
        gap: 30px;
    }

    .order-card {
        width: 100%;              /* ⬅️ override 700px */
        max-width: 600px;
        height: 220px;            /* keep original height */
    }
}


@media (max-width: 480px) {
    .order-title {
        font-size: 24px;
    }

    .order-subtitle {
        font-size: 13px;
        margin-bottom: 30px;
    }

    .order-card {
        min-height: 180px; /* ⬅️ keeps background + icon visible */
        gap: 15px;
    }

    .order-icon {
        width: 75px;
    }

    .order-label {
        font-size: 16px;
    }
}


/* ================================
   HISTOIRE SECTION
   ================================ */
.histoire-section {
    padding: 80px 0;
}

.histoire-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.histoire-title {
    font-size: 42px;
    font-weight: 600;
    margin: 0;
}

.histoire-subtitle {
    color: #d70000;
    margin-top: 5px;
    font-size: 18px;
}

.histoire-logo-container {
    display: flex;
    align-items: center;
}

.histoire-logo {
    width: 90px;
    height: 90px;
}

/* Cards */
.histoire-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.histoire-card {
    text-align: left;
}

.histoire-card-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border: 1px solid #ddd;
}

.histoire-card h3 {
    margin-top: 20px;
    font-size: 24px;
    font-weight: 500;
}

.histoire-card p {
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

.voir-plus {
    display: inline-block;
    margin-top: 15px;
    color: #d70000;
    font-weight: 500;
    text-decoration: none;
}

/* Bottom A propos button */
.histoire-apropos-wrapper {
    width: 100%;
    text-align: center;
    margin-top: 40px;
}

.histoire-apropos-btn {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 10px 30px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 0; /* Rectangle shape */
    transition: 0.3s ease;
}

.histoire-apropos-btn:hover {
    background: #333;
}


/* SERVICE TRAITEUR SECTION */
.traiteur-section {
    width: 100%;
    padding: 60px 0;
    background-color: #f5f5f5;
}

.traiteur-header {
    text-align: center;
    margin-bottom: 40px;
}

.traiteur-header h2 {
    font-size: 36px;
    font-weight: 300;
    letter-spacing: 1px;
    color: #333;
}

.traiteur-content {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.traiteur-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.traiteur-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.traiteur-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.traiteur-stacked {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: auto;
    max-width: 400px;
}

.traiteur-stacked img {
    width: 100%;
    height: auto;
    display: block;
}

.traiteur-text-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
    padding: 0 60px;
}

.traiteur-text {
    color: white;
}

.traiteur-text p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}



.traiteur-drink img {
      position: absolute;
    top: 0;
    right: 0;
    z-index: 3;
}

.traiteur-text .btn-primary {
    background-color: #DC143C;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    display: inline-block;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.traiteur-text .btn-primary:hover {
    background-color: #c41820;
}

.traiteur-text .btn-primary span {
    margin-left: 8px;
}

@media (max-width: 1024px) {
    .traiteur-header h2 {
        font-size: 32px;
    }

    .traiteur-content {
        height: 360px;
        padding: 0 30px;
    }

    .traiteur-text-wrapper {
        padding: 0 30px;
    }

    .traiteur-text p {
        font-size: 15px;
    }
}
@media (max-width: 768px) {
    .traiteur-header h2 {
        font-size: 26px;
    }

    .traiteur-content {
        height: auto; /* ⬅️ prevent content clipping */
        padding: 20px 15px;
    }

    .traiteur-stacked,
    .traiteur-drink {
        max-width: 200px;
        padding-left: 0;   /* ⬅️ remove fake spacing */
        padding-right: 0;
    }

    .traiteur-text-wrapper {
        padding: 0 20px;
        text-align: center;
    }

    .traiteur-text p {
        font-size: 14px;
    }
}

/* Hide traiteur-drink on screens smaller than 1248px */
@media (max-width: 1247px) {
    .traiteur-drink {
        display: none !important;
    }
}
/* Hide traiteur-drink on screens smaller than 1248px */
@media (max-width: 1247px) {
    .traiteur-stacked {
        display: none !important;
    }
}
/* RESTAURANTS SECTION */
.o_origami_restaurants {
  padding: 60px 0;
  background-color: #F4F3F2;
}

.restaurants-title {
  text-align: center;
  font-size: 36px;
  font-weight: 300;
  letter-spacing: 1px;
  color: #333;
  margin-bottom: 40px;
}

.restaurants-row {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.restaurants-row > div {
  flex: 1;
  min-width: 0;
}

.restaurants-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.restaurant-card {
  padding: 20px;
  background-color: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 15px;
}

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

/* Selected restaurant card with red background */
.restaurant-card.selected {
  background-color: #d40015;
  border-color: #d40015;
}

.restaurant-card.selected h4,
.restaurant-card.selected p {
  color: #ffffff;
}

.restaurant-logo {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: contain;
}

.restaurant-info {
  flex: 1;
}

.restaurant-card h4 {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 8px 0;
}

.restaurant-card p {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.restaurants-map {
  width: 100%;
  height: 450px;
  border-radius: 4px;
  overflow: hidden;
}

/* Responsive Design - ensure proper column layout on tablets and mobile */
@media (max-width: 768px) {
  .restaurants-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .restaurants-row {
    flex-direction: column;
    gap: 20px;
  }

  .restaurants-map {
    height: 350px;
  }

  .restaurant-card {
    padding: 16px;
  }

  .restaurant-card h4 {
    font-size: 16px;
  }

  .restaurant-card p {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .restaurants-title {
    font-size: 24px;
  }

  .restaurants-map {
    height: 300px;
  }
}


/* FRANCHISE SECTION */
.franchise-section {
  width: 100%;
  padding: 0;
}

.franchise-container {
  display: flex;
  align-items: stretch;
  min-height: 400px;
}

.franchise-content {
  flex: 1;
  background-color: #DC143C;
  color: white;
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.franchise-content h2 {
  font-size: 36px;
  font-weight: 300;
  margin: 0 0 30px 0;
  letter-spacing: 0.5px;
}

.franchise-content p {
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 30px 0;
  max-width: 500px;
}

.franchise-btn {
  display: inline-block;
  background-color: #1a1a1a;
  color: white;
  padding: 12px 30px;
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.3s ease;
  width: fit-content;
  border: none;
  cursor: pointer;
}

.franchise-btn:hover {
  background-color: #333;
}

.franchise-btn span {
  margin-left: 8px;
}

.franchise-image {
  flex: 1;
  overflow: hidden;
}

.franchise-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
  .franchise-container {
    flex-direction: column;
    min-height: auto;
  }

  .franchise-content {
    padding: 40px 30px;
  }

  .franchise-content h2 {
    font-size: 28px;
  }

  .franchise-content p {
    font-size: 14px;
  }

}


/* SOCIAL MEDIA SECTION */
.social-media-section {
  position: relative;
  padding: 80px 40px 200px; /* bottom space for image */
  background-image: url('/Origami/static/images/japanese.png');
  background-repeat: no-repeat;
  background-size: 260px auto;
  background-position: left bottom;

  overflow: hidden;
}


/* Decorative elements */
.social-decor {
  position: absolute;
  opacity: 0.1;
  z-index: 0;
  pointer-events: none;
}

.social-decor-tree {
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
}

.social-decor-tree img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.social-decor-package {
  bottom: 0;
  left: 0;
  width: 250px;
  height: 250px;
  position: relative;
}

.social-decor-package img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.package-straw {
  position: absolute;
  top: -20px;
  left: 80px;
  width: 8px;
  height: 280px;
  background-color: #DC143C;
  border-radius: 4px;
  transform: rotate(-15deg);
  z-index: 1;
}

/* Red circular decoration */
.social-cdcc {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 300px;
  height: 300px;
  z-index: 1;
  pointer-events: none;
}

.social-cdcc img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Main content */
.social-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

/* Title */
.social-title {
  font-size: 36px;
  font-weight: 300;
  letter-spacing: 1px;
  color: #333;
  margin-bottom: 40px;
  text-align: center;
}

/* Social Icons */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 60px;
}

.social-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

/* Updated to display image files instead of SVG */
.social-icon img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.social-icon::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 2px solid #333;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-icon:hover::before {
  border-color: #DC143C;
  transform: scale(1.1);
}

.social-icon:hover img {
  transform: scale(1.1);
  filter: brightness(0.8);
}

/* Carousel */
/* CAROUSEL CONTAINER */
.carousel-container {
  width: 100%;
  margin-top: 40px;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CAROUSEL */
.carousel {
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 8px; /* tight spacing */
  overflow: hidden;
  overflow-y: hidden;
  padding: 10px 0;
  width: 100%;
  /* FIX → remove unwanted spacing */
  justify-content: flex-start;
}

/* HIDE SCROLLBAR */
.carousel::-webkit-scrollbar {
  display: none;
}

.carousel::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.carousel::-webkit-scrollbar-thumb {
  background: #DC143C;
  border-radius: 10px;
}

.carousel::-webkit-scrollbar-thumb:hover {
  background: #c41820;
}

/* CAROUSEL ITEMS */
.carousel-item {
  flex: 0 0 auto;
  width: 300px;  /* reduced width on desktop */
  height: 420px;
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
  box-shadow: none; 
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;

  /* ensure no hidden margin/padding inside */
  margin: 0;
  padding: 0;
}

/* Social media carousel: tighter desktop width */
@media (min-width: 992px) {
  .social-carousel-item {
    width: 180px !important;
    height: 300px !important;
    min-width: 18%;
  }
}

/* IMAGES INSIDE ITEMS - FIX SPACING ISSUE */
.carousel-item img {
  width: 100%;
  height: 100%;
  display: block; /* prevents default whitespace */
  margin: 0;
  padding: 0;
}


.carousel-item:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}



/* Responsive Design */
@media (max-width: 768px) {
  .carousel-container {
    min-height: 400px;
  }
  
  .carousel-item {
    width: 280px;
    height: 360px;
  }
}
@media (max-width: 768px) {
  .social-media-section {
    padding: 60px 20px 140px;
    background-size: 180px auto;
  }
}
@media (max-width: 480px) {
  .social-media-section {
    padding: 40px 15px 100px;
    background-size: 140px auto;
    background-position: left bottom;
  }
}

@media (max-width: 480px) {
  .carousel-container {
    min-height: 320px;
  }
  
  .carousel-item {
    width: 240px;
    height: 300px;
  }
}
@media (max-width: 768px) {
  .social-media-section {
    padding: 60px 20px;
  }

  .social-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .social-icons {
    gap: 30px;
    margin-bottom: 40px;
  }

  .social-icon {
    width: 50px;
    height: 50px;
  }

  .social-icon img {
    width: 40px;
    height: 40px;
  }

  .social-carousel-item {
    min-width: 200px;
    height: 250px;
  }

  .social-cdcc {
    width: 250px;
    height: 250px;
    top: -30px;
    right: -30px;
  }

  .social-decor-tree {
    width: 200px;
    height: 200px;
  }

  .social-decor-package {
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 480px) {
  .social-media-section {
    padding: 40px 15px;
  }

  .social-title {
    font-size: 24px;
  }

  .social-icons {
    gap: 20px;
  }

  .social-carousel-item {
    min-width: 180px;
    height: 220px;
  }
}




/* BUTTONS */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: fit-content;
}

.btn-primary {
    background: #d40015 !important;
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 20, 60, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* CONTAINER */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .values-grid,
    .histoire-cards,
    .info-cards-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .products-showcase,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .restaurants-grid,
    .traiteur-content {
        grid-template-columns: 1fr;
    }

    .promo-banner {
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .products-grid,
    .products-showcase,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 39px;
    }

    .values-section h2,
    .nouveautes-section h2,
    .restaurants-section h2,
    .gallery-section h2 {
        font-size: 24px;
    }
}



/* Category colors by data-key (ASCII-safe) */
.category-btn[data-key="entrees"] .category-icon,
.category-btn[data-key="sushi"] .category-icon,
.category-btn[data-key="plats-chauds"] .category-icon,
.category-btn[data-key="les-extras"] .category-icon,
.category-btn[data-key="desserts"] .category-icon {
    background-size: 48px 48px;
}

.category-btn[data-key="entrees"] .category-icon {
    background-image: url("/Origami/static/images/entree.png");
}

.category-btn[data-key="plats-chauds"] .category-icon {
    background-image: url("/Origami/static/images/chaud.png");
}

.category-btn[data-key="sushi"] .category-icon {
    background-image: url("/Origami/static/images/piece-of-sushi.png");
}

.category-btn[data-key="les-extras"] .category-icon {
    background-image: url("/Origami/static/images/extras.png");
}

.category-btn[data-key="desserts"] .category-icon {
    background-image: url("/Origami/static/images/desserts.png");
}

.category-btn.active[data-key="entrees"] .category-icon,
.category-btn:hover[data-key="entrees"] .category-icon {
    background-color: #A1C89D;
    border-color: #A1C89D;
}

.category-btn.active[data-key="plats-chauds"] .category-icon,
.category-btn:hover[data-key="plats-chauds"] .category-icon {
    background-color: #E39F77;
    border-color: #E39F77;
}

.category-btn.active[data-key="sushi"] .category-icon,
.category-btn:hover[data-key="sushi"] .category-icon {
    background-color: #DF646C;
    border-color: #DF646C;
}


.category-btn.active[data-key="les-extras"][data-name="Accompagnements"] .category-icon,
.category-btn:hover[data-key="les-extras"][data-name="Accompagnements"] .category-icon {
    background-color: #E1C57F;
    border-color: #E1C57F;
}

.category-btn.active[data-key="desserts"] .category-icon,
.category-btn:hover[data-key="desserts"] .category-icon {
    background-color: #E29CC1;
    border-color: #E29CC1;
}

/* Fallback by order to avoid data-name encoding issues */
.dynamic-categories-buttons .category-btn:nth-child(1) .category-icon,
.dynamic-categories-buttons .category-btn:nth-child(2) .category-icon,
.dynamic-categories-buttons .category-btn:nth-child(3) .category-icon,
.dynamic-categories-buttons .category-btn:nth-child(4) .category-icon {
    background-size: 48px 48px;
}

.dynamic-categories-buttons .category-btn:nth-child(1) .category-icon {
    background-image: url("/Origami/static/images/entree.png");
}

.dynamic-categories-buttons .category-btn:nth-child(2) .category-icon {
    background-image: url("/Origami/static/images/piece-of-sushi.png");
}

.dynamic-categories-buttons .category-btn:nth-child(3) .category-icon {
    background-image: url("/Origami/static/images/chaud.png");
}

.dynamic-categories-buttons .category-btn:nth-child(4) .category-icon {
    background-image: url("/Origami/static/images/extras.png");
}

.dynamic-categories-buttons .category-btn:nth-child(1).active .category-icon,
.dynamic-categories-buttons .category-btn:nth-child(1):hover .category-icon {
    background-color: #A1C89D;
    border-color: #A1C89D;
}

.dynamic-categories-buttons .category-btn:nth-child(2).active .category-icon,
.dynamic-categories-buttons .category-btn:nth-child(2):hover .category-icon {
    background-color: #DF646C;
    border-color: #DF646C;
}

.dynamic-categories-buttons .category-btn:nth-child(3).active .category-icon,
.dynamic-categories-buttons .category-btn:nth-child(3):hover .category-icon {
    background-color: #E39F77;
    border-color: #E39F77;
}

.dynamic-categories-buttons .category-btn:nth-child(4).active .category-icon,
.dynamic-categories-buttons .category-btn:nth-child(4):hover .category-icon {
    background-color: #E1C57F;
    border-color: #E1C57F;
}

@media (max-width: 768px) {
    .hero-image-container {
        display: none;
    }

    .menu-categories-section,
    .nouveautes-container,
    .histoire-section,
    .traiteur-section,
    .o_origami_restaurants,
    .franchise-section,
    .social-media-section {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .promo-banner-container {
        margin: 20px 16px;
    }

    .promo-images-left {
        display: none;
    }
}



