/* PANDAO compact layout experiment v0.11.57. Scoped to WooCommerce areas. */
@media(min-width:768px){
 body.woocommerce-account .woocommerce-MyAccount-navigation {width:24%;}
 body.woocommerce-account .woocommerce-MyAccount-content {width:73%;}
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul {margin:0; padding:0;}
body.woocommerce-account .woocommerce-MyAccount-navigation li a {font-size:14px;line-height:1.35;padding:9px 12px;}
body.woocommerce-account .woocommerce-MyAccount-content,
body.woocommerce-account .woocommerce-MyAccount-content p,
body.woocommerce-account .woocommerce-MyAccount-content dt,
body.woocommerce-account .woocommerce-MyAccount-content dd {font-size:14px;line-height:1.45;}
body.woocommerce-account .woocommerce-MyAccount-content h2 {font-size:18px;line-height:1.3;}
body.woocommerce-account .woocommerce-MyAccount-content h3 {font-size:17px;line-height:1.3;}
body.woocommerce-account .woocommerce-MyAccount-content table {font-size:13px;}
body.woocommerce-account .woocommerce-MyAccount-content table th,
body.woocommerce-account .woocommerce-MyAccount-content table td {padding:8px 9px;}
body.woocommerce-account .woocommerce-MyAccount-content .pandao-order-thumb {width:45px;height:45px;}
body.woocommerce-account .woocommerce-MyAccount-content .pandao-order-thumb--empty {font-size:21px;}
body.woocommerce-account .woocommerce-MyAccount-content .button,
body.woocommerce-account .woocommerce-MyAccount-content button {font-size:14px;line-height:1.3;}
body.woocommerce-account .pandao-customer-qr {padding:14px;gap:14px;}
body.woocommerce-account .pandao-customer-qr-image {width:150px;height:150px;flex-basis:150px;}
body.woocommerce-account .pandao-profile-heading {gap:16px;margin-bottom:14px;}
body.woocommerce-account .pandao-profile-grid {gap:12px;}
body.woocommerce-account .pandao-profile-field {margin-bottom:10px;}
body.woocommerce-account .pandao-profile-readonly>div {gap:10px;padding:7px 0;}
body.woocommerce-account .pandao-history-order {margin-bottom:12px;}
body.woocommerce-account .pandao-history-order__summary h3 {font-size:16px;}
body.woocommerce-account .pandao-history-order__summary p {font-size:13px;}
body.woocommerce-account .woocommerce-MyAccount-content .pandao-history-item {gap:8px;}
body.woocommerce-account .woocommerce-MyAccount-content .pandao-history-item .pandao-order-thumb {width:38px;height:38px;}
body.woocommerce-account .woocommerce-MyAccount-content .pandao-order-preview {max-width:45px;}
body.woocommerce-account .woocommerce-MyAccount-content .pandao-order-extra {font-size:10px;}
body.woocommerce .woocommerce-breadcrumb {font-size:13px;}
body.woocommerce .woocommerce-products-header__title,
body.woocommerce div.product .product_title,
body.woocommerce-cart .entry-title,
body.woocommerce-checkout .entry-title,
body.woocommerce-account .entry-title {font-size:24px;line-height:1.25;}
body.woocommerce ul.products li.product .woocommerce-loop-product__title {font-size:16px;line-height:1.3;}
body.woocommerce ul.products li.product img {width:75%;height:auto;}
body.woocommerce ul.products li.product .button,
body.woocommerce div.product .button,
body.woocommerce-cart .button,
body.woocommerce-checkout .button {font-size:14px;}
body.woocommerce div.product .woocommerce-product-details__short-description,
body.woocommerce div.product .summary,
body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce {font-size:14px;}
body.woocommerce .pandao-account-return-wrap,
body.woocommerce-cart .pandao-account-return-wrap,
body.woocommerce-checkout .pandao-account-return-wrap {margin-bottom:12px;}
/* Mobile: preserve readable controls and original WooCommerce card presentation. */
@media(max-width:767px){
 body.woocommerce-account .woocommerce-MyAccount-navigation,
 body.woocommerce-account .woocommerce-MyAccount-content {float:none;width:100%;margin-left:0;}
 body.woocommerce-account .pandao-mobile-account-toggle {display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:42px;padding:9px 13px;margin:0 0 10px;border:1px solid #dce3ec;border-radius:8px;background:#f7f9fc;color:#233d58;font-size:14px;font-weight:600;text-align:left;cursor:pointer;}
 body.woocommerce-account .pandao-mobile-account-toggle[aria-expanded="true"] .pandao-mobile-menu-chevron {transform:rotate(180deg);}
 body.woocommerce-account .pandao-mobile-menu-chevron {transition:transform .15s ease;}
 body.woocommerce-account .pandao-mobile-menu-ready .woocommerce-MyAccount-navigation:not(.pandao-mobile-menu-open) {display:none;}
 body.woocommerce-account .pandao-mobile-menu-ready .woocommerce-MyAccount-navigation.pandao-mobile-menu-open {display:block;margin:0 0 12px;}
 body.woocommerce-account .woocommerce-MyAccount-navigation li a {font-size:14px;padding:9px 12px;}
 body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td {padding:0 !important;}
 body.woocommerce-account .woocommerce-MyAccount-content .pandao-order-thumb {width:45px;height:45px;}
 body.woocommerce-account .pandao-customer-qr-image {width:150px;height:150px;flex-basis:150px;}
 body.woocommerce ul.products li.product img {width:100%;}
 body.woocommerce-account .woocommerce-MyAccount-content .button,
 body.woocommerce-account .woocommerce-MyAccount-content button {min-height:36px;}
}
@media(min-width:768px){.pandao-mobile-account-toggle {display:none!important;}}

/* v0.11.58: compact only the WooCommerce PANDAO surfaces; never site header/footer. */
@media (min-width:768px) {
 body.woocommerce-account .woocommerce-MyAccount-navigation {width:22% !important;}
 body.woocommerce-account .woocommerce-MyAccount-content {width:76% !important;}
 body.woocommerce-account .woocommerce-MyAccount-navigation li a {font-size:13px !important;line-height:1.2 !important;padding:6px 10px !important;}
 body.woocommerce-account .woocommerce-MyAccount-content {font-size:13px !important;line-height:1.35 !important;}
 body.woocommerce-account .woocommerce-MyAccount-content p {font-size:13px !important;line-height:1.35 !important;margin-top:0;margin-bottom:8px;}
 body.woocommerce-account .woocommerce-MyAccount-content h2 {font-size:17px !important;margin-bottom:8px;}
 body.woocommerce-account .woocommerce-MyAccount-content h3 {font-size:16px !important;margin-bottom:5px;}
 body.woocommerce-account .woocommerce-MyAccount-content table th,
 body.woocommerce-account .woocommerce-MyAccount-content table td {font-size:12px !important;line-height:1.25 !important;padding:6px 7px !important;vertical-align:middle;}
 body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table .pandao-order-thumb {width:40px !important;height:40px !important;}
 body.woocommerce-account .woocommerce-MyAccount-content a.button,
 body.woocommerce-account .woocommerce-MyAccount-content button:not(.pandao-mobile-account-toggle) {font-size:12px !important;line-height:1.2 !important;min-height:0 !important;height:auto !important;padding:8px 12px !important;max-width:max-content;}
 body.woocommerce-account .woocommerce-MyAccount-content .pandao-profile-photo-image {width:82px;height:82px;}
 body.woocommerce-account .pandao-customer-qr {padding:10px !important;gap:12px !important;margin-bottom:10px !important;}
 body.woocommerce-account .pandao-customer-qr-image {width:140px !important;height:140px !important;flex-basis:140px !important;}
 body.woocommerce-account .pandao-profile-heading {gap:10px !important;margin-bottom:10px !important;}
 body.woocommerce-account .pandao-customer-qr-actions {margin-top:8px;gap:7px;}
 body.woocommerce-account .pandao-profile-readonly>div {padding:5px 0;gap:8px;}
 body.woocommerce-account .woocommerce-MyAccount-content .pandao-history-order {margin-bottom:7px;}
 body.woocommerce-shop .woocommerce-products-header,
 body.post-type-archive-product .woocommerce-products-header {margin-bottom:4px !important;padding-bottom:0 !important;}
 body.woocommerce-shop .pandao-account-return-wrap,
 body.post-type-archive-product .pandao-account-return-wrap,
 body.single-product .pandao-account-return-wrap,
 body.woocommerce-cart .pandao-account-return-wrap,
 body.woocommerce-checkout .pandao-account-return-wrap {margin-top:0 !important;margin-bottom:8px !important;}
 body.woocommerce-shop .woocommerce-result-count,
 body.woocommerce-shop .woocommerce-ordering,
 body.post-type-archive-product .woocommerce-result-count,
 body.post-type-archive-product .woocommerce-ordering {margin-bottom:8px !important;}
 body.woocommerce ul.products li.product {margin-bottom:12px !important;}
 body.woocommerce ul.products li.product .woocommerce-loop-product__title {font-size:14px !important;}
 body.woocommerce ul.products li.product .button {font-size:12px !important;padding:7px 12px !important;line-height:1.2 !important;min-height:0 !important;}
 body.woocommerce-cart .woocommerce .button,
 body.woocommerce-checkout .woocommerce .button,
 body.woocommerce .pandao-account-return-wrap a {font-size:12px !important;line-height:1.25 !important;padding:8px 12px !important;min-height:0 !important;}
 body.woocommerce-cart .woocommerce-info,
 body.woocommerce-cart .cart-empty {padding:10px 12px !important;margin:6px 0 12px !important;}
}
@media (max-width:767px) {
 body.woocommerce-account .woocommerce-MyAccount-content .pandao-history-order--compact {padding:9px;}
 body.woocommerce-account .woocommerce-MyAccount-navigation li a {line-height:1.3;}
}

/* PANDAO: current ordering period on the customer account dashboard. */
body.woocommerce-account .woocommerce-MyAccount-content .pandao-period-info{box-sizing:border-box;margin:0 0 18px;padding:16px 18px;border:1px solid #dedede;border-left:3px solid #335981;border-radius:8px;background:#fafafa;color:#353535}
body.woocommerce-account .woocommerce-MyAccount-content .pandao-period-info--open{border-left-color:#39814f}
body.woocommerce-account .woocommerce-MyAccount-content .pandao-period-info h3{font-size:17px;line-height:1.3;margin:0 0 10px;font-weight:600}
body.woocommerce-account .woocommerce-MyAccount-content .pandao-period-info p{margin:8px 0 0;line-height:1.5}
body.woocommerce-account .woocommerce-MyAccount-content .pandao-period-info__number{font-weight:600}
body.woocommerce-account .woocommerce-MyAccount-content .pandao-period-info__dates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0;padding:14px 0;border-top:1px solid #e6e6e6;border-bottom:1px solid #e6e6e6}
body.woocommerce-account .woocommerce-MyAccount-content .pandao-period-info__dates>div{min-width:0}
body.woocommerce-account .woocommerce-MyAccount-content .pandao-period-info__dates dt{color:#666;margin:0 0 5px}
body.woocommerce-account .woocommerce-MyAccount-content .pandao-period-info__dates dd{margin:0;font-weight:600;overflow-wrap:anywhere}
body.woocommerce-account .woocommerce-MyAccount-content .pandao-period-info__timezone{font-size:12px;color:#666}
@media(max-width:720px){body.woocommerce-account .woocommerce-MyAccount-content .pandao-period-info__dates{grid-template-columns:1fr;gap:12px}}

/* v0.11.100: keep unavailable checkout visibly disabled on PANDAO carts only. */
body.woocommerce-cart .wc-proceed-to-checkout .pandao-cart-checkout-disabled,
body.woocommerce-cart .wc-proceed-to-checkout .pandao-cart-checkout-disabled:hover,
body.woocommerce-cart .wc-proceed-to-checkout .pandao-cart-checkout-disabled:focus {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    background: #e2e4e7 !important;
    border-color: #c5c9ce !important;
    color: #757b83 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    cursor: not-allowed !important;
    opacity: 1 !important;
    text-decoration: none !important;
    pointer-events: none !important;
}
