/* Pristisia WooCommerce UI v1.0.1 */
body.pwcui-active {
    --pwcui-bg: #f6f8fb;
    --pwcui-card: #fff;
    --pwcui-text: #172033;
    --pwcui-muted: #667085;
    --pwcui-line: #e5e9f0;
    --pwcui-soft: #f8fafc;
    --pwcui-primary: #185abd;
    --pwcui-primary-dark: #11478f;
    --pwcui-success: #16794b;
    --pwcui-danger: #b42318;
    --pwcui-radius: 10px;
    --pwcui-radius-sm: 7px;
    --pwcui-shadow: 0 4px 16px rgba(16, 24, 40, .05);
    font-family: var(--pwcui-font, Tahoma, Arial, sans-serif);
}

/* ---------- GLOBAL TYPOGRAPHY & FLOW ---------- */
body.pwcui-active .woocommerce *,
body.pwcui-active .wc-block-cart *,
body.pwcui-active .wc-block-checkout * {
    box-sizing: border-box;
}

body.pwcui-active .woocommerce,
body.pwcui-active .wc-block-cart,
body.pwcui-active .wc-block-checkout,
body.pwcui-active.woocommerce-page .site-main > .entry-content {
    width: min(calc(100% - 24px), var(--pwcui-content-width, 1240px));
    max-width: var(--pwcui-content-width, 1240px);
    margin-left: auto;
    margin-right: auto;
}

body.pwcui-active .woocommerce,
body.pwcui-active .wc-block-components-main,
body.pwcui-active .wc-block-components-sidebar {
    color: var(--pwcui-text);
    font-family: var(--pwcui-font, Tahoma, Arial, sans-serif);
    font-size: 13px;
    line-height: 1.5;
}

body.pwcui-active .woocommerce p,
body.pwcui-active .woocommerce li,
body.pwcui-active .woocommerce address,
body.pwcui-active .woocommerce label,
body.pwcui-active .wc-block-cart p,
body.pwcui-active .wc-block-checkout p,
body.pwcui-active .wc-block-components-main,
body.pwcui-active .wc-block-components-sidebar {
    line-height: 1.5;
}

body.pwcui-active .woocommerce p,
body.pwcui-active .woocommerce address {
    margin-top: 0;
    margin-bottom: 9px;
}

body.pwcui-active .woocommerce h1,
body.pwcui-active .woocommerce h2,
body.pwcui-active .woocommerce h3,
body.pwcui-active .woocommerce h4,
body.pwcui-active .wc-block-cart h1,
body.pwcui-active .wc-block-checkout h1 {
    color: var(--pwcui-text);
    font-family: inherit;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 10px;
    overflow-wrap: break-word;
}
body.pwcui-active .woocommerce h1 { font-size: clamp(23px, 2.2vw, 30px); }
body.pwcui-active .woocommerce h2 { font-size: clamp(18px, 1.8vw, 22px); }
body.pwcui-active .woocommerce h3 { font-size: 16px; }
body.pwcui-active .woocommerce h4 { font-size: 14px; }

body.pwcui-active .woocommerce a,
body.pwcui-active .wc-block-cart a,
body.pwcui-active .wc-block-checkout a {
    overflow-wrap: break-word;
}

/* ---------- FORMS ---------- */
body.pwcui-active .woocommerce input.input-text,
body.pwcui-active .woocommerce input[type="text"],
body.pwcui-active .woocommerce input[type="email"],
body.pwcui-active .woocommerce input[type="tel"],
body.pwcui-active .woocommerce input[type="number"],
body.pwcui-active .woocommerce input[type="password"],
body.pwcui-active .woocommerce input[type="date"],
body.pwcui-active .woocommerce input[type="url"],
body.pwcui-active .woocommerce select,
body.pwcui-active .woocommerce textarea,
body.pwcui-active .wc-block-components-text-input input,
body.pwcui-active .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
body.pwcui-active .wc-block-components-select .wc-block-components-select__select {
    width: 100%;
    min-height: calc(42px * var(--pwcui-density, .9));
    border: 1px solid var(--pwcui-line) !important;
    border-radius: var(--pwcui-radius-sm) !important;
    background: #fff;
    box-shadow: none !important;
    color: var(--pwcui-text);
    font-family: inherit;
    font-size: 13px;
    line-height: 1.35;
    padding: calc(9px * var(--pwcui-density, .9)) 11px !important;
    transition: border-color .15s ease, box-shadow .15s ease;
}
body.pwcui-active .woocommerce textarea { min-height: 82px; resize: vertical; }

body.pwcui-active .woocommerce input:focus,
body.pwcui-active .woocommerce select:focus,
body.pwcui-active .woocommerce textarea:focus,
body.pwcui-active .wc-block-components-text-input input:focus {
    border-color: var(--pwcui-primary) !important;
    box-shadow: 0 0 0 3px rgba(24, 90, 189, .10) !important;
    outline: none !important;
}

