/* Yachu — Header, Footer & Mobile Nav */

:root {
    --yachu-peach: #FFE5D9;
    --yachu-peach-dark: #F5C4AE;
    --yachu-gold: #D4AF37;
    --yachu-gold-light: #E8C96A;
    --yachu-brown: #3D2817;
    --yachu-brown-soft: #5C3D2E;
    --yachu-cream: #FFF9F5;
    --yachu-text: #2C1810;
    --yachu-muted: rgba(255, 249, 245, 0.72);
    --yachu-header-height: 72px;
    --yachu-radius: 999px;
    --yachu-shadow: 0 8px 32px rgba(61, 40, 23, 0.12);
}

.yachu-container {
    max-width: 1320px;
    margin: 0 auto;
    padding-left: clamp(16px, 3vw, 32px);
    padding-right: clamp(16px, 3vw, 32px);
}

/* ── Header ── */

.yachu-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    width: 100%;
}

.yachu-promo-banner {
    background: linear-gradient(90deg, var(--yachu-peach) 0%, #FFDCC8 50%, var(--yachu-peach) 100%);
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.yachu-promo-banner.hidden {
    display: none !important;
}

.yachu-promo-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 40px;
    padding: 8px clamp(40px, 6vw, 48px);
}

.yachu-promo-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: var(--yachu-radius);
    background: var(--yachu-brown);
    color: var(--yachu-gold-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    white-space: nowrap;
}

.yachu-promo-text {
    margin: 0;
    color: var(--yachu-text);
    font-size: clamp(12px, 2.2vw, 14px);
    font-weight: 500;
    text-align: center;
    line-height: 1.4;
}

.yachu-promo-close {
    position: absolute;
    right: clamp(12px, 2vw, 20px);
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: var(--yachu-brown);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.75;
    transition: opacity 0.2s, background 0.2s;
}

.yachu-promo-close:hover {
    opacity: 1;
    background: rgba(61, 40, 23, 0.08);
}

.yachu-utility-bar {
    background: var(--yachu-brown);
    color: var(--yachu-cream);
    font-size: 13px;
}

.yachu-utility-bar .yachu-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 38px;
    gap: 16px;
}

.yachu-utility-left,
.yachu-utility-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.yachu-utility-link,
.yachu-utility-hours {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--yachu-muted);
    text-decoration: none;
}

.yachu-utility-link:hover {
    color: var(--yachu-gold-light);
}

.yachu-utility-divider {
    width: 1px;
    height: 14px;
    background: rgba(255, 249, 245, 0.25);
}

.yachu-utility-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: var(--yachu-cream);
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.yachu-utility-social:hover {
    background: rgba(212, 175, 55, 0.2);
    color: var(--yachu-gold-light);
    transform: translateY(-1px);
}

.yachu-main-nav {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(61, 40, 23, 0.08);
    box-shadow: 0 4px 20px rgba(61, 40, 23, 0.06);
}

.yachu-nav-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    min-height: var(--yachu-header-height);
}

.yachu-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    min-width: 0;
}

.yachu-logo-image {
    max-height: 52px;
    width: auto;
    object-fit: contain;
}

.yachu-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--yachu-gold) 0%, var(--yachu-gold-light) 100%);
    color: var(--yachu-brown);
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.yachu-logo-text {
    color: var(--yachu-brown);
    font-size: clamp(16px, 2.4vw, 22px);
    font-weight: 600;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.yachu-desktop-nav {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
}

.yachu-desktop-nav a {
    display: inline-block;
    padding: 8px 14px;
    border-radius: var(--yachu-radius);
    color: var(--yachu-text);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
}

.yachu-desktop-nav a:hover,
.yachu-desktop-nav a:focus-visible {
    color: var(--yachu-brown);
    background: var(--yachu-peach);
}

.yachu-nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-self: end;
}

.yachu-search-form {
    position: relative;
    align-items: center;
}

.yachu-search-input {
    width: 160px;
    height: 38px;
    padding: 0 40px 0 14px;
    border: 1px solid rgba(61, 40, 23, 0.15);
    border-radius: var(--yachu-radius);
    background: var(--yachu-cream);
    color: var(--yachu-text);
    font-size: 13px;
    transition: width 0.25s ease, border-color 0.2s, box-shadow 0.2s;
}

.yachu-search-input:focus {
    outline: none;
    width: 200px;
    border-color: var(--yachu-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}

.yachu-search-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--yachu-brown-soft);
    cursor: pointer;
}

.yachu-icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--yachu-brown);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.yachu-icon-btn:hover {
    background: var(--yachu-peach);
    color: var(--yachu-brown);
}

.yachu-cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: var(--yachu-radius);
    background: var(--yachu-brown);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}

.yachu-cta-btn,
.yachu-outlet-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 18px;
    border-radius: var(--yachu-radius);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
}

