/*
Theme Name: YAAZH Theme
Author: YAAZH
Description: Professional grocery e-commerce theme for YAAZH CITY
Version: 3.0
*/

:root {
    /* ---- Shape scale ----
       One set of corner sizes for the whole site, instead of the 19 that
       had built up page by page. Change a value here and every page
       follows. Each use also carries its own fallback, so a page can never
       lose its corners if this stylesheet fails to load.
         sm   = small details (badges' inner parts, tiny controls)
         md   = buttons, inputs and small tiles
         lg   = cards and panels
         pill = fully rounded buttons and badges                       */
    --yz-r-sm: 8px;
    --yz-r-md: 12px;
    --yz-r-lg: 20px;
    --yz-r-pill: 999px;
    --yz-shadow-card: 0 10px 30px rgba(0, 0, 0, 0.04);

    --yaazh-red: #E30613;
    --yaazh-yellow: #FFD100;
    --text-dark: #1A1A1A;
    --text-light: #555555;
    --bg-light: #F8F9FA;
    --white: #FFFFFF;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* --- Header --- */
.site-header {
    background: var(--white);
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--yaazh-red);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-dark);
    margin: 0 20px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--yaazh-red);
}

.header-actions .btn-primary {
    background-color: var(--yaazh-yellow);
    color: var(--text-dark);
    padding: 10px 24px;
    border-radius: var(--yz-r-pill, 999px);
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255, 209, 0, 0.3);
}

/* --- Vibrant Grocery Hero Section (YAAZH Red) --- */
.hero-section {
    background-color: var(--yaazh-red);
    margin: 30px 40px;
    border-radius: var(--yz-r-lg, 20px);
    padding: 70px 50px;
    color: var(--white);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(227, 6, 19, 0.25);
}

.hero-content {
    max-width: 60%;
    z-index: 2;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.2);
    display: inline-block;
    padding: 6px 16px;
    border-radius: var(--yz-r-lg, 20px);
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.hero-content h1 {
    font-size: clamp(2rem, 7vw, 3.8rem);
    line-height: 1.15;
    margin-bottom: 20px;
    font-weight: 900;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.5;
}

.btn-hero {
    background-color: var(--yaazh-yellow);
    color: var(--text-dark);
    padding: 15px 35px;
    border-radius: var(--yz-r-pill, 999px);
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

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

/* --- Visual Features Bar --- */
.features-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: -30px auto 40px auto;
    padding: 0 40px;
    position: relative;
    z-index: 10;
}

.feature-box {
    background: var(--white);
    padding: 25px 20px;
    border-radius: var(--yz-r-lg, 20px);
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--yz-shadow-card, 0 10px 30px rgba(0,0,0,0.04));
    border: 1px solid rgba(0,0,0,0.03);
}

.feature-icon {
    font-size: 2rem;
    background: rgba(227, 6, 19, 0.08);
    padding: 12px;
    border-radius: var(--yz-r-md, 12px);
}

.feature-text h4 {
    margin: 0 0 4px 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.feature-text p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* --- Top Categories --- */
.categories-section {
    padding: 40px;
    text-align: center;
}

.categories-section h2 {
    font-size: 2.3rem;
    margin-bottom: 35px;
    font-weight: 800;
}

.category-grid {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.category-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: var(--yz-r-lg, 20px);
    width: 160px;
    box-shadow: var(--yz-shadow-card, 0 10px 30px rgba(0,0,0,0.04));
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(0,0,0,0.03);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(227, 6, 19, 0.1);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.category-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0;
}

/* --- WhatsApp Community Section --- */
.whatsapp-section {
    padding: 20px 40px 60px 40px;
}

.whatsapp-card {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: var(--yz-r-lg, 20px);
    padding: 50px;
    color: var(--white);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.25);
    position: relative;
    overflow: hidden;
}

.whatsapp-content {
    max-width: 60%;
    z-index: 2;
}

.whatsapp-badge {
    background: rgba(255, 255, 255, 0.25);
    display: inline-block;
    padding: 6px 16px;
    border-radius: var(--yz-r-lg, 20px);
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 0.85rem;
}

.whatsapp-card h2 {
    font-size: 2.4rem;
    margin: 0 0 15px 0;
    font-weight: 800;
}

.whatsapp-card p {
    font-size: 1.1rem;
    margin: 0 0 30px 0;
    opacity: 0.95;
}

.btn-whatsapp {
    background-color: var(--white);
    color: #128C7E;
    padding: 15px 35px;
    border-radius: var(--yz-r-pill, 999px);
    text-decoration: none;
    font-weight: 800;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

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

.whatsapp-icon-large {
    font-size: 9rem;
    opacity: 0.2;
    position: absolute;
    right: 40px;
    bottom: -30px;
}

/* --- Footer with Tiger on the Right --- */
.site-footer {
    background: linear-gradient(160deg, var(--yaazh-red) 0%, #b8050f 100%);
    background-image:
        linear-gradient(160deg, var(--yaazh-red) 0%, #b8050f 100%),
        repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 2px, transparent 2px, transparent 14px);
    color: var(--white);
    padding: 46px 40px 22px 40px;
    position: relative;
    overflow: hidden;
}

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 46px;
    transform: translateY(-98%);
    display: block;
    line-height: 0;
}

.footer-watermark {
    position: absolute;
    right: -30px;
    bottom: -30px;
    width: 220px;
    height: 220px;
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
}

.footer-grid, .footer-payments, .footer-bottom {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto 22px auto;
    align-items: start;
}

.footer-col h3 {
    font-size: 1rem;
    margin-bottom: 12px;
    font-weight: 800;
    color: var(--yaazh-yellow);
}

.footer-col p, .footer-col a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    margin-bottom: 8px;
    display: block;
    font-size: 0.88rem;
}

.footer-col a:hover {
    color: var(--yaazh-yellow);
}

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.footer-social-btn {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    padding: 8px 15px;
    border-radius: var(--yz-r-lg, 20px);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.footer-social-btn:hover {
    background: var(--yaazh-yellow);
    color: var(--text-dark);
}

.footer-tiger-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(0, 0, 0, 0.1);
    padding: 25px;
    border-radius: var(--yz-r-lg, 20px);
}

.footer-tiger {
    width: 130px;
    height: auto;
    margin-bottom: 15px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
}

.footer-tiger-small {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 0;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.2));
    flex-shrink: 0;
}

