/* Product details only. WooCommerce retains quantity, stock and purchase logic. */
body.single-product {
    --tm-product-ink:#03465e;
    --tm-product-muted:#627b85;
    --tm-product-line:#e5e9e6;
    background:#f5f4f1;
}
body.single-product .bread {
    background:#f5f4f1;
    padding:24px 0 0;
    color:var(--tm-product-muted);
    font-size:14px;
    line-height:1.5;
}
body.single-product .bread .container {overflow-wrap:anywhere}
body.single-product .bread .home {
    color:var(--tm-product-ink);
    border-radius:6px;
    text-underline-offset:3px;
}
body.single-product .bread .current-item {color:var(--tm-product-muted)}
body.single-product .shop-product.container {
    display:block;
    padding-top:24px;
    padding-bottom:56px;
}
body.single-product .shop-product>.product {width:100%;min-width:0}
body.single-product .shop-product .single-two {padding:0}
body.single-product .shop-product .single-two>.container {
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    align-items:start;
    gap:24px;
    width:100%;
    padding:0;
}
body.single-product .shop-product .woocommerce-product-gallery {
    box-sizing:border-box;
    display:block;
    float:none;
    width:100%!important;
    min-width:0;
    margin:0!important;
    padding:8px;
    border:1px solid var(--tm-product-line);
    border-radius:24px;
    background:#fff;
    aspect-ratio:auto;
    overflow:hidden;
}
body.single-product .shop-product .woocommerce-product-gallery__wrapper {width:100%;margin:0}
body.single-product .shop-product .woocommerce-product-gallery :is(.woocommerce-product-gallery__image,.woocommerce-product-gallery__image--placeholder,.flex-viewport) {border-radius:16px;overflow:hidden}
body.single-product .shop-product .woocommerce-product-gallery img {
    display:block;
    width:100%;
    max-width:100%;
    min-width:0;
    height:auto;
    min-height:0;
    border-radius:16px;
    object-fit:cover;
}
body.single-product .shop-product .woocommerce-product-gallery .flex-control-thumbs {margin-top:8px}
body.single-product .shop-product .woocommerce-product-gallery .flex-control-thumbs img {border-radius:10px}
body.single-product .shop-product .single-two .summary {
    box-sizing:border-box;
    float:none;
    width:100%!important;
    min-width:0;
    margin:0!important;
    padding:28px;
    gap:24px;
    align-items:stretch;
    justify-content:flex-start;
    border:1px solid var(--tm-product-line);
    border-radius:24px;
    background:#fff;
    box-shadow:0 3px 12px #03465e04;
}
body.single-product .shop-product .product-content {min-width:0;width:100%}
body.single-product .shop-product .single-two .product_title {
    margin:0 0 14px;
    color:var(--tm-product-ink);
    font-size:clamp(26px,2.6vw,34px);
    font-weight:600;
    line-height:1.2;
    overflow-wrap:anywhere;
}
body.single-product .shop-product .themore-fulfillment-badge {
    max-width:100%;
    margin:0 0 4px;
    padding:6px 10px;
    border:0;
    border-radius:9px;
    background:#f3eee7;
    color:#805d41;
    font-size:12px;
    font-weight:500;
    white-space:normal;
}
body.single-product .shop-product .single-two .price {
    margin:20px 0;
    color:var(--tm-product-ink)!important;
    font-size:26px;
    font-weight:400!important;
    line-height:1.3;
    font-variant-numeric:tabular-nums;
}
body.single-product .shop-product .price ins {background:none;font-weight:400}
body.single-product .shop-product .price del {font-size:.7em;color:var(--tm-product-muted)}
body.single-product .shop-product .woocommerce-product-details__short-description {
    margin:0;
    color:#47616b;
    font-size:16px;
    line-height:1.6;
    overflow-wrap:anywhere;
}
body.single-product .shop-product .woocommerce-product-details__short-description p {margin:0 0 12px}
body.single-product .shop-product .woocommerce-product-details__short-description p:last-child {margin-bottom:0}
body.single-product .shop-product .woocommerce-product-details__short-description .product-nutrition {
    margin:16px 0 0;
    padding:12px 14px;
    border-radius:12px;
    background:#f5f6f3;
    color:var(--tm-product-muted);
    font-size:14px;
    line-height:1.5;
}
body.single-product .shop-product .summary>.stock {margin:0;font-size:14px}
body.single-product .shop-product .summary>.stock.out-of-stock {padding:12px 14px;border-radius:12px;background:#fff3eb;color:#805d41}

/* Native simple/variable product forms keep their hidden fields and disabled states. */
body.single-product .shop-product .single-two form.cart {
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:12px;
    width:100%;
    margin:0!important;
    padding:20px 0 0;
    border-top:1px solid #edf0ec;
}
body.single-product .shop-product .single-two form.cart .button-row {flex:1 1 150px;min-width:0;width:auto;gap:0}
body.single-product .shop-product .single-two form.cart .qib-button-wrapper {
    display:flex!important;
    align-items:center;
    flex:0 0 auto;
    gap:0;
    margin:0!important;
    padding:4px;
    border:1px solid var(--tm-product-line);
    border-radius:14px;
    background:#f5f4f1;
}
body.single-product .shop-product .single-two form.cart .qib-button-wrapper button.qib-button {
    flex:0 0 36px;
    width:36px!important;
    height:40px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:10px!important;
    background:#eaece8!important;
    color:var(--tm-product-ink)!important;
    font:400 22px/1 Arial,sans-serif!important;
    transition:background-color .16s ease,opacity .16s ease;
}
body.single-product .shop-product .single-two form.cart .qib-button-wrapper button.plus {background:#eee3d8!important}
body.single-product .shop-product .single-two form.cart .quantity {float:none!important;margin:0!important}
body.single-product .shop-product .single-two form.cart input.qty {
    box-sizing:border-box;
    width:44px!important;
    height:40px!important;
    min-height:40px;
    margin:0!important;
    padding:0 2px!important;
    border:1px solid transparent!important;
    border-radius:9px!important;
    background:#f5f4f1!important;
    color:var(--tm-product-ink)!important;
    font:400 16px/1.4 Gilroy,Arial,sans-serif!important;
    text-align:center;
}
body.single-product .shop-product .single-two form.cart .single_add_to_cart_button {
    box-sizing:border-box;
    float:none;
    width:100%;
    min-height:50px;
    margin:0!important;
    padding:12px 18px!important;
    border:1px solid transparent!important;
    border-radius:14px!important;
    background:var(--tm-product-ink)!important;
    color:#fff!important;
    font:600 16px/1.4 Gilroy,Arial,sans-serif!important;
    text-transform:none;
    white-space:normal;
    transition:background-color .18s ease,box-shadow .18s ease,opacity .18s ease;
}
body.single-product .shop-product .single-two form.cart :is(button:disabled,.button.disabled) {opacity:.45!important;cursor:not-allowed;box-shadow:none}
body.single-product .shop-product .single-two form.cart.variations_form {display:block}
body.single-product .shop-product .variations select {
    box-sizing:border-box;width:100%;max-width:100%;min-height:50px;padding:10px 14px;
    border:1px solid #dce3e3;border-radius:12px;background:#fafbf9;color:var(--tm-product-ink);font:400 16px/1.4 Gilroy,Arial,sans-serif;
}
body.single-product .shop-product .woocommerce-variation-add-to-cart {display:flex;flex-wrap:wrap;gap:12px;align-items:center}
body.single-product .shop-product .woocommerce-variation-add-to-cart>.single_add_to_cart_button {flex:1 1 150px;width:auto!important}
body.single-product .shop-product .reset_variations {color:var(--tm-product-muted);text-underline-offset:3px}
/* Empty data-tabs area must not leave a large blank strip below the card. */
body.single-product .shop-product .single-three:not(:has(.container>*)) {display:none}
body.single-product .shop-product .single-three {padding-top:28px}
body.single-product .shop-product .woocommerce-tabs {padding:20px;border:1px solid var(--tm-product-line);border-radius:20px;background:#fff}
@media(min-width:768px){body.single-product .fixed-actions :is(.account-button,.xoo-wsc-basket) {border-radius:14px 0 0 14px!important}}

body.single-product :is(.shop-product,.bread) :is(button,input,select,a):focus-visible {outline:2px solid #b67c56;outline-offset:3px}
@media(hover:hover) and (pointer:fine) {
    body.single-product .shop-product .single-two form.cart .single_add_to_cart_button:not(:disabled):not(.disabled):hover {background:#07546e!important;box-shadow:0 5px 16px #03465e1a}
    body.single-product .shop-product .single-two form.cart .qib-button-wrapper button.qib-button:not(:disabled):hover {background:#e5d5ca!important}
    body.single-product .bread .home:hover {text-decoration:underline}
}
@media(max-width:900px) {
    body.single-product .shop-product .single-two>.container {gap:16px}
    body.single-product .shop-product .single-two .summary {padding:20px}
}
@media(max-width:768px) {
    body.single-product .bread {padding-top:18px;font-size:13px}
    body.single-product .shop-product.container {padding-top:18px;padding-bottom:36px}
    body.single-product .shop-product .single-two>.container {grid-template-columns:minmax(0,1fr);gap:14px}
    body.single-product .shop-product .woocommerce-product-gallery,
    body.single-product .shop-product .single-two .summary {border-radius:20px}
    body.single-product .shop-product .single-two .summary {padding:20px;gap:20px}
    body.single-product .shop-product .single-two .product_title {font-size:26px}
    body.single-product .shop-product .single-two .price {font-size:24px;margin:16px 0}
}
@media(max-width:380px) {
    body.single-product .shop-product .single-two .summary {padding:16px}
    body.single-product .shop-product .single-two form.cart .button-row {flex-basis:100%}
}
@media(prefers-reduced-motion:reduce) {
    body.single-product .shop-product :is(button,input,.woocommerce-product-gallery) {transition:none!important;animation:none!important}
}
@media(forced-colors:active) {
    body.single-product .shop-product .single-two form.cart :is(input.qty,button.qib-button,.single_add_to_cart_button) {border:1px solid ButtonText!important}
}

/* Complementary dishes use the same fast ordering controls as the menu. */
body.single-product .tm-product-pairings {margin:8px 0 0}
body.single-product .tm-product-pairings>h2 {
    margin:0 0 20px;color:var(--tm-product-ink);font-size:28px;font-weight:600;line-height:1.25;
}
body.single-product .tm-product-pairings__grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
body.single-product .tm-product-pairing {
    display:flex;flex-direction:column;min-width:0;border:1px solid var(--tm-product-line);border-radius:20px;
    background:#fff;box-shadow:0 3px 12px #03465e04;transition:border-color .18s ease,box-shadow .18s ease;
}
body.single-product .tm-product-pairing__link {display:flex;flex-direction:column;flex:1;min-width:0;border-radius:20px;color:var(--tm-product-ink);text-decoration:none;opacity:1}
body.single-product .tm-product-pairing__image {aspect-ratio:4/3;margin:7px 7px 0;border-radius:14px;overflow:hidden;background:#f5f4f1}
body.single-product .tm-product-pairing__image :is(picture,img) {display:block;width:100%;height:100%;min-width:0;margin:0;padding:0;object-fit:cover}
body.single-product .tm-product-pairing__label {margin:12px 14px 5px;color:var(--tm-product-muted);font-size:12px;line-height:1.4}
body.single-product .tm-product-pairing h3 {margin:0 14px;color:var(--tm-product-ink);font-size:16px;line-height:1.35;font-weight:600;overflow-wrap:anywhere}
body.single-product .shop-product .tm-product-pairing .themore-fulfillment-badge {align-self:flex-start;width:auto;max-width:calc(100% - 28px);margin:8px 14px 0;font-size:11px}
body.single-product .tm-product-pairing__action {margin-top:auto;padding:14px}
body.single-product .tm-product-pairing .tm-order-control {--tm-control-gap:4px;box-sizing:border-box;gap:var(--tm-control-gap);border-radius:14px;background:#f5f4f1}
body.single-product .tm-product-pairing .tm-order-step {height:40px;border-radius:10px;background:#eaece8;transition:background-color .16s ease,opacity .16s ease}
body.single-product .tm-product-pairing .tm-order-plus {background:#eee3d8}
body.single-product .tm-product-pairing .tm-order-amount {font-weight:400;font-variant-numeric:tabular-nums}
body.single-product .tm-product-pairing__price {display:block;margin-bottom:8px;color:var(--tm-product-ink);font-size:16px;font-weight:400}
body.single-product .tm-product-pairing__choose {display:block;padding:12px;border-radius:12px;background:#f3eee7;color:var(--tm-product-ink);font-size:14px;text-align:center;line-height:1.3}
body.single-product .tm-product-pairing a:focus-visible {outline-offset:-3px}
@media(hover:hover) and (pointer:fine) {
    body.single-product .tm-product-pairing:hover {border-color:#cfdcd9;box-shadow:0 6px 20px #03465e0b}
}
@media(max-width:999px) {body.single-product .tm-product-pairings__grid {grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px) {
    body.single-product .tm-product-pairings>h2 {font-size:24px}
    body.single-product .tm-product-pairings__grid {gap:12px}
    body.single-product .tm-product-pairing__label {margin:10px 10px 4px;font-size:11px}
    body.single-product .tm-product-pairing h3 {margin:0 10px;font-size:15px}
    body.single-product .tm-product-pairing__action {padding:12px 10px 10px}
}
@media(max-width:380px) {
    body.single-product .tm-product-pairing .tm-order-control {--tm-control-gap:2px;gap:var(--tm-control-gap)}
    body.single-product .tm-product-pairing .tm-order-step {width:32px}
    body.single-product .tm-product-pairing .tm-order-amount {font-size:14px}
}
@media(prefers-reduced-motion:reduce) {body.single-product .tm-product-pairing {transition:none!important;animation:none!important}}