.yachu-cta-btn {
    background: linear-gradient(135deg, var(--yachu-gold) 0%, #C9A227 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
}

.yachu-cta-btn:hover {
    transform: translateY(-1px);
    color: #fff;
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.45);
}

.yachu-outlet-btn {
    border: 1px solid rgba(61, 40, 23, 0.2);
    color: var(--yachu-brown);
    background: #fff;
}

.yachu-outlet-btn:hover {
    border-color: var(--yachu-gold);
    color: var(--yachu-brown);
    background: var(--yachu-peach);
}

.yachu-menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(61, 40, 23, 0.12);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
}

.yachu-menu-bar {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0 auto;
    background: var(--yachu-brown);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
}

.yachu-menu-toggle.is-open .yachu-menu-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.yachu-menu-toggle.is-open .yachu-menu-bar:nth-child(2) {
    opacity: 0;
}

.yachu-menu-toggle.is-open .yachu-menu-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */

.yachu-mobile-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(44, 24, 16, 0.45);
    z-index: 1040;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.yachu-mobile-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.yachu-mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 92vw);
    height: 100dvh;
    background: #fff;
    z-index: 1045;
    display: flex;
    flex-direction: column;
    padding: 20px 20px calc(20px + env(safe-area-inset-bottom));
    box-shadow: var(--yachu-shadow);
    transform: translateX(105%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.yachu-mobile-drawer.is-open {
    transform: translateX(0);
}

.yachu-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.yachu-drawer-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--yachu-brown);
}

.yachu-drawer-close {
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: var(--yachu-peach);
    color: var(--yachu-brown);
    cursor: pointer;
}

.yachu-drawer-search {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.yachu-drawer-search input {
    flex: 1;
    height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(61, 40, 23, 0.15);
    border-radius: 12px;
    background: var(--yachu-cream);
}

.yachu-drawer-search button {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 12px;
    background: var(--yachu-brown);
    color: #fff;
    cursor: pointer;
}

.yachu-drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 20px;
}

.yachu-drawer-nav a {
    padding: 12px 14px;
    border-radius: 12px;
    color: var(--yachu-text);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
}

.yachu-drawer-nav a:hover {
    background: var(--yachu-peach);
    color: var(--yachu-brown);
}

.yachu-drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.yachu-cta-btn-block,
.yachu-outlet-btn-block {
    width: 100%;
    min-height: 44px;
}

.yachu-drawer-contact {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(61, 40, 23, 0.1);
}

.yachu-drawer-contact-title {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--yachu-brown-soft);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.yachu-drawer-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--yachu-brown);
    font-weight: 600;
    text-decoration: none;
}

.yachu-drawer-phone-alt {
    margin-top: 6px;
    font-size: 14px;
    color: var(--yachu-brown-soft);
}

.yachu-drawer-phone-alt a {
    color: inherit;
    text-decoration: none;
}

body.yachu-menu-open {
    overflow: hidden;
}

/* ── Footer ── */

.yachu-footer {
    position: relative;
    margin-top: auto;
    background: linear-gradient(180deg, var(--yachu-brown) 0%, #2A1A10 100%);
    color: var(--yachu-cream);
}

.yachu-footer-wave {
    color: var(--yachu-cream);
    line-height: 0;
    margin-top: -1px;
    background: #fff;
}

.yachu-footer-wave svg {
    display: block;
    width: 100%;
    height: 36px;
}

.yachu-footer-body {
    padding: 48px 0 32px;
}

.yachu-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: clamp(24px, 4vw, 48px);
}

.yachu-footer-brand {
    max-width: 360px;
}

.yachu-footer-logo-link {
    display: inline-block;
    margin-bottom: 16px;
    text-decoration: none;
}

.yachu-footer-logo {
    max-height: 56px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.yachu-footer-logo-text {
    display: inline-block;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--yachu-gold-light);
}

.yachu-footer-tagline {
    margin: 0 0 20px;
    color: var(--yachu-muted);
    font-size: 14px;
    line-height: 1.7;
}

.yachu-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.yachu-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 249, 245, 0.2);
    color: var(--yachu-cream);
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.yachu-footer-social a:hover {
    background: rgba(212, 175, 55, 0.18);
    border-color: var(--yachu-gold);
    color: var(--yachu-gold-light);
    transform: translateY(-2px);
}

.yachu-footer-panel {
    border: none;
}

.yachu-footer-heading {
    display: block;
    margin: 0 0 16px;
    color: var(--yachu-gold-light);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    list-style: none;
    cursor: default;
}

.yachu-footer-heading::-webkit-details-marker {
    display: none;
}

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

.yachu-footer-links li + li,
.yachu-footer-contact li + li {
    margin-top: 10px;
}

.yachu-footer-links a,
.yachu-footer-contact a,
.yachu-footer-inline-link {
    color: var(--yachu-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.yachu-footer-links a:hover,
.yachu-footer-contact a:hover,
.yachu-footer-inline-link:hover {
    color: var(--yachu-gold-light);
}

.yachu-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--yachu-muted);
    font-size: 14px;
    line-height: 1.5;
}