/* Payment trust badges row */
.footer-payments {
    max-width: 1200px;
    margin: 0 auto 16px auto;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-payments-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.footer-payment-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.payment-badge {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: var(--yz-r-sm, 8px);
    letter-spacing: 0.01em;
}

.payment-badge-accent {
    background: var(--yaazh-yellow);
}

.footer-bottom {
    text-align: center;
    padding-top: 14px;
    font-size: 0.8rem;
    opacity: 0.75;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 640px) {
    .site-footer {
        padding: 32px 20px 16px 20px;
    }
    .footer-grid {
        gap: 22px;
        margin-bottom: 18px;
        text-align: left;
    }
    .footer-payments {
        justify-content: center;
        text-align: center;
        padding-top: 14px;
        margin-bottom: 12px;
    }
    .footer-watermark {
        display: none;
    }
}

/* Scroll reveal helpers */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   MOBILE FIXES
   Homepage hero + WhatsApp sections previously
   had no flex-wrap, so on narrow screens the
   text got squeezed against oversized decorative
   emoji instead of stacking cleanly.
   ========================================= */
@media (max-width: 768px) {

    .hero-section {
        margin: 16px;
        padding: 40px 28px;
        text-align: center;
        justify-content: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content p {
        font-size: 1rem;
    }

    /* The giant cart emoji is purely decorative — it just eats vertical
       space and competes with the heading on small screens, so hide it
       below tablet width rather than trying to shrink it further. */
    .hero-section > div:last-child {
        display: none;
    }

    .features-bar {
        /* The desktop layout intentionally overlaps the hero's bottom edge
           with a negative margin. Once the hero becomes a taller, centered
           column on mobile, that same negative offset causes the features
           bar to overlap hero content instead of just its edge. */
        margin-top: 20px;
        padding: 0 16px;
    }

    .categories-section {
        padding: 30px 16px;
    }

    .categories-section h2 {
        font-size: 1.8rem;
    }

    .whatsapp-section {
        padding: 10px 16px 40px 16px;
    }

    .whatsapp-card {
        padding: 32px 24px;
        text-align: center;
        justify-content: center;
    }

    .whatsapp-content {
        max-width: 100%;
    }

    .whatsapp-card h2 {
        font-size: 1.7rem;
    }

    .whatsapp-icon-large {
        display: none;
    }

    .site-footer {
        padding: 40px 20px 20px 20px;
    }
}

/* =========================================
   GDPR COOKIE CONSENT BANNER
   ========================================= */
.yaazh-cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    background: #fff;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.12);
    border-top: 1px solid rgba(0,0,0,0.06);
}
.yaazh-cookie-banner[hidden] {
    display: none;
}
.yaazh-cookie-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.yaazh-cookie-text strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: var(--text-dark);
}
.yaazh-cookie-text p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-light);
    max-width: 640px;
    line-height: 1.5;
}
.yaazh-cookie-text p a {
    color: var(--yaazh-red);
    font-weight: 600;
}
.yaazh-cookie-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    flex-shrink: 0;
}
.yaazh-cookie-btn {
    padding: 11px 20px;
    border-radius: var(--yz-r-md, 12px);
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}
.yaazh-cookie-btn-outline {
    background: #f0f0f0;
    color: var(--text-dark);
}
.yaazh-cookie-btn-outline:hover {
    background: #e2e2e2;
}
.yaazh-cookie-btn-solid {
    background: var(--yaazh-red);
    color: #fff;
}
.yaazh-cookie-btn-solid:hover {
    opacity: 0.9;
}
@media (max-width: 640px) {
    .yaazh-cookie-banner-inner {
        padding: 18px 20px;
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .yaazh-cookie-actions {
        justify-content: center;
    }
    .yaazh-cookie-btn {
        flex: 1;
    }
}

/* =========================================
   DEFAULT PAGE TEMPLATE (page.php)
   Gives every plain WordPress Page — legal
   pages, About Us, FAQ, anything without its
   own custom template — the same dark-banner
   + white-card look as the rest of the site,
   with no plugin needed.
   ========================================= */
.page-container {
    max-width: 820px;
    margin: 0 auto;
    padding: 60px 40px 80px;
}

.page-hero {
    background: var(--yz-hero, #e30613);
    color: #fff;
    padding: 40px;
    border-radius: var(--yz-r-lg, 20px);
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.page-title {
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.page-content-body {
    background: #fff;
    border-radius: var(--yz-r-lg, 20px);
    padding: 45px;
    box-shadow: var(--yz-shadow-card, 0 10px 30px rgba(0,0,0,0.04));
    border: 1px solid rgba(0,0,0,0.05);
    line-height: 1.7;
    color: var(--text-dark);
}

/* Headings within page content (WordPress maps Markdown/Gutenberg
   headings to h2/h3/h4 automatically) */
.page-content-body h1,
.page-content-body h2,
.page-content-body h3,
.page-content-body h4 {
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--text-dark);
    margin-top: 36px;
    margin-bottom: 14px;
}
.page-content-body h1:first-child,
.page-content-body h2:first-child,
.page-content-body h3:first-child {
    margin-top: 0;
}
.page-content-body h2 {
    font-size: 1.4rem;
    border-left: 4px solid var(--yaazh-red);
    padding-left: 14px;
}
.page-content-body h3 {
    font-size: 1.15rem;
}

.page-content-body p {
    margin: 0 0 18px 0;
    font-size: 1rem;
    color: var(--text-dark);
}

.page-content-body ul,
.page-content-body ol {
    margin: 0 0 20px 0;
    padding-left: 22px;
}
.page-content-body li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.page-content-body a {
    color: var(--yaazh-red);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(227, 6, 19, 0.3);
}
.page-content-body a:hover {
    text-decoration-color: var(--yaazh-red);
}

.page-content-body strong {
    font-weight: 800;
}

/* Callout box: Markdown "> " blockquotes (used for the "not legal
   advice" disclaimers) render as styled warning boxes instead of a
   plain indented quote — makes them impossible to miss. */
.page-content-body blockquote {
    background: #fff8e6;
    border-left: 4px solid var(--yaazh-yellow);
    border-radius: var(--yz-r-md, 12px);
    padding: 16px 20px;
    margin: 0 0 24px 0;
    font-size: 0.92rem;
    color: #6b5900;
}
.page-content-body blockquote p:last-child {
    margin-bottom: 0;
}

.page-content-body table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
    font-size: 0.9rem;
}
.page-content-body th,
.page-content-body td {
    padding: 10px 14px;
    border: 1px solid #eee;
    text-align: left;
}
.page-content-body th {
    background: #f8f9fa;
    font-weight: 700;
}
/* Wide tables scroll inside themselves instead of breaking the page
   layout on mobile. */
.page-content-body .table-scroll-wrap {
    overflow-x: auto;
}

.page-content-body hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 30px 0;
}

@media (max-width: 640px) {
    .page-container {
        padding: 30px 16px 50px;
    }
    .page-hero {
        padding: 28px 22px;
        border-radius: var(--yz-r-md, 12px);
    }
    .page-title {
        font-size: 1.5rem;
    }
    .page-content-body {
        padding: 26px 20px;
        border-radius: var(--yz-r-md, 12px);
    }
    .page-content-body h2 {
        font-size: 1.2rem;
    }
}

/* =========================================
   WOOCOMMERCE NOTICES (errors, success messages)
   Several pages (cart, single product) call
   wc_print_notices() but never had any styling
   for the result — meaning a blocked add-to-cart
   (e.g. below the wholesale minimum quantity)
   failed completely silently. Checkout has its
   own custom modal and deliberately overrides
   this with its own scoped <style> block, so this
   only affects pages without that override.
   ========================================= */
.woocommerce-notices-wrapper {
    margin-bottom: 20px;
}
/* WooCommerce's notice markup mixes a floated "View cart" button with a
   plain text run (including the quantity, e.g. "12 × ..."). Making the
   notice itself a flex container (an earlier attempt) fought with that
   internal layout — WooCommerce's own float and text order got
   reinterpreted as flex items and reflowed unpredictably depending on
   content length, which is what pushed the quantity onto its own line.
   Pinning the icon with position:absolute instead leaves WooCommerce's
   own internal layout completely untouched; the icon is purely a
   decorative overlay, not a participant in the content's flow. */
ul.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
    position: relative;
    list-style: none;
    margin: 0 0 20px 0 !important;
    padding: 16px 20px 16px 50px !important;
    border-radius: var(--yz-r-md, 12px) !important;
    font-weight: 600;
    font-size: 0.9rem;
    overflow: hidden;
}
.woocommerce-message::before,
.woocommerce-info::before,
ul.woocommerce-error::before {
    content: "" !important;
    position: absolute;
    left: 20px;
    top: 18px;
    float: none !important;
    font-family: inherit !important;
    width: 18px;
    height: 18px;
    background-repeat: no-repeat;
    background-size: contain;
}
.woocommerce-message::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='12' fill='%2328a745'/%3E%3Cpath d='M7 12.5l3 3 7-7' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.woocommerce-info::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='12' fill='%232563eb'/%3E%3Crect x='11' y='10' width='2' height='7' rx='1' fill='white'/%3E%3Crect x='11' y='6' width='2' height='2' rx='1' fill='white'/%3E%3C/svg%3E");
}
ul.woocommerce-error::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23d9534f'/%3E%3Crect x='11' y='6' width='2' height='8' rx='1' fill='white'/%3E%3Crect x='11' y='16' width='2' height='2' rx='1' fill='white'/%3E%3C/svg%3E");
}
.woocommerce-message {
    background: #e6f9ed;
    color: #28a745;
}
.woocommerce-info {
    background: #eaf3ff;
    color: #2563eb;
}
ul.woocommerce-error {
    background: #ffe6e6;
    color: #d9534f;
}
ul.woocommerce-error li {
    margin: 0;
    padding: 0;
}
ul.woocommerce-error li + li {
    margin-top: 8px;
}
/* WooCommerce's own "View cart" button is normally floated right — make
   sure that's still explicitly the case regardless of any other float
   reset elsewhere in the stylesheet, and give it breathing room from the
   text beside it. */
.woocommerce-message a.button.wc-forward,
.woocommerce-message a.wc-forward,
.woocommerce-info a.button.wc-forward,
.woocommerce-info a.wc-forward {
    float: right;
    margin-left: 16px;
}

/* =========================================================================
   HOMEPAGE (yz-*)
   Design notes:
   - Palette extends the existing brand red/yellow with a WARM near-black
     (#1A1410) rather than the cool grey-black used elsewhere. For a food
     brand the warmer base reads closer to the product (spice, earth) and
     stops the page feeling clinical.
   - The bento tiles deliberately DON'T share one size, fill and radius.
     Identical rounded cards with the same shadow is the fastest way to
     make a page look templated; here the treatment encodes importance —
     the delivery promise is large and dark, supporting facts are small
     and outlined.
   - Boldness is spent in one place: the hero type and the tiger. Every
     other section is kept quiet on purpose.
   ========================================================================= */

:root {
    --yz-ink: #1A1410;          /* warm near-black */
    /* Big boxes and page banners: the brand red of the logo (friendlier for a supermarket than black). */
    --yz-hero: linear-gradient(135deg, #e30613 0%, #c80511 55%, #a3040e 100%);
    --yz-hero-deep: #9d0610;    /* the footer: a deeper shade of the same red */
    --yz-ink-soft: #5A5048;     /* body text on light */
    --yz-paper: #FDFBF7;        /* warm off-white */
    --yz-line: #E7E1D8;         /* hairline */
    --yz-turmeric: #E8A317;     /* supporting warm accent */
}

.yz-hero,
.yz-section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.yz-section { margin-bottom: 72px; }

/* ---------- Hero ---------- */
.yz-hero { padding-top: 56px; padding-bottom: 64px; }

.yz-hero-inner {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 32px;
    align-items: center;
}

.yz-hero-kicker {
    margin: 0 0 18px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--yz-ink-soft);
    display: inline-flex;
    align-items: center;
    gap: 9px;
}
.yz-hero-kicker::before {
    content: "";
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #1DB954;
    flex-shrink: 0;
}