body.pwcui-active .woocommerce form .form-row {
    width: 100%;
    margin: 0 0 calc(10px * var(--pwcui-density, .9));
    padding: 0;
    float: none;
    clear: none;
}
body.pwcui-active .woocommerce form .form-row-first,
body.pwcui-active .woocommerce form .form-row-last {
    width: 100%;
    float: none;
}
body.pwcui-active .woocommerce form .form-row label,
body.pwcui-active .wc-block-components-address-form__address_2-toggle,
body.pwcui-active .wc-block-components-checkbox label {
    display: block;
    color: #344054;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 5px;
    padding: 0;
    position: static;
    white-space: normal;
}
body.pwcui-active .woocommerce form .form-row .required {
    color: var(--pwcui-danger);
    text-decoration: none;
}
body.pwcui-active .woocommerce form .form-row .optional {
    color: var(--pwcui-muted);
    font-weight: 400;
}
body.pwcui-active .woocommerce .woocommerce-form__label-for-checkbox,
body.pwcui-active .woocommerce .woocommerce-form__label-for-radio,
body.pwcui-active .woocommerce #payment .payment_methods label {
    display: inline-flex !important;
    align-items: flex-start;
    gap: 7px;
    margin: 0;
    line-height: 1.45;
}
body.pwcui-active .woocommerce input[type="checkbox"],
body.pwcui-active .woocommerce input[type="radio"] {
    width: auto !important;
    min-width: 14px;
    min-height: 14px;
    height: 14px;
    margin: 2px 0 0 !important;
    padding: 0 !important;
    flex: 0 0 auto;
}

/* Classic checkout field grid */
body.pwcui-active.woocommerce-checkout:not(.pwcui-disable-checkout) .woocommerce-billing-fields__field-wrapper,
body.pwcui-active.woocommerce-checkout:not(.pwcui-disable-checkout) .woocommerce-shipping-fields__field-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 12px;
}
body.pwcui-active.woocommerce-checkout:not(.pwcui-disable-checkout) .woocommerce-billing-fields__field-wrapper .form-row,
body.pwcui-active.woocommerce-checkout:not(.pwcui-disable-checkout) .woocommerce-shipping-fields__field-wrapper .form-row {
    margin: 0;
}
body.pwcui-active.woocommerce-checkout:not(.pwcui-disable-checkout) .woocommerce-billing-fields__field-wrapper .form-row-wide,
body.pwcui-active.woocommerce-checkout:not(.pwcui-disable-checkout) .woocommerce-shipping-fields__field-wrapper .form-row-wide,
body.pwcui-active.woocommerce-checkout:not(.pwcui-disable-checkout) .woocommerce-additional-fields .form-row {
    grid-column: 1 / -1;
}

/* Select2 */
body.pwcui-active .select2-container { width: 100% !important; }
body.pwcui-active .select2-container--default .select2-selection--single {
    height: calc(42px * var(--pwcui-density, .9)) !important;
    border: 1px solid var(--pwcui-line) !important;
    border-radius: var(--pwcui-radius-sm) !important;
}
body.pwcui-active .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: calc(40px * var(--pwcui-density, .9)) !important;
    padding-left: 11px;
    padding-right: 30px;
    font-size: 13px;
}
body.pwcui-active .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: calc(40px * var(--pwcui-density, .9)) !important;
}

/* WooCommerce Blocks floating labels */
body.pwcui-active .wc-block-components-text-input,
body.pwcui-active .wc-block-components-combobox,
body.pwcui-active .wc-block-components-select {
    margin-top: 0 !important;
    margin-bottom: 9px !important;
}
body.pwcui-active .wc-block-components-text-input label,
body.pwcui-active .wc-block-components-combobox label,
body.pwcui-active .wc-block-components-select label {
    font-family: inherit !important;
    line-height: 1.2 !important;
}

/* ---------- BUTTONS ---------- */
body.pwcui-active .woocommerce a.button,
body.pwcui-active .woocommerce button.button,
body.pwcui-active .woocommerce input.button,
body.pwcui-active .woocommerce #respond input#submit,
body.pwcui-active .wc-block-components-button,
body.pwcui-active .wc-block-cart__submit-button,
body.pwcui-active .wc-block-components-checkout-place-order-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: calc(40px * var(--pwcui-density, .9));
    border: 0 !important;
    border-radius: var(--pwcui-radius-sm) !important;
    background: var(--pwcui-primary) !important;
    color: #fff !important;
    box-shadow: none !important;
    font-family: inherit;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    padding: calc(9px * var(--pwcui-density, .9)) 13px !important;
    text-align: center;
    text-decoration: none !important;
    white-space: normal;
    vertical-align: middle;
    transition: background .15s ease, transform .15s ease;
}
body.pwcui-active .woocommerce a.button:hover,
body.pwcui-active .woocommerce button.button:hover,
body.pwcui-active .woocommerce input.button:hover,
body.pwcui-active .wc-block-components-button:hover {
    background: var(--pwcui-primary-dark) !important;
    transform: translateY(-1px);
}
body.pwcui-active .woocommerce .button.disabled,
body.pwcui-active .woocommerce .button:disabled,
body.pwcui-active .woocommerce .button:disabled[disabled] {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
}

