/* 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-size: cover;
    background-position: center;
    position: relative;
}
/* HERO SECTION */
.hero-section {
    position: relative;
    min-height: 95vh !important;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 0;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.027) 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;
    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;
}

/* INFO CARDS SECTION */
.info-cards-section {
    background: #d91f26;
    padding: 72px 20px 72px;
    border-top: 0;
}

.info-cards-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}

.info-card {
    min-height: 168px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding: 10px 14px;
}

.info-icon {
    width: 96px;
    height: 96px;
    object-fit: cover;
    margin-bottom: 18px;
}

.info-card h3 {
    margin: 0;
    color: #ffffff;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: 0.01em;
}

.hero-carousel-section {
    display: block;
    background-image:
        url('/Origami/static/images/5.webp');
    background-size: cover;
    background-position: center;
    padding: 28px 0 0;
    position: relative;
    overflow: hidden;
}

.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;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    height: auto;
}

.hero-carousel-copy {
    position: relative;
    width: min(860px, calc(100% - 32px));
    margin: 0 auto 22px;
    color: #161616;
    text-align: center;
}

.hero-carousel-copy h3 {
    font-size: clamp(2rem, 3vw, 3.3rem);
    margin: 0 0 10px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: 0.02em;
    color: #c91f1f;
}

.hero-carousel-copy p {
    font-size: clamp(1rem, 1.15vw, 1.35rem);
    margin: 0;
    line-height: 1.45;
    font-weight: 700;
    color: #121212;
}

.hero-mobile-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 560px;
    background: #f3ece3;
}

.hero-carousel-track {
    position: relative;
    display: flex;
    width: 500%;
    height: 100%;
    isolation: isolate;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    animation: heroTrackSlide var(--hero-cycle) ease-in-out infinite;
}

.hero-carousel-track img {
    position: relative;
    inset: auto;
    width: 20%;
    height: 100%;

    object-fit: cover; /* no zoom */
    object-position: center;
    flex: 0 0 20%;
    backface-visibility: hidden;
    transform: translateZ(0);
}

@keyframes heroTrackSlide {
    0%, 20% { transform: translate3d(0%, 0, 0); }
    25%, 45% { transform: translate3d(-20%, 0, 0); }
    50%, 70% { transform: translate3d(-40%, 0, 0); }
    75%, 95% { transform: translate3d(-60%, 0, 0); }
    100% { transform: translate3d(-80%, 0, 0); }
}

@media (max-width: 768px) {

    .hero-text p {
        display: none;
    }

    .hero-subtitle {
        display: block;
        text-align: right;
        width: 100%;
        margin-bottom: 16px;
    }

    .hero-mobile-carousel {
        height: 520px; /* better for mobile */
    }
}

@keyframes hero-fade {
    0%, 18% {
        opacity: 1;
    }
    25%, 100% {
        opacity: 0;
    }
}

.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: 17px;
    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: cover;
    margin-top: 35px;
}

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

.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: 420px; /* ⬅️ controlled image height */
    }

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

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

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

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

    .hero-carousel-copy h3 {
        font-size: 2.2rem;
    }

    .hero-carousel-copy p {
        font-size: 1rem;
        font-weight: 600;
    }
}

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

    .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: 420px;
    }
}

/* Homepage hero redesign */
.hero-section {
    min-height: 470px;
    align-items: stretch;
    background: #13110f;
    border-bottom: 0;
}

.hero-section::before {
    z-index: 1;
    opacity: 1;
}

.hero-background-carousel {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    width: 400%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    animation: heroBackgroundTrackSlide 18s ease-in-out infinite;
}

.hero-background-slide {
    position: relative;
    inset: auto;
    flex: 0 0 25%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Slide 1 */
.hero-background-slide-1 {
    background-image:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.88) 0%,
            rgba(255, 255, 255, 0.62) 24%,
            rgba(255, 255, 255, 0.28) 45%,
            rgba(255, 255, 255, 0) 68%
        ),
        url('/Origami/static/images/hero-section-carousel/hero1.webp');
}

