/* =========================================================
   Mr. Pizza Tavira — Custom Styles  (responsive-fixed)
   =========================================================
   TABLE OF CONTENTS
   -------------------------------------------------------
   01. ROOT VARIABLES
   02. BASE / RESET  (overflow-x lock for mobile)
   03. UTILITIES
   04. BUTTONS
   05. SECTION HEADINGS
   06. HEADER / NAVBAR
   07. OFFCANVAS SIDE NAV (mobile)
   08. HERO
   09. ABOUT SECTIONS
   10. FEATURES STRIP
   11. SPECIAL MENU
   12. WELCOME / GALLERY
   13. CONTACT
   14. FOOTER
   15. SCROLL TOP BUTTON
   16. SCROLL ANIMATIONS  (js-ready gated, no X overflow)
   17. AUTH / PROFILE
   18. MENU PAGE
   19. ITEM DETAIL PAGE
   20. CART PAGE
   21. CHECKOUT
   22. MY ORDERS PAGE
   23. PAGINATION / MISC OVERRIDES
   24. KEYFRAMES
   25. RESPONSIVE LAYER
       25.1  ≥1400px   25.2  ≤1199.98px   25.3  ≤991.98px
       25.4  ≤767.98px 25.5  ≤575.98px    25.6  ≤400px
       25.7  Reduced motion
   ========================================================= */


/* =========================================================
   01. ROOT VARIABLES
   ========================================================= */
:root {
    --red: #820300;
    --red-dark: #c0392b;
    --red-deep: #8e2a20;
    --red-light: #ff877ca1;
    --green: #2e8b4e;
    --green-dark: #237a40;
    --yellow: #f2b33d;
    --cream: #fff6e4;
    --char: #2a1b12;
    --ink: #1f2430;
    --muted: #7a828e;
    --white: #ffffff;

    --font-display: "Fredoka", sans-serif;
    --font-body: "Poppins", sans-serif;

    --radius: 14px;
    --shadow: 0 18px 40px rgba(42, 16, 10, 0.12);
    --transition: 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}


/* =========================================================
   02. BASE / RESET
   ---------------------------------------------------------
   FIX: horizontal overflow on mobile.
   - overflow-x must be on BOTH html and body for iOS Safari.
   - <main> gets overflow-x: clip (clip ≠ hidden: it does NOT
     create a scroll container, so sticky header still works).
   ========================================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--white);
    line-height: 1.7;
    position: relative;
}

main,
.site-header,
.site-footer {
    overflow-x: clip;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-display);
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

img,
svg,
video {
    max-width: 100%;
    height: auto;
}

/* Every top-level section on the public site clips its own decor */
main>section,
main>div {
    overflow-x: clip;
}


/* =========================================================
   03. UTILITIES
   ========================================================= */
.py-6 {
    padding-top: 90px;
    padding-bottom: 90px;
}

.border-red {
    border-bottom: 1px solid var(--red) !important;
}

.bg-cream {
    background: var(--cream);
}

.text-red {
    color: var(--red) !important;
}

.text-green {
    color: var(--green) !important;
}

.text-yellow {
    color: var(--yellow) !important;
}

.text-white {
    color: #fff;
}

.btn.btn-link {
    color: var(--red) !important;
}

.phone-link {
    color: var(--ink);
    font-weight: 600;
}

.phone-link:hover {
    color: var(--red);
}

.small-icon {
    font-size: 16px;
    inline-size: 16px;
    block-size: 16px;
}

.medium-icon {
    font-size: 24px;
    inline-size: 24px;
    block-size: 24px;
}

.large-icon {
    font-size: 32px;
    inline-size: 32px;
    block-size: 32px;
}

.xl-icon {
    font-size: 48px;
    inline-size: 48px;
    block-size: 48px;
}


/* =========================================================
   04. BUTTONS
   ========================================================= */
.btn-brand {
    background: var(--green);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 100px;
    font-weight: 600;
    font-family: var(--font-body);
    letter-spacing: 0.3px;
    box-shadow: 0 10px 22px rgba(46, 139, 78, 0.28);
    transition: var(--transition);
}

.btn-brand:hover {
    background: var(--yellow);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 16px 30px rgba(46, 139, 78, 0.38);
}

.btn-outline-brand {
    background: var(--red);
    color: #fff;
    border: none;
    padding: 8px 26px;
    border-radius: 100px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-brand.active,
.btn-outline-brand:hover {
    background: var(--green-dark);
    color: #fff;
}

.btn-outline-brand:hover {
    transform: translateY(-2px);
}


/* =========================================================
   05. SECTION HEADINGS
   ========================================================= */
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--red);
    font-weight: 600;
    font-family: var(--font-body);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 14px;
}

.section-eyebrow .line {
    width: 36px;
    height: 3px;
    border-radius: 3px;
    background: var(--red);
    display: inline-block;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: var(--ink);
    line-height: 1.15;
    margin-bottom: 18px;
}