/* ---------- NOTICES ---------- */
body.pwcui-active .woocommerce-message,
body.pwcui-active .woocommerce-info,
body.pwcui-active .woocommerce-error,
body.pwcui-active .wc-block-components-notice-banner {
    border: 1px solid var(--pwcui-line) !important;
    border-left-width: 4px !important;
    border-radius: var(--pwcui-radius-sm) !important;
    background: #fff !important;
    box-shadow: var(--pwcui-shadow);
    color: var(--pwcui-text) !important;
    font-size: 12px;
    line-height: 1.5;
    margin: 0 0 12px !important;
    padding: 9px 12px !important;
    overflow-wrap: break-word;
}
body.pwcui-active .woocommerce-message { border-left-color: var(--pwcui-success) !important; }
body.pwcui-active .woocommerce-info { border-left-color: var(--pwcui-primary) !important; }
body.pwcui-active .woocommerce-error { border-left-color: var(--pwcui-danger) !important; }
body.pwcui-active .woocommerce-error li { margin: 0 0 3px; }
body.pwcui-active .woocommerce-error li:last-child { margin-bottom: 0; }

/* ---------- TABLES ---------- */
body.pwcui-active .woocommerce table.shop_table,
body.pwcui-active table.wc-block-cart-items,
body.pwcui-active .woocommerce-orders-table {
    width: 100%;
    border: 1px solid var(--pwcui-line) !important;
    border-collapse: separate !important;
    border-spacing: 0;
    border-radius: var(--pwcui-radius) !important;
    background: var(--pwcui-card);
    box-shadow: var(--pwcui-shadow);
    table-layout: auto;
    overflow: hidden;
}
body.pwcui-active .woocommerce table.shop_table th,
body.pwcui-active .woocommerce table.shop_table td,
body.pwcui-active .woocommerce-orders-table th,
body.pwcui-active .woocommerce-orders-table td {
    border: 0 !important;
    border-bottom: 1px solid var(--pwcui-line) !important;
    padding: calc(10px * var(--pwcui-density, .9)) 11px !important;
    vertical-align: middle;
    font-size: 12px;
    line-height: 1.4;
    text-align: left;
    overflow-wrap: break-word;
}
body.pwcui-active .woocommerce table.shop_table tr:last-child td,
body.pwcui-active .woocommerce-orders-table tr:last-child td { border-bottom: 0 !important; }
body.pwcui-active .woocommerce table.shop_table th,
body.pwcui-active .woocommerce-orders-table th {
    background: var(--pwcui-soft);
    color: #344054;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .02em;
    line-height: 1.3;
    text-transform: uppercase;
    white-space: normal;
}
body.pwcui-active .woocommerce table.shop_table td.product-name,
body.pwcui-active .woocommerce-orders-table td.woocommerce-orders-table__cell-order-number {
    font-weight: 700;
}
body.pwcui-active .woocommerce table.shop_table .amount {
    white-space: nowrap;
}
body.pwcui-active .woocommerce-orders-table__cell-order-actions {
    min-width: 150px;
}
body.pwcui-active .woocommerce-orders-table__cell-order-actions .button {
    margin: 2px 3px 2px 0 !important;
}

/* ---------- CART CLASSIC ---------- */
body.pwcui-active.woocommerce-cart:not(.pwcui-disable-cart) .woocommerce-cart-form { margin-bottom: 14px; }
body.pwcui-active.woocommerce-cart:not(.pwcui-disable-cart) .cart-collaterals { margin-top: 14px; }
body.pwcui-active.woocommerce-cart:not(.pwcui-disable-cart) .cart-collaterals .cart_totals {
    width: min(100%, 480px);
    float: right;
    border: 1px solid var(--pwcui-line);
    border-radius: var(--pwcui-radius);
    background: var(--pwcui-card);
    box-shadow: var(--pwcui-shadow);
    padding: 14px;
}
body.pwcui-active.woocommerce-cart:not(.pwcui-disable-cart) .cart-collaterals .cart_totals h2 {
    font-size: 17px;
    margin: 0 0 10px;
}
body.pwcui-active.woocommerce-cart:not(.pwcui-disable-cart) .woocommerce-cart-form img {
    width: 54px !important;
    border-radius: 7px;
}
body.pwcui-active.woocommerce-cart:not(.pwcui-disable-cart) .quantity .qty {
    width: 64px !important;
    text-align: center;
}
body.pwcui-active.woocommerce-cart:not(.pwcui-disable-cart) .coupon {
    display: flex;
    gap: 7px;
    align-items: center;
    flex-wrap: wrap;
}
body.pwcui-active.woocommerce-cart:not(.pwcui-disable-cart) .coupon .input-text {
    width: min(220px, 100%) !important;
    margin: 0 !important;
}
body.pwcui-active.woocommerce-cart:not(.pwcui-disable-cart) td.actions {
    text-align: right !important;
}

