/*
Theme Name: Gerry's Grill Singapore
Theme URI: https://catcrewsade.com
Author: Cat Crewsade
Author URI: https://catcrewsade.com
Description: Custom theme for Gerry's Grill Singapore - Website Upgrade and Ordering Platform
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Private
Text Domain: gerrys-grill
*/

/* ============================================
   BASE RESET & ROOT VARIABLES
   ============================================ */
:root {
    --brand-dark-red:#920404;
    --yellow-light: #fdd47d;
    --yellow-dark: #de8a1c;
    --brand-darker-red: #920404;


    --gold: #c8922a;
    --color-primary: #C0392B;
    --color-primary-dark: #96281B;
    --color-secondary: #F39C12;
    --color-dark: #1a1a1a;
    --color-light: #f9f9f9;
    --color-white: #ffffff;
    --color-gray: #6c757d;
    --color-gray-light: #e9ecef;
    --font-heading: 'Montserrat', sans-serif;
    --font-highlight: "Amatic SC", sans-serif;
    --font-subhead: "Caveat", cursive;
    --font-body: "Roboto", sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
    --radius: 12px;
    --radius-sm: 106px;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* border: solid 1px red; */
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-dark);
    background: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    list-style: none;
}


.container {
    width: 100%;
    display: flex;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    flex-flow: row wrap;
}

/* .container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  box-sizing: border-box;
}
  */
.container > * {
  box-sizing: border-box;
}
 
/* ── DESKTOP (default) ───────────────────────────────────── */
.container .one    { width: calc(100% / 12 * 1);  }   /*  8.333% */
.container .two    { width: calc(100% / 12 * 2);  }   /* 16.666% */
.container .three  { width: calc(100% / 12 * 3);  }   /* 25%     */
.container .four   { width: calc(100% / 12 * 4);  }   /* 33.333% */
.container .five   { width: calc(100% / 12 * 5);  }   /* 41.666% */
.container .six    { width: calc(100% / 12 * 6);  }   /* 50%     */
.container .seven  { width: calc(100% / 12 * 7);  }   /* 58.333% */
.container .eight  { width: calc(100% / 12 * 8);  }   /* 66.666% */
.container .nine   { width: calc(100% / 12 * 9);  }   /* 75%     */
.container .ten    { width: calc(100% / 12 * 10); }   /* 83.333% */
.container .eleven { width: calc(100% / 12 * 11); }   /* 91.666% */
.container .twelve { width: calc(100% / 12 * 12); }   /* 100%    */
 
/* ── TABLET ≤ 1024px ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .container .one,
  .container .two,
  .container .three  { width: calc(100% / 12 * 4);  } /* bump small cols to 33% */
 
  .container .four,
  .container .five   { width: calc(100% / 12 * 6);  } /* 50% */
 
  .container .six,
  .container .seven,
  .container .eight  { width: calc(100% / 12 * 6);  } /* 50% */
 
  .container .nine,
  .container .ten,
  .container .eleven { width: calc(100% / 12 * 12); } /* 100% */
 
  .container .twelve { width: calc(100% / 12 * 12); } /* 100% */
}
 
/* ── MOBILE ≤ 768px ──────────────────────────────────────── */
@media (max-width: 768px) {
  .container .one,
  .container .two,
  .container .three,
  .container .four,
  .container .five,
  .container .six,
  .container .seven,
  .container .eight,
  .container .nine,
  .container .ten,
  .container .eleven,
  .container .twelve { width: 100%; }
}



/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    font-weight: 500;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p {
    margin-bottom: 1rem;
    color: #444;
}