.section-text {
    color: var(--muted);
    font-size: 0.98rem;
}


/* =========================================================
   06. HEADER / NAVBAR
   ========================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--red);
    transition: var(--transition);
    border-bottom: 3px solid var(--white);
    width: 100%;
}

.site-header.scrolled {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.logo-chip {
    padding: 6px 12px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    margin: 0 12px;
    position: relative;
    padding: 6px 2px;
    font-size: 20px;
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--yellow);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--yellow);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar-user-links {
    column-gap: 26px;
}

.navbar-toggler {
    border: none;
    color: #fff;
    font-size: 1.6rem;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.cart-btn {
    position: relative;
    color: #fff;
    font-size: 1.3rem;
    display: inline-flex;
    align-items: center;
}

.cart-btn:hover {
    color: var(--yellow);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -6px;
    background: var(--yellow);
    color: var(--char);
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    font-family: var(--font-body);
}


/* =========================================================
   07. OFFCANVAS SIDE NAV (mobile)
   FIX: 100vw → 100% (100vw can be wider than the viewport)
   ========================================================= */
.offcanvas.offcanvas-start {
    background: var(--red);
    color: #fff;
    width: 100% !important;
    max-width: 100% !important;
    border-right: none;
}

.offcanvas .offcanvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    padding: 16px 20px;
}

.offcanvas .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: 1;
    margin: 0;
    flex-shrink: 0;
}

.offcanvas .navbar-nav .nav-link {
    margin: 4px 0;
    padding: 12px 4px;
    font-size: 32px;
}

.offcanvas .navbar-nav .nav-link::after {
    display: none;
}


/* =========================================================
   08. HERO
   ========================================================= */
.hero-section {
    position: relative;
    background: var(--red-dark);
    padding: 70px 0 130px;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 90px;
    background: var(--cream);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    transform: scaleX(1.5);
    pointer-events: none;
}

.hero-eyebrow {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 900;
    letter-spacing: 0.04em;
    display: inline-block;
    margin-bottom: 14px;
}

.hero-title {
    /* color: #fff; */
    background: linear-gradient(to right, var(--cream), var(--yellow));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.05;
    margin-bottom: 22px;
}

.hero-text {
    color: rgba(255, 255, 255, 0.82);
    max-width: 520px;
    margin-bottom: 30px;
    font-size: 0.96rem;
}


.hero-image-wrap {
    position: relative;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 20px 0;
}

.hero-disc {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(420px, 92vw);
    aspect-ratio: 1;
    background: var(--green);
    border-radius: 50%;
    z-index: 1;
}

.hero-pizza-frame {
    position: relative;
    z-index: 2;
    width: min(400px, 85vw);
    height: auto;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.spin-slow {
    animation: spin 40s linear infinite;
}

.best-offer {
    position: absolute;
    top: 4%;
    left: 6%;
    z-index: 3;
    width: 92px;
    height: 92px;
    background: var(--green);
    color: #fff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
    animation: pulse 2.4s ease-in-out infinite;
}

.best-offer strong {
    font-size: 1.05rem;
    font-family: var(--font-display);
}

.best-offer span {
    font-size: 0.95rem;
    font-family: var(--font-display);
    font-weight: 600;
}


/* =========================================================
   09. ABOUT SECTIONS
   ========================================================= */
.about-img-frame {
    position: relative;
    padding-top: 30px;
    padding-bottom: 30px;
}

.about-img-frame img {
    position: relative;
    z-index: 1;
}

.about-circle-img {
    width: 340px;
    max-width: 100%;
    aspect-ratio: 1;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 6px solid var(--red);
    box-shadow: var(--shadow);
}

.about-circle-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
}

.about-circle-img:hover {
    animation: floating 2s ease-in-out infinite;
}

.steam-particle {
    position: absolute;
    bottom: 57%;
    width: 10px;
    height: 90px;
    background: radial-gradient(circle,
            rgba(255, 255, 255, 0.75) 0%,
            rgba(255, 255, 255, 0) 75%);
    border-radius: 50%;
    filter: blur(3px);
    opacity: 0;
    pointer-events: none;
    z-index: 2;
    animation: steamRise 4s infinite ease-in-out;
}

.steam-particle:nth-child(1) {
    left: 30%;
    animation-delay: 0s;
}

.steam-particle:nth-child(2) {
    left: 40%;
    animation-delay: 2s;
}

.steam-particle:nth-child(3) {
    left: 60%;
    animation-delay: 3s;
}

.steam-particle:nth-child(4) {
    left: 65%;
    animation-delay: 4s;
}

.about-square-card {
    position: relative;
    width: 100%;
    max-width: 380px;
    height: 440px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    background: #111;
    border: 3px solid var(--red);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-square-card::before {
    content: "";
    position: absolute;
    inset: -50%;
    background: radial-gradient(circle,
            rgba(255, 68, 0, 0.4) 0%,
            rgba(0, 0, 0, 0) 70%);
    animation: livePulse 3s infinite ease-in-out;
    z-index: 1;
}

.about-square-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.about-square-card .img-primary {
    opacity: 1;
}

.about-square-card .img-secondary {
    opacity: 0;
    transform: scale(1.15);
}

.about-square-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 45px rgba(220, 53, 69, 0.35);
}

