/* =========================================================
   CORNER BAR WEBSITE — MAIN STYLESHEET
   Complete replacement stylesheet
   ========================================================= */

/* 1. FONTS */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500;1,600&display=swap');


/* 2. COLOURS AND GLOBAL SETTINGS */
:root {
    --ink: #25281f;
    --muted: #65685d;
    --cream: #fbf8f1;
    --green: #3d5139;
    --green2: #dce5d5;
    --peach: #f2d8c7;
    --line: #e7e1d6;
    --white: #ffffff;
    --shadow: 0 12px 40px #25281f0d;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: "DM Sans", Arial, sans-serif;
    line-height: 1.55;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #8b9b7b;
    outline-offset: 3px;
}


/* 3. HEADER AND BRAND */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px clamp(20px, 6vw, 88px);
    border-bottom: 1px solid var(--line);
    background: #fbf8f1ee;
    position: sticky;
    top: 0;
    z-index: 3;
    backdrop-filter: blur(12px);
}

.brand {
    font: 600 25px "Playfair Display", serif;
    text-decoration: none;
    color: var(--ink);
}

.brand span {
    color: #52634b;
    font-style: italic;
}

.site-header nav {
    display: flex;
    gap: 24px;
}

.site-header nav a {
    color: var(--ink);
    text-decoration: none;
    font-size: 14px;
}

.site-header nav a:hover {
    color: var(--green);
}


/* 4. HERO SECTION */
.hero {
    padding: clamp(70px, 12vw, 150px) 20px;
    text-align: center;
    background:
        radial-gradient(ellipse at 15% 20%, #f2d8c7aa, transparent 35%),
        radial-gradient(ellipse at 85% 75%, #dce5d5, transparent 35%);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 11px;
    font-weight: 700;
    color: var(--green);
}

h1,
h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 500;
    line-height: 1.1;
}

h1 {
    font-size: clamp(44px, 7vw, 82px);
    margin: 15px 0;
}

h1 em {
    color: var(--green);
}

.hero > p:not(.eyebrow) {
    color: var(--muted);
    margin: 22px 0 30px;
}


/* 5. BUTTONS */
.button {
    display: inline-block;
    border: 0;
    border-radius: 999px;
    padding: 13px 22px;
    background: var(--green);
    color: var(--white);
    font: 600 14px "DM Sans", sans-serif;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.button:hover {
    background: #2d3e2a;
    transform: translateY(-1px);
}

.small-button {
    border: 1px solid var(--green);
    border-radius: 999px;
    background: var(--white);
    color: var(--green);
    padding: 9px 14px;
    cursor: pointer;
    font-weight: 600;
}

.small-button:hover {
    background: var(--green);
    color: var(--white);
}


/* 6. GENERAL PAGE SECTIONS */
.section {
    max-width: 1160px;
    margin: auto;
    padding: 80px 24px;
}

.section-heading {
    text-align: center;
    margin-bottom: 34px;
}

.section-heading h2,
.order-section h2 {
    font-size: clamp(34px, 4vw, 48px);
    margin: 8px 0;
}

.section-heading > p:last-child,
.order-section > div > p:not(.eyebrow) {
    color: var(--muted);
}


/* 7. MENU GRID AND MENU CARDS */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}


.menu-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: minmax(112px, 34%) minmax(0, 1fr);
    gap: 0;
    padding: 0;
    overflow: hidden;
    align-items: stretch;
    min-height: 220px;
}

.menu-card .tag {
    font-size: 11px;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: .1em;
}

.menu-card h3 {
    font: 600 23px "Playfair Display", serif;
    margin: 8px 0;
}


.menu-card p {
    color: var(--muted);
    font-size: 14px;
    margin: 0 0 20px;
}


.menu-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.price {
    font-weight: 700;
}


/* 8. ORDER SECTION AND BASKET */
.order-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    background: #f4efe5;
    max-width: none;
    padding-left: max(24px, calc((100% - 1112px) / 2));
    padding-right: max(24px, calc((100% - 1112px) / 2));
}