.yz-hero-title {
    font-family: var(--yz-display, inherit);
    margin: 0 0 18px;
    font-size: clamp(2.4rem, 5.6vw, 4.3rem);
    line-height: 1.02;
    letter-spacing: -0.035em;
    font-weight: 800;
    color: var(--yz-ink);
}

.yz-hero-sub {
    margin: 0 0 30px;
    max-width: 46ch;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--yz-ink-soft);
}

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

.yz-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: var(--yz-r-pill, 999px);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease;
}
.yz-btn-primary {
    background: var(--yaazh-red);
    color: #fff;
    box-shadow: 0 8px 22px -8px rgba(227,6,19,.65);
}
.yz-btn-ghost {
    background: transparent;
    color: var(--yz-ink);
    border: 1.5px solid var(--yz-line);
}
/* "This week's folder": the brand yellow, so it stands apart from both the
   red shop button and the outlined wholesale one. */
.yz-btn-folder {
    background: var(--yaazh-yellow);
    color: var(--yz-ink);
    box-shadow: 0 8px 22px -10px rgba(184,5,15,.45);
}
.yz-btn-folder span {
    margin-left: 6px;
    padding: 2px 9px;
    border-radius: var(--yz-r-pill, 999px);
    background: rgba(26,20,16,.1);
    font-size: .85em;
    font-weight: 800;
}
.yz-btn:hover { transform: translateY(-2px); }
.yz-btn:focus-visible { outline: 3px solid var(--yz-turmeric); outline-offset: 3px; }

.yz-hero-mascot { display: flex; justify-content: center; }

/* The stage is the positioning context the product chips orbit within.
   Overflow stays visible on purpose so chips can sit partly outside the
   mascot's own box. */
.yz-hero-stage {
    position: relative;
    width: 100%;
    max-width: 290px;
}
.yz-hero-tiger {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 22px 34px rgba(26,20,16,.22));
}

/* ---------- Orbit ----------
   Each chip rides a circular path centred on the mascot. The chained
   rotate → translateX → counter-rotate keeps the chip itself upright
   while it travels, so text never turns upside down. Radius, duration
   and start offset vary per chip (set inline from PHP) so the six drift
   apart over time instead of moving as one rigid ring.
   The orbit layer sits BEHIND the tiger, so chips disappear behind it on
   one side and reappear on the other. */
.yz-orbit-layer {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;   /* layer itself isn't clickable, chips are */
}
.yz-orbit-layer .yz-float {
    position: absolute;
    top: 50%;
    left: 50%;
    /* Centre the chip on its point of the orbit. Without this the chip's
       top-left CORNER followed the circle, so the whole ring sat off
       towards the bottom right of the tiger. The separate translate
       property combines with the orbit's transform instead of replacing it. */
    translate: -50% -50%;
    pointer-events: auto;
    animation: yz-orbit var(--dur, 32s) linear infinite;
    animation-delay: var(--delay, 0s);
}
/* The mascot is purely decorative, but as an <img> it's a rectangle that
   captures clicks across its whole bounding box — including the large
   transparent areas around the tiger's outline. That made any chip
   passing behind that square unclickable. Disabling pointer events on it
   lets clicks fall straight through to the chips orbiting underneath,
   while the tiger still renders on top visually. */
.yz-hero-tiger {
    position: relative;
    z-index: 2;
    pointer-events: none;
}

@keyframes yz-orbit {
    from { transform: rotate(0deg)   translateX(calc(var(--r, 180px) * var(--orbit-k, 1))) rotate(0deg); }
    to   { transform: rotate(360deg) translateX(calc(var(--r, 180px) * var(--orbit-k, 1))) rotate(-360deg); }
}
/* Fitting the orbit on narrower laptops. Measured over a full lap of the
   orbit: up to 1400px wide, chips on the right reached past the screen
   edge and were cut off as they passed, while there was spare room on the
   left before the headline. So in that range the ring is a little smaller
   and the tiger shifts left into that spare room. Below 1280px there isn't
   enough room at all, and the hero stacks instead (see further down). */
.yz-hero-stage { translate: calc(var(--stage-shift, 0px) * -1) 0; }
@media (min-width: 1281px) and (max-width: 1440px) {
    .yz-hero-stage {
        --orbit-k: 0.80;
        /* Measured: the cut-off grows by about half a pixel for every pixel
           the screen narrows, reaching zero near 1350px. So the nudge
           follows the same line, plus an 8px margin, capped at 60px so it
           never pushes the orbit into the headline. */
        --stage-shift: clamp(0px, (1350px - 100vw) * 0.5 + 8px, 60px);
    }
}

/* Pausing on hover makes a moving target actually clickable. */
.yz-hero-stage:hover .yz-orbit-layer .yz-float { animation-play-state: paused; }
.yz-orbit-layer .yz-float:focus-visible { animation-play-state: paused; }

/* ---------- Mobile ticker ---------- */
.yz-ticker { display: none; }

/* ---------- Chip ----------
   The <a> is only the carrier the orbit moves; everything visible lives on
   .yz-float-card inside it. That split matters: the orbit already uses the
   link's transform, so the card's gentle float has to be on a separate
   element or the two animations would overwrite each other. */
.yz-float {
    position: absolute;
    display: block;
    /* Without this the card is sized by the narrow space it starts in
       (half the mascot's width), and names broke after the first word. */
    width: max-content;
    text-decoration: none;
    z-index: 2;
}
.yz-float-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 8px 16px 8px 8px;
    background: #fff;
    border: 1px solid var(--yz-line);
    border-radius: var(--yz-r-lg, 20px);
    box-shadow: 0 16px 32px -16px rgba(26,20,16,.38);
    animation: yz-drift 5.5s ease-in-out infinite;
    animation-delay: var(--bob, 0s);
    transition: box-shadow .18s ease, border-color .18s ease;
}
/* Referenced by the chips for a long time but never actually defined, so
   the float never happened. A slow 6px rise and fall: alive, not busy. */
@keyframes yz-drift {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}
.yz-float:hover .yz-float-card {
    border-color: var(--yz-ink);
    box-shadow: 0 22px 40px -16px rgba(26,20,16,.48);
}
.yz-float.is-offer .yz-float-card { border-color: rgba(227,6,19,.35); }
.yz-float:focus-visible { outline: none; }
.yz-float:focus-visible .yz-float-card {
    outline: 3px solid var(--yz-turmeric);
    outline-offset: 3px;
}
.yz-float-img {
    width: 62px;
    height: 62px;
    flex-shrink: 0;
    border-radius: var(--yz-r-md, 12px);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
/* contain, not cover: the whole pack shows, name and brand included. */
.yz-float-img img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}
.yz-float-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.yz-float-name {
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--yz-ink);
    max-width: 124px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.yz-float-prices { display: flex; align-items: baseline; gap: 7px; white-space: nowrap; }
.yz-float-price { font-size: 1rem; font-weight: 800; color: var(--yz-ink); }
.yz-float.is-offer .yz-float-price { color: var(--yaazh-red); }
.yz-float-was { font-size: 0.74rem; font-weight: 600; color: var(--yz-ink-soft); }
.yz-float-badge {
    position: absolute;
    top: -10px;
    right: -8px;
    background: var(--yaazh-red);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: var(--yz-r-pill, 999px);
    line-height: 1.35;
    box-shadow: 0 6px 12px -4px rgba(227,6,19,.55);
}

/* The orbit reaches past the hero's own box, and on screens up to about
   1400px wide it reaches past the screen edge too, which used to make the
   whole homepage scroll sideways. This wrapper spans the full screen width
   and clips there, so chips can still pass outside the hero's box on wide
   screens but never create sideways scrolling.
   On a wrapper rather than <body>: overflow set on <body> is handed up to
   the browser window, where mobile Safari ignores it. And clip rather than
   hidden, so the sticky header above keeps working. */
.yz-hero-bleed { overflow: clip; position: relative; background: linear-gradient(to bottom, rgba(248, 249, 250, 0) 62%, #f8f9fa 100%), radial-gradient(120% 90% at 15% 0%, #fff4e2 0%, #fffaf3 42%, #f8f9fa 80%); }   /* warm cream, fading into the page at the bottom (no edge) */
/* Hero background: a warm cream gradient with two soft, blurred colour glows (red and saffron). The drawing is a stencil (mask), so its colour is set here;
   it fades out towards the bottom so the hero blends into the next section. */
.yz-hero-bleed::before {   /* a soft red glow, top right, behind the tiger */
    content: "";
    position: absolute;
    width: 560px; height: 560px; right: -160px; top: -200px;
    border-radius: 50%;
    background: rgba(227, 6, 19, .11);
    filter: blur(90px);
    pointer-events: none;
}
.yz-hero-bleed::after {    /* a saffron glow, bottom left */
    content: "";
    position: absolute;
    width: 520px; height: 520px; left: -180px; top: 18%;
    border-radius: 50%;
    background: rgba(255, 168, 0, .2);
    filter: blur(100px);
    -webkit-mask-image: linear-gradient(#000 35%, transparent 80%); mask-image: linear-gradient(#000 35%, transparent 80%);   /* fades out before the hero's bottom edge */
    pointer-events: none;
}
.yz-hero-bleed > .yz-hero { position: relative; z-index: 1; }   /* text, buttons and the tiger stay on top */

/* ---------- Bento ---------- */
.yz-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.yz-tile {
    padding: 30px;
    border-radius: var(--yz-r-lg, 20px);
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--yz-line);
}
.yz-tile h2,
.yz-tile h3 {
    font-family: var(--yz-display, inherit);
    margin: 0 0 10px;
    letter-spacing: -0.02em;
    line-height: 1.15;
}
.yz-tile h2 { font-size: 2rem; font-weight: 800; }
.yz-tile h3 { font-size: 1.12rem; font-weight: 700; }
.yz-tile p { margin: 0; color: var(--yz-ink-soft); font-size: 0.95rem; line-height: 1.55; }
.yz-tile svg { width: 26px; height: 26px; margin-bottom: 14px; color: var(--yaazh-red); }

.yz-tile-eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--yz-ink-soft);
    margin-bottom: 10px;
}