.about-square-card:hover .img-primary {
    opacity: 0;
}

.about-square-card:hover .img-secondary {
    opacity: 1;
    transform: scale(1.05);
}


/* =========================================================
   10. FEATURES STRIP
   ========================================================= */
.features-strip {
    background: var(--red);
    padding: 55px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 18px;
    color: #fff;
}

.feature-ic {
    width: 74px;
    height: 74px;
    flex-shrink: 0;
    background: #fff;
    color: var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem !important;
    transition: all 0.4s ease;
    position: relative;
    overflow: visible;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.feature-ic::before {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(255, 193, 7, 0.5);
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.4s ease;
}

.feature-item:hover .feature-ic {
    background: var(--yellow);
    color: var(--char);
    transform: translateY(-8px) rotate(-8deg) scale(1.12);
    box-shadow: 0 18px 35px rgba(255, 193, 7, 0.45);
}

.feature-item h5 {
    margin: 0 0 4px;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    color: var(--white);
}

.feature-item p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.88rem;
}


/* =========================================================
   11. SPECIAL MENU
   ========================================================= */
.menu-section {
    background: var(--green);
    padding: 80px 0;
    position: relative;
}

.menu-heading {
    color: #fff;
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    margin-bottom: 16px;
}

.menu-sub {
    color: rgba(255, 255, 255, 0.85);
    max-width: 620px;
    margin: 0 auto;
    font-size: 0.92rem;
}

.menu-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.menu-card-img {
    height: 300px;
    overflow: hidden;
}

.menu-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.menu-card:hover .menu-card-img img {
    transform: scale(1.1);
}

.menu-card-body {
    text-align: center;
    padding: 20px 16px 26px;
}

.menu-card-body h4 {
    color: var(--red);
    margin-bottom: 14px;
    font-size: 1.35rem;
}


/* =========================================================
   12. WELCOME / GALLERY
   ========================================================= */
.welcome-section {
    padding-top: 50px;
    padding-bottom: 50px;
}

.welcome-title {
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    line-height: 1.15;
    margin-bottom: 18px;
}

.welcome-list {
    list-style: none;
    padding: 0;
    margin: 22px 0;
}

.welcome-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 14px;
}

.welcome-list li i {
    width: 30px;
    height: 30px;
    background: var(--red);
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.welcome-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 190px;
    gap: 16px;
}

.welcome-gallery .wg-item {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.welcome-gallery .wg-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    background: #fff !important;
}

.welcome-gallery .wg-item:hover img {
    transform: scale(1.08);
}

.welcome-gallery .wg-2 {
    transform: translateY(-24px);
}

.welcome-gallery .wg-3 {
    transform: translateY(24px);
}


/* =========================================================
   13. CONTACT
   ========================================================= */
.contact-section {
    position: relative;
    overflow: hidden;
    background: #fff;
}

.contact-blob-green {
    position: absolute;
    left: -165px;
    top: 5%;
    width: 320px;
    height: 320px;
    background: var(--green);
    border-radius: 50%;
    opacity: 0.95;
    z-index: 0;
    pointer-events: none;
}

.contact-blob-tomato {
    position: absolute;
    right: -100px;
    bottom: 10%;
    width: 345px;
    height: 350px;
    background: url(../img/tomato.png) no-repeat center;
    background-size: contain;
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
}

.delivery-img {
    position: relative;
    z-index: 2;
    text-align: center;
}

.contact-heading {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 30px;
    text-transform: capitalize;
    position: relative;
    display: inline-block;
}

.contact-heading .underline {
    display: block;
    width: 180px;
    height: 3px;
    background: var(--ink);
    margin-top: 8px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
    font-weight: 500;
}

.contact-ic {
    width: 54px;
    height: 54px;
    background: var(--red);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    box-shadow: 0 10px 20px rgba(192, 57, 43, 0.3);
    transition: var(--transition);
    position: relative;
    overflow: visible;
}

.contact-ic::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(192, 57, 43, 0.5);
    animation: ripple 2s infinite;
}

.contact-item:hover .contact-ic {
    transform: translateY(-4px) scale(1.05);
}

.contact-item:hover .contact-ic::before {
    animation-duration: 1s;
}

.float-anim {
    animation: floaty 3.5s ease-in-out infinite;
}


/* =========================================================
   14. FOOTER
   ========================================================= */
.site-footer {
    background: var(--red);
    color: rgba(255, 255, 255, 0.85);
    padding: 60px 0 24px;
    border-top: 3px solid var(--white);
}

.footer-text {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.75);
}

.footer-title {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 18px;
    font-family: var(--font-body);
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.88rem;
}

.footer-links a:hover {
    color: var(--yellow);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
}