.basket,
.checkout {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 22px;
    margin-top: 20px;
}

.basket-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}

.basket-row button {
    border: 0;
    background: none;
    color: #9b4538;
    cursor: pointer;
}

.basket-total {
    display: flex;
    justify-content: space-between;
    padding-top: 16px;
    font-weight: 700;
}


/* 9. CHECKOUT FORM */
.checkout h3 {
    font: 600 25px "Playfair Display", serif;
    margin: 0 0 18px;
}

.checkout label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin: 13px 0;
}

.checkout input,
.checkout select,
.checkout textarea,
.login-form input {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 12px;
    border: 1px solid #d9d4ca;
    border-radius: 10px;
    background: var(--white);
    font: inherit;
    color: var(--ink);
}

.checkout input:focus,
.checkout select:focus,
.checkout textarea:focus {
    outline: 2px solid #9cac8f;
    border-color: transparent;
}

.fine-print {
    font-size: 12px;
    color: var(--muted);
}

#checkout-message {
    font-size: 14px;
    color: var(--green);
}


/* 10. FOOTER */
footer {
    padding: 30px 20px;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    border-top: 1px solid var(--line);
}

.footer-grid a {
    text-decoration: none;
}

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


/* 12. ADMIN DASHBOARD */
.admin-wrap {
  max-width:1600px;
    margin: auto;
    padding: 45px 20px;
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.admin-header h1 {
    font-size: 42px;
    margin: 5px 0;
}

.admin-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.secondary {
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    color: var(--ink);
    padding: 11px 16px;
    text-decoration: none;
    cursor: pointer;
}

.notice {
    padding: 13px 16px;
    background: #f2e8d5;
    border-radius: 12px;
    color: #5c4c2c;
    font-size: 13px;
    margin: 20px 0;
}


/* 13. ADMIN LOGIN */
.login-card {
    max-width: 440px;
    margin: 9vh auto;
    background: var(--white);
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 18px;
}

.login-card h1 {
    font-size: 36px;
}

.login-form label {
    display: block;
    margin: 16px 0;
    font-size: 14px;
    font-weight: 600;
}


/* 14. ADMIN TABLES */
.table-wrap {
    overflow-x: auto;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 15px;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

th,
td {
    text-align: left;
    padding: 14px;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
    vertical-align: top;
}

th {
    background: #f6f2e9;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 10px;
}

td select {
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.status {
    display: inline-block;
    border-radius: 999px;
    background: var(--green2);
    padding: 4px 9px;
    font-size: 11px;
}

.empty {
    text-align: center;
    padding: 35px;
    color: var(--muted);
}


/* 15. TABLET AND MOBILE RESPONSIVE STYLES */
@media (max-width: 760px) {
    .site-header {
        padding: 15px 18px;
    }

    .brand {
        font-size: 22px;
    }

    .site-header nav {
        gap: 13px;
    }

    .site-header nav a {
        font-size: 12px;
    }

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

    .section {
        padding: 55px 18px;
    }

    .order-section {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 55px 18px;
    }

    .hero {
        padding: 80px 18px;
    }

    .admin-header h1 {
        font-size: 34px;
    }

    .login-card {
        margin: 30px 16px;
        padding: 23px;
    }

}


/* TABLET GRID */
@media (min-width: 761px) and (max-width: 1000px) {
    .menu-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}



/* CENTRE AND FIX FOOTER SOCIAL ICON SIZES */

.footer-grid .social-links {
    width: 100%;
    margin: 14px 0 12px;
    padding: 0;
}




/* CORNER BAR - CIRCULAR GOOGLE MAP */

.footer-visit .visit-map {
    width: min(100%, 320px);
    aspect-ratio: 1 / 1;
    height: auto;
    margin: 24px auto 0;
    border: 5px solid #ffffff;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
    background: #e9ede6;
}

.footer-visit .visit-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: 0;
    border-radius: 0;
}




/* FOOTER CONTACT DETAILS */

.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 45px;
    align-items: start;
}

.footer-contact-details a {
    display: inline-flex !important;
    align-items: center;
    gap: 12px;
    color: #f0c98b !important;
    font-size: 15px !important;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact-details a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

.contact-symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    background: #f0c98b;
    color: #1d3d32;
    border-radius: 50%;
    font-size: 17px;
}


@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-contact-details {
        gap: 16px;
    }
}