/* Slide 2 */
.hero-background-slide-2 {
    background-image:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.88) 0%,
            rgba(255, 255, 255, 0.62) 24%,
            rgba(255, 255, 255, 0.28) 45%,
            rgba(255, 255, 255, 0) 68%
        ),
        url('/Origami/static/images/hero-section-carousel/hero2.webp');
}

/* Slide 3 */
.hero-background-slide-3 {
    background-image:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.88) 0%,
            rgba(255, 255, 255, 0.62) 24%,
            rgba(255, 255, 255, 0.28) 45%,
            rgba(255, 255, 255, 0) 68%
        ),
        url('/Origami/static/images/hero-section-carousel/hero3.webp');
}

.hero-background-slide-clone,
.hero-carousel-clone {
    pointer-events: none;
}

.hero-content {
    max-width: 1375px;
    margin: 0 auto;
    padding: 72px 0px 66px;
    gap: 0;
    align-items: center;
}

.hero-text {
    flex: 0 0 52%;
    max-width: 702px;
    color: #171411;
    align-items: flex-start;
}

.hero-title-wrap {
    width: 100%;
    align-items: flex-start;
}

.hero-text h1 {
    margin: 0 0 10px;
    color: #171411;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 56px;
    font-weight: 400;
    line-height: 1.02;
}

.hero-text h2 {
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 78px;
    font-weight: 400;
    line-height: 1.02;
}

.hero-text h2 .highlight {
    color: #ef1f24;
}

.hero-subtitle {
    margin: 12px 0 0;
    color: #171411;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 28px;
    font-weight: 400;
    text-align: left;
    align-self: flex-start;
}

.hero-description {
    max-width: 440px;
    margin: 22px 0 0;
    padding-top: 18px;
    border-top: 2px solid #ef1f24;
    color: #1f1b17;
    font-size: 17px;
    line-height: 1.42;
}

.hero-cta-row {
    margin-top: 30px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 18px;
}

.hero-cta-row .btn.btn-primary {
    min-width: 216px;
    min-height: 46px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(180deg, #ff3136 0%, #ef1f24 100%);
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 14px 24px rgba(239, 31, 36, 0.16);
}

.hero-cta-row .hero-btn-arrow,
.hero-logo,
.hero-image-container {
    display: none;
}

.hero-carousel-dots {
    position: absolute;
    left: 50%;
    bottom: 24px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateX(-50%);
    pointer-events: none;
}

.hero-carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
    animation: hero-dot-pulse 18s infinite ease-in-out;
}

.hero-carousel-dot-1 {
    animation-delay: 0s;
}

.hero-carousel-dot-2 {
    animation-delay: 6s;
}

.hero-carousel-dot-3 {
    animation-delay: 12s;
}

@keyframes heroBackgroundTrackSlide {
    0%, 27% { transform: translate3d(0%, 0, 0); }
    33%, 60% { transform: translate3d(-25%, 0, 0); }
    66%, 93% { transform: translate3d(-50%, 0, 0); }
    100% { transform: translate3d(-75%, 0, 0); }
}

@keyframes hero-dot-pulse {
    0%, 28% {
        background: #ef1f24;
        transform: scale(1);
    }
    33%, 100% {
        background: rgba(255, 255, 255, 0.45);
        transform: scale(0.85);
    }
}