em {
    color: var(--color-primary);
    font-style: normal;
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
    justify-content: center;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

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

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    margin-bottom: 12px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.flex {
    display: flex;
    align-items: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.text-center { text-align: center; }
.text-left { text-align: left; }

.bg-light { background: var(--color-light); }
.bg-dark { background: var(--color-dark); color: var(--color-white); }
.bg-primary { background: var(--color-primary); color: var(--color-white); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-family: var(--font-body);
}

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

.btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-outline:hover {
    background: var(--color-white);
    color: var(--color-dark);
}

.btn-dark {
    background: var(--color-dark);
    color: var(--color-white);
    border-color: var(--color-dark);
}

.btn-dark:hover {
    background: #333;
    transform: translateY(-2px);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-logo {
    height: 100%;
    display: block;
    padding: 10px 20px;
}
.site-logo img{
    height: 60px;
    width: auto;
    display: block;
}
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1200;
    transition: var(--transition);
}

.site-header .container{
    padding: 0;
    max-width: 2440px !important;
}

.site-header.scrolled {
    background-color: var(--brand-dark-red);
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-height: 120px;
    width: 100%;
}

.site-logo {
    padding: 10px 20px;
}

.site-logo img {
    height: 60px;
    width: auto;
}

.main-nav {
    background-color: var(--brand-dark-red);
    display: flex;
    flex-flow: row;
    align-items: center;
    gap: 30px;
    padding: 12px 24px;
    border-radius: 0 0 0 24px;
    height: -webkit-fill-available;
    height: stretch;
    min-height: 68px;
}

.main-nav ul {
    display: flex;
    gap: 32px;
}

.main-nav a {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--color-light);
    position: relative;
    padding-bottom: 4px;
}

.main-nav ul li a.active{
    pointer-events: none;
}

.main-nav ul li a.active, .main-nav ul li a:hover {
    color: var(--yellow-light);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--yellow-light);
    transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cart-trigger {
    position: relative;
    cursor: pointer;
    padding: 2px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.cart-trigger:hover {
    background: var(--color-gray-light);
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    border: none;
    background-color: unset;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--color-dark);
    transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    /* overflow: hidden; */
    padding-top: 70px;
    flex-flow: column;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero .container{
    width: unset;
}

.hero-content {
    display: flex;
    min-height: 400px;
    align-items: center;
    justify-content: center;
    flex-flow: column;
    color: var(--yellow-light);
}

.hero h1 {
    text-shadow: 3px 3px 2px #00000073;
    font-size: clamp(2.5rem, 3vw, 3.5rem);
    font-weight: 700;
    text-align: center;
}

.hero .highlight {
    background-color: var(--yellow-dark);
    padding: 5px 17px;
    color: var(--color-gray-light);
    font-family: var(--font-highlight);
    font-size: clamp(2.5rem, 3vw, 3rem);
    display: block;
    line-height: 1;
    margin: 10px 0;
}

.hero h3
 {
    margin: 10px;
    font-size: 22px;
    text-align: center;
    font-family: 'Roboto';
    text-shadow: 2px 2px 3px #000000c9;
}

.svg-background{
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: 100% 100%;
    position: absolute;
    width: 100vw;
    min-width: 800px;
}
.svg-bottom-yellow {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1368 469' preserveAspectRatio='none'%3E%3Cpath fill='rgb(254,224,159)' d='M0 404C101.756 413.168 202.727 415.839 303 412C631.355 399.43 918.818 309.239 1047 240C1166.046 175.696 1272.952 94.805 1367 0C1367.333 156.333 1367.667 312.667 1368 469C912 468.667 456 468.333 0 468C0 446.667 0 425.333 0 404Z'/%3E%3C/svg%3E");
    height: 45vh;
    bottom: 0;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}
/* ============================================
    Our Best Sellers
    ============================================ */
.best-seller {
    position: relative;
    overflow: hidden;
    min-height: 300px;
    margin-top: -4px;
}

section.best-seller .container {
    align-items: center;
    padding: 80px 0;
    justify-content: center;
}

.svg-top-yellow{
    top: 0;
    position: absolute;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1368 469' preserveAspectRatio='none'%3E%3Cpath fill='rgb(254,224,159)' d='M-0.000,-0.001 C99.481,8.087 194.143,26.804 284.000,57.000 C332.064,73.152 434.964,106.905 531.000,116.999 C592.213,123.433 650.687,122.479 714.000,104.999 C766.837,90.411 830.842,52.365 850.000,44.000 C951.148,-0.167 1040.813,12.578 1180.000,11.999 C1242.419,11.739 1304.433,9.089 1368.000,3.999 C1368.000,2.666 1368.000,1.333 1368.000,-0.001 C912.000,-0.001 456.000,-0.001 -0.000,-0.001 Z'/%3E%3C/svg%3E");
    height: 35vh;
}





/* hero meal section */

.meal-container {
    position: relative;
    z-index: 1;
    height: 371px;
    width: 100%;
}

.meal-item.meal-item-canton {
    position: absolute;
    top: -20%;
    right: -35%;
    display: block;
}

.meal-item.meal-item-shanghai {
    position: absolute;
    left: -35%;
    bottom: -20%;
    display: block;
    z-index: 2;
}

.meal-item.meal-item-canton, .meal-item.meal-item-shanghai {
    width: 100%;
    max-width: 540px;
}

.hero-background-mask {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

span.label.shanghai-label {
    position: absolute;
    background-color: #920404;
    color: var(--color-white);
    padding: 2px 14px;
    top: -23%;
    left: 31%;
    font-family: var(--font-highlight);
    font-size: 26px;
    z-index: 5;
    border-radius: 12px;
}

img.pointer.shanghai-pointer {
    position: absolute;
    left: 58%;
    top: -14%;
    transform: rotate(0deg);
}

img.pointer.canton-pointer {
    position: absolute;
    right: 18%;
    bottom: 19%;
    transform: rotate(0);
}
span.label.canton-label {
    position: absolute;
    background-color: #920404;
    color: var(--color-white);
    padding: 2px 14px;
    bottom: 27%;
    right: 0%;
    font-family: var(--font-highlight);
    font-size: 26px;
    z-index: 5;
    border-radius: 12px;
}

.hero-address {
    position: relative;
    bottom: 0;
    right: 3%;
    z-index: 9;
    color: var(--brand-dark-red);
    font-weight: 700;
    text-align: right;
    font-size: 16px;
    align-self: end;
}
@media (max-width: 768px) {
    
    .meal-item.meal-item-shanghai, .meal-item.meal-item-canton {
        left: unset !important;
        right: unset !important;
    }
}


























/* ============================================
   CART BUTTON
   ============================================ */
.cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: var(--brown-dark);
    background: var(--gold);
    border-width: initial;
    border-style: none;
    border-color: initial;
    border-image: initial;
    border-radius: 90px;
    padding: 13px 16px 13px 10px;
    gap: 8px;
    transition: 0.2s;
}
.cart-btn i {
    width: 20px;
    height: 20px;
    font-size: 21px;
}
.fa-solid, .fas {
    font-weight: 900;
}
/* ============================================
   CART SIDEBAR
   ============================================ */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 420px;
    max-width: 100vw;
    height: 100vh;
    background: white;
    z-index: 1999;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    background-color: var(--brown-dark);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--color-gray-light);
}