/* CORNER BAR MENU PHOTOS: Each menu card has a dedicated image slot. Add image_url in product records. */
.menu-photo{min-height:160px;background:#f3eee7;display:flex;align-items:center;justify-content:center;color:#776d61;font-size:.82rem;overflow:hidden}
.menu-photo img{width:100%;height:100%;min-height:160px;object-fit:cover;display:block}
.menu-card-content{padding:18px;min-width:0}
@media(max-width:600px){.menu-card{grid-template-columns:108px minmax(0,1fr)}.menu-photo,.menu-photo img{min-height:145px}.menu-card-content{padding:12px}}

/* CORNER BAR UPDATE: About, offers and FAQs are complete public content sections. */
.info-section{max-width:1000px}
.info-copy{max-width:760px;margin:0 auto;color:var(--muted);font-size:16px}
.offer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.offer-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px;box-shadow:var(--shadow)}
.offer-label{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--green);font-weight:700}
.offer-card h3{font:600 23px "Playfair Display",serif;margin:10px 0}
.offer-card p,.faq-section details p{color:var(--muted)}
.faq-section details{background:#fff;border:1px solid var(--line);border-radius:12px;padding:17px 20px;margin:12px 0}
.faq-section summary{cursor:pointer;font-weight:700}
.faq-section details p{margin:12px 0 0}

/* BASKET UPDATE: clear product thumbnail, unit price, line total and quantity controls. */
.basket-row{align-items:center;padding:15px 0;gap:14px}
.basket-item-visual{display:flex;align-items:center;gap:13px;min-width:0}
.basket-item-visual img,.basket-photo-placeholder{width:76px;height:76px;flex:0 0 76px;object-fit:cover;border-radius:12px;background:#f3eee7}
.basket-photo-placeholder{display:grid;place-items:center;color:var(--green);font-weight:700}
.basket-item-copy{display:grid;gap:3px;min-width:0}
.basket-item-copy small{color:var(--muted)}
.basket-item-copy b{color:var(--green)}
.basket-controls{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.basket-controls button{border:1px solid var(--line);border-radius:8px;background:#fff;min-width:34px;height:34px;cursor:pointer;font-weight:700;color:var(--ink)}
.basket-controls .basket-remove{border:0;color:#9b4538;font-weight:600}

/* FOOTER ALIGNMENT: centre phone and email while keeping social icons at their original 40px size. */
.footer-contact-details{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;text-align:center;margin:18px auto 0;width:100%}

.footer-contact-details a {
    justify-content: center;
    gap: 8px;
}

.footer-contact{text-align:center}
.footer-contact .social-links{justify-content:center!important}

@media(max-width:760px){.offer-grid{grid-template-columns:1fr}.site-header{align-items:flex-start;gap:12px;flex-wrap:wrap}.site-header nav{order:3;width:100%;gap:14px;flex-wrap:wrap}.basket-row{align-items:flex-start;flex-direction:column}.basket-controls{width:100%}}

/* HEADER BASKET BADGE: works on desktop and mobile; hidden at zero. */
.site-header nav .header-basket-link { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.header-basket-icon { width: 19px; height: 19px; flex: 0 0 auto; }
.basket-count { display: inline-flex; align-items: center; justify-content: center; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 999px; background: #a33b32; color: #fff; font: 700 12px/1 system-ui, sans-serif; box-sizing: border-box; }
.basket-count[hidden] { display: none; }


/* Corner Bar - expandable product descriptions */

.product-description {
    margin: 12px 0;
    border-top: 1px solid #e3e9e4;
    padding-top: 10px;
}

.product-description summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    color: #1d3d32;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 5px 0;
    list-style: none;
}

.product-description summary::-webkit-details-marker {
    display: none;
}

.product-description summary::after {
    content: "⌄";
    font-size: 1.3rem;
    line-height: 1;
    transition: transform 0.2s ease;
}

.product-description[open] summary::after {
    transform: rotate(180deg);
}


.menu-card .product-description p,
.offers-card .product-description p {
    margin: 10px 0 4px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #526057;
}



/* CORNER BAR - CONSISTENT SOCIAL ICON SIZES */

html body footer .footer-grid .social-links {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
}

html body footer .footer-grid .social-links a.social-icon {
    display: inline-flex !important;
    box-sizing: border-box !important;
    flex: 0 0 40px !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    padding: 0 !important;
    margin: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    overflow: hidden !important;
}

html body footer .footer-grid .social-links a.social-icon svg {
    display: block !important;
    flex: 0 0 20px !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    max-width: 20px !important;
    min-height: 20px !important;
    max-height: 20px !important;
}


/* Corner Bar - clear separation above copyright footer */
.footer-bottom {
    margin-top: 48px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}


/* CORNER BAR - MATCH FOOTER HEADINGS TO MENU AND OFFERS */

.footer-contact h4,
.footer-visit h4 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 500;
    line-height: 1.1;
    color: var(--ink);
    margin: 8px 0 24px;
}


/* CORNER BAR - VIEW FULL MENU BUTTON */

.menu-view-all {
    display: flex;
    justify-content: center;
    margin: 36px 0 12px;
}

.menu-view-all-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 30px;
    background: #3d5139;
    color: #ffffff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.menu-view-all-button:hover {
    background: #2d3e2a;
    color: #ffffff;
    transform: translateY(-2px);
}


/* CORNER BAR - HIDE DELIVERY FIELDS FOR COLLECTION */

#delivery-fields[hidden] {
    display: none !important;
}


/* CORNER BAR - DELIVERY CONTACT BUTTONS */

.delivery-contact-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 22px 0;
}

.delivery-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 10px;
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none !important;
  transition: background-color 0.2s ease,
              transform 0.2s ease;
}

.delivery-contact-button svg {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
}

.delivery-contact-button.phone-button {
  background-color: #173a56;
}

.delivery-contact-button.phone-button:hover {
  background-color: #245b83;
  transform: translateY(-2px);
}

.delivery-contact-button.whatsapp-button {
  background-color: #168a4a;
}

.delivery-contact-button.whatsapp-button:hover {
  background-color: #116c3a;
  transform: translateY(-2px);
}

.delivery-contact-button:focus-visible {
  outline: 3px solid #f5b942;
  outline-offset: 3px;
}

@media (max-width: 480px) {
  .delivery-contact-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .delivery-contact-button {
    width: 100%;
    box-sizing: border-box;
  }
}

@media (prefers-reduced-motion: reduce) {
  .delivery-contact-button {
    transition: none;
  }
}

/* Staff orders table: prevent long text from widening columns */
#orders-table {
    table-layout: fixed;
    width: 100%;
}