@media (max-width: 1024px) {
    .hero-section {
        min-height: 420px;
    }

    .hero-background-slide {
        background-position: 62% center;
    }

    .hero-content {
        padding: 54px 32px 52px;
    }

    .hero-text {
        flex-basis: 58%;
        max-width: 500px;
    }

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

    .hero-text h2 {
        font-size: 52px;
    }

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

    .hero-description {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 620px;
        align-items: stretch;
        background: #13110f;
    }

    .hero-section::before {
    background: linear-gradient(
        180deg,
        rgba(18, 16, 15, 0.25) 0%,
        rgba(18, 16, 15, 0.15) 36%,
        rgba(18, 16, 15, 0.25) 100%
    );
    opacity: 1;
}

    .hero-background-slide {
        background-position: center center;
    }

    .hero-content {
        padding: 0px 48px 28px;
        align-items: flex-end;
    }

    .hero-text {
        flex-basis: 100%;
        max-width: 100%;
        align-items: flex-start;
        text-align: left;
        color: #ffffff;
        padding-bottom: 0px;
    }

    .hero-title-wrap {
        align-items: flex-start;
    }

    .hero-text h1 {
        margin-bottom: 8px;
        color: #ffffff;
        font-size: 52px;
        line-height: 0.98;
    }

    .hero-text h2 {
        font-size: 65px;
        line-height: 0.98;
    }

    .hero-subtitle {
        margin-top: 10px;
        color: rgba(255, 255, 255, 0.96);
        font-size: 26px;
        text-align: left;
    }

    .hero-description {
        max-width: none;
        margin-top: 26px;
        padding-top: 18px;
        border-top-width: 3px;
        color: rgba(255, 255, 255, 0.96);
        font-size: 16px;
        line-height: 1.45;
    }

    .hero-cta-row {
        margin-top: 26px;
        width: 100%;
        justify-content: center;
        margin-left: 0%;
    }

    .hero-cta-row .btn.btn-primary {
        min-width: 326px;
        min-height: 64px;
        border-radius: 16px;
        font-size: 28px;
    }

    .hero-carousel-dots {
        bottom: 18px;
        gap: 8px;
    }

    .hero-carousel-dot {
        width: 10px;
        height: 10px;
    }
}

/* Menu Categories Section */
.menu-categories-section {
    padding: 60px 20px;
    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: 111px !important;
        height: 62px !important;
    }
    
    .category-icon-letter {
        font-size: 16px;
    }
    
    .category-btn {
        font-size: 12px;
    }
    
    .gallery-items {
        gap: 10px;
    }
    .gallery-nav {
        display: none;
    }
    .gallery-item {
        height: 420px;
        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.webp);
    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;
    }
}



/* 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) {
    .info-cards-section {
        padding: 28px 18px 24px;
    }

    .info-cards-grid {
        gap: 20px;
    }

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

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

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

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

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

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

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

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

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

    .info-card h3 {
        font-size: 20px;
    }

    .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/sushi.svg");
}

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

.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;
    }
.hero-background-slide-1 {
        background-image:
            linear-gradient(
                90deg,
                rgba(255, 255, 255, 0.9) 0%,
                rgba(255, 255, 255, 0.65) 25%,
                rgba(255, 255, 255, 0.3) 45%,
                rgba(255, 255, 255, 0) 65%
            ),
            url('/Origami/static/images/mobile-hero-image.jpeg');

        background-position: center;
        background-size: cover;
    }
    
    .menu-categories-section,
    .nouveautes-container {
        padding-top: 30px;
        padding-bottom: 30px;
    }

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

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






/* Homepage hero mobile final override */
@media (max-width: 768px) {
    .hero-section {
        background: #13110f !important;
    }

    .hero-content {
        padding: 0px 0px 14px 18px !important;
    }

    .hero-text {
        width: 100% !important;
        max-width: 100% !important;
        align-items: flex-start !important;
        text-align: left !important;
    }

    .hero-title-wrap {
        width: 100% !important;
        align-items: flex-start !important;
    }

    .hero-description {
        width: 100% !important;
        max-width: none !important;
        padding-top: 18px !important;
    }

    .hero-cta-row {
        margin-top: 54px !important;
        margin-bottom: 8px !important;
        width: 100% !important;
        justify-content: center !important;
    }

    .hero-cta-row .btn.btn-primary {
        min-width: 248px !important;
        min-height: 52px !important;
        border-radius: 14px !important;
        font-size: 22px !important;
    }
}