.cart-header h3 {
    font-size: 1.2rem;
}

.cart-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-gray);
    transition: var(--transition);
}

.cart-close:hover {
    color: var(--color-dark);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--color-gray);
}

.cart-empty svg {
    margin: 0 auto 16px;
    opacity: 0.3;
}

.cart-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-gray-light);
}

.cart-item-img {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}

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

.cart-item-info h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.cart-item-price {
    color: var(--color-primary);
    font-weight: 600;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--color-gray-light);
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
    font-family: var(--font-body);
}

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

.cart-footer {
    background-color: #fbf0db;
    padding: 24px;
    border-top: 1px solid var(--color-gray-light);
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
}

/* ============================================
   ORDER TYPE MODAL
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: white;
    border-radius: var(--radius);
    padding: 40px;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-gray);
}

.order-type-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 24px 0;
}

.order-type-btn {
    padding: 20px 12px;
    border: 2px solid var(--color-gray-light);
    border-radius: var(--radius);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: none;
    font-family: var(--font-body);
}

.order-type-btn:hover,
.order-type-btn.active {
    border-color: var(--color-primary);
    background: #FFF5F5;
}

.order-type-btn .icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.order-type-btn span {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
}

.order-type-btn small {
    color: var(--color-gray);
    font-size: 0.8rem;
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--color-gray-light);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: var(--font-body);
    transition: var(--transition);
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ============================================
   BESTSELLERS / PRODUCT CARDS
   ============================================ */


.bestsellers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}