.footer-social a:hover {
    background: var(--yellow);
    color: var(--char);
    transform: translateY(-3px);
}

.footer-contact {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.fc-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.fc-item i {
    color: var(--yellow);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 5px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}


/* =========================================================
   15. SCROLL TOP BUTTON
   ========================================================= */
.scroll-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: var(--yellow);
    color: var(--char);
    font-size: 1.2rem;
    z-index: 1040;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: #e0a52c;
    transform: translateY(-4px);
}


/* =========================================================
   16. SCROLL ANIMATIONS
   ---------------------------------------------------------
   FIX 1: only hide content once JS has added .js-ready to
          <html>, so nothing stays invisible if JS fails.
   FIX 2: translateX reduced to 40px (was 60px) and disabled
          on phones — sideways offsets were the main cause of
          the right-hand white strip / horizontal drag.
   ========================================================= */
html.js-ready [data-animate] {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: opacity, transform;
}

html.js-ready [data-animate="fade-up"] {
    transform: translateY(30px);
}

html.js-ready [data-animate="fade-right"] {
    transform: translateX(-40px);
}

html.js-ready [data-animate="fade-left"] {
    transform: translateX(40px);
}

html.js-ready [data-animate="zoom"] {
    transform: scale(0.9);
}

html.js-ready [data-animate].in-view {
    opacity: 1;
    transform: none;
}


/* =========================================================
   17. AUTH / PROFILE
   ========================================================= */
.auth-btn {
    position: relative;
    color: #fff;
    font-size: 1.3rem;
    display: inline-flex;
    align-items: center;
}

.auth-btn:hover {
    color: var(--yellow);
}

.profile-avatar {
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.dropdown-toggle-no-caret::after {
    display: none;
}


/* =========================================================
   18. MENU PAGE
   ========================================================= */
.menu-hero {
    position: relative;
    background: var(--red-dark);
    padding: 70px 0 110px;
    overflow: hidden;
}

.menu-hero-title {
    color: #fff;
    font-size: clamp(2.2rem, 4vw, 3rem);
    margin-bottom: 14px;
}

.menu-hero-text {
    color: rgba(255, 255, 255, 0.82);
    max-width: 560px;
    margin: 0 auto;
    font-size: 0.96rem;
}

.menu-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.menu-pill {
    background: #fff;
    color: var(--red);
    border: 2px solid transparent;
    padding: 8px 24px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.92rem;
    box-shadow: 0 6px 16px rgba(42, 16, 10, 0.08);
}

.menu-pill:hover {
    color: var(--green);
    transform: translateY(-2px);
}

.menu-pill.active {
    background: var(--green);
    color: #fff;
    box-shadow: 0 10px 22px rgba(46, 139, 78, 0.28);
}

.dish-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.dish-img {
    position: relative;
    height: 265px;
    overflow: hidden;
}

/* .dish-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.dish-card:hover .dish-img img {
    transform: scale(1.1);
} */

.dish-img {
    position: relative;
    overflow: hidden;
}

.dish-img::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 10%;
    background: linear-gradient(to top, rgb(153 153 153 / 7%), #00000000);
    pointer-events: none;
}

.dish-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.dish-card:hover .dish-img img {
    transform: scale(1.1);
}

.dish-cat {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--red);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
    letter-spacing: 0.03em;
}