/* Homepage hero mobile content fix */
@media (max-width: 768px) {
    .hero-text p,
    .hero-description {
        display: block !important;
    }

    .hero-description {
        width: 100% !important;
        max-width: none !important;
        margin-top: 26px !important;
        padding-top: 18px !important;
        border-top: 3px solid #ef1f24 !important;
        color: rgba(255, 255, 255, 0.96) !important;
        font-size: 16px !important;
        line-height: 1.45 !important;
    }
}

/* ===== Homepage Category Rail Refresh ===== */
.menu-categories-section {
    padding: 54px 0 42px;
}

.menu-categories-section .container {
    max-width: 1320px;
}

.menu-categories-section .section-title {
    color: #d9262c;
    font-size: clamp(2.2rem, 3.8vw, 3.5rem);
    font-weight: 400;
    margin-bottom: 34px;
}

.menu-categories-section .dynamic-categories-buttons {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 38px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 2px 4px 10px;
    scrollbar-width: none;
}

.menu-categories-section .dynamic-categories-buttons::-webkit-scrollbar {
    display: none;
}

.menu-categories-section .dynamic-categories-buttons .category-btn {
    flex: 0 0 auto;
    min-width: 128px;
    gap: 8px;
    color: #181818;
}
.nav-dropdown {
    height: 28px;
}
.menu-categories-section .dynamic-categories-buttons .category-btn .category-icon {
    width: 160px;
    height: 100px;
    border: none;
    border-radius: 16px;
    background-color: #eceae8;
    background-size: 44px 44px;
    box-shadow: none;
}

.menu-categories-section .dynamic-categories-buttons .category-btn span {
    max-width: 126px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.15;
}

.menu-categories-section .dynamic-categories-buttons .category-btn.active[data-name="Entr?es"] .category-icon,
.menu-categories-section .dynamic-categories-buttons .category-btn.active[data-name="EntrAces"] .category-icon,
.menu-categories-section .dynamic-categories-buttons .category-btn.active[data-name="Entrees"] .category-icon,
.menu-categories-section .dynamic-categories-buttons .category-btn:hover[data-name="Entr?es"] .category-icon,
.menu-categories-section .dynamic-categories-buttons .category-btn:hover[data-name="EntrAces"] .category-icon,
.menu-categories-section .dynamic-categories-buttons .category-btn:hover[data-name="Entrees"] .category-icon {
    background-color: #A1C89D;
}

.menu-categories-section .dynamic-categories-buttons .category-btn.active[data-name="Sushi"] .category-icon,
.menu-categories-section .dynamic-categories-buttons .category-btn:hover[data-name="Sushi"] .category-icon {
    background-color: #DF646C;
}

.menu-categories-section .dynamic-categories-buttons .category-btn.active[data-name="Plats Chauds"] .category-icon,
.menu-categories-section .dynamic-categories-buttons .category-btn:hover[data-name="Plats Chauds"] .category-icon {
    background-color: #E39F77;
}

.menu-categories-section .dynamic-categories-buttons .category-btn.active[data-name="Accompagnements"] .category-icon,
.menu-categories-section .dynamic-categories-buttons .category-btn:hover[data-name="Accompagnements"] .category-icon,
.menu-categories-section .dynamic-categories-buttons .category-btn.active[data-name="Les Extras"] .category-icon,
.menu-categories-section .dynamic-categories-buttons .category-btn:hover[data-name="Les Extras"] .category-icon,
.menu-categories-section .dynamic-categories-buttons .category-btn.active[data-name="Extras"] .category-icon,
.menu-categories-section .dynamic-categories-buttons .category-btn:hover[data-name="Extras"] .category-icon {
    background-color: #E1C57F;
}

.menu-categories-section .dynamic-categories-buttons .category-btn.active[data-name="Desserts"] .category-icon,
.menu-categories-section .dynamic-categories-buttons .category-btn:hover[data-name="Desserts"] .category-icon {
    background-color: #E29CC1;
}

