/* Takeaway orientation and controls, layered after jinyuan-shell.css. */
.jy-inner .article__content .jy-ordering-intro {
    margin: -10px auto 42px;
    text-align: center;
}
.jy-inner .article__content .jy-ordering-note {
    margin: 0;
    color: #65574b;
    font: 400 14px/1.8 "Jost", Arial, sans-serif;
    letter-spacing: .015em;
}
.jy-ordering-note > span { padding: 0 6px; }
.jy-ordering-header { margin-bottom: 42px; }
.jy-inner .article__content a.jy-ordering-back {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    margin-bottom: 23px;
    padding: 0 0 3px;
    font-size: 14px;
    line-height: 1.5;
    border-bottom: 1px solid #c9b39b;
    text-decoration: none;
}
.jy-inner .article__content .jy-ordering-eyebrow {
    margin: 0 0 12px;
    color: #805d2a;
    font: 400 10px/1.6 "Jost", Arial, sans-serif;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.jy-inner .article__content .jy-ordering-header h1 {
    margin: 0 0 16px;
    font: 500 clamp(38px, 4.1vw, 58px)/1.1 "Cormorant Garamond", Georgia, serif;
    letter-spacing: -.02em;
    text-transform: none;
}
.jy-ordering-categories { margin-top: 24px; }
.jy-ordering-categories summary {
    display: flex;
    align-items: center;
    gap: 14px;
    width: fit-content;
    min-height: 44px;
    padding: 11px 16px;
    color: #692d30;
    background: #fffdf8;
    border: 1px solid #d8c8ae;
    border-radius: 2px;
    font: 400 13px/1.5 "Jost", Arial, sans-serif;
    list-style: none;
    cursor: pointer;
}
.jy-ordering-categories summary::-webkit-details-marker { display: none; }
.jy-ordering-categories summary::after { content: "⌄"; font-size: 16px; line-height: 1; }
.jy-ordering-categories[open] summary::after { transform: rotate(180deg); }
.jy-ordering-categories[open] summary { margin-bottom: 12px; }
.jy-inner .article__content .jy-ordering-categories ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.jy-ordering-categories li { margin: 0; padding: 0; }
.jy-inner .article__content .jy-ordering-categories a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 15px;
    border: 1px solid #d8c8ae;
    border-radius: 2px;
    background: #fffdf8;
    font-size: 13px;
    line-height: 1.5;
    text-decoration: none;
}
.jy-inner .article__content .jy-ordering-categories a[aria-current="page"] {
    background: #692d30;
    border-color: #692d30;
    color: #fffdf8;
}
.jy-ordering-categories summary:focus-visible,
.jy-inner.jy-ordering .article__content a:focus-visible {
    outline: 2px solid #692d30;
    outline-offset: 4px;
}

/* WooCommerce's clearfix must not occupy the first cell of the category grid. */
.jy-inner.jy-ordering.tax-product_cat .article__content ul.products::before,
.jy-inner.jy-ordering.tax-product_cat .article__content ul.products::after {
    content: none !important;
    display: none !important;
}
.jy-inner.jy-ordering.tax-product_cat .article__content ul.products {
    align-items: stretch;
    margin: 0;
}
.jy-inner.jy-ordering.tax-product_cat .article__content ul.products li.type-product {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    background: #fffdf8;
    border: 1px solid #d8c8ae;
    border-radius: 2px !important;
}
.jy-inner.jy-ordering.tax-product_cat .article__content ul.products li.type-product:hover {
    transform: none !important;
    box-shadow: 0 6px 18px rgba(75, 53, 32, .06) !important;
}

/* Keep the price and ordering controls available to touch and keyboard users. */
.jy-inner.jy-ordering .article__content ul.products li.type-product .price,
.jy-inner.jy-ordering .article__content ul.products li.type-product:hover .price {
    opacity: 1 !important;
    margin-bottom: 0 !important;
}
.jy-inner.jy-ordering .article__content ul.products li.type-product .product__button,
.jy-inner.jy-ordering .article__content ul.products li.type-product a.added_to_cart {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    visibility: visible;
    opacity: 1;
    min-height: 44px;
    width: auto;
    max-width: 100%;
    margin: 18px 0 0;
    padding: 11px 18px !important;
    border: 1px solid #692d30;
    border-radius: 2px;
    background: #692d30 !important;
    color: #fffdf8;
    font: 400 13px/1.5 "Jost", Arial, sans-serif !important;
    letter-spacing: .025em;
    text-transform: none;
    text-align: center;
    text-decoration: none;
    white-space: normal;
    box-shadow: none;
    backdrop-filter: none;
}
.jy-inner.jy-ordering .article__content ul.products li.type-product .product__button:hover,
.jy-inner.jy-ordering .article__content ul.products li.type-product .product__button:focus-visible {
    background: #241d18 !important;
    border-color: #241d18;
    color: #fffdf8;
}
.jy-inner.jy-ordering .article__content ul.products li.type-product .product__button.loading { cursor: wait; }
.jy-inner.jy-ordering .article__content ul.products li.type-product a.added_to_cart {
    margin-top: 10px;
    background: transparent !important;
    color: #692d30;
    border-color: #c9b39b;
}
.jy-inner.jy-ordering .article__content ul.products li.type-product a.added_to_cart::before,
.jy-inner.jy-ordering .article__content ul.products li.type-product a.added_to_cart::after { content: none; }
.jy-inner.jy-ordering .article__content ul.products li.type-product a.added_to_cart:hover {
    background: #eee6da !important;
    color: #241d18;
}
@media (max-width: 560px) {
    .jy-ordering-header { margin-bottom: 32px; }
    .jy-inner .article__content .jy-ordering-intro { margin-bottom: 30px; }
    .jy-inner .article__content .jy-ordering-note { font-size: 13px; }
}