.yz-tile-link {
    margin-top: auto;
    padding-top: 20px;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--yaazh-red);
    text-decoration: none;
    border-bottom: 0;
}
.yz-tile-link:hover { text-decoration: underline; }
.yz-tile-link-light { color: #fff; }

/* Lead tile — the delivery promise. Biggest, darkest, most radius. */
.yz-tile-lead {
    grid-column: span 2;
    grid-row: span 2;
    background: var(--yz-hero);
    border-color: #c80511;
    border-radius: var(--yz-r-lg, 20px);
    padding: 40px;
    justify-content: center;
}
.yz-tile-lead h2 { color: #fff; }
.yz-tile-lead p { color: rgba(255,255,255,.72); font-size: 1.02rem; max-width: 42ch; }
.yz-tile-lead .yz-tile-eyebrow { color: var(--yz-turmeric); }
.yz-tile-lead .yz-tile-link { color: var(--yaazh-yellow); }

/* Supporting facts — small, quiet, outlined. */
.yz-tile-fresh h3,
.yz-tile-price h3 { color: var(--yz-ink); }

/* WhatsApp keeps its own brand colour, since it IS a different channel. */
.yz-tile-whatsapp {
    grid-column: span 2;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-color: transparent;
}
.yz-tile-whatsapp h3 { color: #fff; font-size: 1.35rem; }
.yz-tile-whatsapp p { color: rgba(255,255,255,.85); }

/* Wholesale — warm tint so it reads as a distinct audience, not another feature. */
.yz-tile-wholesale {
    background: #FFF6E0;
    border-color: #F3E3BC;
}

/* ---------- Section heads ---------- */
.yz-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}
.yz-section-head h2 {
    font-family: var(--yz-display, inherit);
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--yz-ink);
}
.yz-section-link {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--yaazh-red);
    text-decoration: none;
}
.yz-section-link:hover { text-decoration: underline; }

/* ---------- Category cards ---------- */
.yz-card-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
}
.yz-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    padding: 22px 14px;
    background: #fff;
    border: 1px solid var(--yz-line);
    border-radius: var(--yz-r-md, 12px);
    text-decoration: none;
    transition: border-color .15s ease, transform .15s ease;
}
.yz-card:hover { border-color: var(--yaazh-red); transform: translateY(-3px); }
.yz-card:focus-visible { outline: 3px solid var(--yz-turmeric); outline-offset: 2px; }
.yz-card-media {
    width: 76px; height: 76px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--yz-paper);
    border: 1px solid var(--yz-line);
    margin-bottom: 10px;
    display: block;
}
.yz-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yz-card-name { font-weight: 700; font-size: 0.98rem; color: var(--yz-ink); }
.yz-card-meta { font-size: 0.78rem; color: var(--yz-ink-soft); }

/* ---------- Brand row ---------- */
.yz-brand-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
    gap: 12px;
}
/* Brand cards: all the same size, like product photos (4:3). The logo sits
   behind the brand name, sized so every logo covers the same area
   (yaazh_brand_logo_fit in functions.php) — square tiles and wide wordmarks
   then look equally big. The name rides on a white label over the bottom of
   the logo, so it reads on any logo colour. */
.yz-brand {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    padding: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--yz-line);
    border-radius: var(--yz-r-md, 12px);
    text-decoration: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.yz-brand:hover { border-color: var(--yaazh-red); box-shadow: 0 10px 22px -14px rgba(26,20,16,.45); }
.yz-brand:focus-visible { outline: 3px solid var(--yz-turmeric, #FFC107); outline-offset: 3px; }
.yz-brand-logo {
    position: absolute;
    inset: 0 0 14% 0;            /* centred a little above the middle, leaving room for the name */
    display: flex;
    align-items: center;
    justify-content: center;
}
.yz-brand-logo img { height: auto; max-width: 78%; max-height: 82%; display: block; }
.yz-brand-name {
    position: relative;
    z-index: 1;
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--yz-ink);
    text-align: center;
    padding: 0 10px;
}
.yz-brand.has-logo .yz-brand-name {
    position: absolute;
    left: 50%;
    bottom: 9%;
    transform: translateX(-50%);
    max-width: 88%;
    padding: 4px 12px;
    border-radius: var(--yz-r-pill, 999px);
    background: rgba(255,255,255,.94);
    box-shadow: 0 4px 12px -4px rgba(26,20,16,.35);
    font-size: 0.82rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.yz-brand-name { font-weight: 700; font-size: 0.86rem; color: var(--yz-ink); text-align: center; }

.yz-empty { grid-column: 1 / -1; text-align: center; color: var(--yz-ink-soft); }

/* ---------- Responsive ---------- */
/* The hero stacks — tiger on top, products scrolling in a strip — below
   1280px rather than 880px. Between those widths, an orbit of product
   cards can't fit beside the headline without being cut off at the screen
   edge, so this range gets the same layout as phones. (The rest of the
   page still adapts at 880px, below.) */
@media (max-width: 1280px) {
    .yz-hero-inner { grid-template-columns: 1fr; text-align: center; }
    .yz-hero-copy { order: 2; }
    .yz-hero-mascot { order: 1; }
    .yz-hero-tiger { max-width: 190px; margin: 0 auto; }
    .yz-hero-stage { max-width: 190px; }
    .yz-hero-actions { justify-content: center; }
    .yz-hero-sub { margin-left: auto; margin-right: auto; }

    /* An orbit needs room on both sides of the mascot; once the hero
       stacks into one column there isn't any, so the chips leave the
       orbit and become a ticker that scrolls continuously instead. */
    .yz-hero-stage {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: none;
        gap: 18px;
    }
    .yz-orbit-layer { display: none; }

    .yz-ticker {
        display: block;
        width: 100vw;
        margin-left: calc(50% - 50vw);   /* break out to full width */
        overflow: hidden;
        -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
                mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    }
    .yz-ticker-track {
        display: flex;
        gap: 10px;
        width: max-content;
        padding: 6px 0;
        animation: yz-ticker 26s linear infinite;
    }
    .yz-ticker .yz-float {
        position: static;
        animation: none;
        flex-shrink: 0;
        padding-top: 10px;   /* room for the offer badge, which sits above the card */
    }
    /* The strip is already moving; a bobbing card on top of it is too much. */
    .yz-ticker .yz-float-card { animation: none; box-shadow: 0 8px 18px -10px rgba(26,20,16,.3); }
    /* The chip set is rendered twice, so shifting by exactly half the
       track loops back to an identical frame — no visible jump. */
    @keyframes yz-ticker {
        from { transform: translateX(0); }
        to   { transform: translateX(-50%); }
    }
}

@media (max-width: 880px) {
    .yz-bento { grid-template-columns: repeat(2, 1fr); }
    .yz-tile-lead { grid-column: span 2; grid-row: auto; padding: 32px; }
    .yz-tile-whatsapp { grid-column: span 2; }
}

@media (max-width: 560px) {
    .yz-hero, .yz-section { padding-left: 16px; padding-right: 16px; }
    .yz-hero { padding-top: 32px; padding-bottom: 40px; }
    .yz-section { margin-bottom: 52px; }
    .yz-bento { grid-template-columns: 1fr; }
    .yz-tile-lead,
    .yz-tile-whatsapp { grid-column: span 1; }
    .yz-tile { padding: 24px; }
    .yz-tile-lead { padding: 28px; }
}

@media (prefers-reduced-motion: reduce) {
    .yz-btn, .yz-card { transition: none; }
    .yz-btn:hover, .yz-card:hover { transform: none; }
}

/* =========================================================================
   LOGO + FOOTER
   The logo is ornate and warm (red / antique gold / cream), so the footer
   is built as a dark warm field rather than the old flat red block —
   a solid red footer competed with the logo's own red oval and left it
   with nothing to sit against. Dark gives the logo somewhere to land and
   ties the page end back to the dark tile in the homepage bento.
   ========================================================================= */

:root {
    --yz-gold: #E8C15F;   /* antique gold, sampled from the logo border */
    --yz-cream: #EFE7DA;  /* cream, sampled from the logo lettering */
}

/* ---------- Header logo ---------- */
.yz-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}
/* .yz-logo img ties exactly with WooCommerce's ".woocommerce-page img"
   (both one class + one element), and WooCommerce sets height:auto. A tie
   goes to whichever stylesheet loads LAST, so the fixed height only held
   because ours happened to load after WooCommerce's. The extra "header"
   in the selector breaks the tie for good, independent of load order. */
header .yz-logo img,
.yz-logo img {
    height: 54px;
    width: auto;
    max-width: none;
    display: block;
}
@media (max-width: 860px) {
    header .yz-logo img, .yz-logo img { height: 44px; }
}
@media (max-width: 480px) {
    header .yz-logo img, .yz-logo img { height: 38px; }
}

/* ---------- Footer ---------- */
.yz-footer {
    position: relative;
    background: var(--yz-hero-deep, #9d0610);
    color: var(--yz-cream);
    padding: 48px 0 0;   /* less empty space at the top */
    overflow: hidden;
}
/* A single soft warm glow, top-centre. One deliberate light source rather
   than decoration scattered around the edges. */
.yz-footer::before {
    content: "";
    position: absolute;
    top: -180px;
    left: 50%;
    transform: translateX(-50%);
    width: 760px;
    height: 360px;
    background: radial-gradient(ellipse at center, rgba(232,193,95,.16), transparent 70%);
    pointer-events: none;
}

/* The same grocery pattern, in faint cream on the red footer. */
.yz-footer::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url('assets/images/pattern-groceries-cream.svg') 0 0 / 300px 300px repeat;
    opacity: .07;
    pointer-events: none;
}

.yz-footer-inner {
    position: relative;
    z-index: 1;   /* above the pattern */
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.yz-footer-top {
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) 3fr;   /* the logo column: no wide gap, but room for the three social buttons on one line */
    gap: 40px;
    padding-bottom: 36px;
}

/* Logo sizing has to beat WooCommerce's own stylesheet. On WooCommerce
   pages (shop, product, cart, checkout) the body gets the class
   "woocommerce-page", and WooCommerce ships
       .woocommerce-page img { height: auto; max-width: 100%; }
   That selector is more specific than a bare .yz-footer-logo, so it won:
   the 210px cap was replaced by 100%, and with width:100% the logo
   stretched to fill its whole column — but only on those pages, which is
   why every other page looked right.

   Two defences, either of which is enough on its own:
   1. A more specific selector (footer img.yz-footer-logo) that outranks it.
   2. A fixed width instead of width:100%, so even if max-width were
      overridden again, the logo has a definite size to fall back to. */
footer img.yz-footer-logo,
.yz-footer-logo {
    width: 170px;
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 12px;
}
.yz-footer-tagline {
    margin: 0 0 16px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(239,231,218,.62);
    max-width: 34ch;
}

.yz-footer-socials { display: flex; gap: 10px; flex-wrap: wrap; }
.yz-footer-socials a {
    padding: 9px 17px;
    border-radius: var(--yz-r-pill, 999px);
    border: 1px solid rgba(239,231,218,.16);
    color: var(--yz-cream);
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 600;
    transition: border-color .15s ease, background .15s ease;
}
.yz-footer-socials a:hover {
    border-color: var(--yz-gold);
    background: rgba(232,193,95,.08);
}
.yz-footer-social-wa { border-color: rgba(37,211,102,.45) !important; }
.yz-footer-social-wa:hover { border-color: #25D366 !important; background: rgba(37,211,102,.12) !important; }

.yz-footer-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);   /* Shop · Help · Good to know · Visit us */
    gap: 28px;
}
.yz-footer-col h3 {
    font-family: var(--yz-display, inherit);
    margin: 0 0 16px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--yz-gold);
}
.yz-footer-col a,
.yz-footer-col p {
    display: block;
    margin: 0 0 11px;
    font-size: 0.92rem;
    line-height: 1.55;
    color: rgba(239,231,218,.72);
    text-decoration: none;
    transition: color .15s ease;
}
.yz-footer-col a:hover { color: var(--yz-cream); }
.yz-footer-col a:focus-visible { outline: 2px solid var(--yz-gold); outline-offset: 3px; }