.menu-categories-section .dynamic-categories-buttons .category-btn.active[data-name="Boissons"] .category-icon,
.menu-categories-section .dynamic-categories-buttons .category-btn:hover[data-name="Boissons"] .category-icon {
    background-color: #8BADD8;
}

.menu-categories-section {
    --menu-gallery-accent: #a1c89d;
    --menu-gallery-accent-hover: #8db983;
    --menu-gallery-accent-shadow: color-mix(in srgb, var(--menu-gallery-accent) 34%, transparent);
}

.menu-categories-section .gallery-container {
    max-width: 1280px;
    margin: 0 auto;
}

.menu-categories-section .gallery-items {
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.menu-categories-section .gallery-track {
    display: flex;
    gap: 18px;
    padding: 6px 4px 10px;
    justify-content: flex-start;
    scroll-snap-type: x proximity;
}

.menu-categories-section .gallery-track.gallery-track--filled {
    width: 100%;
    justify-content: stretch;
    overflow-x: hidden;
}

.menu-categories-section .gallery-track.gallery-track--filled .gallery-item {
    flex: 1 1 0;
    min-width: 0;
    max-width: calc((100% - ((var(--gallery-item-count, 1) - 1) * 18px)) / var(--gallery-item-count, 1));
}

.menu-categories-section .gallery-track::-webkit-scrollbar {
    display: none;
}

.menu-categories-section .gallery-nav {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: var(--menu-gallery-accent);
    color: transparent;
    font-size: 0;
    line-height: 0;
    box-shadow: 0 12px 26px var(--menu-gallery-accent-shadow);
    transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
    cursor: pointer;
}

.menu-categories-section .gallery-nav::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}

.menu-categories-section .gallery-nav.prev::before {
    border-right: 17px solid #ffffff;
    transform: translateX(-2px);
}

.menu-categories-section .gallery-nav.next::before {
    border-left: 17px solid #ffffff;
    transform: translateX(2px);
}

.menu-categories-section .gallery-nav:hover {
    background: var(--menu-gallery-accent-hover);
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 16px 28px color-mix(in srgb, var(--menu-gallery-accent-hover) 38%, transparent);
}

.menu-categories-section .gallery-item {
    position: relative;
    flex: 0 0 208px;
    height: 208px;
    border-radius: 20px;
    overflow: hidden;
    background: #fbf8f4;
    border: 4px solid var(--menu-gallery-accent);
    box-shadow:
        0 14px 28px color-mix(in srgb, var(--menu-gallery-accent) 18%, rgba(60, 79, 55, 0.08)),
        inset 0 0 0 1px rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transform: translateY(0);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    scroll-snap-align: start;
}

.menu-categories-section .gallery-item:hover {
    transform: translateY(-4px);
    border-color: var(--menu-gallery-accent-hover);
    box-shadow:
        0 18px 32px color-mix(in srgb, var(--menu-gallery-accent-hover) 22%, rgba(60, 79, 55, 0.1)),
        inset 0 0 0 1px rgba(255, 255, 255, 0.82);
}

.menu-categories-section .gallery-item::after {
    content: "";
    position: absolute;
    inset: 40% 0 0;
    background: linear-gradient(180deg, rgba(9, 11, 12, 0) 0%, rgba(9, 11, 12, 0.62) 100%);
    pointer-events: none;
}

.menu-categories-section .gallery-item img,
.menu-categories-section .gallery-item-placeholder {
    width: 100%;
    height: 100%;
    display: block;
}

.menu-categories-section .gallery-item img {
    object-fit: cover;
}