.best-seller {
    padding: 120px 0;
    display: flex;
    align-items: center;
    background-color: #fef5e2;
}

.best-seller .column {
    height: -webkit-fill-available;
    max-height: 400px;
}
.section-title-box {
    font-size: clamp(1.3rem, 2.4vw, 3rem);
    text-align: center;
    background-color: #920404;
    color: #fef5e2;
    width: max-content;
    padding: 10px 15px;
    margin: 10px auto;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 18px;
}

.subtext-box {
    margin: 0 auto 10px auto;
    font-size: clamp(1.4rem, 2vw, 2rem);
    max-width: 40ch;
    text-align: center;
    color: #920404;
    font-weight: 800;
    line-height: 1;
}
.menu-item {
    height: -webkit-fill-available;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: end;
    gap: 15px;
    padding: 10px;
    margin: 30px 5px;
}
.menu-name h3 {
    font-size: clamp(1.8rem, 2vw, 1.8rem);
    background-color: var(--yellow-dark);
    color: #fef5e2;
    font-family: var(--font-highlight);
    padding: 2px 12px;
    font-weight: 700;
    border-radius: 12px;
    text-transform: uppercase;
}


.best-seller .cta-container {
    margin-top: 60px;
}

.cta-container {
    display: flex;
    flex-flow: column;
    align-items: center;
    gap: 10px;
}

.subtext {
    text-shadow: 2px 2px 4px #9b9b9b94;
    line-height: 1;
    text-align: center;
    font-family: var(--font-subhead);
    font-size: clamp(1.5rem, 2vw, 2.4rem);
    font-weight: 900;
    color: #920404;
}
.cta-btn {
    background-color: #b9242b;
    color: #ffff;
}

.cta-btn:hover {
    background-color: #920404;
    color: #ffff;
}


/* MENU Section */

.menu-section{
    padding:120px 0;
    background:#f8e3e3;
}
.menu-section h2 {
    color: var(--brand-dark-red);
    font-weight: 800;
    text-transform: uppercase;
}
.main-menu-page .menu-grid {
    gap: 10px 20px;
    margin-bottom: 50px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}
.menu-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .06);
    display: flex;
    flex-direction: column;
    max-height: 380px;
}
.menu-media {
    border-radius: 8px 8px 0 0;
    height: -webkit-fill-available;
    padding: 10px;
    aspect-ratio: unset;
    background: #efefef;
    display: flex;
    align-items: center;
}
.menu-media img {
    width: 100%;
    height: auto;
    display: block;
}
.menu-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 10px;
    padding: 5px;
    background-color: #ffffff;
    border-radius: 0 0 12px 12px;
}
.menu-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: space-between;
}
.menu-info h3 {
    font-size: 1.123rem;
    line-height: 1.1;
    text-transform: uppercase;
    align-self: start;
    font-family: var(--font-body);
    font-weight: 700;
}
.menu-card p {
    font-size: 0.9rem;
    color: var(--color-gray);
    margin-bottom: unset;
    font-weight: 500;
}
.menu-button {
    cursor: pointer;
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 8px;
    background: #b40000;
    color: #fff;
    font-size: 2rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    pointer-events: none;
    display: none;
}
.menu-section .cta-container{
    margin: 50px 0;
}
@media (max-width:1024px){
    .menu-grid{
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }
}
@media (max-width:640px){
    .menu-grid{
        grid-template-columns:1fr;
        gap:20px;
    }
    .menu-section{
        padding:80px 0;
    }
    .menu-button{
        width:50px;
        height:50px;
    }
}


/* Shared meals */
.scroll-wrapper{
    overflow:hidden;
    width:100%;
    padding-block:50px;
}

.scroll-track{
    display:flex;
    align-items:center;
    gap:8px;
    width:max-content;
    will-change:transform;
    animation-name:marquee;
    animation-timing-function:linear;
    animation-iteration-count:infinite;
}

.scroll-track:hover{
    animation-play-state: paused;
}

@keyframes marquee{
    from{
        transform:translateX(0);
    }
    to{
        transform:translateX(calc(-1 * var(--scroll-width)));
    }
}

.img-card {
    padding: 10px;
    flex-shrink: 0;
    height: 420px;
    overflow: hidden;
    border-radius: 18px;
}