/* Cart blocks */
body.pwcui-active:not(.pwcui-disable-cart) .wc-block-cart { gap: 18px; }
body.pwcui-active:not(.pwcui-disable-cart) .wc-block-cart-items,
body.pwcui-active:not(.pwcui-disable-cart) .wc-block-cart__totals-title,
body.pwcui-active:not(.pwcui-disable-cart) .wc-block-cart__sidebar { font-size: 12px; }
body.pwcui-active:not(.pwcui-disable-cart) .wc-block-components-sidebar-layout .wc-block-components-main,
body.pwcui-active:not(.pwcui-disable-cart) .wc-block-components-sidebar-layout .wc-block-components-sidebar { padding-top: 0 !important; }
body.pwcui-active:not(.pwcui-disable-cart) .wc-block-components-sidebar-layout .wc-block-components-sidebar {
    border: 1px solid var(--pwcui-line);
    border-radius: var(--pwcui-radius);
    background: #fff;
    box-shadow: var(--pwcui-shadow);
    padding: 14px !important;
}
body.pwcui-active .wc-block-cart-item__product .wc-block-components-product-name,
body.pwcui-active .wc-block-components-order-summary-item__description .wc-block-components-product-name {
    display: block;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 4px;
}

/* ---------- CHECKOUT CLASSIC ---------- */
body.pwcui-active.woocommerce-checkout:not(.pwcui-disable-checkout) form.checkout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(330px, .8fr);
    grid-template-areas:
        "customer review-title"
        "customer review";
    gap: 10px 18px;
    align-items: start;
}
body.pwcui-active.woocommerce-checkout:not(.pwcui-disable-checkout) #customer_details {
    grid-area: customer;
    width: 100%;
    float: none;
    display: block;
    min-width: 0;
}
body.pwcui-active.woocommerce-checkout:not(.pwcui-disable-checkout) #customer_details .col-1,
body.pwcui-active.woocommerce-checkout:not(.pwcui-disable-checkout) #customer_details .col-2 {
    width: 100%;
    float: none;
    background: #fff;
    border: 1px solid var(--pwcui-line);
    border-radius: var(--pwcui-radius);
    box-shadow: var(--pwcui-shadow);
    padding: 14px;
    margin: 0 0 12px;
}
body.pwcui-active.woocommerce-checkout:not(.pwcui-disable-checkout) #order_review_heading {
    grid-area: review-title;
    width: 100%;
    float: none;
    margin: 0 !important;
    padding: 12px 14px;
    border: 1px solid var(--pwcui-line);
    border-bottom: 0;
    border-radius: var(--pwcui-radius) var(--pwcui-radius) 0 0;
    background: #fff;
    box-shadow: var(--pwcui-shadow);
    font-size: 17px;
    line-height: 1.3;
}
body.pwcui-active.woocommerce-checkout:not(.pwcui-disable-checkout) #order_review {
    grid-area: review;
    width: 100%;
    float: none;
    min-width: 0;
    margin-top: -10px;
    background: #fff;
    border: 1px solid var(--pwcui-line);
    border-radius: 0 0 var(--pwcui-radius) var(--pwcui-radius);
    box-shadow: var(--pwcui-shadow);
    padding: 12px 14px 14px;
}
body.pwcui-active.woocommerce-checkout:not(.pwcui-disable-checkout).pwcui-sticky-summary #order_review {
    position: sticky;
    top: 18px;
}
body.pwcui-active.woocommerce-checkout:not(.pwcui-disable-checkout) #payment {
    background: var(--pwcui-soft) !important;
    border: 1px solid var(--pwcui-line) !important;
    border-radius: var(--pwcui-radius-sm) !important;
}
body.pwcui-active.woocommerce-checkout:not(.pwcui-disable-checkout) #payment ul.payment_methods,
body.pwcui-active.woocommerce-checkout:not(.pwcui-disable-checkout) #payment div.form-row { padding: 11px !important; }
body.pwcui-active.woocommerce-checkout:not(.pwcui-disable-checkout) #payment ul.payment_methods li {
    margin: 0 0 8px;
    line-height: 1.45;
}
body.pwcui-active.woocommerce-checkout:not(.pwcui-disable-checkout) #payment ul.payment_methods li:last-child { margin-bottom: 0; }
body.pwcui-active.woocommerce-checkout:not(.pwcui-disable-checkout) #payment div.payment_box {
    margin: 7px 0 0 !important;
    border-radius: 7px;
    background: #eef4ff !important;
    font-size: 12px;
    line-height: 1.5;
    padding: 10px 11px !important;
}
body.pwcui-active.woocommerce-checkout:not(.pwcui-disable-checkout) #payment div.payment_box p:last-child { margin-bottom: 0; }
body.pwcui-active.woocommerce-checkout:not(.pwcui-disable-checkout) .woocommerce-billing-fields h3,
body.pwcui-active.woocommerce-checkout:not(.pwcui-disable-checkout) .woocommerce-additional-fields h3,
body.pwcui-active.woocommerce-checkout:not(.pwcui-disable-checkout) .woocommerce-shipping-fields h3 {
    font-size: 17px;
    margin: 0 0 11px;
}
body.pwcui-active.woocommerce-checkout:not(.pwcui-disable-checkout) .woocommerce-shipping-fields h3 label {
    font-size: inherit;
    line-height: inherit;
    margin: 0;
}
body.pwcui-active.woocommerce-checkout:not(.pwcui-disable-checkout) .woocommerce-terms-and-conditions-wrapper {
    font-size: 11px;
    line-height: 1.5;
}
body.pwcui-active.woocommerce-checkout:not(.pwcui-disable-checkout) #place_order {
    width: 100%;
    margin-top: 7px;
}