.dish-body {
    padding: 20px 18px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.dish-title {
    color: var(--red);
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.dish-title a {
    color: inherit;
}

.dish-desc {
    color: var(--muted);
    font-size: 0.85rem;
    margin-bottom: 14px;
}

.dish-price-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    margin-bottom: 6px;
}

.dish-price {
    color: var(--char);
    font-weight: 700;
    font-family: var(--font-display);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dish-price .size {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}


/* =========================================================
   19. ITEM DETAIL PAGE
   ========================================================= */
.detail-body {
    background: var(--cream);
}

.detail-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
}

.detail-img {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 380px;
    cursor: zoom-in;
}

.detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.detail-img:hover img {
    transform: scale(1.5);
}

/* .detail-img {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 380px;
    cursor: zoom-in;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.detail-img:hover img {
    transform: scale(1.1);
} */

.detail-title {
    color: var(--red);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 12px;
}

.detail-cat {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.detail-desc {
    color: var(--ink);
    font-size: 0.96rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.detail-price-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

/* Addons strip — the ONLY intentional horizontal scroller */
.addon-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    max-width: 100%;
}

.addon-scroll::-webkit-scrollbar {
    height: 6px;
}

.addon-scroll::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.addon-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 0 0 auto;
    min-width: 210px;
    padding: 0.875rem 1rem;
    border: 2px solid var(--bs-border-color, #ddd);
    border-radius: 0.75rem;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    user-select: none;
}

.addon-card:hover,
.addon-card:has(.addon-check:checked) {
    border-color: var(--green);
}

.addon-card:has(.addon-check:checked) {
    box-shadow: 0 0 0 2px rgba(130, 3, 0, 0.15);
}

.addon-img {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 50%;
}

.addon-info {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.addon-name {
    font-weight: 600;
}

.addon-price {
    font-size: 0.85rem;
    color: var(--red);
    font-weight: 600;
}

/* Related items — single, merged .fbt-card block (was duplicated) */
.fbt-card {
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.fbt-card:hover {
    border-color: var(--red);
    box-shadow: 0 0 0 2px rgba(130, 3, 0, 0.12);
}

.fbt-card .text-body {
    text-decoration: none;
}

.fbt-card>a.ratio {
    overflow: hidden;
}

.fbt-card>a.ratio img {
    transition: transform 0.4s ease;
}

.fbt-card>a.ratio:hover img {
    transform: scale(1.12);
}


/* =========================================================
   20. CART PAGE
   ========================================================= */
.cart-body {
    background: var(--cream);
    min-height: 60vh;
}

.cart-panel {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.cart-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(42, 16, 10, 0.08);
}

.cart-panel-head h5 {
    margin: 0;
    color: var(--red);
    font-size: 1.15rem;
}

.cart-clear-btn {
    background: transparent;
    border: none;
    color: var(--muted);
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.cart-clear-btn:hover {
    color: var(--red);
}

.cart-item {
    display: grid;
    grid-template-columns: 84px 1fr auto;
    gap: 15px;
    align-items: center;
    padding: 10px 24px;
    border-bottom: 1px solid rgba(42, 16, 10, 0.06);
    transition: background 0.25s ease;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-thumb {
    width: 84px;
    height: 84px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(42, 16, 10, 0.08);
}

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

.cart-item-info {
    min-width: 0;
}

.cart-item-name {
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 0 6px;
    overflow-wrap: anywhere;
}

.cart-item-size {
    display: inline-block;
    background: var(--cream);
    color: var(--green);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 3px 12px;
    border-radius: 100px;
    margin-bottom: 6px;
}

.cart-item-unit {
    color: var(--muted);
    font-size: 0.85rem;
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.cart-item-total {
    color: var(--red);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    white-space: nowrap;
}

.qty-stepper {
    display: inline-flex;
    align-items: center;
    background: var(--cream);
    border-radius: 100px;
    padding: 3px;
}

.qty-stepper .qty-btn {
    width: 30px;
    height: 30px;
    border: none;
    background: #fff;
    color: var(--red);
    border-radius: 50%;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(42, 16, 10, 0.1);
    transition: var(--transition);
}

.qty-stepper .qty-btn:hover {
    background: var(--red);
    color: #fff;
}

.qty-stepper .qty-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.qty-stepper .cart-qty {
    width: 56px;
    border: none;
    background: transparent;
    text-align: center;
    font-weight: 700;
    color: var(--ink);
    font-size: 0.95rem;
    -moz-appearance: textfield;
}

.qty-stepper .cart-qty::-webkit-outer-spin-button,
.qty-stepper .cart-qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-stepper .cart-qty:focus {
    outline: none;
}

.cart-remove {
    background: transparent;
    border: none;
    color: var(--muted);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
}

.cart-remove:hover {
    background: rgba(192, 57, 43, 0.1);
    color: var(--red);
}

.cart-continue {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 18px;
}

.cart-continue:hover {
    color: var(--green);
}

.cart-summary {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 26px;
    top: 100px;
}

.cart-summary h5 {
    color: var(--red);
    font-size: 1.2rem;
    margin-bottom: 22px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 0.95rem;
}

.summary-row .val {
    color: var(--ink);
    font-weight: 600;
}

.summary-divider {
    border: none;
    border-top: 1px dashed rgba(42, 16, 10, 0.2);
    margin: 18px 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.summary-total .label {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--ink);
}

.summary-total .amount {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--green);
}

.summary-note {
    text-align: center;
    color: var(--muted);
    font-size: 0.78rem;
    margin-top: 14px;
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
}

.cart-empty-ic {
    width: 110px;
    height: 110px;
    background: #fff;
    color: var(--red);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    box-shadow: var(--shadow);
    margin-bottom: 22px;
}

.cart-empty h3 {
    color: var(--ink);
    margin-bottom: 10px;
}

.cart-empty p {
    color: var(--muted);
    max-width: 380px;
    margin: 0 auto 24px;
}


/* =========================================================
   21. CHECKOUT
   ========================================================= */
.cart-item-addons {
    grid-column: 1 / -1;
    padding-top: 12px;
    margin-top: 4px;
    border-top: 1px dashed rgba(42, 16, 10, 0.12);
    min-width: 0;
}

.cart-item-addons .addon-label {
    display: block;
    color: var(--red-deep);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

/* Select2 must not push the row wider than its column */
.cart-item-addons .select2-container {
    width: 100% !important;
    max-width: 100%;
}

.checkout-note {
    grid-column: 1 / -1;
    margin-top: 10px;
}

.checkout-note label {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}

.checkout-note textarea {
    width: 100%;
    border: 1px solid rgba(42, 16, 10, 0.15);
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 0.9rem;
    resize: vertical;
    min-height: 44px;
    background: #fff;
}

.checkout-note textarea:focus {
    outline: none;
    border-color: var(--green);
}

.checkout-note .note-saved {
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 600;
    margin-top: 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.checkout-note .note-saved.show {
    opacity: 1;
}

.checkout-form .form-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--ink);
    margin-bottom: 6px;
}

.checkout-form .form-control {
    border: 1px solid rgba(42, 16, 10, 0.15);
}

.checkout-form .form-control:focus {
    border-color: var(--green);
    box-shadow: none;
}

.order-note-wrap {
    padding: 18px 24px 20px;
    border-top: 1px dashed rgba(42, 16, 10, 0.12);
}

.order-note-wrap .form-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--ink);
    margin-bottom: 8px;
}

.order-note-wrap textarea {
    border-radius: 12px;
    border: 1px solid rgba(42, 16, 10, 0.15);
    padding: 10px 14px;
}

.order-note-wrap textarea:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: none;
}


/* =========================================================
   22. MY ORDERS PAGE
   ========================================================= */
.myorder-body {
    background: var(--cream);
    min-height: 60vh;
}

.myorder-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.myorder-status::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.myorder-toggle[aria-expanded="true"] {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}

.myorder-toggle i {
    transition: transform 0.3s ease;
}

.myorder-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.myorder-chip {
    color: var(--char);
    font-size: 0.75rem;
    padding: 3px 12px;
    border-radius: 100px;
    border: 1px solid rgba(42, 16, 10, 0.08);
    margin: 4px;
}

.myorder-chip span {
    color: var(--green);
    font-weight: 600;
}

.myorder-empty-ic {
    width: 110px;
    height: 110px;
    background: #fff;
    color: var(--red);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    box-shadow: var(--shadow);
}


/* =========================================================
   23. PAGINATION / MISC OVERRIDES
   ========================================================= */
span.page-link.waves-effect.waves-light,
a.page-link.waves-effect,
span.page-link.waves-effect {
    padding: 0px;
}

.input-group> :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    margin-left: calc(-1 * var(--bs-border-width));
    border-end-start-radius: 0;
    border-start-start-radius: 0;
    border-end-end-radius: 0.375rem !important;
    border-start-end-radius: 0.375rem !important;
}

h2#swal2-title {
    padding: 0px 25px;
    margin: 18px auto 0px;
}
.swal2-container .swal2-modal.swal2-popup .swal2-title{
        max-inline-size: none !important;

}

.swal2-container .swal2-popup .swal2-title{
    font-size: 28px !important;
}

/* Admin-template classes on <html> add menu offsets; neutralise them
   on the public site in case they're still present. */
html.layout-menu-fixed body,
html.layout-navbar-fixed body,
html.layout-compact body {
    padding: 0 !important;
    margin: 0 !important;
}


/* =========================================================
   24. KEYFRAMES
   ========================================================= */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes steamRise {
    0% {
        transform: translate(0, 0) scale(0.5);
        opacity: 0;
    }

    15% {
        opacity: 0.5;
    }

    30% {
        transform: translate(-1px, -20px) scale(0.65);
    }

    50% {
        transform: translate(1px, -45px) scale(0.8);
    }

    70% {
        transform: translate(-1px, -70px) scale(1);
        opacity: 0.35;
    }

    100% {
        transform: translate(2px, -100px) scale(1.2);
        opacity: 0;
    }
}

@keyframes livePulse {

    0%,
    100% {
        transform: scale(0.9);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    70% {
        transform: scale(1.4);
        opacity: 0;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

@keyframes floaty {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-16px);
    }
}


/* =========================================================
   25. RESPONSIVE LAYER
   ========================================================= */

/* ---------- 25.1  ≥ 1400px ---------- */
@media (min-width: 1400px) {

    .container,
    .container-xxl {
        max-width: 1320px;
    }

    .hero-section {
        padding: 90px 0 90px;
    }

    .hero-title {
        font-size: 4rem;
    }

    .about-circle-img {
        width: 380px;
    }

    .welcome-gallery {
        grid-auto-rows: 240px;
    }
}


/* ---------- 25.2  ≤ 1199.98px ---------- */
@media (max-width: 1199.98px) {
    .navbar-nav .nav-link {
        margin: 0 8px;
        font-size: 16px;
    }

    .navbar-user-links {
        column-gap: 18px;
    }

    .hero-section {
        padding: 60px 0 120px;
    }

    .about-circle-img {
        width: 300px;
    }

    .welcome-gallery {
        grid-auto-rows: 175px;
    }

    .cart-summary {
        top: 90px;
    }

    .detail-img {
        height: 340px;
    }

    .addon-card {
        min-width: 195px;
    }

    .dish-img {
        height: 220px;
    }
}


/* ---------- 25.3  ≤ 991.98px ---------- */
@media (max-width: 991.98px) {

    #addToCartBtn span {
        font-size: 14px;
    }

    .menu-card-img {
            height: 335px;
            overflow: hidden;
        }

    .site-header {
        padding: 16px 0 !important;
    }

    .navbar-nav .nav-link {
        margin: 4px 0;
    }

    .hero-section {
        padding: 50px 0 70px;
        text-align: center;
    }

    .hero-shape {
        height: 60px;
    }

    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image-wrap {
        margin-top: 24px;
    }

    .py-6 {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .about-img-frame {
        padding-top: 0;
        padding-bottom: 0;
    }

    .about-circle-img {
        margin-top: 0;
    }

    .welcome-gallery .wg-2,
    .welcome-gallery .wg-3 {
        transform: none;
    }

    .menu-section {
        padding: 60px 0;
    }

    .detail-img {
        height: 420px;
    }

    .addon-card {
        min-width: 185px;
        padding: 0.75rem 0.875rem;
    }

    .cart-summary {
        position: static;
        margin-top: 24px;
    }

    .feature-item {
        margin-bottom: 24px;
    }

    .dish-img {
        height: 330px;
    }
}


/* ---------- 25.4  ≤ 767.98px ---------- */
@media (max-width: 767.98px) {

    .summary-row .val {
        font-size: 12px;
    }

    #addToCartBtn span {
        font-size: 8px;
    }

    .delivery-img img {
        max-width: 320px;
    }

    .features-strip .feature-item {
            justify-content: flex-start;
            text-align: left;
        }

    .features-strip{
        padding: 55px 15px;
    }

    .menu-card-img {
        height: 400px;
        overflow: hidden;
    }

    .dish-img{
        height: 430px;
    }

    div:where(.swal2-container){
        padding: 2em !important;
    }
    /* No sideways reveal offsets on touch devices — prevents X overflow */
    html.js-ready [data-animate="fade-right"],
    html.js-ready [data-animate="fade-left"] {
        transform: translateY(24px);
    }

    .py-6 {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .section-title,
    .welcome-title,
    .menu-heading {
        text-align: center;
    }

    .welcome-list {
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }

    .cart-item {
        grid-template-columns: 64px 1fr;
        grid-template-areas:
            "thumb info"
            "actions actions";
        gap: 14px;
    }

    .cart-item-thumb {
        grid-area: thumb;
        width: 64px;
        height: 64px;
    }

    .cart-item-info {
        grid-area: info;
    }

    .cart-item-actions {
        grid-area: actions;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 8px;
        width: 100%;
        padding-top: 6px;
        border-top: 1px solid rgba(42, 16, 10, 0.06);
    }

    .detail-card {
        padding: 18px;
    }

    .detail-img {
        height: 440px;
    }

    .addon-card {
        min-width: 170px;
        gap: 0.6rem;
        padding: 0.7rem 0.8rem;
    }

    .addon-img {
        width: 36px;
        height: 36px;
    }

    .addon-name {
        font-size: 0.9rem;
    }

    .addon-price {
        font-size: 0.8rem;
    }

    .contact-heading {
        display: block;
        text-align: center;
    }

    .contact-heading .underline {
        margin-left: auto;
        margin-right: auto;
    }

    .myorder-head {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 18px;
    }

    .myorder-head-right {
        width: 100%;
        justify-content: space-between;
    }

    .myorder-item {
        flex-direction: column;
        gap: 10px;
        padding: 16px 18px;
    }

    .myorder-item-price {
        align-self: flex-end;
    }
}


/* ---------- 25.5  ≤ 575.98px ---------- */
@media (max-width: 575.98px) {
    .delivery-img img {
        max-width: 240px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-section {
        padding: 36px 0 50px;
    }

    .hero-shape {
        height: 40px;
    }

    .hero-image-wrap {
        margin-top: 16px;
        padding: 20px 0;
    }

    .py-6 {
        padding-top: 36px;
        padding-bottom: 36px;
    }

    .welcome-gallery {
        grid-auto-rows: 150px;
        gap: 12px;
    }

    .feature-item {
        justify-content: center;
        text-align: left;
    }

    .menu-section {
        padding: 50px 0;
    }

    .menu-hero {
        padding: 50px 0 80px;
    }

    .menu-pill {
        padding: 6px 18px;
        font-size: 0.85rem;
    }

    .detail-img {
        height: 340px;
    }

    .addon-card {
        min-width: 155px;
        padding: 0.6rem 0.7rem;
    }

    .addon-img {
        width: 32px;
        height: 32px;
    }

    .fbt-card .btn-sm {
        padding: 4px 10px;
        font-size: 0.78rem;
    }

    .contact-blob-green,
    .contact-blob-tomato {
        display: none;
    }

    .contact-heading .underline {
        width: 120px;
    }

    .btn-brand {
        padding: 11px 24px;
    }

    .summary-total .amount {
        font-size: 1.4rem;
    }

    .cart-panel-head {
        padding: 16px 18px;
    }

    .cart-item {
        padding: 16px 18px;
    }

    .cart-summary {
        padding: 20px;
    }

    .about-square-card {
        height: 360px;
    }
}


/* ---------- 25.6  ≤ 400px ---------- */
@media (max-width: 400px) {
    .delivery-img img {
        max-width: 190px;
    }

    .dish-img {
        height: 300px;
    }
    
    .hero-title {
        font-size: 1.9rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .best-offer {
        width: 74px;
        height: 74px;
    }

    .best-offer strong {
        font-size: 0.9rem;
    }

    .best-offer span {
        font-size: 0.8rem;
    }

    .welcome-gallery {
        grid-template-columns: 1fr;
        grid-auto-rows: 270px;
    }

    .menu-filter {
        gap: 8px;
    }

    .menu-pill {
        padding: 6px 14px;
        font-size: 0.8rem;
    }

    .detail-img {
        height: 300px;
    }

    .addon-card {
        min-width: 145px;
    }

    .addon-name {
        font-size: 0.85rem;
    }

    .fbt-card .mt-auto {
        flex-direction: column;
    }

    .fbt-card .btn-sm {
        width: 100%;
    }

    .cart-item-name {
        font-size: 1rem;
    }

    .cart-item-total {
        font-size: 1.05rem;
    }

    .qty-stepper .qty-btn {
        width: 28px;
        height: 28px;
    }

    .qty-stepper .cart-qty {
        width: 40px;
    }

    .scroll-top {
        right: 16px;
        bottom: 16px;
        width: 42px;
        height: 42px;
    }
}


/* ---------- 25.7  Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {

    [data-animate],
    html.js-ready [data-animate] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .spin-slow,
    .float-anim,
    .best-offer,
    .steam-particle,
    .about-square-card::before,
    .contact-ic::before {
        animation: none !important;
    }
}

/* ---------- Related items ---------- */
.related-section {
    margin-top: 10px;
    padding-top: 10px;
}

.related-head {
    text-align: center;
    margin-bottom: 28px;
}

.related-head .section-eyebrow {
    justify-content: center;
    margin-bottom: 8px;
}

.related-title {
    color: var(--ink);
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    margin: 0;
}

/* Compact variant of .dish-card for the 5-up grid */
.related-card .dish-img {
    aspect-ratio: 1 / 1;
    height: auto;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-card .dish-img img {
    object-fit: cover;
}

.related-card:hover .dish-img img {
    transform: scale(1.05);
}

.related-card .dish-cat {
    top: 10px;
    left: 10px;
    font-size: 0.66rem;
    padding: 3px 10px;
}

.related-card .dish-body {
    padding: 14px 12px 16px;
}

.related-card .dish-title {
    font-size: 1rem;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
    /* keeps price rows aligned across cards */
}

.related-card .dish-price {
    padding: 4px 10px;
    font-size: 0.9rem;
}

.related-card .dish-price .from {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--muted);
}

.related-card .btn-sm {
    padding: 6px 12px;
    font-size: 0.8rem;
}

.related-card .btn-brand.btn-sm {
    padding: 6px 12px;
    box-shadow: none;
}

@media (max-width: 575.98px) {
    .related-section {
        margin-top: 40px;
        padding-top: 28px;
    }

    .related-card .dish-body {
        padding: 12px 10px 14px;
    }

    .related-card .dish-title {
        font-size: 0.92rem;
    }
}

div:where(.swal2-container) div:where(.swal2-loader) {
    border-color: var(--red) transparent var(--red) transparent !important;
}
/* =========================================================
   26. HEADER DROPDOWN FIX  (append-only — keep this last)
   ---------------------------------------------------------
   The hero is main's FIRST child, so `main > section` clips it
   even after its own overflow is removed. Combined with
   overflow-x: clip on .site-header, that traps the dropdown
   inside a clipping ancestor and it paints behind the hero.
   ========================================================= */

.site-header {
    overflow: visible !important;
}

.site-header .navbar,
.site-header>.navbar>.container {
    overflow: visible !important;
    position: relative;
    z-index: 2;
}

main>section:first-child,
.hero-section,
.menu-hero {
    overflow: visible !important;
}

/* Decor still needs containing — one level in, far enough
   from the header that it can't trap the menu. */
.hero-image-wrap {
    overflow: clip !important;
}

.hero-shape {
    transform: none !important;
    width: 100% !important;
}

.site-header .dropdown {
    position: relative;
    z-index: 3;
}

.site-header .dropdown-menu {
    z-index: 1060 !important;
}

.toast {
    color: white !important;
    --bs-toast-bg: var(--green) !important;
}

/* .toast {
    color: #5c5c5c !important;
    --bs-toast-bg: #ffffff !important;
} */

.location-swal-icon {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.location-swal-icon i {
    font-size: 48px;
}


.custom-swal-icon {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.custom-swal-icon i {
    font-size: 48px;
}