.img-card img{
    height:100%;
    width:auto;
    display:block;
    border-radius: 8px;
}

/* random width variations */

.img-card.w-sm img{
    width:auto;
}

.img-card.w-md img{
    width:auto;
}

.img-card.w-lg img{
    width:auto;
}

.img-card.w-xl img{
    width:auto;
}

.img-card:nth-child(3n + 1) {
    background-color: #fdc689;
}
.img-card:nth-child(3n + 2) {
    background-color: #7accc8;
}
.img-card:nth-child(3n + 3) {
    background-color: #fdacaf;
}

@media (max-width:768px){
    .img-card{
        height:320px;
    }
}

@media (max-width:480px){
    .img-card{
        height:240px;
    }
}

section.shared-meals {
    padding: 12rem 0;
}

.shared-meals h2 {
    font-weight: 900;
    text-transform: uppercase;
    color: var(--brand-dark-red);
    margin-bottom: 15px;
}

.subtext-2 {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--yellow-dark);
    margin: auto;
    text-align: center;
    font-size: clamp(1.2rem, 1.1vw, 1.8rem);
    line-height: 1.2;
}

section.shared-meals .subtext {
    line-height: 1.2;
    /* text-transform: uppercase; */
    font-size: clamp(1.5rem, 1.7vw, 1.9rem);
}





/* More than reviews */

.more-than-reviews {
    padding: 50px 0;
}
section.more-than-reviews .title-container {
    margin-bottom: 40px;
}
.section-title-box.review-title {
    background-color: var(--yellow-dark);
}
.review-container {
    display: flex;
    flex-flow: wrap;
    justify-content: space-around;
}
.review-item {
    position: relative;
    width: 100%;
    max-width: 520px;
    height: fit-content;
    padding: 12px;
}
.review-item.review-left {
    background-color: #ffe2b8;
    transform: rotate(9deg);
}
.review-item.review-right {
    background-color: #ffb8bf;
    transform: rotate(-9deg);
    max-width: 480px;
}


.cta-btn-yellow {
    background-color: var(--yellow-dark);
    color: #ffff;
}

.cta-btn-yellow:hover {
    background-color: var(--yellow-light);
    color: #ffff;
}

/* ======================================== 
FOOTER  
======================================== */

.gerrys-footer {
    position: relative;
    /* background: #f3ead2; */
    /* overflow: hidden; */
    font-family: Arial, sans-serif;
    color: white;
}
.footer-cta {
    position: relative;
    /* background: #f3ead2; */
    text-align: center;
    padding: 60px 0 200px;
}
.footer-cta h2 {
    color: var(--brand-dark-red);
    font-size: clamp(25px, 4vw, 44px);
    line-height: 1.1;
    margin: 30px 0;
    text-transform: uppercase;
    font-family: var(--font-heading);
}
.food-display {
    z-index: 5;
    max-width: 540px;
    position: relative;
}
.food-display.bottom {
    bottom: 0;
    right: 0;
    position: absolute;
}

.mask-container{
    margin-top: -5rem;
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}
.footer-curve {
    background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%20width%3D%221366px%22%20height%3D%22303px%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20fill%3D%22rgb%28164%2C0%2C0%29%22%20d%3D%22M-0.000%2C303.000%20C173.194%2C113.055%20417.802%2C3.225%20675.000%2C1.000%20C937.743%2C-1.273%201189.045%2C108.959%201366.000%2C303.000%20C910.667%2C303.000%20455.333%2C303.000%20-0.000%2C303.000%20Z%22/%3E%3C/svg%3E);
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 140px;
    z-index: 1;
    bottom: 0;
}

footer {
    background-color: #a40000;
}

.footer-main {
    margin-top: -2px;
    background-color: #a40000;
    position: relative;
    z-index: 2;
}