#orders-table th,
#orders-table td {
    overflow-wrap: anywhere;
    word-break: normal;
}

/* Corner Bar: show full product photos without cropping */
.product-card img,
.menu-card img,
.menu-item img,
.food-card img,
.offer-card img,
.offers-card img {
    width: 100%;
    height: 220px;
    object-fit: contain !important;
    object-position: center;
    background: #f5f5f5;
}


/* Corner Bar: larger full-height menu photos */
@media (min-width: 601px) {
    .menu-card {
        grid-template-columns: minmax(0, 40%) minmax(0, 60%);
    }
}

.menu-card .menu-photo {
    min-height: 260px;
    height: 100%;
    overflow: hidden;
    background: #f5f5f5;
}

.menu-card .menu-photo img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: contain !important;
    object-position: center;
}

@media (max-width: 600px) {
    .menu-card {
        grid-template-columns: minmax(125px, 38%) minmax(0, 1fr);
    }
    .menu-card .menu-photo,
    .menu-card .menu-photo img {
        min-height: 190px;
    }
}


/* Corner Bar: tidy product details and basket buttons */
.menu-card .menu-card-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 24px;
    min-width: 0;
}

.menu-card .menu-card-content h3 {
    margin: 0;
}

.menu-card .menu-card-content p {
    margin: 0;
}