/* Checkout blocks */
body.pwcui-active:not(.pwcui-disable-checkout) .wc-block-checkout__main { padding-right: 8px !important; }
body.pwcui-active:not(.pwcui-disable-checkout) .wc-block-checkout__sidebar { padding-left: 8px !important; }
body.pwcui-active:not(.pwcui-disable-checkout) .wc-block-components-checkout-step {
    background: #fff;
    border: 1px solid var(--pwcui-line);
    border-radius: var(--pwcui-radius);
    box-shadow: var(--pwcui-shadow);
    margin: 0 0 12px !important;
    padding: 13px !important;
}
body.pwcui-active:not(.pwcui-disable-checkout) .wc-block-components-checkout-step__heading {
    margin: 0 0 9px !important;
    padding: 0 !important;
}
body.pwcui-active:not(.pwcui-disable-checkout) .wc-block-components-checkout-step__title {
    font-size: 16px !important;
    line-height: 1.35 !important;
    margin: 0 !important;
}
body.pwcui-active:not(.pwcui-disable-checkout) .wc-block-components-checkout-step__description {
    font-size: 11px;
    line-height: 1.5;
    color: var(--pwcui-muted);
    margin-top: 4px !important;
}
body.pwcui-active:not(.pwcui-disable-checkout) .wc-block-checkout__sidebar .wc-block-components-order-summary,
body.pwcui-active:not(.pwcui-disable-checkout) .wc-block-checkout__sidebar .wc-block-components-totals-wrapper { font-size: 12px; }
body.pwcui-active:not(.pwcui-disable-checkout).pwcui-sticky-summary .wc-block-checkout__sidebar {
    position: sticky;
    top: 18px;
    align-self: start;
}
body.pwcui-active .wc-block-components-totals-item__label,
body.pwcui-active .wc-block-components-totals-item__value {
    line-height: 1.35;
}

/* ---------- MY ACCOUNT ---------- */
body.pwcui-active.logged-in.woocommerce-account:not(.pwcui-disable-account) .woocommerce {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}
body.pwcui-active.woocommerce-account:not(.pwcui-disable-account) .woocommerce-MyAccount-navigation {
    width: 100%;
    float: none;
    border: 1px solid var(--pwcui-line);
    border-radius: var(--pwcui-radius);
    background: #fff;
    box-shadow: var(--pwcui-shadow);
    overflow: hidden;
}
body.pwcui-active.woocommerce-account:not(.pwcui-disable-account) .woocommerce-MyAccount-navigation ul {
    margin: 0;
    padding: 6px;
    list-style: none;
}
body.pwcui-active.woocommerce-account:not(.pwcui-disable-account) .woocommerce-MyAccount-navigation li { margin: 0; border: 0; }
body.pwcui-active.woocommerce-account:not(.pwcui-disable-account) .woocommerce-MyAccount-navigation li a {
    display: flex;
    align-items: center;
    min-height: 35px;
    padding: 8px 9px;
    border-radius: 7px;
    color: #344054;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
    overflow-wrap: anywhere;
}
body.pwcui-active.woocommerce-account:not(.pwcui-disable-account) .woocommerce-MyAccount-navigation li.is-active a,
body.pwcui-active.woocommerce-account:not(.pwcui-disable-account) .woocommerce-MyAccount-navigation li a:hover {
    background: #eef4ff;
    color: var(--pwcui-primary);
}
body.pwcui-active.woocommerce-account:not(.pwcui-disable-account) .woocommerce-MyAccount-content {
    width: 100%;
    float: none;
    min-width: 0;
    border: 1px solid var(--pwcui-line);
    border-radius: var(--pwcui-radius);
    background: #fff;
    box-shadow: var(--pwcui-shadow);
    padding: 14px;
    overflow: hidden;
}
body.pwcui-active.woocommerce-account:not(.pwcui-disable-account) .woocommerce-MyAccount-content > :first-child { margin-top: 0; }
body.pwcui-active.woocommerce-account:not(.pwcui-disable-account) .woocommerce-MyAccount-content > :last-child { margin-bottom: 0; }
body.pwcui-active.woocommerce-account:not(.pwcui-disable-account) .woocommerce-MyAccount-content p,
body.pwcui-active.woocommerce-account:not(.pwcui-disable-account) .woocommerce-MyAccount-content address {
    overflow-wrap: break-word;
}
body.pwcui-active.woocommerce-account:not(.pwcui-disable-account) .woocommerce-Addresses {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 10px;
}
body.pwcui-active.woocommerce-account:not(.pwcui-disable-account) .woocommerce-Address {
    width: 100% !important;
    float: none !important;
    border: 1px solid var(--pwcui-line);
    border-radius: var(--pwcui-radius-sm);
    padding: 11px;
}
body.pwcui-active.woocommerce-account:not(.pwcui-disable-account) .woocommerce-Address-title h2 {
    font-size: 15px;
    margin-bottom: 6px;
}
body.pwcui-active.woocommerce-account:not(.pwcui-disable-account) .woocommerce-orders-table .button {
    min-height: 30px;
    padding: 6px 8px !important;
    font-size: 10px !important;
}