.menu-categories-section .gallery-item-placeholder {
    background: linear-gradient(135deg, #d8d3cd 0%, #f4f1ed 100%);
    color: #6d645d;
    font-size: 54px;
    font-weight: 700;
}

.menu-categories-section .gallery-item h4 {
    left: 14px;
    right: 14px;
    bottom: 12px;
    text-align: center;
    color: #ffffff;
    font-size: 17px;
    font-weight: 500;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.menu-categories-section .menu-discover-wrap {
    margin-top: 20px;
}

.menu-categories-section .menu-discover-btn {
    padding: 14px 26px;
    border-radius: 12px;
}

@media (max-width: 992px) {
    .menu-categories-section .dynamic-categories-buttons {
        justify-content: flex-start;
    }

    .menu-categories-section .gallery-items {
        gap: 14px;
    }

    .menu-categories-section .gallery-nav {
        width: 56px;
        height: 56px;
        flex-basis: 56px;
    }

    .menu-categories-section .gallery-nav::before {
        border-top-width: 10px;
        border-bottom-width: 10px;
    }

    .menu-categories-section .gallery-nav.prev::before {
        border-right-width: 15px;
    }

    .menu-categories-section .gallery-nav.next::before {
        border-left-width: 15px;
    }

    .menu-categories-section .gallery-item {
        flex-basis: 188px;
        height: 188px;
    }
}

@media (max-width: 768px) {
    .menu-categories-section .section-title {
        margin-bottom: 26px;
    }

    .menu-categories-section .dynamic-categories-buttons {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        justify-content: center;
        align-items: start;
        gap: 20px 18px;
        margin-bottom: 32px;
        overflow: visible;
        padding: 0;
    }

    .menu-categories-section .dynamic-categories-buttons .category-btn {
        min-width: 0;
        width: 100%;
        max-width: none;
        justify-self: stretch;
        gap: 12px;
    }

    .menu-categories-section .dynamic-categories-buttons .category-btn .category-icon {
        width: 100%;
        height: 94px;
        background-size: 48px 48px;
        border-radius: 16px;
    }

    .menu-categories-section .dynamic-categories-buttons .category-btn span {
        max-width: none;
        font-size: 11px;
        text-align: center;
    }

    .menu-categories-section .gallery-nav {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
    }

    .menu-categories-section .gallery-nav::before {
        border-top-width: 8px;
        border-bottom-width: 8px;
    }

    .menu-categories-section .gallery-nav.prev::before {
        border-right-width: 13px;
    }

    .menu-categories-section .gallery-nav.next::before {
        border-left-width: 13px;
    }

    .menu-categories-section .gallery-item {
        flex-basis: 172px;
        height: 172px;
    }
}

@media (max-width: 480px) {
    .menu-categories-section .dynamic-categories-buttons {
        gap: 18px 14px;
    }

    .menu-categories-section .dynamic-categories-buttons .category-btn .category-icon {
        height: 86px;
        background-size: 44px 44px;
    }

    .menu-categories-section .dynamic-categories-buttons .category-btn span {
        font-size: 11px;
    }

    .menu-categories-section .gallery-items {
        gap: 10px;
    }

    .menu-categories-section .gallery-nav {
        display: none;
    }

    .menu-categories-section .gallery-item {
        flex-basis: 152px;
        height: 152px;
    }
}

/* ===== Homepage Nouveautes Grid Refresh ===== */
.nouveautes-container {
  padding: 52px 20px 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.nouveautes-title {
  color: #d9262c;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 400;
  text-align: center;
  margin-bottom: 8px;
}

.nouveautes-subtitle {
  color: #171717;
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 28px;
}

.nouveautes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}

.nouveaute-card {
  position: relative;
  min-height: 176px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, #D9D9D9 0%, #000000 100%);
  border: 2px solid #a8a8a8;
  box-shadow: 0 14px 28px rgba(70, 70, 70, 0.12);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}

.nouveaute-card::after {
  content: "";
  position: absolute;
  inset: 48% 0 0;
  background: linear-gradient(180deg, rgba(31, 31, 31, 0) 0%, rgba(31, 31, 31, 0.76) 100%);
  pointer-events: none;
}

.nouveaute-card:hover {
  transform: translateY(-2px);
}

.nouveaute-card-media,
.nouveaute-card-placeholder {
  width: 100%;
  height: 100%;
}

.nouveaute-card-media {
  position: absolute;
  inset: 0;
}

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

.nouveaute-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #f0ece7 0%, #d9d2ca 100%);
}

.nouveaute-card-placeholder span {
  font-size: 3.6rem;
  font-weight: 700;
  color: #786d66;
}

.nouveaute-card-name {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 1;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.nouveautes-actions {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.nouveautes-actions .btn {
  min-width: 200px;
}

@media (max-width: 991px) {
  .nouveautes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 680px;
  }
}

@media (max-width: 640px) {
  .nouveautes-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
  }

  .nouveaute-card {
    min-height: 220px;
  }
}
/* Homepage promo/social redesign */
.promo-banner-container {
    margin: 40px 60px 28px;
}

.promo-banner {
    background: #ef3340;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 56px;
    padding: 0 72px 0 0;
    overflow: hidden;
}

.promo-visual {
    position: relative;
    flex: 0 0 46%;
    min-height: 360px;
    display: flex;
    align-items: flex-end;
    padding-left: 44px;
}

.promo-paper-frame {
    width: min(260px, 46%);
    height: 100%;
}

.promo-paper-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    opacity: 0.8;
}