.yachu-footer-contact i {
    margin-top: 3px;
    color: var(--yachu-gold);
    width: 16px;
    flex-shrink: 0;
}

.yachu-footer-contact small {
    display: block;
    opacity: 0.75;
    font-size: 12px;
}

.yachu-footer-hours-time {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.yachu-footer-hours-days,
.yachu-footer-hours-note {
    margin: 0 0 8px;
    color: var(--yachu-muted);
    font-size: 14px;
}

.yachu-footer-hours-note {
    font-style: italic;
    margin-bottom: 18px;
}

.yachu-footer-reviews-title {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.yachu-footer-review-links {
    display: flex;
    gap: 14px;
    margin-bottom: 14px;
}

.yachu-footer-review-links a {
    color: var(--yachu-gold-light);
    font-size: 14px;
    text-decoration: none;
}

.yachu-footer-inline-link {
    display: inline-block;
    margin-right: 16px;
    margin-top: 4px;
}

.yachu-footer-bottom {
    border-top: 1px solid rgba(255, 249, 245, 0.12);
    padding: 18px 0 calc(18px + env(safe-area-inset-bottom));
}

.yachu-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.yachu-footer-copy {
    margin: 0;
    color: var(--yachu-muted);
    font-size: 13px;
}

.yachu-footer-bottom-links {
    display: flex;
    gap: 18px;
}

.yachu-footer-bottom-links a {
    color: var(--yachu-muted);
    font-size: 13px;
    text-decoration: none;
}

.yachu-footer-bottom-links a:hover {
    color: var(--yachu-gold-light);
}

/* ── Mobile bottom nav ── */

@media (max-width: 991.98px) {
    body {
        padding-bottom: 68px;
    }

    .yachu-nav-row {
        grid-template-columns: auto 1fr auto;
    }

    .yachu-logo {
        justify-self: start;
    }

    .yachu-nav-actions {
        justify-self: end;
    }

    .yachu-logo-image {
        max-height: 42px;
    }

    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1025;
        min-height: 62px;
        padding: 6px max(10px, env(safe-area-inset-left)) calc(6px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-right));
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(61, 40, 23, 0.1);
        box-shadow: 0 -6px 24px rgba(61, 40, 23, 0.08);
        justify-content: space-around;
        align-items: stretch;
    }

    .mobile-bottom-nav-link {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        min-height: 50px;
        color: #9A8B82;
        background: transparent;
        border-radius: 12px;
        font-size: 10px;
        font-weight: 500;
        text-decoration: none;
        transition: color 0.2s, background 0.2s;
    }

    .mobile-bottom-nav-link i {
        font-size: 20px;
    }

    .mobile-bottom-nav-link:hover,
    .mobile-bottom-nav-link:focus,
    .mobile-bottom-nav-link.active {
        color: var(--yachu-brown);
        background: var(--yachu-peach);
    }

    .mobile-bottom-cart-count {
        top: -10px;
        right: -10px;
        min-width: 17px;
        height: 17px;
        padding: 0 4px;
        background: var(--yachu-gold);
        border: 2px solid #fff;
        color: var(--yachu-brown);
        font-size: 10px;
        font-weight: 700;
        line-height: 13px;
    }
}

@media (max-width: 1199.98px) {
    .yachu-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .yachu-footer-brand {
        grid-column: 1 / -1;
        max-width: none;
    }
}

@media (max-width: 767.98px) {
    :root {
        --yachu-header-height: 64px;
    }

    .yachu-promo-label {
        display: none;
    }

    .yachu-footer-body {
        padding: 32px 0 24px;
    }

    .yachu-footer-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .yachu-footer-panel {
        border-bottom: 1px solid rgba(255, 249, 245, 0.1);
        padding: 16px 0;
    }

    .yachu-footer-panel[open] .yachu-footer-heading {
        margin-bottom: 12px;
    }

    .yachu-footer-heading {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 0;
        cursor: pointer;
    }

    .yachu-footer-heading::after {
        content: "+";
        font-size: 18px;
        color: var(--yachu-gold-light);
        transition: transform 0.2s;
    }

    .yachu-footer-panel[open] .yachu-footer-heading::after {
        content: "−";
    }

    .yachu-footer-panel:not([open]) .yachu-footer-links,
    .yachu-footer-panel:not([open]) .yachu-footer-contact,
    .yachu-footer-panel:not([open]) .yachu-footer-hours,
    .yachu-footer-panel:not([open]) .yachu-footer-reviews,
    .yachu-footer-panel:not([open]) .yachu-footer-inline-link {
        display: none;
    }

    .yachu-footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (min-width: 768px) {
    .yachu-footer-panel .yachu-footer-heading::after {
        display: none;
    }
}

@media (min-width: 992px) {
    .yachu-nav-row {
        grid-template-columns: auto 1fr auto;
    }

    .yachu-menu-toggle {
        display: none;
    }
}