.yz-footer-linkbtn {
    background: none;
    border: 0;
    padding: 0;
    margin: 0 0 11px;
    font: inherit;
    font-size: 0.92rem;
    color: rgba(239,231,218,.72);
    cursor: pointer;
    text-align: left;
    display: block;
}
.yz-footer-linkbtn:hover { color: var(--yz-cream); }

.yz-footer-phone {
    font-size: 1.05rem !important;
    font-weight: 700;
    color: var(--yz-cream) !important;
}

/* ---------- Bottom bar ---------- */
.yz-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding: 22px 0 28px;
    border-top: 1px solid rgba(239,231,218,.1);
}
.yz-footer-bottom p {
    margin: 0;
    font-size: 0.84rem;
    color: rgba(239,231,218,.45);
}
.yz-footer-pay { display: flex; gap: 8px; flex-wrap: wrap; }
.yz-footer-pay span {
    padding: 6px 13px;
    border-radius: var(--yz-r-sm, 8px);
    background: rgba(239,231,218,.07);
    border: 1px solid rgba(239,231,218,.1);
    font-size: 0.74rem;
    font-weight: 700;
    color: rgba(239,231,218,.75);
}
.yz-footer-pay .yz-pay-accent {
    background: rgba(232,193,95,.14);
    border-color: rgba(232,193,95,.3);
    color: var(--yz-gold);
}

@media (max-width: 900px) {
    .yz-footer-top { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 560px) {
    .yz-footer { padding-top: 52px; }
    .yz-footer-inner { padding: 0 18px; }
    .yz-footer-nav { grid-template-columns: 1fr 1fr; gap: 26px; }
    .yz-footer-col-contact { grid-column: span 2; }
    .yz-footer-bottom { justify-content: flex-start; }
}

/* Compact mobile footer (phones). Brand + socials on one row, Shop/Help
   side by side, "Good to know" as one wrapped row of links, and the
   contact details in a small 2x2 card. Phone/email/hours share one weight. */
@media (max-width: 560px) {
    .yz-footer { padding-top: 30px; }
    .yz-footer-inner { padding: 0 20px; }
    .yz-footer-top { gap: 24px; padding-bottom: 22px; }
    .yz-footer-brand { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px; }
    .yz-footer .yz-footer-logo { width: 92px; margin: 0; }
    .yz-footer-tagline { margin: 0; font-size: 0.9rem; }
    .yz-footer-socials { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .yz-footer-socials a { padding: 8px 0; text-align: center; font-size: 0.82rem; }
    .yz-footer-socials .yz-footer-social-wa { border-color: rgba(239,231,218,.16) !important; }
    .yz-footer-nav { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
    .yz-footer-col h3 { margin: 0 0 10px; font-size: 0.78rem; letter-spacing: .06em; text-transform: uppercase; }
    .yz-footer-col a,
    .yz-footer-col p,
    .yz-footer-linkbtn { margin: 0 0 7px; font-size: 0.88rem; line-height: 1.45; }
    .yz-footer-nav > .yz-footer-col:nth-child(3) { grid-column: 1 / -1; display: flex; flex-wrap: wrap; column-gap: 16px; }
    .yz-footer-nav > .yz-footer-col:nth-child(3) h3 { flex-basis: 100%; }
    .yz-footer-nav > .yz-footer-col:nth-child(3) a,
    .yz-footer-nav > .yz-footer-col:nth-child(3) .yz-footer-linkbtn { font-size: 0.84rem; margin-bottom: 4px; }
    .yz-footer-col-contact { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; padding: 14px 16px 8px; border: 1px solid rgba(239,231,218,.12); border-radius: 14px; background: rgba(0,0,0,.1); }
    .yz-footer-col-contact h3 { grid-column: 1 / -1; }
    .yz-footer-col-contact strong { font-weight: 600; color: var(--yz-cream); }
    .yz-footer-col-contact a,
    .yz-footer .yz-footer-phone { font-size: 0.88rem !important; font-weight: 600; color: var(--yz-cream) !important; overflow-wrap: anywhere; }
    .yz-footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 0 20px; }
    .yz-footer-bottom p { font-size: 0.78rem; }
    .yz-footer-pay { gap: 6px; }
    .yz-footer-pay span { padding: 4px 9px; font-size: 0.68rem; }
}


/* =========================================================================
   WORDPRESS LOGIN FORMS
   wp_login_form() sets the form's id to whatever form_id you pass it, so
   this site has #particulier_login, #wholesale_login and
   #wholesale_portal_login — never a generic #loginform. Targeting that
   was why an earlier pass silently did nothing.
   What IS stable, on every form regardless of id, are the paragraph
   classes WordPress hardcodes: .login-username / .login-password /
   .login-remember / .login-submit. Styling those covers every login form
   on the site, now and any added later.
   ========================================================================= */

.login-username,
.login-password,
.login-remember,
.login-submit {
    margin: 0 0 16px;
}
.login-submit { margin-bottom: 0; }

.login-username label,
.login-password label {
    display: block;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 7px;
    color: var(--text-dark);
}

.login-username input,
.login-password input {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 16px;
    border: 1px solid #ddd;
    border-radius: var(--yz-r-md, 12px);
    background: #f8f9fa;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text-dark);
    outline: none;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

.login-username input:focus,
.login-password input:focus {
    background: #fff;
    border-color: var(--text-dark);
    box-shadow: 0 0 0 4px rgba(26, 20, 16, .07);
}

/* Remember me — default renders as a cramped checkbox jammed against text */
.login-remember label {
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-light);
    cursor: pointer;
}
.login-remember input[type="checkbox"] {
    width: 17px;
    height: 17px;
    accent-color: var(--yaazh-red);
    cursor: pointer;
    flex-shrink: 0;
    margin: 0;
}

.login-submit input[type="submit"] {
    width: 100%; box-sizing: border-box;
    background: var(--text-dark);
    color: #fff;
    border: none;
    padding: 15px 20px;
    border-radius: var(--yz-r-md, 12px);
    font-weight: 700;
    font-size: 0.98rem;
    font-family: inherit;
    cursor: pointer;
    transition: background .15s ease, transform .15s ease;
}
.login-submit input[type="submit"]:hover {
    background: #000;
    transform: translateY(-1px);
}
.login-submit input[type="submit"]:focus-visible {
    outline: 3px solid var(--yaazh-yellow);
    outline-offset: 2px;
}

/* On the two business-facing forms, signing in is the primary action, so
   the button carries the brand red rather than the neutral dark. */
#wholesale_portal_login .login-submit input[type="submit"],
#wholesale_login .login-submit input[type="submit"] {
    background: var(--yaazh-red);
}
#wholesale_portal_login .login-submit input[type="submit"]:hover,
#wholesale_login .login-submit input[type="submit"]:hover {
    background: #c2050f;
}