/* Login/register: never force account sidebar grid when logged out */
body.pwcui-active.woocommerce-account:not(.logged-in) .woocommerce { display: block; }
body.pwcui-active.woocommerce-account #customer_login {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
}
body.pwcui-active.woocommerce-account #customer_login .col-1,
body.pwcui-active.woocommerce-account #customer_login .col-2 {
    width: 100%;
    float: none;
    border: 1px solid var(--pwcui-line);
    border-radius: var(--pwcui-radius);
    background: #fff;
    box-shadow: var(--pwcui-shadow);
    padding: 14px;
}
body.pwcui-active .woocommerce form.checkout_coupon,
body.pwcui-active .woocommerce form.login,
body.pwcui-active .woocommerce form.register {
    border: 1px solid var(--pwcui-line) !important;
    border-radius: var(--pwcui-radius) !important;
    background: #fff;
    padding: 13px !important;
    box-shadow: var(--pwcui-shadow);
}

/* ---------- SHOP & PRODUCT ---------- */
body.pwcui-active:not(.pwcui-disable-products) ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
body.pwcui-active:not(.pwcui-disable-products) ul.products::before,
body.pwcui-active:not(.pwcui-disable-products) ul.products::after { display: none !important; }
body.pwcui-active:not(.pwcui-disable-products) ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    border: 1px solid var(--pwcui-line);
    border-radius: var(--pwcui-radius);
    background: #fff;
    box-shadow: var(--pwcui-shadow);
    overflow: hidden;
    padding: 0 0 11px !important;
}
body.pwcui-active:not(.pwcui-disable-products) ul.products li.product img {
    width: 100%;
    margin: 0 0 9px !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
body.pwcui-active:not(.pwcui-disable-products) ul.products li.product .woocommerce-loop-product__title,
body.pwcui-active:not(.pwcui-disable-products) ul.products li.product .price,
body.pwcui-active:not(.pwcui-disable-products) ul.products li.product .button,
body.pwcui-active:not(.pwcui-disable-products) ul.products li.product .star-rating {
    margin-left: 10px !important;
    margin-right: 10px !important;
}
body.pwcui-active:not(.pwcui-disable-products) ul.products li.product .woocommerce-loop-product__title {
    padding: 0 !important;
    font-size: 13px !important;
    line-height: 1.4;
    min-height: 2.8em;
    overflow-wrap: break-word;
}
body.pwcui-active:not(.pwcui-disable-products) ul.products li.product .price {
    color: var(--pwcui-primary) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.4;
}
body.pwcui-active:not(.pwcui-disable-products) div.product {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, .85fr);
    gap: 20px;
    align-items: start;
}
body.pwcui-active:not(.pwcui-disable-products) div.product div.images,
body.pwcui-active:not(.pwcui-disable-products) div.product div.summary {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    min-width: 0;
}
body.pwcui-active:not(.pwcui-disable-products) div.product div.summary {
    border: 1px solid var(--pwcui-line);
    border-radius: var(--pwcui-radius);
    background: #fff;
    box-shadow: var(--pwcui-shadow);
    padding: 14px;
}
body.pwcui-active:not(.pwcui-disable-products) div.product .product_title {
    font-size: clamp(22px, 2vw, 28px);
    line-height: 1.3;
    margin-bottom: 7px;
}
body.pwcui-active:not(.pwcui-disable-products) div.product p.price {
    color: var(--pwcui-primary);
    font-size: 18px;
    line-height: 1.4;
    margin: 7px 0 11px;
}
body.pwcui-active:not(.pwcui-disable-products) div.product form.cart {
    display: flex;
    align-items: stretch;
    gap: 7px;
    flex-wrap: wrap;
    margin: 11px 0;
}
body.pwcui-active:not(.pwcui-disable-products) div.product .woocommerce-tabs {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
}
body.pwcui-active:not(.pwcui-disable-products) div.product .woocommerce-tabs ul.tabs {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    padding: 0 !important;
    margin: 14px 0 9px !important;
}
body.pwcui-active:not(.pwcui-disable-products) div.product .woocommerce-tabs ul.tabs li {
    margin: 0 !important;
    padding: 0 !important;
}
body.pwcui-active:not(.pwcui-disable-products) div.product .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 7px 10px !important;
    font-size: 12px;
    line-height: 1.35;
}

