/* Jin Yuan's restaurant shell. All legacy-page overrides are scoped to jy-inner. */
body.jy-redesign {
    --jy-shell-ivory: #f5f0e7;
    --jy-shell-ink: #241d18;
    --jy-shell-gold: #b79561;
    --jy-shell-wine: #692d30;
    --jy-shell-muted: #71665b;
    --jy-shell-line: rgba(75, 53, 32, .16);
    color: var(--jy-shell-ink);
    background: var(--jy-shell-ivory);
    font-family: "Jost", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    height: auto;
    min-height: 100vh;
}
body.jy-redesign #page.page {
    padding-top: 0 !important;
    height: auto !important;
    min-height: 100vh;
    background: var(--jy-shell-ivory);
    overflow: visible;
    transform: none;
}
body.jy-redesign .c-bully { display: none !important; }
.jy-redesign :focus-visible { outline: 2px solid #692d30; outline-offset: 5px; }
.jy-redesign #main-content { scroll-margin-top: 106px; }
.jy-content-target { display: block; height: 0; scroll-margin-top: 106px; }
.jy-skip-link {
    position: fixed;
    top: 12px;
    left: 16px;
    z-index: 100000;
    padding: 12px 20px;
    color: #fff;
    background: #241d18;
    text-decoration: none;
    transform: translateY(-180%);
}
.jy-skip-link:focus { color: #fff; transform: translateY(0); }
.jy-site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    color: #241d18;
    background: #f5f0e7;
    border-bottom: 1px solid rgba(75, 53, 32, .15);
}
.admin-bar .jy-site-header { top: 32px; }
.jy-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    max-width: 1440px;
    min-height: 88px;
    margin: 0 auto;
    padding: 0 4.2%;
}
.jy-brand { display: block; flex: 0 0 auto; line-height: 1; }
.jy-brand img { display: block; width: 186px; height: auto; }
.jy-navigation { margin-left: auto; }
.jy-navigation-list {
    display: flex;
    align-items: center;
    gap: clamp(20px, 2.7vw, 42px);
    list-style: none;
    padding: 0;
    margin: 0;
}
.jy-navigation-list li { margin: 0; padding: 0; }
.jy-navigation-list a {
    position: relative;
    display: block;
    padding: 14px 0;
    color: #241d18;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: .015em;
    line-height: 1.5;
    white-space: nowrap;
    text-transform: none;
    text-decoration: none;
}
.jy-navigation-list a::after {
    position: absolute;
    content: "";
    bottom: 7px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #692d30;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s;
}
.jy-navigation-list a:hover::after,
.jy-navigation-list a[aria-current="page"]::after { transform: scaleX(1); }
.jy-header-actions { display: flex; align-items: center; gap: 20px; }
.jy-header-book {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    min-height: 46px;
    padding: 0 22px;
    color: #f5f0e7;
    background: #241d18;
    border: 1px solid #241d18;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: .025em;
    white-space: nowrap;
    transition: background .2s, border-color .2s;
}
.jy-header-book:hover { color: #f5f0e7; background: #692d30; border-color: #692d30; }
.jy-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 44px;
    color: #241d18;
    text-decoration: none;
}
.jy-cart:hover { color: #692d30; }
.jy-cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 1px;
    right: -4px;
    min-width: 17px;
    height: 17px;
    padding: 0 3px;
    color: #f5f0e7;
    background: #692d30;
    border-radius: 50%;
    font: 10px/1 "Jost", Arial, sans-serif;
}
.jy-navigation-phone, .jy-menu-toggle { display: none; }
.jy-site-footer { background: #241d18; color: #e9e1d4; }
.jy-footer-inner { max-width: 1440px; padding: 76px 4.2% 26px; margin: 0 auto; }
.jy-footer-top { display: grid; grid-template-columns: 1.5fr 1fr .9fr 1fr; gap: 5%; padding-bottom: 56px; }
.jy-footer-brand {
    display: inline-block;
    color: #f5f0e7;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 35px;
    letter-spacing: .16em;
    line-height: 1.2;
    text-decoration: none;
}
.jy-footer-brand span { display: block; color: #b79561; font: 10px/1.8 "Jost", Arial, sans-serif; letter-spacing: .2em; text-transform: uppercase; margin: 10px 0 0; }
.jy-footer-intro p { margin: 20px 0 23px; color: #c8bdaf; font-size: 15px; line-height: 1.8; }
.jy-site-footer .jy-footer-reserve { display: inline-block; color: #ddc29a; border-bottom: 1px solid rgba(221, 194, 154, .45); padding-bottom: 5px; font-size: 13px; }
.jy-footer-column h2 {
    color: #ddc29a;
    font: 400 12px/1.5 "Jost", Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: .16em;
    margin: 4px 0 23px;
}
.jy-footer-column p, .jy-footer-column address { color: #e9e1d4; font: 400 14px/1.9 "Jost", Arial, sans-serif; margin: 0 0 14px; }
.jy-footer-column address { font-style: normal; }
.jy-footer-column strong { color: #f5f0e7; font-weight: 400; }
.jy-site-footer a { color: #e9e1d4; text-decoration: none; transition: color .2s; }
.jy-site-footer a:hover { color: #ddc29a; }
.jy-footer-column > a { display: block; margin-bottom: 8px; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.jy-footer-column p.jy-footer-small { color: #b8ab9d; font-size: 12px; }
.jy-footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid rgba(245, 240, 231, .14); padding-top: 25px; }
.jy-footer-bottom p { color: #ad9f90; font-size: 11px; margin: 0; }
.jy-footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.jy-footer-links a { color: #c8bdaf; font-size: 11px; }
.jy-site-footer :focus-visible, .jy-mobile-actions :focus-visible { outline-color: #ddc29a; }
.jy-mobile-actions { display: none; }

/* Inner pages retain their WordPress content, plugin markup, and checkout flow. */
body.jy-inner {
    --jy-bg: #f5f0e7;
    --jy-bg-soft: #fffdf8;
    --jy-bg-deep: #eee6da;
    --jy-card: #fffdf8;
    --jy-line: rgba(75, 53, 32, .2);
    --jy-line-soft: rgba(75, 53, 32, .13);
    --jy-text: #51463c;
    --jy-muted: #73665a;
    --jy-ivory: #241d18;
    --jy-gold: #92703d;
    --jy-gold-bright: #805d2a;
}
.jy-inner .article__content { padding-top: 64px; padding-bottom: 78px; background: #f5f0e7 !important; color: #51463c; }
.jy-inner .article__content > .container { max-width: 1200px; }
.jy-inner .article__content p { color: #51463c; }
.jy-inner .article__content :is(h1, h2, h3, h4, h5, h6) { color: #241d18 !important; }
.jy-inner .woocommerce :is(h2, h3) { text-transform: none; letter-spacing: -.015em; }
.jy-inner .article__content input::placeholder,
.jy-inner .article__content textarea::placeholder { color: #85796b; opacity: 1; }
.jy-inner .article__content a:not(.button):not(.product__button) { color: #692d30; border-color: rgba(105, 45, 48, .3); }
.jy-inner .article__content a:hover { color: #241d18; }
.jy-inner .page__content .heading .heading__title,
.jy-inner .page__content .jy-section__title,
.jy-inner .page__content .jy-section__subtitle { color: #241d18; text-transform: none; }
.jy-inner .page__content .headline__primary { color: #241d18; font-size: clamp(32px, 3.3vw, 46px); line-height: 1.2; text-transform: none !important; letter-spacing: -.02em !important; text-shadow: none; }
.jy-inner header.c-hero.article__header--page:not(.jy-findus) {
    min-height: 230px !important;
    height: 230px !important;
    padding: 46px 24px !important;
    background: #e9dfcf;
    overflow: hidden;
}
.jy-inner header.c-hero.has-no-image.article__header--page { background: #eee6da; }
.jy-inner header.c-hero.article__header--page .c-hero__wrapper { position: relative !important; top: auto !important; left: auto !important; transform: none !important; width: 100%; min-height: 138px; display: flex; justify-content: center; align-items: center; }
.jy-inner header.c-hero.article__header--page .article__headline { position: relative; margin: 0 auto !important; opacity: 1 !important; transform: none !important; }
.jy-inner header.c-hero.article__header--page .headline__primary { color: #f5f0e7; font-size: clamp(40px, 4.5vw, 66px); letter-spacing: -.025em !important; margin-right: 0 !important; text-transform: none; text-shadow: 0 2px 18px rgba(0, 0, 0, .3); opacity: 1 !important; transform: none !important; }
.jy-inner header.c-hero.has-no-image .headline__primary { color: #241d18; text-shadow: none; }
.jy-inner header.c-hero .c-hero__background { position: absolute !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; transform: none !important; }
.jy-inner header.c-hero .c-hero__image { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; transform: none !important; }
.jy-inner header.c-hero .c-hero__background::after { background: rgba(30, 21, 13, .4); }
.jy-inner .article__content .button,
.jy-inner .article__content .product__button,
.jy-inner .rtb-booking-form .rtb-form-submit button,
.jy-inner #place_order {
    color: #f5f0e7;
    background: #692d30;
    border: 1px solid #692d30;
    border-radius: 2px;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: .035em;
    line-height: 1.3;
    box-shadow: none;
    text-shadow: none;
}
.jy-inner .article__content .button:hover,
.jy-inner .article__content .product__button:hover,
.jy-inner .rtb-booking-form .rtb-form-submit button:hover { color: #fffdf8; background: #241d18; border-color: #241d18; }
.jy-inner .jy-pricecard, .jy-inner .jy-pkg,
.jy-inner .page__content .promo-box { background: #fffdf8 !important; border-color: #d8c8ae !important; border-radius: 2px; box-shadow: 0 12px 30px rgba(75, 53, 32, .04); }
.jy-inner .jy-pricecard__price { color: #692d30; }
.jy-inner .jy-photoduo img { border-radius: 2px; box-shadow: none; }
.jy-inner .rtb-booking-form { max-width: 760px; padding: 36px 40px; border: 1px solid #dfd3c1; background: #fffdf8; }
.jy-inner .rtb-booking-form fieldset { border: 0; padding: 0; margin: 0 0 28px; }
.jy-inner .rtb-booking-form legend { width: 100%; border-bottom: 1px solid #dfd3c1; padding: 0 0 12px; margin-bottom: 22px; }
.jy-inner .rtb-booking-form div.rtb-text,
.jy-inner .rtb-booking-form div.rtb-select { padding: 0; border: 0; background: transparent; border-radius: 0; margin: 0 0 20px; }
.jy-inner .rtb-booking-form input:not([type="hidden"]),
.jy-inner .rtb-booking-form select,
.jy-inner .rtb-booking-form textarea { width: 100%; max-width: none; }
.jy-inner .rtb-booking-form h2, .jy-inner .rtb-booking-form legend { color: #241d18; font-family: "Cormorant Garamond", Georgia, serif; font-size: 30px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.jy-inner .rtb-booking-form label { color: #65574a; font-size: 12px; letter-spacing: .08em; }
.jy-inner .rtb-booking-form input:not([type="hidden"]),
.jy-inner .rtb-booking-form select,
.jy-inner .rtb-booking-form textarea,
.jy-inner .woocommerce .input-text,
.jy-inner .woocommerce select,
.jy-inner .woocommerce textarea,
.jy-inner .select2-container .select2-selection {
    background: #fffdf8;
    color: #241d18;
    border: 1px solid #cbbca7;
    border-radius: 2px;
    font: 400 16px/1.5 "Jost", Arial, sans-serif;
}
.jy-inner .rtb-booking-form input:focus,
.jy-inner .rtb-booking-form select:focus,
.jy-inner .rtb-booking-form textarea:focus { border-color: #692d30; box-shadow: 0 0 0 2px rgba(105, 45, 48, .1); }
.jy-inner .woocommerce table.shop_table { background: #fffdf8; color: #241d18; border-radius: 2px; }
.jy-inner .woocommerce table.shop_table th { color: #65574a; }
.jy-inner .woocommerce-info, .jy-inner .woocommerce-message, .jy-inner .woocommerce-error { color: #241d18; background: #fffdf8; border-color: #b79561; }
.jy-inner #payment, .jy-inner #payment .payment_box { color: #241d18; background: #eee6da; }
.jy-inner .woocommerce-loop-category__title,
.jy-inner li.type-product .product__title { color: #241d18; }
.jy-inner .woocommerce-loop-category__title { text-transform: none; letter-spacing: .015em; }
.jy-inner li.type-product .price .amount { color: #692d30; }
.jy-inner .products li.type-product { border-radius: 2px; box-shadow: none; }
.jy-inner .products li.type-product:hover { box-shadow: 0 8px 20px rgba(75, 53, 32, .07); }
.jy-inner .products li.product-category a img { border-radius: 2px; }
.jy-inner .products li.product-category:hover a img { box-shadow: 0 8px 20px rgba(75, 53, 32, .08); }
.jy-inner .article__content .woocommerce-product-details__short-description { position: static !important; opacity: 1 !important; width: auto !important; margin: 0 0 14px !important; padding: 0 !important; background: transparent !important; border: 0; backdrop-filter: none; color: #51463c; font-size: 13px; line-height: 1.65; }
.jy-inner .jy-findus { background: #eee6da; }
.jy-inner .jy-findus__title, .jy-inner .jy-findus__value, .jy-inner .jy-findus__value a { color: #241d18; }
.jy-inner .jy-findus__map { border-radius: 2px; box-shadow: none; }

@media (max-width: 1100px) {
    .jy-header-inner { gap: 22px; padding-left: 3%; padding-right: 3%; }
    .jy-brand img { width: 162px; }
    .jy-navigation-list { gap: 23px; }
    .jy-header-actions { gap: 12px; }
    .jy-header-book { padding: 0 17px; gap: 14px; }
    .jy-footer-top { gap: 4%; }
}
@media (max-width: 960px) {
    .jy-header-inner { position: relative; flex-wrap: wrap; min-height: 76px; padding: 0 26px; gap: 0 20px; }
    .jy-brand img { width: 172px; }
    .jy-header-actions { margin-left: auto; gap: 18px; min-height: 76px; }
    .jy-menu-ready .jy-menu-toggle { display: inline-flex; }
    .jy-menu-toggle { align-items: center; gap: 9px; padding: 0; min-height: 44px; color: #241d18; background: transparent; border: 0; border-radius: 0; font: 12px/1 "Jost", Arial, sans-serif; letter-spacing: .03em; cursor: pointer; }
    .jy-menu-lines { position: relative; display: inline-block; width: 21px; height: 13px; border-top: 1px solid; border-bottom: 1px solid; transition: border-color .2s; }
    .jy-menu-lines::after { content: ""; position: absolute; left: 0; top: 5px; width: 21px; border-top: 1px solid; transition: transform .2s; }
    [data-menu-open="true"] .jy-menu-lines { border-color: transparent; }
    [data-menu-open="true"] .jy-menu-lines::before { content: ""; position: absolute; top: 5px; left: 0; width: 21px; border-top: 1px solid; transform: rotate(-45deg); }
    [data-menu-open="true"] .jy-menu-lines::after { transform: rotate(45deg); }
    .jy-navigation { order: 3; flex: 1 0 100%; margin: 0; padding: 12px 0 28px; border-top: 1px solid #dfd3c1; }
    .jy-menu-ready .jy-navigation { display: none; }
    .jy-menu-ready[data-menu-open="true"] .jy-navigation { display: block; }
    .jy-navigation-list { display: block; }
    .jy-navigation-list a { padding: 12px 0; font-size: 21px; font-family: "Cormorant Garamond", Georgia, serif; }
    .jy-navigation-list a::after { width: 24px; bottom: 7px; }
    .jy-navigation-phone { display: inline-block; color: #692d30; font-size: 13px; margin-top: 18px; text-decoration: none; }
    .jy-footer-top { grid-template-columns: 1.3fr 1fr; gap: 40px 12%; }
    .jy-footer-bottom { align-items: flex-start; }
    .jy-footer-links { gap: 12px 20px; }
}
@media (max-width: 782px) { .admin-bar .jy-site-header { top: 46px; } }
@media (max-width: 600px) {
    .admin-bar .jy-site-header { top: 0; }
    body.jy-redesign { padding-bottom: calc(61px + env(safe-area-inset-bottom, 0px)); }
    .jy-header-inner { min-height: 72px; padding: 0 20px; gap: 0 10px; }
    .jy-header-actions { min-height: 72px; gap: 13px; }
    .jy-brand img { width: 149px; }
    .jy-header-book { display: none; }
    .jy-menu-word { display: none; }
    .jy-menu-toggle { justify-content: center; min-width: 35px; }
    .jy-footer-inner { padding: 52px 24px 28px; }
    .jy-footer-top { grid-template-columns: 1fr 1fr; gap: 34px 24px; padding-bottom: 36px; }
    .jy-footer-intro { grid-column: 1 / -1; }
    .jy-footer-top nav { grid-column: 1 / -1; }
    .jy-footer-column h2 { font-size: 11px; margin-bottom: 15px; }
    .jy-footer-column > a, .jy-footer-column p, .jy-footer-column address { font-size: 13px; }
    .jy-footer-bottom { display: block; }
    .jy-footer-links { margin-top: 18px; gap: 15px 20px; }
    .jy-mobile-actions { display: grid; grid-template-columns: 1fr 1fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 1100; padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)); background: #f5f0e7; border-top: 1px solid #d8c8ae; gap: 8px; }
    .jy-mobile-actions a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; padding: 0 13px; color: #241d18; border: 1px solid #cbbca7; font-size: 12px; text-decoration: none; }
    .jy-mobile-actions a:last-child { background: #692d30; border-color: #692d30; color: #fffdf8; }
    .jy-inner .article__content { padding-top: 40px; padding-bottom: 48px; }
    .jy-inner header.c-hero.article__header--page:not(.jy-findus) { min-height: 180px !important; height: 180px !important; padding: 28px 20px !important; }
    .jy-inner header.c-hero.article__header--page .c-hero__wrapper { min-height: 124px; }
    .jy-inner header.c-hero.article__header--page .headline__primary { font-size: 39px; }
    .jy-inner .rtb-booking-form { padding: 24px 18px; }
    .jy-inner .jy-dishes { columns: 1; }
    .jy-inner .jy-pricecards { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    .jy-site-header *, .jy-site-footer *, .jy-mobile-actions * { transition: none !important; }
}