@media (prefers-reduced-motion: reduce) {
    .login-submit input[type="submit"] { transition: none; }
    .login-submit input[type="submit"]:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .yz-orbit-layer .yz-float,
    .yz-ticker-track { animation: none; }
    .yz-float-card { animation: none; transition: none; }
    /* With the orbit stopped the chips would stack at dead centre, so
       fall back to the same readable row used on mobile. */
    .yz-orbit-layer {
        position: static;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        margin-top: 16px;
    }
    .yz-orbit-layer .yz-float { position: static; translate: none; }
}

/* =========================================================================
   "NOTIFY ME WHEN BACK IN STOCK" — single product page
   ========================================================================= */
.yz-notify-form {
    margin-top: 16px;
    padding: 18px 20px;
    background: #fff8e6;
    border: 1px solid #ffe9a8;
    border-radius: var(--yz-r-md, 12px);
    max-width: 420px;
}
.yz-notify-lead {
    margin: 0 0 12px;
    font-size: 0.92rem;
    font-weight: 700;
    color: #856404;
}
.yz-notify-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.yz-notify-email {
    flex: 1;
    min-width: 180px;
    padding: 11px 14px;
    border: 1px solid #ddd;
    border-radius: var(--yz-r-md, 12px);
    font-size: 0.92rem;
    font-family: inherit;
    background: #fff;
}
.yz-notify-btn {
    background: var(--text-dark, #212529);
    color: #fff;
    border: none;
    padding: 11px 20px;
    border-radius: var(--yz-r-md, 12px);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    white-space: nowrap;
}
.yz-notify-btn:hover { background: #000; }
.yz-notify-btn:disabled { opacity: 0.6; cursor: default; }
.yz-notify-msg {
    margin: 10px 0 0;
    font-size: 0.85rem;
    font-weight: 600;
    min-height: 1.2em;
}

/* ---------- "In stock only" filter switch (shop + wholesale) ---------- */
.yz-stock-toggle {
    display: flex; align-items: center; gap: 12px;
    min-height: 44px;
    color: var(--text-dark); text-decoration: none;
    font-weight: 700; font-size: 0.92rem;
}
.yz-stock-track {
    position: relative; flex-shrink: 0;
    width: 42px; height: 24px; border-radius: var(--yz-r-pill, 999px);
    background: #d6d9dd;
    transition: background-color .18s ease;
}
.yz-stock-thumb {
    position: absolute; top: 3px; left: 3px;
    width: 18px; height: 18px; border-radius: 50%;
    background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: transform .18s ease;
}
.yz-stock-toggle.is-on .yz-stock-track { background: #28a745; }
.yz-stock-toggle.is-on .yz-stock-thumb { transform: translateX(18px); }
.yz-stock-toggle:hover .yz-stock-track { filter: brightness(0.95); }
.yz-stock-toggle:focus-visible { outline: 2px solid var(--yaazh-red); outline-offset: 3px; border-radius: var(--yz-r-sm, 8px); }
@media (prefers-reduced-motion: reduce) {
    .yz-stock-track, .yz-stock-thumb { transition: none; }
}


/* =====================================================================
   HOMEPAGE REFRESH — hero split, promo cards, deals, kitchens, trust,
   micro-interactions. These rules come last and are more specific than the
   older hero rules, so they win on every screen size.
   ===================================================================== */

/* ---------- Hero: headline left, tiger + promo cards right ---------- */
.yz-hero-inner.yz-hero-split { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 24px; text-align: left; align-items: center; }   /* room for the headline on two lines */
.yz-hero-split .yz-hero-copy { order: 0; }
.yz-hero-split .yz-hero-actions { justify-content: flex-start; }
.yz-hero-split .yz-hero-sub { margin-left: 0; margin-right: 0; }
/* Trust signals under the buttons */
.yz-trust { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .9rem; color: var(--yz-ink-soft, #5d544c); }
.yz-trust a { color: inherit; text-decoration: none; }
.yz-trust a:hover { text-decoration: underline; }
.yz-stars { color: #f5a400; }

/* ---------- This week's deals: a sideways-scrolling row ---------- */
.yz-deals-nav { display: flex; align-items: center; gap: 8px; }
.yz-deals-arrow { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(26, 20, 16, .12); background: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--yz-ink, #1A1410); }
.yz-deals-arrow:hover { border-color: var(--yaazh-red, #e30613); color: var(--yaazh-red, #e30613); }
.yz-deals { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(176px, 208px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 16px; scrollbar-width: thin; }
.yz-deal { scroll-snap-align: start; background: #fff; border: 1px solid rgba(26, 20, 16, .07); border-radius: 18px; padding: 12px; display: flex; flex-direction: column; gap: 5px; }
.yz-deal-img { position: relative; display: grid; place-items: center; aspect-ratio: 1; background: #f8f6f2; border-radius: 12px; overflow: hidden; margin-bottom: 4px; }
.yz-deal-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.yz-deal-badge { position: absolute; top: 8px; left: 8px; background: var(--yaazh-red, #e30613); color: #fff; font-size: .72rem; font-weight: 800; padding: 3px 8px; border-radius: 999px; }
.yz-deal-name { font-weight: 700; font-size: .9rem; line-height: 1.3; color: var(--yz-ink, #1A1410); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.yz-deal-unit { font-size: .78rem; color: #8a8f98; }
.yz-deal-prices { font-size: .82rem; }
.yz-deal-prices b { color: var(--yaazh-red, #e30613); font-size: 1.05rem; }
.yz-deal-prices del { color: #8a8f98; }
.yz-deal .yz-buyrow { margin-top: auto; padding-top: 6px; }
.yz-deal-add { display: block; text-align: center; background: var(--yaazh-yellow, #ffc107); color: var(--yz-ink, #1A1410); font-weight: 800; font-size: .85rem; padding: 9px 10px; border-radius: 999px; text-decoration: none; }
.yz-deal-out { margin-top: auto; padding-top: 6px; font-size: .82rem; color: #8a8f98; font-weight: 700; }
@media (max-width: 700px) { .yz-deals-arrow { display: none; } }

/* ---------- Shop by kitchen ---------- */
.yz-kitchens { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.yz-kitchen { background: var(--tint, #f6f3ee); border-radius: 20px; padding: 20px; text-decoration: none; color: var(--yz-ink, #1A1410); display: flex; flex-direction: column; gap: 4px; }
.yz-kitchen-flag { font-size: 2.2rem; line-height: 1; margin-bottom: 8px; }
.yz-kitchen-name { font-family: var(--yz-display, inherit); font-weight: 800; font-size: 1.15rem; }
.yz-kitchen-count { font-size: .85rem; color: var(--yz-ink-soft, #5d544c); }
@media (max-width: 700px) { .yz-kitchens { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Categories: rounded squares with a soft tint each ---------- */
.yz-card-media { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: var(--tint, var(--yz-paper)); border: 0; margin-bottom: 12px; }   /* the photo fills the tile */
.yz-card-media img { width: 100%; height: 100%; object-fit: cover; padding: 0; display: block; }

/* ---------- Micro-interactions ---------- */
/* Cards lift a little, with a shadow, on hover */
.yz-card, .yz-deal, .yz-kitchen, .yz-tile, .yz-brand { transition: translate .2s ease, box-shadow .2s ease; }
.yz-card:hover, .yz-deal:hover, .yz-kitchen:hover, .yz-tile:hover, .yz-brand:hover { translate: 0 -4px; box-shadow: 0 14px 30px rgba(26, 20, 16, .1); }
/* Add to cart: a green ✓ for a moment */
.yz-added { background: #1e8e3e !important; color: #fff !important; transition: background .2s ease; }
/* Sections fade and slide in as you scroll (only when the script runs, so nothing is ever hidden without it) */
html.yz-js .yz-reveal { opacity: 0; translate: 0 18px; transition: opacity .6s ease, translate .6s ease; }
html.yz-js .yz-reveal.is-in { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) {
    html.yz-js .yz-reveal { opacity: 1; translate: none; transition: none; }
    .yz-pcard { animation: none; }
    .yz-card, .yz-deal, .yz-kitchen, .yz-tile, .yz-brand { transition: none; }
    .yz-card:hover, .yz-deal:hover, .yz-kitchen:hover, .yz-tile:hover, .yz-brand:hover { translate: none; }
}

/* ---------- Typography: prices line up (tabular numbers) ---------- */
.woocommerce-Price-amount, .amount, .yz-pcard-prices, .yz-deal-prices, .price { font-variant-numeric: tabular-nums; }

/* ---------- WhatsApp card: compact — text left, a small QR code right (computers only) ---------- */
.yz-tile.yz-tile-whatsapp { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; text-align: left; padding: 26px 30px; }
.yz-wa-text { flex: 1; min-width: 0; }
.yz-wa-text h3 { display: flex; align-items: center; gap: 10px; }
.yz-wa-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .18); color: #fff; margin: 0 0 10px; }
.yz-wa-qr { margin: 0; flex-shrink: 0; text-align: center; }
.yz-wa-qr img { display: block; width: 104px; height: 104px; background: #fff; border-radius: 12px; padding: 6px; box-sizing: border-box; }
.yz-wa-qr figcaption { margin-top: 6px; font-size: .72rem; color: rgba(255, 255, 255, .85); font-weight: 600; }
@media (max-width: 900px), (hover: none) { .yz-wa-qr { display: none; } }   /* phones and tablets just tap the button */

/* ---------- Hero visual: the tiger, with up to 3 promo cards stacked beside him ---------- */
.yz-hero-visual { position: relative; display: flex; justify-content: flex-end; align-items: center; }
.yz-herostage { position: relative; width: min(470px, 100%); min-height: 420px; display: flex; align-items: center; justify-content: flex-end; }
.yz-herostage .yz-hero-tiger { width: min(300px, 66%); max-width: none; height: auto; margin: 0; position: relative; z-index: 0; filter: drop-shadow(0 18px 30px rgba(26, 20, 16, .14)); }
.yz-herostage.no-cards { justify-content: center; }
.yz-pcards { position: absolute; left: -64px; top: 50%; translate: 0 -56%; z-index: 1; display: grid; gap: 10px; width: 200px; }   /* smaller and further left: the tiger's face stays visible */
.yz-pcard {
    position: relative; display: flex; gap: 12px; align-items: center;
    background: rgba(255, 255, 255, .96); border: 1px solid rgba(26, 20, 16, .06); border-radius: 16px; padding: 8px 12px 8px 8px; gap: 10px;
    box-shadow: 0 16px 34px rgba(26, 20, 16, .12); text-decoration: none; color: var(--yz-ink, #1A1410);
    margin-left: calc(var(--i) * 12px); rotate: calc((var(--i) - 1) * -2deg);
    animation: yzFloat 6s ease-in-out infinite; animation-delay: calc(var(--i) * -2s);
    transition: box-shadow .2s ease;
}
.yz-pcard:hover { box-shadow: 0 20px 40px rgba(26, 20, 16, .18); }
@keyframes yzFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
.yz-pcard-img { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: #fff; border: 1px solid rgba(26, 20, 16, .06); overflow: hidden; display: grid; place-items: center; }   /* each photo in its own white frame */
.yz-pcard-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.yz-pcard-meta { min-width: 0; }
.yz-pcard-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .78rem; font-weight: 700; line-height: 1.25; }
.yz-pcard-prices { display: block; margin-top: 2px; font-size: .74rem; font-variant-numeric: tabular-nums; }
.yz-pcard-prices b { color: var(--yaazh-red, #e30613); font-size: .92rem; }
.yz-pcard-prices del { color: #8a8f98; }
.yz-pcard-badge { position: absolute; top: -8px; right: -8px; background: var(--yaazh-red, #e30613); color: #fff; font-size: .68rem; font-weight: 800; padding: 2px 7px; border-radius: 999px; }
@media (max-width: 1100px) {
    .yz-herostage { min-height: 340px; }
    .yz-herostage .yz-hero-tiger { width: min(230px, 62%); }
    .yz-pcards { width: 190px; left: -40px; }
}
@media (max-width: 700px) {   /* phones: the small tiger next to a compact stack of up to 3 offers */
    .yz-herostage { min-height: 0; width: 100%; justify-content: flex-start; gap: 12px; }
    .yz-herostage .yz-hero-tiger { width: 96px; order: 0; }
    .yz-pcards { position: static; translate: none; width: auto; flex: 1; min-width: 0; order: 1; gap: 8px; }
    .yz-pcard { margin-left: 0; rotate: none; padding: 6px 10px 6px 6px; }
    .yz-pcard-img { width: 38px; height: 38px; border-radius: 10px; }
    .yz-pcard-name { -webkit-line-clamp: 1; }
}

/* Tablet and small laptop: still side by side, the text column a bit wider */
@media (max-width: 1100px) {
    .yz-hero-inner.yz-hero-split { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 24px; }
}
/* Phones: one column — headline, then the tiger with his cart, then full-width buttons (the long subtitle is hidden) */
@media (max-width: 700px) {
    .yz-hero-inner.yz-hero-split { grid-template-columns: 1fr; }
    .yz-hero-split .yz-hero-title { font-size: clamp(2rem, 9.4vw, 2.6rem); }
    .yz-hero-split .yz-hero-kicker { margin-bottom: 0; }
    .yz-hero-split .yz-hero-actions { flex-direction: column; gap: 10px; }
    .yz-hero-split .yz-hero-actions .yz-btn { width: 100%; text-align: center; box-sizing: border-box; justify-content: center; }
    .yz-hero-split .yz-hero-copy { display: contents; }
    .yz-hero-split .yz-hero-kicker { order: 1; }
    .yz-hero-split .yz-hero-title { order: 2; margin-bottom: 0; }
    .yz-hero-split .yz-hero-sub { display: none; }
    .yz-hero-split .yz-hero-visual { order: 3; justify-content: center; }
    .yz-hero-split .yz-hero-actions { order: 4; }
    .yz-hero-split .yz-trust { order: 5; margin-top: 0; }
    .yz-hero-inner.yz-hero-split { gap: 14px; }
}

/* Category tiles: the photo fills the tile, less padding around it */
.yz-card { padding: 10px 10px 16px; }
.yz-tile-whatsapp .yz-wa-icon, .yz-tile-whatsapp .yz-wa-icon svg { color: #fff !important; }   /* white on the green card (tile icons are red elsewhere) */


/* Web-only sale (OnlineFact's sale_price): the discount badge turns blue and says so — one badge instead of two */
.yaazh-sale-badge.yz-web, .yz-pcard-badge.yz-web { background: #1d4ed8 !important; color: #fff !important; white-space: nowrap; }

/* =====================================================================
   WHY SHOP HERE — clean supermarket tiles, real grocery photography, and the Yaazh City truck
   (70% clean and trustworthy, 20% colour, 10% personality)
   ===================================================================== */
.yz-fun { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(200px, auto); gap: 18px; }
.yz-ft { position: relative; overflow: hidden; border-radius: 28px; padding: 30px 32px; isolation: isolate; box-shadow: 0 1px 2px rgba(26, 20, 16, .04), 0 14px 34px rgba(26, 20, 16, .07); transition: translate .25s ease, box-shadow .25s ease; }
.yz-ft:hover { translate: 0 -3px; box-shadow: 0 2px 4px rgba(26, 20, 16, .05), 0 22px 44px rgba(26, 20, 16, .12); }
.yz-ft-text { position: relative; z-index: 2; max-width: 30ch; }
.yz-ft h2, .yz-ft h3 { font-family: var(--yz-display, inherit); font-weight: 800; letter-spacing: -.025em; margin: 0 0 10px; line-height: 1.04; }
.yz-ft h2 { font-size: clamp(2.2rem, 4vw, 3.5rem); }
.yz-ft h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); }
.yz-ft p { margin: 0 0 18px; line-height: 1.5; font-size: 1rem; }
.yz-ft-eyebrow { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; padding: 5px 11px; border-radius: 999px; }
.yz-ft-btn, .yz-ft-link { white-space: nowrap; }
.yz-ft-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 14px; background: #fff; color: #e30613; font-weight: 800; text-decoration: none; box-shadow: 0 10px 22px rgba(0, 0, 0, .16); transition: translate .2s ease, box-shadow .2s ease; }
.yz-ft-btn:hover { translate: 0 -2px; box-shadow: 0 14px 28px rgba(0, 0, 0, .2); }
.yz-ft-btn.dark { background: #0d2b18; color: #fff; }
.yz-ft-link { color: #c8000f; font-weight: 800; text-decoration: none; }
.yz-ft-link:hover { text-decoration: underline; text-underline-offset: 3px; }
/* Photos blend into their card: the card's colours are taken from the photo's own edges, and the photo fades in */
.yz-ft-photo { position: absolute; z-index: 1; height: auto; pointer-events: none; }

/* Places */
.f-lead  { grid-column: 1 / span 8; grid-row: 1 / span 2; min-height: 410px; display: flex; align-items: center; color: #fff;
           background: radial-gradient(90% 120% at 85% 10%, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 55%), linear-gradient(135deg, #ff1f2d 0%, #e30613 45%, #b8000d 100%); }
.f-lead::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, 0) 45%, rgba(255, 255, 255, .08) 55%, rgba(255, 255, 255, 0) 70%); pointer-events: none; }   /* a soft sheen */
.f-lead .yz-ft-text { max-width: 34rem; }
.f-lead h2 { max-width: 9.5ch; }
.f-lead p { max-width: 30ch; }
.f-lead p { color: rgba(255, 255, 255, .92); font-size: 1.05rem; }
.f-lead .yz-ft-eyebrow { background: #ffb020; color: #5a2a00; }
.f-fresh { grid-column: 9 / span 4; grid-row: 1; z-index: 3; color: #1f3510; background: linear-gradient(180deg, #e3eeb5, #c7d67a); }
.f-fresh .yz-ft-text { max-width: 13ch; }
.f-fresh .yz-ft-photo { right: 0; top: 0; height: 100%; width: auto; max-width: 58%; object-fit: cover; object-position: left center;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 26%); mask-image: linear-gradient(to right, transparent 0, #000 26%); }
.f-bulk  { grid-column: 9 / span 4; grid-row: 2 / span 2; color: #0b2a44; background: linear-gradient(180deg, #a6d4fc 0%, #a1d2fc 46%, #3690dd 100%); }
.f-bulk .yz-ft-photo { right: 0; bottom: 0; width: 92%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%), linear-gradient(to right, transparent 0, #000 22%); -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to bottom, transparent 0, #000 22%), linear-gradient(to right, transparent 0, #000 22%); mask-composite: intersect; }
.f-wa    { grid-column: 1 / span 4; grid-row: 3; color: #0d2b18; background: linear-gradient(150deg, #5ee08a, #1fb855); }
.f-wa .yz-ft-text { max-width: 18ch; }
.f-ws    { grid-column: 5 / span 4; grid-row: 3; color: #3b2508; background: linear-gradient(160deg, #fff3de 0%, #fee4bb 60%); }
.f-ws .yz-ft-eyebrow { background: rgba(200, 0, 15, .08); color: #a3000c; }
.f-ws h3 { font-weight: 750; letter-spacing: -.02em; }
.f-ws p { font-size: .95rem; color: #5b4630; }
.f-ws .yz-ft-text { max-width: 20ch; }
.f-ws .yz-ft-photo { right: 0; bottom: 0; width: 40%; max-width: 170px;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 24%), linear-gradient(to right, transparent 0, #000 28%); -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to bottom, transparent 0, #000 24%), linear-gradient(to right, transparent 0, #000 28%); mask-composite: intersect; }


/* Same-day dispatch: on hover the right side opens (a smooth, Apple-like reveal) — a little Gent street,
   and the Yaazh City truck drives through from left to right. Touch devices: it drives in once when seen. */
.yz-drive { position: absolute; z-index: 1; top: 22px; right: 22px; bottom: 22px; width: 46%; border-radius: 22px; overflow: hidden;
    background: linear-gradient(180deg, #fff8f1 0%, #ffe9dd 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5), 0 18px 40px rgba(90, 0, 0, .25);
    clip-path: inset(0 0 0 100% round 22px); opacity: 0; transition: clip-path .6s cubic-bezier(.2, .8, .2, 1), opacity .3s ease; }
.yz-drive-city { position: absolute; left: 0; right: 0; bottom: 27%; width: 100%; height: auto; }   /* the whole little city, standing on the road */
.yz-drive-road { position: absolute; left: 0; right: 0; bottom: 0; height: 28%; background: #2f333a; }
.yz-drive-road::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px;
    background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .85) 0 22px, transparent 22px 44px); }
.yz-truck { position: absolute; bottom: 10%; left: -62%; width: 58%; min-width: 160px; }
.yz-truck svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .25)); }
.yz-truck-speed { opacity: 0; }
.yz-wheel { transform-box: fill-box; transform-origin: center; }
/* open it: hover, keyboard focus, or (touch) when seen */
.f-lead:hover .yz-drive, .f-lead:focus-within .yz-drive, .f-lead.is-driving .yz-drive { clip-path: inset(0 0 0 0 round 22px); opacity: 1; }
.f-lead:hover .yz-truck, .f-lead:focus-within .yz-truck { animation: yzDrive 3.6s .35s cubic-bezier(.45, 0, .35, 1) infinite; }
.f-lead:hover .yz-truck-speed, .f-lead:focus-within .yz-truck-speed { animation: yzSpeed 3.6s .35s infinite; }
.f-lead:hover .yz-wheel, .f-lead:focus-within .yz-wheel { animation: yzWheel .45s linear infinite; }
.f-lead.is-driving .yz-truck { animation: yzDriveIn 1.8s .3s cubic-bezier(.2, .7, .2, 1) forwards; }
.f-lead.is-driving .yz-wheel { animation: yzWheel .45s linear 4; }
@keyframes yzDrive { 0% { left: -62%; } 62% { left: 104%; } 100% { left: 104%; } }
@keyframes yzDriveIn { from { left: -62%; } to { left: 21%; } }
@keyframes yzSpeed { 0%, 8% { opacity: 0; } 15%, 50% { opacity: .8; } 62%, 100% { opacity: 0; } }
@keyframes yzWheel { to { rotate: 360deg; } }

/* WhatsApp: a simple phone — the WhatsApp icon, and the QR code to scan on computers */
.yz-phone { position: absolute; z-index: 1; right: 26px; bottom: -46px; width: 132px; height: 236px; border-radius: 26px; padding: 8px; background: linear-gradient(150deg, #2b3038, #111418);
    box-shadow: 0 22px 34px rgba(0, 60, 20, .32), inset 0 0 0 2px rgba(255, 255, 255, .08); rotate: 9deg; }
.yz-phone-screen { height: 100%; border-radius: 19px; background: #fff; display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 20px; }
.yz-phone-wa { width: 52px; height: 52px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 6px 14px rgba(37, 211, 102, .35); }
.yz-phone-wa svg { width: 30px; height: 30px; }
.yz-phone .qr { display: none; width: 84px; height: 84px; }
@media (hover: hover) and (min-width: 901px) { .yz-phone .qr { display: block; } }

@media (prefers-reduced-motion: reduce) {
    .yz-ft, .yz-ft-btn { transition: none; }
    .yz-drive { transition: none; }
    .f-lead:hover .yz-truck, .f-lead:focus-within .yz-truck, .f-lead.is-driving .yz-truck { animation: none; left: 21%; }
    .f-lead:hover .yz-wheel, .f-lead:focus-within .yz-wheel, .f-lead.is-driving .yz-wheel, .yz-truck-speed { animation: none; }
    .yz-ft:hover, .yz-ft-btn:hover { translate: none; }
}
/* Tablet: two columns */
@media (max-width: 1000px) {
    .yz-fun { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .f-lead { grid-column: 1 / -1; grid-row: auto; min-height: 320px; }
    .f-fresh, .f-bulk, .f-wa, .f-ws { grid-column: auto; grid-row: auto; }
    .f-bulk { min-height: 300px; }
    .f-bulk .yz-ft-photo { width: 78%; }
}
/* Phone: one column */
@media (max-width: 640px) {
    .yz-fun { grid-template-columns: 1fr; gap: 14px; }
    .yz-ft { padding: 24px; border-radius: 24px; }
    .f-lead { min-height: 0; padding-top: 34px; }
    .f-lead .yz-ft-text { max-width: none; }
    .f-lead { flex-direction: column; align-items: stretch; }
    .yz-drive { position: relative; inset: auto; width: auto; height: 170px; margin-top: 22px; }
    .f-fresh, .f-wa, .f-ws { min-height: 190px; }
    .f-fresh .yz-ft-text { max-width: 52%; }
    .f-bulk { min-height: 320px; }
    .yz-phone { width: 108px; height: 196px; right: 16px; }
}

/* ==========================================================================
   Checkout: clean up all payment method boxes (WooPayments card, iDEAL,
   Bancontact, ...). Replaces WooCommerce's default purple-grey box and the
   browser's double "groove" fieldset border. Moved here from Additional CSS.
   ========================================================================== */
.woocommerce-checkout #payment div.payment_box {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  margin-top: 12px;
}
.woocommerce-checkout #payment div.payment_box::before {
  display: none;
}
.woocommerce-checkout #payment .payment_box fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
.woocommerce-checkout #payment .woocommerce-SavedPaymentMethods-saveNew {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
}
.woocommerce-checkout #payment .woocommerce-SavedPaymentMethods-saveNew input {
  margin: 0;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
}
.woocommerce-checkout #payment .woocommerce-SavedPaymentMethods-saveNew label {
  margin: 0;
  display: inline;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: #475569;
}
.woocommerce-checkout #payment .woocommerce-privacy-policy-text {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
  font-size: 13px;
  color: #64748b;
}