/* ---------- ORDER RECEIVED / DETAILS ---------- */
body.pwcui-active .woocommerce-order,
body.pwcui-active .woocommerce-order-details,
body.pwcui-active .woocommerce-customer-details { font-size: 12px; }
body.pwcui-active ul.woocommerce-order-overview {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 14px !important;
    padding: 0 !important;
}
body.pwcui-active ul.woocommerce-order-overview li {
    float: none !important;
    margin: 0 !important;
    padding: 9px !important;
    border: 1px solid var(--pwcui-line) !important;
    border-radius: var(--pwcui-radius-sm);
    background: #fff;
    font-size: 9px !important;
    line-height: 1.4;
    overflow-wrap: break-word;
}
body.pwcui-active ul.woocommerce-order-overview li strong {
    display: block;
    margin-top: 3px;
    font-size: 12px !important;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

/* ---------- TABLET ---------- */
@media (max-width: 1024px) {
    body.pwcui-active:not(.pwcui-disable-products) ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    body.pwcui-active.woocommerce-checkout:not(.pwcui-disable-checkout) form.checkout {
        grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr);
        gap: 10px 12px;
    }
    body.pwcui-active.logged-in.woocommerce-account:not(.pwcui-disable-account) .woocommerce {
        grid-template-columns: 175px minmax(0, 1fr);
    }
}