.promo-plate-image {
    position: absolute;
    left: 210px;
    bottom: -18px;
    width: min(320px, 60%);
    max-width: 320px;
    filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.18));
}

.promo-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 34px;
    padding: 32px 0;
}

.promo-content h2 {
    margin: 0;
    color: #fff7f1;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 3.4vw, 56px);
    font-weight: 400;
    line-height: 1.08;
}

.btn-promo {
    background-color: #121212;
    color: #ffffff;
    min-width: 168px;
    padding: 14px 28px;
    border: none;
    border-radius: 4px;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.btn-promo:hover {
    background-color: #1f1f1f;
    color: #ffffff;
    transform: translateY(-2px);
}

.social-showcase-section {
    padding: 0 0 36px;
}

.social-showcase-header {
    background: #ef1e24;
    color: #ffffff;
    margin: 0 calc(50% - 50vw) 34px;
    padding: 42px clamp(24px, 8vw, 160px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.social-showcase-copy h2 {
    margin: 0;
    max-width: 702px;
    font-size: clamp(38px, 3.2vw, 68px);
    line-height: 1.05;
    color: #ffffff;
}

.social-showcase-links {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
}

.social-showcase-link {
    width: 66px;
    height: 66px;
    border: 2px solid rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.social-showcase-link:hover {
    background-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.social-showcase-link img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    filter: brightness(0) invert(1);
}

.social-showcase-link:first-child {
    border-radius: 18px;
}

.social-showcase-link:first-child img {
    width: 36px;
    height: 36px;
}

.social-showcase-carousel-wrap {
    padding: 30px;
}
.social-showcase-carousel {
    display: flex;
    align-items: stretch;
    gap: 12px;
    overflow-x: auto;
    padding: 0 0 14px;
    scroll-behavior: auto;
    scrollbar-width: none;
    will-change: transform;
}

.social-showcase-carousel::-webkit-scrollbar {
    display: none;
}

.social-showcase-card {
    flex: 0 0 276px;   /* fixed width */
    height: 232px;     /* fixed height */
    border-radius: 12px;
    transform: translateZ(0);
}

.social-showcase-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-showcase-card:hover img {
    transform: scale(1.03);
}

.social-showcase-carousel:focus-visible {
    outline: 2px solid #ef1e24;
    outline-offset: 6px;
}

@media (max-width: 992px) {
    .promo-banner {
        gap: 32px;
        padding: 0 32px 0 0;
    }

    .promo-visual {
        padding-left: 20px;
    }
}

@media (max-width: 768px) {
    .promo-banner-container {
        margin: 24px 16px 20px;
    }

    .promo-banner {
        flex-direction: column;
        gap: 6px;
        min-height: auto;
        padding: 0 0 28px;
    }

    .promo-visual {
        width: 100%;
        min-height: 248px;
        padding-left: 18px;
    }

    .promo-paper-frame {
        width: 180px;
        height: 248px;
    }

    .promo-plate-image {
        left: 138px;
        bottom: -8px;
        width: 228px;
    }

    .promo-content {
        width: 100%;
        gap: 22px;
        padding: 12px 22px 0;
    }

    .promo-content h2 {
        font-size: 34px;
    }

    .btn-promo {
        width: 100%;
        max-width: 240px;
    }

    .social-showcase-section {
        padding-bottom: 20px;
    }

    .social-showcase-header {
    margin: 0 0 24px;
    padding: 28px 18px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px 14px;
}

.social-showcase-logo {
    flex: 0 0 72px;
    margin: 0;
}

.social-showcase-logo img {
    width: 72px;
    height: auto;
    display: block;
}

.social-showcase-copy {
    flex: 1 1 calc(100% - 86px);
    width: auto;
}

.social-showcase-copy h2 {
    max-width: none;
    margin: 0;
    font-size: 40px;
    line-height: 1.05;
}

.social-showcase-links {
    flex: 0 0 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    gap: 14px;
}
.social-showcase-copy h2 {
    font-size: 28px;
}
    .social-showcase-link {
        width: 54px;
        height: 54px;
    }

    .social-showcase-link img {
        width: 26px;
        height: 26px;
    }

    .social-showcase-link:first-child img {
        width: 30px;
        height: 30px;
    }

    .social-showcase-carousel-wrap {
        padding: 0 16px;
    }

    .social-showcase-carousel {
        gap: 10px;
    }

    .social-showcase-card-square,
    .social-showcase-card-wide {
        width: 278px;
        height: 228px;
    }

    .social-showcase-card-tall {
        width: 188px;
        height: 228px;
    }
}
@media (max-width: 768px) {
    .menu-categories-section .categories-buttons.dynamic-categories-buttons {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        gap: 14px !important;

        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;

        padding: 0 12px 12px !important;
        margin-bottom: 32px !important;

        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .menu-categories-section .categories-buttons.dynamic-categories-buttons::-webkit-scrollbar {
        display: none;
    }

    .menu-categories-section .categories-buttons.dynamic-categories-buttons .category-btn {
        flex: 0 0 104px !important;
        width: 104px !important;
        min-width: 104px !important;
        max-width: 104px !important;
    }

    .menu-categories-section .categories-buttons.dynamic-categories-buttons .category-icon {
        width: 104px !important;
        height: 58px !important;
    }
}
@media (max-width: 480px) {
    .promo-content h2 {
        font-size: 28px;
    }

    .btn-promo {
        font-size: 13px;
        padding: 12px 20px;
    }

    .social-showcase-copy h2 {
        font-size: 30px;
    }

    .social-showcase-card-square,
    .social-showcase-card-wide {
        width: 248px;
        height: 208px;
    }

    .social-showcase-card-tall {
        width: 170px;
        height: 208px;
    }
}
/* Nouveautes full-width layout override */
.nouveautes-container {
  padding-left: 10px;
  padding-right: 10px;
}

.nouveautes-container .container {
  max-width: none;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.nouveautes-title,
.nouveautes-subtitle,
.nouveautes-actions {
  padding-left: 20px;
  padding-right: 20px;
}

.nouveautes-grid {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
}

@media (max-width: 640px) {
  .nouveautes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }

  .nouveaute-card {
    min-height: 180px;
  }
}

@media (max-width: 480px) {
  .nouveautes-title,
  .nouveautes-subtitle,
  .nouveautes-actions {
    padding-left: 12px;
    padding-right: 12px;
  }

  .nouveautes-grid {
    gap: 12px;
  }

  .nouveaute-card {
    min-height: 160px;
    border-radius: 14px;
  }

  .nouveaute-card-name {
    left: 10px;
    right: 10px;
    bottom: 10px;
    font-size: 0.92rem;
  }
}