.menu-card .menu-card-bottom {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.menu-card .menu-card-bottom button {
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .menu-card .menu-card-content {
        padding: 14px;
        gap: 10px;
    }
    .menu-card .menu-card-bottom {
        flex-wrap: wrap;
    }
}


/* Corner Bar: responsive landscape product photos */
@media (min-width: 761px) {
    .menu-card {
        grid-template-columns: minmax(0, 48%) minmax(0, 52%);
        min-height: 200px;
    }

    .menu-card .menu-photo {
        min-height: 200px;
        height: 100%;
    }

    .menu-card .menu-photo img {
        width: 100%;
        height: 100%;
        min-height: 0;
        object-fit: contain !important;
        object-position: center;
    }
}

@media (max-width: 760px) {
    .menu-card .menu-photo img {
        width: 100%;
        height: 100%;
        object-fit: contain !important;
        object-position: center;
    }
}

/* Corner Bar: keep menu prices and basket buttons inside cards */
.menu-card .menu-card-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-width: 0;
}

.menu-card .menu-card-bottom .price {
    flex: 0 0 auto;
}

.menu-card .menu-card-bottom button {
    max-width: 100%;
    min-width: 0;
    white-space: normal;
    text-align: center;
    overflow-wrap: anywhere;
}

/* Restore a visible description arrow wherever a description exists */
.menu-card .product-description summary::after {
    content: "▼";
    display: inline-block;
    margin-left: 8px;
    font-size: 12px;
    flex-shrink: 0;
}

.menu-card .product-description[open] summary::after {
    transform: rotate(180deg);
}


/* cornerbar-allergen-red-labels */
.cb-public-allergens {
    margin-top: 4px;
    margin-bottom: 4px;
}

.cb-public-allergens > summary {
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

.cb-public-allergens.cb-allergen-alert > summary,
.cb-public-allergens.cb-allergen-alert > summary::marker,
.cb-public-allergens.cb-allergen-alert > summary::before,
.cb-public-allergens.cb-allergen-alert > summary::after {
    color: #c62828 !important;
}

.cb-public-allergens.cb-allergen-alert > summary {
    font-weight: 600;
}

.cb-public-allergens p {
    font-size: 12px;
    line-height: 1.5;
    margin-top: 5px;
}


/* cornerbar-basket-allergens */
.basket-item-copy .cb-basket-allergens {
    display: block;
    font-size: 11px;
    line-height: 1.45;
    margin: 3px 0;
    white-space: normal;
    overflow-wrap: anywhere;
}

.cb-basket-allergens > span {
    display: block;
}

.cb-basket-allergen-red {
    color: #c62828 !important;
    font-weight: 600;
}

.cb-basket-allergen-pending {
    color: #946200 !important;
    font-weight: 500;
}


/* cornerbar-allergen-disabled-buttons */
.small-button[data-add]:disabled,
.offers-button:disabled,
.basket-controls button[data-plus]:disabled {
    background: #eeeeee !important;
    color: #777777 !important;
    border-color: #dddddd !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    opacity: 1 !important;
}

.small-button[data-add]:disabled,
.offers-button:disabled {
    font-size: 11px;
}

/* CORNER BAR - RESPONSIVE FOOTER */
footer .footer-grid {
    max-width: 1100px;
    margin: 0 auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    align-items: start;
}
footer .footer-contact,
footer .footer-visit {
    min-width: 0;
    text-align: center;
}
footer .footer-contact h4,
footer .footer-visit h4 {
    font-size: clamp(26px, 3vw, 36px);
    margin: 0 0 20px;
}
footer .footer-contact-details a {
    color: #1d3d32 !important;
    overflow-wrap: anywhere;
    max-width: 100%;
}
footer .footer-contact-details a:hover {
    color: #006b63 !important;
}
footer .footer-visit p {
    margin: 8px 0;
    line-height: 1.5;
}
footer .footer-visit .visit-map {
    width: min(100%, 240px);
    box-sizing: border-box;
    margin: 20px auto 0;
}
footer .footer-bottom {
    max-width: 1100px;
    margin: 30px auto 0;
    padding-top: 20px;
    text-align: center;
}
@media (max-width: 760px) {
    footer {
        padding: 28px 16px;
    }
    footer .footer-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }
    footer .footer-contact-details a {
        font-size: 14px !important;
    }
    footer .footer-visit .visit-map {
        width: min(100%, 220px);
    }
    footer .footer-bottom {
        margin-top: 24px;
    }
}