/* ---------- MOBILE ---------- */
@media (max-width: 782px) {
    body.pwcui-active .woocommerce,
    body.pwcui-active .wc-block-cart,
    body.pwcui-active .wc-block-checkout,
    body.pwcui-active.woocommerce-page .site-main > .entry-content {
        width: min(calc(100% - 16px), var(--pwcui-content-width, 1240px));
    }

    body.pwcui-active.woocommerce-checkout:not(.pwcui-disable-checkout) form.checkout,
    body.pwcui-active.logged-in.woocommerce-account:not(.pwcui-disable-account) .woocommerce,
    body.pwcui-active.woocommerce-account #customer_login,
    body.pwcui-active:not(.pwcui-disable-products) div.product {
        display: block;
    }

    body.pwcui-active.woocommerce-checkout:not(.pwcui-disable-checkout) #order_review_heading,
    body.pwcui-active.woocommerce-checkout:not(.pwcui-disable-checkout) #order_review {
        width: 100%;
        margin: 0 !important;
    }
    body.pwcui-active.woocommerce-checkout:not(.pwcui-disable-checkout) #order_review_heading {
        border-bottom: 0;
        border-radius: var(--pwcui-radius) var(--pwcui-radius) 0 0;
        margin-top: 12px !important;
    }
    body.pwcui-active.woocommerce-checkout:not(.pwcui-disable-checkout) #order_review {
        border-radius: 0 0 var(--pwcui-radius) var(--pwcui-radius);
    }
    body.pwcui-active.woocommerce-checkout:not(.pwcui-disable-checkout).pwcui-sticky-summary #order_review,
    body.pwcui-active:not(.pwcui-disable-checkout).pwcui-sticky-summary .wc-block-checkout__sidebar { position: static; }

    body.pwcui-active.woocommerce-checkout:not(.pwcui-disable-checkout) .woocommerce-billing-fields__field-wrapper,
    body.pwcui-active.woocommerce-checkout:not(.pwcui-disable-checkout) .woocommerce-shipping-fields__field-wrapper {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    body.pwcui-active.woocommerce-checkout:not(.pwcui-disable-checkout) .woocommerce-billing-fields__field-wrapper .form-row,
    body.pwcui-active.woocommerce-checkout:not(.pwcui-disable-checkout) .woocommerce-shipping-fields__field-wrapper .form-row { grid-column: 1; }

    body.pwcui-active.woocommerce-account:not(.pwcui-disable-account) .woocommerce-MyAccount-navigation { margin-bottom: 9px; }
    body.pwcui-active.woocommerce-account:not(.pwcui-disable-account) .woocommerce-MyAccount-navigation ul {
        display: flex;
        gap: 5px;
        overflow-x: auto;
        padding: 5px;
        scrollbar-width: thin;
    }
    body.pwcui-active.woocommerce-account:not(.pwcui-disable-account) .woocommerce-MyAccount-navigation li { flex: 0 0 auto; }
    body.pwcui-active.woocommerce-account:not(.pwcui-disable-account) .woocommerce-MyAccount-navigation li a {
        white-space: nowrap;
        min-height: 32px;
        padding: 7px 9px;
        overflow-wrap: normal;
    }
    body.pwcui-active.woocommerce-account:not(.pwcui-disable-account) .woocommerce-MyAccount-content { padding: 11px; }
    body.pwcui-active.woocommerce-account:not(.pwcui-disable-account) .woocommerce-Addresses { grid-template-columns: 1fr; }

    body.pwcui-active:not(.pwcui-disable-products) ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }
    body.pwcui-active:not(.pwcui-disable-products) ul.products li.product { padding-bottom: 9px !important; }
    body.pwcui-active:not(.pwcui-disable-products) ul.products li.product .button {
        display: flex !important;
        width: calc(100% - 20px);
        margin-top: 8px !important;
        text-align: center;
    }

    body.pwcui-active ul.woocommerce-order-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    body.pwcui-active.woocommerce-cart:not(.pwcui-disable-cart) .cart-collaterals .cart_totals {
        width: 100%;
        float: none;
        padding: 11px;
    }
    body.pwcui-active.woocommerce-cart:not(.pwcui-disable-cart) .coupon {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        width: 100%;
    }
    body.pwcui-active.woocommerce-cart:not(.pwcui-disable-cart) .coupon .input-text { width: 100% !important; }

    /* Classic Woo responsive table: tidy label/value alignment */
    body.pwcui-active .woocommerce table.shop_table_responsive tr,
    body.pwcui-active .woocommerce-page table.shop_table_responsive tr {
        display: block;
        padding: 5px 0;
        border-bottom: 1px solid var(--pwcui-line);
    }
    body.pwcui-active .woocommerce table.shop_table_responsive tr:last-child,
    body.pwcui-active .woocommerce-page table.shop_table_responsive tr:last-child { border-bottom: 0; }
    body.pwcui-active .woocommerce table.shop_table_responsive tr td,
    body.pwcui-active .woocommerce-page table.shop_table_responsive tr td {
        display: grid !important;
        grid-template-columns: minmax(105px, 40%) minmax(0, 1fr);
        gap: 10px;
        align-items: start;
        width: 100%;
        padding: 7px 9px !important;
        text-align: right !important;
        border-bottom: 0 !important;
    }
    body.pwcui-active .woocommerce table.shop_table_responsive tr td::before,
    body.pwcui-active .woocommerce-page table.shop_table_responsive tr td::before {
        float: none !important;
        width: auto;
        color: #475467;
        font-size: 10px;
        font-weight: 800;
        line-height: 1.35;
        text-align: left;
        text-transform: uppercase;
        overflow-wrap: break-word;
    }
    body.pwcui-active .woocommerce table.shop_table_responsive tr td.product-name,
    body.pwcui-active .woocommerce-page table.shop_table_responsive tr td.product-name { text-align: right !important; }
    body.pwcui-active .woocommerce table.shop_table_responsive tr td.product-remove,
    body.pwcui-active .woocommerce-page table.shop_table_responsive tr td.product-remove,
    body.pwcui-active .woocommerce table.shop_table_responsive tr td.actions,
    body.pwcui-active .woocommerce-page table.shop_table_responsive tr td.actions {
        display: block !important;
        text-align: left !important;
    }
    body.pwcui-active .woocommerce table.shop_table_responsive tr td.product-remove::before,
    body.pwcui-active .woocommerce-page table.shop_table_responsive tr td.product-remove::before,
    body.pwcui-active .woocommerce table.shop_table_responsive tr td.actions::before,
    body.pwcui-active .woocommerce-page table.shop_table_responsive tr td.actions::before { display: none; }

    body.pwcui-active .wc-block-components-sidebar-layout { display: block !important; }
    body.pwcui-active .wc-block-components-sidebar-layout .wc-block-components-main,
    body.pwcui-active .wc-block-components-sidebar-layout .wc-block-components-sidebar,
    body.pwcui-active:not(.pwcui-disable-checkout) .wc-block-checkout__main,
    body.pwcui-active:not(.pwcui-disable-checkout) .wc-block-checkout__sidebar {
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media (max-width: 480px) {
    body.pwcui-active:not(.pwcui-disable-products) ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.pwcui-active:not(.pwcui-disable-products) ul.products li.product .woocommerce-loop-product__title,
    body.pwcui-active:not(.pwcui-disable-products) ul.products li.product .price { font-size: 11px !important; }
    body.pwcui-active .woocommerce a.button,
    body.pwcui-active .woocommerce button.button,
    body.pwcui-active .woocommerce input.button,
    body.pwcui-active .wc-block-components-button {
        font-size: 11px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    body.pwcui-active .woocommerce table.shop_table_responsive tr td,
    body.pwcui-active .woocommerce-page table.shop_table_responsive tr td {
        grid-template-columns: minmax(92px, 38%) minmax(0, 1fr);
        gap: 7px;
    }
}
