/* Panda Takeaway checkout: existing logo/navigation with a warm, legible order form. */

body.pd-checkout-page .article__header--page { display: none !important; }
body.pd-checkout-page .c-bully { display: none !important; }
body.pd-checkout-page .article--main,
body.pd-checkout-page .article--main > .article__content { background: #f7f1e4 !important; }
body.pd-checkout-page .article--main { padding-top: 126px; }
body.pd-checkout-page .article--main > .article__content { padding: 54px 0 76px !important; }
body.pd-checkout-page .article--main > .article__content > .container {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 1192px !important;
    margin: 0 auto !important;
    padding: 0 36px !important;
}
body.pd-checkout-page .pd-checkout-shell {
    float: none;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #17120e;
    font-family: "Manrope", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.75;
    text-align: left;
}
body.pd-checkout-page .pd-checkout-shell *,
body.pd-checkout-page .pd-checkout-shell *::before,
body.pd-checkout-page .pd-checkout-shell *::after { box-sizing: border-box; }
body.pd-checkout-page .pd-checkout-shell h1,
body.pd-checkout-page .pd-checkout-shell h2,
body.pd-checkout-page .pd-checkout-shell h3 {
    color: #17120e;
    font-family: Georgia, serif;
    font-weight: 500;
    letter-spacing: -.015em;
    text-transform: none;
}
body.pd-checkout-page .pd-order-intro { margin: 0 0 28px; padding-bottom: 28px; border-bottom: 1px solid #dfd0b5; }
body.pd-checkout-page .pd-order-intro__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}
body.pd-checkout-page .pd-order-eyebrow {
    margin: 0;
    color: #9c792c;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}
body.pd-checkout-page .pd-order-menu {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    color: #b23a2e;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
body.pd-checkout-page .pd-order-intro h1 {
    margin: 0 0 12px;
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1.03;
}
body.pd-checkout-page .pd-order-lead { margin: 0; color: #736557; font-size: 14px; }
body.pd-checkout-page .woocommerce .woocommerce-info,
body.pd-checkout-page .woocommerce .woocommerce-message,
body.pd-checkout-page .woocommerce .woocommerce-error {
    margin: 0 0 24px !important;
    padding: 18px 20px 18px 46px !important;
    border: 1px solid #dfd0b5;
    border-left: 3px solid #d4b574;
    border-radius: 6px;
    background: #fffefa !important;
    color: #5f5142;
    font-size: 13px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}
body.pd-checkout-page .woocommerce .woocommerce-error { border-left-color: #a52f38; color: #8a2932; }
body.pd-checkout-page .woocommerce .woocommerce-error li { margin: 0; }
body.pd-checkout-page .woocommerce .woocommerce-info::before,
body.pd-checkout-page .woocommerce .woocommerce-message::before,
body.pd-checkout-page .woocommerce .woocommerce-error::before { top: 19px; left: 18px; color: #c9a24b; }
body.pd-checkout-page .woocommerce .woocommerce-info a,
body.pd-checkout-page .woocommerce .woocommerce-message a,
body.pd-checkout-page .woocommerce .woocommerce-error a { color: #b23a2e; text-underline-offset: 3px; }
body.pd-checkout-page form.checkout { margin: 28px 0 0; }
body.pd-checkout-page #customer_details { min-width: 0; width: 100%; }
body.pd-checkout-page #customer_details > .col-1,
body.pd-checkout-page #customer_details > .col-2 { float: none !important; width: 100% !important; margin: 0; padding: 0; }
body.pd-checkout-page .woocommerce-billing-fields,
body.pd-checkout-page .woocommerce-additional-fields,
body.pd-checkout-page #order_review {
    min-width: 0;
    padding: 28px;
    border: 1px solid #dfd0b5;
    border-radius: 6px;
    background: #fffefa;
    box-shadow: 0 10px 30px rgba(45,35,30,.035);
}
body.pd-checkout-page .woocommerce-additional-fields { margin-top: 24px; }
body.pd-checkout-page #customer_details h3,
body.pd-checkout-page #order_review_heading { margin: 0 0 22px; font-size: 32px; line-height: 1.15; }
body.pd-checkout-page #order_review_heading { margin-top: 30px; }
body.pd-checkout-page .woocommerce-billing-fields__field-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
}
body.pd-checkout-page form .form-row {
    float: none !important;
    width: 100% !important;
    min-width: 0;
    margin: 0;
    padding: 0;
}
body.pd-checkout-page .woocommerce-billing-fields__field-wrapper .form-row-wide { grid-column: 1 / -1; }
body.pd-checkout-page form .form-row label {
    display: block;
    margin: 0 0 8px;
    color: #5f5142;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: 0;
    text-transform: none;
}
body.pd-checkout-page form .form-row .optional { color: #736557; font-size: 10px; font-weight: 400; }
body.pd-checkout-page .woocommerce-input-wrapper { display: block; }
body.pd-checkout-page .pd-checkout-shell input.input-text,
body.pd-checkout-page .pd-checkout-shell textarea,
body.pd-checkout-page .pd-checkout-shell select,
body.pd-checkout-page .select2-container .select2-selection--single {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 48px;
    margin: 0;
    padding: 11px 13px;
    border: 1px solid #d8c7a6 !important;
    border-radius: 4px !important;
    background: #fff !important;
    color: #17120e !important;
    font-family: "Manrope", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}
body.pd-checkout-page .pd-checkout-shell textarea { min-height: 110px; resize: vertical; }
body.pd-checkout-page .select2-container { width: 100% !important; max-width: 100%; }
body.pd-checkout-page .select2-container .select2-selection__rendered { padding: 0; line-height: 24px; }
body.pd-checkout-page .select2-container .select2-selection__arrow { top: 11px; right: 9px; }
body.pd-checkout-page .woocommerce-additional-fields .form-row,
body.pd-checkout-page .local-pickup-time-select-field { margin-bottom: 20px; }
body.pd-checkout-page .woocommerce-additional-fields .form-row:last-child { margin-bottom: 0; }
body.pd-checkout-page form .form-row label.checkbox { display: flex; align-items: center; gap: 10px; min-height: 44px; }
body.pd-checkout-page .pd-checkout-shell input[type="checkbox"] { width: 18px; height: 18px; margin: 0; accent-color: #b23a2e; flex: 0 0 auto; }
body.pd-checkout-page .pd-checkout-shell input[type="radio"] { accent-color: #b23a2e; }


body.pd-checkout-page .pd-order-intro a,
body.pd-checkout-page .woocommerce-cart-form .product-name > a { background-image: none !important; box-shadow: none; }
body.pd-checkout-page .woocommerce .woocommerce-cart-form table.shop_table.cart .product-name > a { border-bottom: 0 !important; text-decoration: none !important; }
body.pd-checkout-page #order_review table.shop_table { display: table; width: 100%; margin: 0; border: 0; border-collapse: collapse; background: transparent; font-size: 13px; line-height: 1.7; }
body.pd-checkout-page #order_review table tr { display: table-row; background: transparent; }
body.pd-checkout-page #order_review table th,
body.pd-checkout-page #order_review table td { display: table-cell; padding: 14px 0; border: 0; border-bottom: 1px solid #e8dbc4; background: transparent; color: #5f5142; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
body.pd-checkout-page #order_review table th:last-child,
body.pd-checkout-page #order_review table td:last-child { padding-left: 16px; text-align: right; }
body.pd-checkout-page #order_review table td::before { display: none !important; }
body.pd-checkout-page #order_review table thead th { color: #9c792c; font-size: 10px; letter-spacing: .09em; text-transform: uppercase; }
body.pd-checkout-page #order_review .product-name { width: 64%; font-weight: 500; }
body.pd-checkout-page #order_review .amount { white-space: nowrap; font-variant-numeric: tabular-nums; }
body.pd-checkout-page #order_review .product-quantity { font-weight: 500; white-space: nowrap; }
body.pd-checkout-page #order_review .order-total th,
body.pd-checkout-page #order_review .order-total td { padding: 20px 0; border-bottom: 0; color: #b23a2e; font-size: 20px; font-weight: 600; }
body.pd-checkout-page #order_review .order-total td { padding-left: 16px; }
body.pd-checkout-page #order_review ul.woocommerce-shipping-methods { margin: 0; padding: 0; list-style: none; font-size: 12px; text-align: right; }
body.pd-checkout-page #order_review ul.woocommerce-shipping-methods li { padding: 0; margin: 0; }
body.pd-checkout-page #order_review ul.woocommerce-shipping-methods label { font-weight: 400; }
body.pd-checkout-page form.checkout .woocommerce-shipping-destination { display: none; }
body.pd-checkout-page #payment { padding: 20px 0 0; border: 0; border-top: 1px solid #dfd0b5; border-radius: 0; background: transparent !important; }
body.pd-checkout-page #payment ul.payment_methods { margin: 0; padding: 0; border: 0; list-style: none; }
body.pd-checkout-page #payment ul.payment_methods li { margin: 0 0 18px; padding: 0; text-align: left; }
body.pd-checkout-page #payment ul.payment_methods li > label { font-size: 13px; font-weight: 600; line-height: 1.7; }
body.pd-checkout-page #payment .payment_box { display: block; width: 100%; margin: 12px 0 0; padding: 14px 16px; border: 1px solid #e8dbc4; border-radius: 4px; background: #f7f1e4; color: #5f5142; }
body.pd-checkout-page #payment .payment_box::before { display: none; }
body.pd-checkout-page #payment .payment_box p { display: block; margin: 0; font-size: 12px; line-height: 1.8; }
body.pd-checkout-page #payment .place-order { padding: 0; margin: 0; }
body.pd-checkout-page #payment .woocommerce-privacy-policy-text { margin: 20px 0; color: #736557; font-size: 11px; line-height: 1.9; }
body.pd-checkout-page #payment .woocommerce-privacy-policy-text p { margin: 0; }
body.pd-checkout-page #payment .woocommerce-privacy-policy-text a { color: #b23a2e; text-decoration: underline; text-underline-offset: 3px; }
body.pd-checkout-page .woocommerce .button,
body.pd-checkout-page .woocommerce input[type="submit"],
body.pd-checkout-page .woocommerce .btn {
    min-height: 48px;
    padding: 13px 22px !important;
    border: 1px solid #b23a2e !important;
    border-radius: 4px !important;
    background: #b23a2e !important;
    color: #fffaf2 !important;
    font-family: "Manrope", Arial, sans-serif;
    font-size: 12px !important;
    font-weight: 600;
    line-height: 1.6 !important;
    letter-spacing: .035em;
    text-decoration: none;
    white-space: normal;
}
body.pd-checkout-page .woocommerce .button:hover { background: #8d2b22 !important; }
body.pd-checkout-page .woocommerce .button:disabled { opacity: .5; cursor: default; }
body.pd-checkout-page #payment #place_order { float: none; width: 100%; margin: 0; min-height: 54px; }
body.pd-checkout-page .pd-checkout-shell a:focus-visible,
body.pd-checkout-page .pd-checkout-shell button:focus-visible,
body.pd-checkout-page .pd-checkout-shell input:not([type="hidden"]):not([type="radio"]):focus-visible,
body.pd-checkout-page .pd-checkout-shell select:focus-visible,
body.pd-checkout-page .pd-checkout-shell textarea:focus-visible { outline: 2px solid #c9a24b !important; outline-offset: 3px; }


@media (min-width: 1000px) {
    body.pd-checkout-page form.checkout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); grid-template-rows: min-content 1fr; gap: 0 28px; align-items: start; }
    body.pd-checkout-page form.checkout::before,
    body.pd-checkout-page form.checkout::after { display: none; }
    body.pd-checkout-page form.checkout > * { grid-column: 1 / -1; min-width: 0; }
    body.pd-checkout-page form.checkout > #customer_details { grid-column: 1; grid-row: 1 / span 2; }
    body.pd-checkout-page form.checkout > #order_review_heading { grid-column: 2; grid-row: 1; margin: 0; padding: 28px 28px 0; border: 1px solid #dfd0b5; border-bottom: 0; border-radius: 6px 6px 0 0; background: #fffefa; }
    body.pd-checkout-page form.checkout > #order_review { grid-column: 2; grid-row: 2; padding-top: 12px; border-top: 0; border-radius: 0 0 6px 6px; }
}
@media (max-width: 767px) {
    body.pd-checkout-page .article--main > .article__content { padding: 28px 0 48px !important; }
    body.pd-checkout-page .article--main > .article__content > .container { padding: 0 20px !important; }
    body.pd-checkout-page .pd-order-intro__top { margin-bottom: 15px; }
    body.pd-checkout-page .pd-order-intro h1 { font-size: 44px; }
    body.pd-checkout-page .pd-order-lead { font-size: 13px; line-height: 1.8; }
    body.pd-checkout-page .woocommerce-billing-fields,
    body.pd-checkout-page .woocommerce-additional-fields,
    body.pd-checkout-page #order_review { padding: 22px 20px; }
    body.pd-checkout-page #customer_details h3,
    body.pd-checkout-page #order_review_heading { font-size: 29px; }
    body.pd-checkout-page #order_review .product-name { width: 62%; }
    body.pd-checkout-page #order_review table th,
    body.pd-checkout-page #order_review table td { font-size: 12px; }
    body.pd-checkout-page #order_review .order-total th,
    body.pd-checkout-page #order_review .order-total td { font-size: 19px; }
    
}
@media (max-width: 600px) {
    body.pd-checkout-page .woocommerce-billing-fields__field-wrapper { grid-template-columns: minmax(0, 1fr); }
    
}
@media (max-width: 360px) {
    body.pd-checkout-page .article--main > .article__content > .container { padding: 0 16px !important; }
    body.pd-checkout-page .pd-order-eyebrow { font-size: 9px; letter-spacing: .1em; }
    body.pd-checkout-page .woocommerce-billing-fields,
    body.pd-checkout-page .woocommerce-additional-fields,
    body.pd-checkout-page #order_review { padding-right: 16px; padding-left: 16px; }
}


/* Progressive enhancement of the existing, authoritative pickup-time select. */
body.pd-checkout-page select.pd-time-source { display: none !important; }
body.pd-checkout-page .pd-time-picker {
    display: block;
    min-width: 0;
    width: 100%;
    color: #17120e;
    font-family: "Manrope", Arial, sans-serif;
}
body.pd-checkout-page .pd-time-picker .pd-time-instruction {
    display: block;
    margin: 0 0 18px;
    color: #736557;
    font-size: 12px;
    line-height: 1.8;
}
body.pd-checkout-page .pd-time-picker .pd-time-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
}
body.pd-checkout-page .pd-time-picker .pd-time-field { display: block; min-width: 0; }
body.pd-checkout-page .pd-time-picker .pd-time-field > label {
    display: block;
    margin: 0 0 8px;
    color: #5f5142;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: 0;
    text-transform: none;
}
body.pd-checkout-page .pd-time-picker select.pd-time-select {
    display: block;
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    min-height: 48px !important;
    margin: 0;
    padding: 11px 34px 11px 10px;
    border: 1px solid #d8c7a6 !important;
    border-radius: 4px !important;
    appearance: none;
    -webkit-appearance: none;
    background-color: #fff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m2 2 4 4 4-4' fill='none' stroke='%233d592c' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 12px 8px !important;
    color: #17120e !important;
    font-family: "Manrope", Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 400;
    line-height: 1.5;
}
body.pd-checkout-page .pd-time-picker .pd-time-summary {
    display: block;
    margin: 16px 0 0;
    padding: 12px 14px;
    border-left: 2px solid #d4b574;
    border-radius: 0 3px 3px 0;
    background: #f7f1e4;
    color: #736557;
    font-size: 12px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}
body.pd-checkout-page .pd-time-picker--selected .pd-time-summary { color: #b23a2e; font-weight: 600; }
body.pd-checkout-page .pd-time-picker--invalid .pd-time-summary { border-color: #a52f38; color: #8a2932; }
body.pd-checkout-page .pd-time-picker--disabled { opacity: .6; }
body.pd-checkout-page .pd-time-picker select.pd-time-select:focus-visible {
    outline: 2px solid #c9a24b !important;
    outline-offset: 3px;
}
@media (max-width: 600px) {
    body.pd-checkout-page .pd-time-picker .pd-time-controls { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}

body.pd-checkout-page .pd-time-picker .pd-time-error { display: block; margin-top: 12px; color: #8a2932; font-size: 12px; line-height: 1.8; }
body.pd-checkout-page .pd-time-picker .pd-time-error:empty { display: none; }

/* Keep native time, notes and bag fields easy to scan. */








body.pd-checkout-page .woocommerce-additional-fields { display: flex; flex-direction: column; gap: 20px; }
body.pd-checkout-page .woocommerce-additional-fields > h3 { order: 0; margin-bottom: 0 !important; }
body.pd-checkout-page .woocommerce-additional-fields > #local_pickup_time_select { order: 1; margin: 0; }
body.pd-checkout-page .woocommerce-additional-fields > .woocommerce-additional-fields__field-wrapper { order: 2; }
body.pd-checkout-page .woocommerce-additional-fields > #wp_ext_cst_field { order: 3; }




body.pd-checkout-page #payment .woocommerce-terms-and-conditions-wrapper label.checkbox,
body.pd-checkout-page #payment .mailpoet-subscription-section label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    line-height: 1.8;
}
body.pd-checkout-page #payment .woocommerce-terms-and-conditions-wrapper input[type="checkbox"],
body.pd-checkout-page #payment .mailpoet-subscription-section input[type="checkbox"] { margin-top: 4px; }
body.pd-checkout-page #payment .woocommerce-terms-and-conditions-wrapper a { color: #b23a2e; text-decoration: underline; }
body.pd-checkout-page #payment ul.payment_methods li img { max-width: 160px; max-height: 22px; margin: 0 0 0 8px; vertical-align: middle; }
body.pd-checkout-page #payment ul.payment_methods li input[type="radio"] { margin-right: 7px; }
body.pd-checkout-page #payment ul.payment_methods li > input[type="radio"] { display: inline-block !important; vertical-align: middle; }
body.pd-checkout-page #payment ul.payment_methods li > label { display: inline !important; }
body.pd-checkout-page #payment ul.payment_methods li > label img { float: right; }
body.pd-checkout-page #payment .payment_box { clear: both; }
body.pd-checkout-page .woocommerce .woocommerce-message,
body.pd-checkout-page .woocommerce .woocommerce-info { border: 1px solid #dfd0b5 !important; border-left: 3px solid #d4b574 !important; }
body.pd-checkout-page #order_review table tfoot .shipping td { max-width: 250px; }
body.pd-checkout-page #order_review table tfoot .shipping td .woocommerce-info { margin: 0 !important; padding: 10px !important; font-size: 12px; }
body.pd-checkout-page #order_review table tfoot .shipping td .woocommerce-info::before { display: none; }
body.pd-checkout-page .pd-checkout-shell input[type="checkbox"],
body.pd-checkout-page .pd-checkout-shell input[type="radio"] { accent-color: #b23a2e; }
body.pd-checkout-page .woocommerce-invalid input.input-text,
body.pd-checkout-page .woocommerce-invalid select { border-color: #a52f38 !important; }
@media (max-width: 899px) {
    body.pd-checkout-page .article--main { padding-top: 100px; }
}
@media (max-width: 480px) {
    body.pd-checkout-page .pd-order-intro h1 { font-size: 38px; }
    body.pd-checkout-page .pd-order-intro__top { gap: 12px; }
    body.pd-checkout-page .pd-order-eyebrow { font-size: 9px; letter-spacing: .1em; }
    
    
    
    
    
}

/* The shop cart opens the editable basket and checkout together. */
body.pd-cart-checkout .pd-basket { margin: 0 0 34px; scroll-margin-top: 150px; }
body.pd-cart-checkout #customer_details { scroll-margin-top: 150px; }
body.pd-cart-checkout .pd-basket__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 18px;
}
body.pd-cart-checkout .pd-basket__heading > p { margin: 0; }
body.pd-cart-checkout .pd-basket__heading h2 { margin: 0; font-size: 32px; line-height: 1.2; }
body.pd-cart-checkout .pd-basket__heading a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    color: #b23a2e !important;
    font-size: 13px;
    text-decoration: none !important;
    background: none !important;
    border: 0 !important;
    white-space: normal;
}
body.pd-cart-checkout .woocommerce-cart-form {
    margin: 0;
    padding: 24px 28px;
    border: 1px solid #dfd0b5;
    border-radius: 6px;
    background: #fffefa;
    box-shadow: 0 10px 30px rgba(45,35,30,.035);
}
body.pd-cart-checkout .woocommerce .woocommerce-cart-form table.shop_table.cart {
    display: table;
    width: 100%;
    margin: 0;
    border: 0 !important;
    border-collapse: collapse;
    background: transparent;
    color: #5f5142;
    font-size: 14px;
}
body.pd-cart-checkout .woocommerce .woocommerce-cart-form table.shop_table.cart thead { display: table-header-group; }
body.pd-cart-checkout .woocommerce .woocommerce-cart-form table.shop_table.cart tbody { display: table-row-group; }
body.pd-cart-checkout .woocommerce .woocommerce-cart-form table.shop_table.cart tr { display: table-row; margin-bottom: 0; border: 0; background: transparent; }
body.pd-cart-checkout .woocommerce .woocommerce-cart-form table.shop_table.cart th,
body.pd-cart-checkout .woocommerce .woocommerce-cart-form table.shop_table.cart td {
    display: table-cell;
    padding: 16px 12px;
    border: 0;
    border-bottom: 1px solid #e8dbc4;
    background: transparent;
    color: #5f5142;
    text-align: left;
    vertical-align: middle;
    border-top: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
}
body.pd-cart-checkout .woocommerce .woocommerce-cart-form table.shop_table.cart th { padding-top: 0; color: #9c792c; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
body.pd-cart-checkout .woocommerce .woocommerce-cart-form table.shop_table.cart .product-thumbnail { display: none !important; }
body.pd-cart-checkout .woocommerce .woocommerce-cart-form table.shop_table.cart .product-name { width: 48%; padding-left: 0; }
body.pd-cart-checkout .woocommerce .woocommerce-cart-form table.shop_table.cart .product-price,
body.pd-cart-checkout .woocommerce .woocommerce-cart-form table.shop_table.cart .product-subtotal { white-space: nowrap; }
body.pd-cart-checkout .woocommerce .woocommerce-cart-form table.shop_table.cart td::before { display: none; position: static !important; float: none !important; width: auto !important; margin: 0 !important; padding: 0 !important; transform: none !important; }
body.pd-cart-checkout .woocommerce-cart-form .quantity { display: inline-block; position: static !important; float: none !important; width: auto; margin: 0; }
body.pd-cart-checkout .woocommerce-cart-form .quantity input.qty { width: 84px; max-width: 100%; text-align: center; }
body.pd-cart-checkout .woocommerce .woocommerce-cart-form table.shop_table.cart .product-remove { width: 44px; padding-right: 0; }
body.pd-cart-checkout .woocommerce-cart-form a.remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 4px;
    color: #8a2932 !important;
    font-size: 24px;
    text-decoration: none;
    background: transparent;
}
body.pd-cart-checkout .woocommerce-cart-form a.remove:hover { color: #fff !important; background: #8a2932; }
body.pd-cart-checkout .woocommerce .woocommerce-cart-form table.shop_table.cart .actions { padding: 20px 0 0 !important; border: 0 !important; text-align: right; }
body.pd-cart-checkout .woocommerce-cart-form .actions .button { float: none; width: auto; margin: 0; }
body.pd-cart-checkout .woocommerce-cart-form .coupon { display: flex; align-items: center; gap: 10px; float: left; max-width: 100%; }
body.pd-cart-checkout .woocommerce-cart-form .coupon label { color: #5f5142; }
body.pd-cart-checkout .woocommerce-cart-form #coupon_code { float: none; width: 160px; margin: 0; }
body.pd-cart-checkout .cart-collaterals:empty { display: none; }

@media (max-width: 600px) {
    body.pd-cart-checkout .pd-basket__heading { align-items: flex-start; gap: 12px; }
    body.pd-cart-checkout .pd-basket__heading h2 { font-size: 29px; }
    body.pd-cart-checkout .pd-basket__heading > p { max-width: 55%; }
    body.pd-cart-checkout .pd-basket__heading a { max-width: 100%; min-height: 35px; font-size: 12px; }
    body.pd-cart-checkout .woocommerce-cart-form { padding: 4px 20px 20px; }
    body.pd-cart-checkout .woocommerce .woocommerce-cart-form table.shop_table.cart,
    body.pd-cart-checkout .woocommerce .woocommerce-cart-form table.shop_table.cart tbody { display: block; }
    body.pd-cart-checkout .woocommerce .woocommerce-cart-form table.shop_table.cart thead { display: none; }
    body.pd-cart-checkout .woocommerce .woocommerce-cart-form table.shop_table.cart tr { display: block; }
    body.pd-cart-checkout .woocommerce .woocommerce-cart-form table.shop_table.cart tr.cart_item {
        position: relative;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px 12px;
        padding: 20px 0;
        border: 0;
        border-bottom: 1px solid #e8dbc4;
    }
    body.pd-cart-checkout .woocommerce .woocommerce-cart-form table.shop_table.cart tr.cart_item > td { display: block; width: auto; padding: 0; border: 0 !important; text-align: left !important; }
    body.pd-cart-checkout .woocommerce .woocommerce-cart-form table.shop_table.cart tr.cart_item > .product-name { grid-column: 1 / -1; padding-right: 44px; font-weight: 600; overflow-wrap: anywhere; }
    body.pd-cart-checkout .woocommerce .woocommerce-cart-form table.shop_table.cart tr.cart_item > .product-price { grid-column: 1 / -1; color: #736557; font-size: 12px; }
    body.pd-cart-checkout .woocommerce .woocommerce-cart-form table.shop_table.cart tr.cart_item > .product-quantity { display: flex !important; align-items: center; gap: 10px; grid-column: 1; }
    body.pd-cart-checkout .woocommerce .woocommerce-cart-form table.shop_table.cart tr.cart_item > .product-subtotal { grid-column: 2; align-self: center; font-weight: 600; }
    body.pd-cart-checkout .woocommerce .woocommerce-cart-form table.shop_table.cart tr.cart_item > .product-remove { position: absolute; top: 12px; right: 0; }
    body.pd-cart-checkout .woocommerce .woocommerce-cart-form table.shop_table.cart .product-price::before,
    body.pd-cart-checkout .woocommerce .woocommerce-cart-form table.shop_table.cart .product-quantity::before { display: inline-block !important; content: attr(data-title) ": " !important; flex: 0 0 auto; font-size: 12px; font-weight: 400; text-align: left; line-height: 1.5; }
    body.pd-cart-checkout .woocommerce-cart-form .quantity input.qty { width: 70px; }
    body.pd-cart-checkout .woocommerce .woocommerce-cart-form table.shop_table.cart td.actions { display: block; padding-top: 20px; }
    body.pd-cart-checkout .woocommerce-cart-form .actions .button { width: 100%; }
    body.pd-cart-checkout .woocommerce-cart-form .coupon { float: none; flex-wrap: wrap; margin-bottom: 16px; }
    body.pd-cart-checkout .woocommerce-cart-form #coupon_code { width: 100%; }
    body.pd-cart-checkout #customer_details,
    body.pd-cart-checkout .pd-basket { scroll-margin-top: 120px; }
}
@media (max-width: 360px) {
    body.pd-cart-checkout .woocommerce-cart-form { padding-right: 16px; padding-left: 16px; }
}

/* Cart notices can sit outside the shortcode's .woocommerce wrapper. */
body.pd-cart-checkout .pd-checkout-shell .woocommerce-message,
body.pd-cart-checkout .pd-checkout-shell .woocommerce-info {
    margin: 0 0 24px !important;
    padding: 18px 20px 18px 46px !important;
    border: 1px solid #dfd0b5 !important;
    border-left: 3px solid #d4b574 !important;
    border-radius: 6px;
    background: #fffefa !important;
    color: #5f5142;
    font-size: 13px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}
body.pd-cart-checkout .pd-checkout-shell .woocommerce-message::before,
body.pd-cart-checkout .pd-checkout-shell .woocommerce-info::before { top: 19px; left: 18px; color: #c9a24b; }


/* Retain the shop's existing notice in a quieter, readable panel. */
body.pd-checkout-page .pd-existing-notice {
    margin: 0 0 28px;
    padding: 16px 20px;
    border: 1px solid #dfd0b5;
    border-left: 3px solid #d4b574;
    border-radius: 6px;
    background: #fffefa;
    color: #5f5142;
    font-size: 13px;
    line-height: 1.8;
}
body.pd-checkout-page .pd-existing-notice p { margin: 0; }
body.pd-checkout-page .pd-existing-notice strong { color: #5f5142 !important; }

/* Panda uses a block theme; keep its header/footer and size the native forms. */
body.pd-checkout-page { background:#f7f1e4; color:#17120e; }
body.pd-checkout-page .wp-site-blocks > main { width:100%; max-width:1192px; margin:40px auto 72px !important; padding:0 28px !important; }
body.pd-checkout-page main > .wp-block-post-title { display:none; }
body.pd-checkout-page .wp-block-post-content { width:100%; max-width:none !important; margin:0 !important; }
body.pd-checkout-page .pd-checkout-shell { width:100%; max-width:none; margin:0; padding:0; color:#17120e; font:400 14px/1.75 Manrope,Arial,sans-serif; }
body.pd-checkout-page .pd-checkout-shell > * { max-width:none !important; }
body.pd-checkout-page .pd-checkout-shell a { color:#9c792c; }
body.pd-checkout-page .pd-checkout-shell input,body.pd-checkout-page .pd-checkout-shell select { font-family:Manrope,Arial,sans-serif; }
@media(max-width:600px){body.pd-checkout-page .wp-site-blocks > main{margin-top:24px !important;padding:0 16px !important;}body.pd-checkout-page .pd-order-intro h1{font-size:38px;} }

body.pd-cart-checkout .woocommerce-cart-form .quantity input.qty { min-height:48px; padding:10px 8px; border:1px solid #d8c7a6; border-radius:6px; background:#fffefa; color:#17120e; font:400 16px/1.5 Manrope,Arial,sans-serif; box-shadow:none; }

/* Match the menu's bilingual labels in the native basket and order review. */
.pd-checkout-page .pd-shop-product-title,
.pd-checkout-page .pd-shop-title-primary,
.pd-checkout-page .pd-shop-title-secondary { display: block; }
.pd-checkout-page .pd-shop-title-primary,
.pd-checkout-page .pd-shop-title-secondary { font: inherit; letter-spacing: inherit; overflow-wrap: anywhere; }
.pd-checkout-page .pd-shop-title-secondary { margin-top: 4px; }
.pd-checkout-page .pd-shop-spice { display: inline-flex; align-items: center; gap: 3px; margin-top: 5px; line-height: 1; vertical-align: middle; }
.pd-checkout-page .pd-shop-chili { display: block; flex: 0 0 22px; width: 22px; height: 22px; margin: 0; object-fit: contain; }