/* CORNER BAR - RESPONSIVE FOOTER */
footer .footer-grid {
    max-width: 1100px;
    margin: 0 auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    align-items: start;
}
footer .footer-contact,
footer .footer-visit {
    min-width: 0;
    text-align: center;
}
footer .footer-contact h4,
footer .footer-visit h4 {
    font-size: clamp(26px, 3vw, 36px);
    margin: 0 0 20px;
}
footer .footer-contact-details a {
    color: #1d3d32 !important;
    overflow-wrap: anywhere;
    max-width: 100%;
}
footer .footer-contact-details a:hover {
    color: #006b63 !important;
}
footer .footer-visit p {
    margin: 8px 0;
    line-height: 1.5;
}
footer .footer-visit .visit-map {
    width: min(100%, 240px);
    box-sizing: border-box;
    margin: 20px auto 0;
}
footer .footer-bottom {
    max-width: 1100px;
    margin: 30px auto 0;
    padding-top: 20px;
    text-align: center;
}
@media (max-width: 760px) {
    footer {
        padding: 28px 16px;
    }
    footer .footer-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }
    footer .footer-contact-details a {
        font-size: 14px !important;
    }
    footer .footer-visit .visit-map {
        width: min(100%, 220px);
    }
    footer .footer-bottom {
        margin-top: 24px;
    }
}

/* Corner Bar - responsive header logo */
.site-header:has(.brand-logo) {
    padding-top: 10px;
    padding-bottom: 10px;
}
.brand:has(.brand-logo) {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}
.brand .brand-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
}
.brand .brand-name {
    color: var(--ink);
    font-style: normal;
}
@media (max-width: 760px) {
    .brand .brand-logo {
        width: 42px;
        height: 42px;
    }
    .brand:has(.brand-logo) {
        gap: 6px;
    }
    .site-header:has(.brand-logo) {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    .site-header:has(.brand-logo) nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Corner Bar - transparent logo refinement */
.brand .brand-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
}
.site-header:has(.brand-logo) {
    padding-top: 5px;
    padding-bottom: 5px;
}
@media (max-width: 760px) {
    .brand .brand-logo {
        width: 50px;
        height: 50px;
    }
}

/* Transparent logo refinement */
.brand .brand-logo { width: 70px; height: 70px; object-fit: contain; }
.site-header:has(.brand-logo) { padding-top: 5px; padding-bottom: 5px; }
@media (max-width: 760px) { .brand .brand-logo { width: 50px; height: 50px; } }

/* Corner Bar: automatic full-image fitting */
.menu-card .menu-photo {
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
}
.menu-card .menu-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain !important;
    object-position: center;
    display: block;
}
.product-card img,
.menu-item img,
.food-card img,
.offer-card img,
.offers-card img,
.basket-item-visual img {
    object-fit: contain !important;
    object-position: center;
}

/* Corner Bar: vertical product cards */
.menu-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    min-height: 0;
    overflow: hidden;
}
.menu-card .menu-photo {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1 / 1;
    background: #f5f5f5;
}
.menu-card .menu-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain !important;
    object-position: center;
}
.menu-card .menu-card-content {
    padding: 18px;
}
@media (max-width: 600px) {
    .menu-card .menu-card-content {
        padding: 14px;
    }
}