.footer-logo {
    width: 260px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-weight: bold;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.footer-column {
    padding: 10px;
}

.footer-column h3 {
    margin-bottom: 24px;
    font-size: clamp(1.2rem, 1.8vw, 2rem);
    color: var(--yellow-light);
    font-weight: bold;
}

.footer-column p {
    line-height: 1.8;
    margin-bottom: 18px;
    font-size: 18px;
}
.delivery-section {
    margin-top: 30px;
}
.delivery-section h4 {
    margin-bottom: 16px;
    font-size: 20px;
}
.delivery-apps {
    display: flex;
    gap: 10px;
}
.delivery-app {
    flex: 1;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.gerry-info > p, .gerry-hours > p {
    color: #d5d5d5;
    font-size: 0.94rem;
}

.gerry-info > p, .gerry-info > h3, .gerry-hours > p, .gerry-hours > h3 {
    margin: 0;
    line-height: 1.4;
}
.gerry-info {
    display: flex;
    color: #f3f3f3 !important;
    flex-flow: column;
    gap: 12px;
}

.gerry-info.quicklinks a {
    color: var(--yellowlight);
    font-size: 16px;
}
.gerry-info.quicklinks {
    align-items: center;
    text-align: center;
}

.gerry-info.quicklinks a {
    color: #dfdfdf;
    font-size: 16px;
    margin: 11px 0;
    display: block;
}

.gerry-hours {
    display: flex;
    flex-flow: column;
    justify-content: end;
    margin-top: auto;
    align-self: end;
    justify-self: end;
    margin-bottom: 0;
    height: -webkit-fill-available;
    max-height: 300px;
    gap: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    text-decoration: underline;
}

.socials-container {
    display: flex;
    flex-flow: row;
    gap: 8px;
    width: 100%;
    max-width: 296px;
    justify-content: start;
    align-items: center;
    margin: 16px 0;
}

a.social-item > svg {
    fill: var(--yellow-dark);
    width: 40px;
    height: 40px;
    display: block;
    transition: all 0.3s linear;
}
a.social-item > :hover {
    fill: var(--yellow-light);
}


@media (max-width: 1000px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .food-showcase {
        flex-direction: column;
        align-items: center;
    }
    .footer-main {
        padding: 20px 14px;
    }
}

/* ===============================
    Mobile Response
 ================================= */

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 1000px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .food-showcase {
        flex-direction: column;
        align-items: center;
    }
    .footer-main {
        padding: 20px 14px;
    }
}
@media (min-width: 769px ) and ( max-width:920px){
    .meal-item.meal-item-canton {
        top: -30% !important;
        right: -20% !important;
    }

    .food-display.bottom {
        bottom: -75px !important;
    }

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

    footer .footer-column:last-child {
        grid-column: span 2;
    }
}
@media (max-width: 768px){
    .site-header.scrolled {
        background-color: unset !important;
        box-shadow: unset !important;
    }


    section.hero.banner-hero h1 {
        text-align: center;
    }

    .mobilehide{
        display: none!important;
    }
    .meal-container {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-flow: column-reverse;
        height: fit-content !important;
    }
    .food-display{
        max-width: 380px;
    }
    .meal-item.meal-item-canton, .meal-item.meal-item-shanghai {
        position: relative;
        max-width: 400px;
        top: unset;
        bottom: unset;
        display: block;
    }
    .meal-item.meal-item-shanghai {
        max-width: 320px;
    }
    .menu-item {
        height: fit-content !important;
        margin: 25px 5px;
    }
    /* best sellers */
    .best-seller {
        padding: 80px 0;
    }
    .best-seller .column{
        height: unset;
    }
    section.shared-meals {
        padding: 6rem 0;
    }
    .menu-card{
        min-height: unset;
    }
    .review-item {
        width: 90%;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--brown-dark);
        padding: 20px 24px;
        border-top: 1px solid var(--color-gray-light);
        box-shadow: var(--shadow);
    }

    .main-nav.open {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 16px;
    }

    .menu-toggle {
        display: flex;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .order-type-options {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

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

    .section {
        padding: 50px 0;
    }

    section.hero.banner-hero {
        min-height: 600px !important;
        text-align: center;
    }

}
@media (max-width:620px){
    .svg-bottom-yellow {
        height: 420px;
    }
}
@media (max-width: 640px) {
    .main-menu-page .menu-card {
        min-height: unset;
        display: block;
        margin: 29px auto;
        max-width: 300px;
    }
}
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    .cart-sidebar {
        width: 100vw;
    }

}