/* Corner Bar: edge-to-edge product photographs */
.menu-card .menu-photo img {
    object-fit: cover !important;
    object-position: center;
}

/* Corner Bar: edge-to-edge promotional photographs */
.offers-card > img,
.offer-card > img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover !important;
    object-position: center;
}


/* CORNER BAR PREMIUM HOMEPAGE HERO */

.hero.cb-hero {
    background: linear-gradient(135deg, #192a24, #284638);
    color: #ffffff;
    padding: clamp(45px, 7vw, 95px) 6%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(25px, 5vw, 70px);
    text-align: left;
}

.cb-hero-content {
    min-width: 0;
}

.cb-hero-eyebrow {
    color: #e7c88e;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .15em;
    margin: 0 0 20px;
}

.cb-hero h1 {
    color: #ffffff;
    font-size: clamp(38px, 5vw, 76px);
    line-height: 1.08;
    margin: 0 0 24px;
}

.cb-hero h1 span {
    display: block;
    color: #e7c88e;
}

.cb-hero-description {
    color: #e0e6df;
    font-size: clamp(16px, 1.5vw, 19px);
    line-height: 1.7;
    max-width: 540px;
    margin-bottom: 30px;
}

.cb-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cb-hero .cb-hero-primary {
    background: #e7c88e;
    color: #192a24;
    padding: 15px 26px;
}

.cb-hero .cb-hero-primary:hover {
    background: #f4dcae;
}

.cb-hero .cb-hero-secondary {
    background: transparent;
    border: 1px solid #e7c88e;
    color: #ffffff;
    padding: 14px 25px;
}

.cb-hero .cb-hero-secondary:hover {
    background: rgba(255,255,255,.08);
}

.cb-hero-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    margin-top: 30px;
    color: #e0e6df;
    font-size: 13px;
}

.cb-hero-benefits span::before {
    content: "\2713";
    color: #e7c88e;
    margin-right: 7px;
}

.cb-hero-images {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    align-items: center;
}

.cb-hero-images img {
    display: block;
    width: 100%;
    height: clamp(180px, 27vw, 420px);
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,.2);
}

.cb-hero-images img:nth-child(2) {
    transform: translateY(-15px);
}

@media (max-width: 760px) {
    .hero.cb-hero {
        grid-template-columns: 1fr;
        padding: 45px 20px 35px;
        text-align: center;
        gap: 35px;
    }

    .cb-hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .cb-hero-actions,
    .cb-hero-benefits {
        justify-content: center;
    }

    .cb-hero-images img {
        height: clamp(130px, 40vw, 260px);
        border-radius: 12px;
    }
}



/* CORNER BAR LOCAL INTRODUCTION */

.cb-local-intro {
    background: #f5f1e8;
    padding: clamp(45px, 7vw, 90px) 6%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(30px, 5vw, 70px);
}

.cb-local-eyebrow {
    color: #526c50;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    margin-bottom: 16px;
}

.cb-local-content h2 {
    color: #192a24;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.15;
    margin: 0 0 24px;
}

.cb-local-content > p:not(.cb-local-eyebrow) {
    color: #435048;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 18px;
}

.cb-local-content .button {
    margin-top: 12px;
    background: #192a24;
    color: #ffffff;
}

.cb-local-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.cb-local-feature {
    background: #ffffff;
    border: 1px solid #e4ded0;
    border-top: 3px solid #c6a66b;
    border-radius: 14px;
    padding: 25px 20px;
    box-shadow: 0 5px 18px rgba(25,42,36,.04);
}

.cb-local-feature h3 {
    color: #192a24;
    font-size: 19px;
    margin: 0 0 10px;
}

.cb-local-feature p {
    color: #526052;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 760px) {
    .cb-local-intro {
        grid-template-columns: 1fr;
        padding: 45px 20px;
        gap: 30px;
    }

    .cb-local-feature {
        padding: 20px 15px;
    }
}

@media (max-width: 360px) {
    .cb-local-features {
        grid-template-columns: 1fr;
    }
}

