/* WooCommerce-specific internal-page layer; intentionally excluded from Landing. */
.woocommerce .woocommerce-ordering select {
    min-height: 44px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    align-items: center;
    display: inline-flex;
    min-height: 44px;
}

.woocommerce :is(ul.products li.product .button, .single_add_to_cart_button) {
    background: #d62f3f !important;
}

.woocommerce :is(ul.products li.product .button, .single_add_to_cart_button):hover {
    background: #b82736 !important;
}

.woocommerce-cart,
.woocommerce-checkout,
.woocommerce-order-received {
    --ts-wc-surface: #171726;
    --ts-wc-surface-raised: #1d1b30;
    --ts-wc-border: #34304a;
    --ts-wc-text: #f7f5ff;
    --ts-wc-muted: #bbb7cc;
    --ts-wc-accent: #8b5cf6;
    --ts-wc-focus: #c4b5fd;
    color: var(--ts-wc-text);
    direction: rtl;
    min-width: 0;
}

/* The cart owns one calm, centered surface instead of inheriting the page's flat panel. */
.woocommerce-cart .ts-content--page {
    background: linear-gradient(145deg, rgba(18, 18, 30, .98), rgba(14, 14, 24, .98));
    border: 1px solid var(--ts-wc-border);
    border-radius: 24px;
    box-shadow: none;
    box-sizing: border-box;
    margin-block: clamp(28px, 4vw, 58px) clamp(42px, 6vw, 84px);
    padding: clamp(20px, 3vw, 38px);
}

.woocommerce-cart :is(.ts-entry, .ts-entry-content) {
    background: transparent;
    min-width: 0;
}

.woocommerce-cart :is(.woocommerce, .wc-block-components-main, .wc-block-cart),
.woocommerce-checkout :is(.woocommerce, .wc-block-components-main, .wc-block-checkout),
.woocommerce-order-received .woocommerce {
    min-width: 0;
}

.woocommerce-cart :is(.wp-block-woocommerce-cart, .wc-block-cart),
.woocommerce-checkout :is(.wp-block-woocommerce-checkout, .wc-block-checkout) {
    box-sizing: border-box;
    inline-size: 100% !important;
    max-inline-size: 100% !important;
}

.woocommerce-cart :is(h1, h2, h3, h4, label, legend),
.woocommerce-checkout :is(h1, h2, h3, h4, label, legend),
.woocommerce-order-received :is(h1, h2, h3, h4) {
    color: var(--ts-wc-text);
}

.woocommerce-cart :is(input, select, textarea),
.woocommerce-checkout :is(input, select, textarea),
.woocommerce-order-received :is(input, select, textarea) {
    background: #12121e;
    border: 1px solid #4a4565;
    border-radius: 9px;
    box-sizing: border-box;
    color: var(--ts-wc-text);
    font: inherit;
    max-width: 100%;
    min-height: 44px;
    padding: 10px 12px;
}

.woocommerce-cart :is(input, select, textarea)::placeholder,
.woocommerce-checkout :is(input, select, textarea)::placeholder,
.woocommerce-order-received :is(input, select, textarea)::placeholder {
    color: #9db0c2;
    opacity: 1;
}

.woocommerce-cart :is(input, select, textarea):focus-visible,
.woocommerce-checkout :is(input, select, textarea):focus-visible,
.woocommerce-order-received :is(input, select, textarea):focus-visible,
.woocommerce-cart :is(a, button):focus-visible,
.woocommerce-checkout :is(a, button):focus-visible,
.woocommerce-order-received :is(a, button):focus-visible {
    outline: 3px solid var(--ts-wc-focus);
    outline-offset: 3px;
}

.woocommerce-cart :is(button, .button, input[type="submit"]),
.woocommerce-checkout :is(button, .button, input[type="submit"]),
.woocommerce-order-received :is(button, .button, input[type="submit"]) {
    background: var(--ts-wc-accent);
    border: 1px solid var(--ts-wc-accent);
    border-radius: 9px;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    min-height: 44px;
    padding: 10px 16px;
}

.woocommerce-cart :is(button, .button, input[type="submit"]):hover,
.woocommerce-checkout :is(button, .button, input[type="submit"]):hover,
.woocommerce-order-received :is(button, .button, input[type="submit"]):hover {
    background: #7c3aed;
    border-color: #7c3aed;
}

.woocommerce-cart .woocommerce-notices-wrapper,
.woocommerce-checkout .woocommerce-notices-wrapper,
.woocommerce-order-received .woocommerce-notices-wrapper {
    margin-bottom: 20px;
}

.woocommerce-cart :is(.woocommerce-message, .woocommerce-info, .woocommerce-error),
.woocommerce-checkout :is(.woocommerce-message, .woocommerce-info, .woocommerce-error),
.woocommerce-order-received :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) {
    background: var(--ts-wc-surface-raised);
    border: 1px solid var(--ts-wc-border);
    border-radius: 10px;
    box-sizing: border-box;
    color: var(--ts-wc-text);
    list-style: none;
    margin: 0 0 14px;
    padding: 15px 18px;
}

.woocommerce-cart .woocommerce-error,
.woocommerce-checkout .woocommerce-error,
.woocommerce-order-received .woocommerce-error {
    border-right: 4px solid #ef7280;
}

.woocommerce-cart .woocommerce-message,
.woocommerce-checkout .woocommerce-message,
.woocommerce-order-received .woocommerce-message {
    border-right: 4px solid #83d5a4;
}

.woocommerce-cart :is(.woocommerce-notices-wrapper, .woocommerce-error) a,
.woocommerce-checkout :is(.woocommerce-notices-wrapper, .woocommerce-error) a,
.woocommerce-order-received :is(.woocommerce-notices-wrapper, .woocommerce-error) a {
    color: #fff;
    font-weight: 800;
}

.woocommerce-cart :is(.shop_table, .wc-block-cart-items, .wc-block-components-totals-wrapper),
.woocommerce-checkout :is(.shop_table, .woocommerce-checkout-review-order-table, .wc-block-components-totals-wrapper),
.woocommerce-order-received :is(.shop_table, .woocommerce-order-details, .woocommerce-order-overview) {
    background: var(--ts-wc-surface);
    border: 1px solid var(--ts-wc-border);
    border-collapse: separate;
    border-radius: 12px;
    border-spacing: 0;
    color: var(--ts-wc-text);
    max-width: 100%;
    overflow-wrap: anywhere;
    width: 100%;
}

.woocommerce-cart :is(.shop_table th, .shop_table td, .wc-block-cart-items th, .wc-block-cart-items td, .wc-block-cart-items__row),
.woocommerce-checkout :is(.shop_table th, .shop_table td, .woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td),
.woocommerce-order-received :is(.shop_table th, .shop_table td) {
    border-color: var(--ts-wc-border);
    color: inherit;
    padding: 16px;
    text-align: right;
    vertical-align: middle;
}

.woocommerce-cart :is(.shop_table thead th, .wc-block-cart-items thead th),
.woocommerce-checkout :is(.shop_table thead th, .woocommerce-checkout-review-order-table thead th),
.woocommerce-order-received .shop_table thead th {
    background: #131321;
    color: #d9d5e8;
    font-size: .9rem;
    font-weight: 800;
}

.woocommerce-cart :is(.product-name a, .wc-block-components-product-name),
.woocommerce-checkout :is(.product-name, .wc-block-components-product-name),
.woocommerce-order-received .product-name {
    color: #fff;
    font-weight: 800;
}

.woocommerce-cart :is(.product-remove a, .remove),
.woocommerce-cart .wc-block-cart-item__remove-link {
    color: #ffabb4;
    font-weight: 800;
}

.woocommerce-cart :is(.quantity .qty, .wc-block-components-quantity-selector input) {
    min-width: 72px;
    text-align: center;
}

.woocommerce-cart :is(.cart-collaterals, .wc-block-cart__sidebar),
.woocommerce-checkout :is(#order_review, .wc-block-checkout__sidebar) {
    min-width: 0;
}

.woocommerce-cart :is(.cart_totals, .wc-block-components-totals-wrapper),
.woocommerce-checkout :is(#order_review, .woocommerce-checkout-payment, .wc-block-components-totals-wrapper),
.woocommerce-order-received :is(.woocommerce-order-details, .woocommerce-customer-details) {
    background: var(--ts-wc-surface);
    border: 1px solid var(--ts-wc-border);
    border-radius: 12px;
    box-sizing: border-box;
    margin-bottom: 22px;
    padding: 20px;
}

.woocommerce-cart :is(.cart_totals, .wc-block-components-totals-wrapper) :is(th, td),
.woocommerce-checkout :is(#order_review, .woocommerce-checkout-payment) :is(th, td) {
    border-color: var(--ts-wc-border);
    color: inherit;
}

.woocommerce-cart :is(.coupon, .wc-block-components-totals-coupon),
.woocommerce-checkout :is(.woocommerce-form-coupon, .wc-block-components-totals-coupon) {
    align-items: end;
    background: var(--ts-wc-surface);
    border: 1px solid var(--ts-wc-border);
    border-radius: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 20px;
    padding: 16px;
}

.woocommerce-cart :is(.coupon, .wc-block-components-totals-coupon) label,
.woocommerce-checkout :is(.woocommerce-form-coupon, .wc-block-components-totals-coupon) label {
    flex-basis: 100%;
}

.woocommerce-cart :is(.coupon input, .wc-block-components-totals-coupon input),
.woocommerce-checkout :is(.woocommerce-form-coupon input, .wc-block-components-totals-coupon input) {
    flex: 1 1 180px;
}

.woocommerce-cart :is(.shipping, .woocommerce-shipping-methods, .wc-block-components-shipping-rates-control),
.woocommerce-checkout :is(.woocommerce-shipping-methods, .wc-block-components-shipping-rates-control) {
    color: var(--ts-wc-muted);
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-cart :is(.shipping li, .woocommerce-shipping-methods li),
.woocommerce-checkout .woocommerce-shipping-methods li {
    align-items: center;
    display: flex;
    gap: 9px;
    margin: 10px 0;
}

.woocommerce-checkout :is(.woocommerce-billing-fields, .woocommerce-shipping-fields, .woocommerce-additional-fields, .wc-block-components-checkout-step),
.woocommerce-order-received .woocommerce-customer-details {
    background: var(--ts-wc-surface);
    border: 1px solid var(--ts-wc-border);
    border-radius: 12px;
    box-sizing: border-box;
    margin-bottom: 22px;
    padding: 22px;
}

.woocommerce-checkout .form-row {
    margin: 0 0 16px;
}

.woocommerce-checkout :is(.form-row-first, .form-row-last) {
    width: calc(50% - 8px);
}

.woocommerce-checkout .form-row :is(input, select, textarea) {
    width: 100%;
}

.woocommerce-checkout :is(.woocommerce-invalid input, .woocommerce-invalid select, .woocommerce-invalid textarea) {
    border-color: #ef7280;
}

.woocommerce-checkout :is(.woocommerce-checkout-payment, .wc-block-checkout__payment-method) {
    color: var(--ts-wc-text);
}

.woocommerce-checkout :is(.woocommerce-checkout-payment, .wc-block-checkout__payment-method) :is(ul, .payment_methods) {
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-checkout :is(.payment_box, .wc-block-components-radio-control-accordion-option__content) {
    background: #172431;
    border-radius: 9px;
    color: var(--ts-wc-muted);
    margin: 12px 0;
    padding: 14px;
}

.woocommerce-checkout :is(.payment_method, .wc-block-components-radio-control__option) {
    border-bottom: 1px solid var(--ts-wc-border);
    margin: 0;
    padding: 14px 0;
}

.woocommerce-checkout :is(.payment_method, .wc-block-components-radio-control__option):last-child {
    border-bottom: 0;
}

.woocommerce-order-received :is(.woocommerce-order-overview, .woocommerce-thankyou-order-details) {
    background: var(--ts-wc-surface-raised);
    border: 1px solid var(--ts-wc-border);
    border-radius: 12px;
    color: var(--ts-wc-text);
    display: flex;
    flex-wrap: wrap;
    gap: 14px 24px;
    list-style: none;
    padding: 18px;
}

.woocommerce-cart .wc-block-cart-item__product .wc-block-components-product-price {
    align-items: baseline;
    column-gap: 10px !important;
    flex-wrap: wrap;
}

.woocommerce-cart .wc-block-cart-item__product .wc-block-components-product-price__regular {
    color: var(--ts-wc-muted);
}

.woocommerce-cart .wc-block-cart-item__product .wc-block-components-product-price__value {
    font-weight: 800;
    text-decoration: none;
}

/* Woo Blocks cart controls: one visual language, aligned to the purple cart badge. */
.woocommerce-cart .wc-block-cart__sidebar {
    padding-inline: 0 !important;
}

.woocommerce-cart .wc-block-cart__totals-title {
    box-sizing: border-box;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 14px !important;
    padding: 0 !important;
    text-align: right;
    width: 100% !important;
}

.woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-wrapper {
    background: linear-gradient(145deg, rgba(29, 27, 48, .98), rgba(20, 20, 34, .98));
    border: 1px solid var(--ts-wc-border);
    border-radius: 14px;
    box-shadow: none;
    margin: 0 0 12px !important;
    overflow: hidden;
    padding: 16px !important;
}

.woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-coupon {
    align-items: initial;
    background: transparent;
    border: 0;
    border-radius: 0;
    display: block;
    margin: 0;
    padding: 0;
}

.woocommerce-cart .wc-block-cart__sidebar .wc-block-components-panel__button {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    min-height: 28px;
    padding: 0;
    width: 100%;
}

.woocommerce-cart .wc-block-cart__sidebar :is(.wc-block-components-totals-shipping, .wc-block-components-totals-footer-item) .wc-block-components-totals-item,
.woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-footer-item {
    align-items: center;
    display: grid !important;
    gap: 16px;
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
}

.woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-item__label {
    justify-self: start;
    text-align: right;
}

.woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-item__value {
    justify-self: end;
    text-align: left;
}

.woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-footer-item {
    font-size: 1.06rem;
    font-weight: 800;
}

.woocommerce-cart .wc-block-components-quantity-selector {
    background: #10101b;
    border: 1px solid #3c3757;
    border-radius: 12px;
    display: grid !important;
    direction: rtl;
    grid-template-columns: 40px 48px 40px;
    height: 44px;
    overflow: hidden;
    width: 128px;
}

.woocommerce-cart .wc-block-components-quantity-selector::before,
.woocommerce-cart .wc-block-components-quantity-selector::after {
    display: none !important;
}

.woocommerce-cart .wc-block-components-quantity-selector .wc-block-components-quantity-selector__input {
    background: #12121e !important;
    border: 0 !important;
    border-inline: 1px solid #3c3757 !important;
    border-radius: 0 !important;
    grid-column: 2;
    grid-row: 1;
    height: 42px;
    min-height: 42px;
    min-width: 0;
    padding: 0 !important;
    width: 48px !important;
}

.woocommerce-cart .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button {
    align-items: center;
    background: rgba(139, 92, 246, .18) !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: #fff !important;
    display: flex;
    font-size: 1.08rem;
    height: 42px;
    justify-content: center;
    min-height: 42px;
    padding: 0 !important;
    width: 40px !important;
}

.woocommerce-cart .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button--plus {
    grid-column: 1;
    grid-row: 1;
}

.woocommerce-cart .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button--minus {
    grid-column: 3;
    grid-row: 1;
}

.woocommerce-cart .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:hover:not(:disabled) {
    background: var(--ts-wc-accent) !important;
}

.woocommerce-cart .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:disabled {
    opacity: .38;
}

.woocommerce-cart .wc-block-cart-items :is(th.wc-block-cart-items__header-total, td.wc-block-cart-item__total) {
    padding-inline: 20px !important;
    text-align: center !important;
}

.woocommerce-cart .wc-block-cart__submit {
    margin: 16px 0 0 !important;
}

.woocommerce-cart .wc-block-cart__submit-container {
    background: transparent !important;
    padding: 0 !important;
}

.woocommerce-cart .wc-block-cart__submit-button {
    background: linear-gradient(135deg, #8b5cf6, #6d4ce5) !important;
    border: 1px solid #a78bfa !important;
    border-radius: 14px !important;
    box-shadow: none !important;
    color: #fff !important;
    font-weight: 850;
    min-height: 54px;
    width: 100% !important;
}

.woocommerce-cart .wc-block-cart__submit-button:hover {
    background: linear-gradient(135deg, #9568f8, #7c3aed) !important;
    border-color: #c4b5fd !important;
}

@media (max-width: 600px) {
    .woocommerce-cart :is(.woocommerce, .ts-content, .ts-content--wide),
    .woocommerce-checkout :is(.woocommerce, .ts-content, .ts-content--wide),
    .woocommerce-order-received :is(.woocommerce, .ts-content, .ts-content--wide) {
        box-sizing: border-box;
        margin: 24px 0;
        padding: 16px;
        width: min(calc(100% - 28px), var(--ts-max));
    }

    .woocommerce-cart :is(.shop_table, .wc-block-cart-items),
    .woocommerce-checkout :is(.shop_table, .woocommerce-checkout-review-order-table),
    .woocommerce-order-received .shop_table {
        display: block;
        min-width: 0;
        overflow: hidden;
    }

    .woocommerce-cart :is(.shop_table thead, .wc-block-cart-items thead),
    .woocommerce-checkout :is(.shop_table thead, .woocommerce-checkout-review-order-table thead),
    .woocommerce-order-received .shop_table thead {
        clip: rect(0 0 0 0);
        clip-path: inset(50%);
        height: 1px;
        overflow: hidden;
        position: absolute;
        white-space: nowrap;
        width: 1px;
    }

    .woocommerce-cart :is(.shop_table tbody, .wc-block-cart-items tbody),
    .woocommerce-checkout :is(.shop_table tbody, .woocommerce-checkout-review-order-table tbody),
    .woocommerce-order-received .shop_table tbody {
        display: block;
    }

    .woocommerce-cart .shop_table tr,
    .woocommerce-checkout :is(.shop_table tr, .woocommerce-checkout-review-order-table tr),
    .woocommerce-order-received .shop_table tr {
        border-bottom: 1px solid var(--ts-wc-border);
        display: block;
        padding: 10px 0;
    }

    .woocommerce-cart .wc-block-cart-items__row {
        display: grid;
        grid-template-columns: 80px minmax(0, 1fr) auto;
    }

    .woocommerce-cart :is(.shop_table tr:last-child, .wc-block-cart-items__row:last-child),
    .woocommerce-checkout :is(.shop_table tr:last-child, .woocommerce-checkout-review-order-table tr:last-child),
    .woocommerce-order-received .shop_table tr:last-child {
        border-bottom: 0;
    }

    .woocommerce-cart :is(.shop_table td, .shop_table th, .wc-block-cart-items td, .wc-block-cart-items th),
    .woocommerce-checkout :is(.shop_table td, .shop_table th, .woocommerce-checkout-review-order-table td, .woocommerce-checkout-review-order-table th),
    .woocommerce-order-received :is(.shop_table td, .shop_table th) {
        align-items: baseline;
        border: 0;
        display: flex;
        gap: 12px;
        justify-content: space-between;
        padding: 8px 14px;
        text-align: right;
    }

    .woocommerce-cart .shop_table td::before,
    .woocommerce-checkout :is(.shop_table td, .woocommerce-checkout-review-order-table td)::before,
    .woocommerce-order-received .shop_table td::before {
        color: var(--ts-wc-muted);
        content: attr(data-title);
        flex: 0 1 44%;
        font-weight: 700;
    }

    .woocommerce-cart :is(.coupon, .wc-block-components-totals-coupon),
    .woocommerce-checkout :is(.woocommerce-form-coupon, .wc-block-components-totals-coupon) {
        align-items: stretch;
        flex-direction: column;
    }

    .woocommerce-cart :is(.coupon input, .coupon .button),
    .woocommerce-checkout :is(.woocommerce-form-coupon input, .woocommerce-form-coupon .button) {
        flex-basis: auto;
        width: 100%;
    }

    .woocommerce-checkout :is(.form-row-first, .form-row-last) {
        float: none;
        width: 100%;
    }

    .woocommerce-cart :is(.cart_totals, .wc-block-components-totals-wrapper),
    .woocommerce-checkout :is(#order_review, .woocommerce-checkout-payment, .wc-block-components-totals-wrapper),
    .woocommerce-checkout :is(.woocommerce-billing-fields, .woocommerce-shipping-fields, .woocommerce-additional-fields, .wc-block-components-checkout-step),
    .woocommerce-order-received :is(.woocommerce-order-details, .woocommerce-customer-details) {
        padding: 16px;
    }

    .woocommerce-cart .ts-content--page {
        border-radius: 18px;
        margin: 18px auto 36px !important;
        padding: 18px 12px 24px !important;
        width: calc(100% - 24px) !important;
    }

    .woocommerce-cart :is(.ts-entry, .ts-entry-content, .wp-block-woocommerce-cart, .wc-block-cart, .wc-block-components-sidebar-layout, .wc-block-components-main, .wc-block-cart__sidebar) {
        box-sizing: border-box;
        max-width: 100% !important;
        min-width: 0 !important;
        width: 100% !important;
    }

    .woocommerce-cart .wc-block-components-sidebar-layout {
        display: block !important;
    }

    .woocommerce-cart .wc-block-cart-items {
        overflow: visible !important;
        table-layout: fixed;
        width: 100% !important;
    }

    .woocommerce-cart .wc-block-cart-items__row {
        align-items: start;
        column-gap: 12px;
        grid-template-columns: 72px minmax(0, 1fr) !important;
        padding: 18px 0 !important;
        width: 100% !important;
    }

    .woocommerce-cart .wc-block-cart-item__image {
        grid-column: 1 !important;
        grid-row: 1 !important;
        padding: 0 !important;
        width: 72px !important;
    }

    .woocommerce-cart .wc-block-cart-item__image img {
        aspect-ratio: 1;
        border-radius: 10px;
        height: auto;
        object-fit: cover;
        width: 72px;
    }

    .woocommerce-cart .wc-block-cart-item__product {
        display: block !important;
        grid-column: 2 !important;
        grid-row: 1 !important;
        min-width: 0 !important;
        padding: 0 !important;
        width: auto !important;
    }

    .woocommerce-cart .wc-block-cart-item__total {
        display: none !important;
    }

    .woocommerce-cart .wc-block-components-product-name {
        display: block;
        font-size: .95rem;
        line-height: 1.75;
        overflow-wrap: anywhere;
    }

    .woocommerce-cart .wc-block-components-product-metadata {
        font-size: .8rem;
        line-height: 1.7;
    }

    .woocommerce-cart .wc-block-cart-item__product .wc-block-components-product-price {
        display: grid !important;
        gap: 2px;
        grid-template-columns: minmax(0, 1fr);
        justify-items: start;
        margin-top: 4px;
    }

    .woocommerce-cart .wc-block-cart-item__product .wc-block-components-product-price__regular {
        color: var(--ts-wc-muted);
        font-size: .76rem;
    }

    .woocommerce-cart .wc-block-cart-item__product .wc-block-components-product-price__value {
        font-size: .92rem;
        font-weight: 800;
        text-decoration: none;
    }
}

/* My Account keeps WooCommerce's endpoint templates and forms intact. */
.woocommerce-account {
    --ts-wc-surface: #202c39;
    --ts-wc-surface-raised: #263746;
    --ts-wc-border: #405164;
    --ts-wc-text: #f3f7fb;
    --ts-wc-muted: #a9bdd0;
    --ts-wc-accent: #d62f3f;
    --ts-wc-focus: #f6b15b;
    color: var(--ts-wc-text);
    direction: rtl;
    min-width: 0;
}

.woocommerce-account :is(.woocommerce, .woocommerce-MyAccount-content) {
    min-width: 0;
}

.woocommerce-account :is(h1, h2, h3, label, legend, strong) {
    color: var(--ts-wc-text);
}

.woocommerce-account :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]), select, textarea) {
    background: #172431;
    border: 1px solid #75889b;
    border-radius: 9px;
    box-sizing: border-box;
    color: var(--ts-wc-text);
    font: inherit;
    max-width: 100%;
    min-height: 44px;
    padding: 10px 12px;
}

.woocommerce-account :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]), select, textarea)::placeholder {
    color: #9db0c2;
    opacity: 1;
}

.woocommerce-account :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]), select, textarea):focus-visible,
.woocommerce-account :is(a, button, .button):focus-visible {
    outline: 3px solid var(--ts-wc-focus);
    outline-offset: 3px;
}

.woocommerce-account :is(button, .button, input[type="submit"]) {
    background: var(--ts-wc-accent);
    border: 1px solid var(--ts-wc-accent);
    border-radius: 9px;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    min-height: 44px;
    padding: 10px 16px;
}

.woocommerce-account :is(button, .button, input[type="submit"]):hover {
    background: #b82736;
    border-color: #b82736;
}

.woocommerce-account :is(.woocommerce-notices-wrapper, .woocommerce-error, .woocommerce-info, .woocommerce-message) {
    box-sizing: border-box;
    margin-bottom: 20px;
    min-width: 0;
}

.woocommerce-account :is(.woocommerce-error, .woocommerce-info, .woocommerce-message) {
    background: var(--ts-wc-surface-raised);
    border: 1px solid var(--ts-wc-border);
    border-radius: 10px;
    color: var(--ts-wc-text);
    list-style: none;
    padding: 15px 18px;
}

.woocommerce-account .woocommerce-error {
    border-right: 4px solid #ef7280;
}

.woocommerce-account .woocommerce-message {
    border-right: 4px solid #83d5a4;
}

.woocommerce-account :is(.woocommerce-error, .woocommerce-info, .woocommerce-message) a,
.woocommerce-account :is(.woocommerce-MyAccount-content, .woocommerce-LostPassword) a {
    color: #fff;
    font-weight: 800;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
    background: var(--ts-wc-surface);
    border: 1px solid var(--ts-wc-border);
    border-radius: 12px;
    box-sizing: border-box;
    margin-bottom: 22px;
    overflow: hidden;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
    border-bottom: 1px solid var(--ts-wc-border);
    margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li:last-child {
    border-bottom: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
    color: var(--ts-wc-text);
    display: block;
    font-weight: 800;
    padding: 14px 18px;
    text-decoration: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
    background: var(--ts-wc-surface-raised);
    color: #fff;
}

.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
    border-right: 4px solid var(--ts-wc-accent);
    padding-right: 14px;
}

.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-account :is(.woocommerce-form-login, .woocommerce-form-register, .woocommerce-ResetPassword, .woocommerce-address-fields, .woocommerce-EditAccountForm),
.woocommerce-account :is(.woocommerce-Address, .woocommerce-customer-details, .woocommerce-order-details) {
    background: var(--ts-wc-surface);
    border: 1px solid var(--ts-wc-border);
    border-radius: 12px;
    box-sizing: border-box;
    color: var(--ts-wc-text);
    margin-bottom: 22px;
    padding: 22px;
}

.woocommerce-account .woocommerce form.woocommerce-form-login,
.woocommerce-account .woocommerce form.woocommerce-form-register {
    margin-top: 0;
}

.woocommerce-account :is(.form-row, .woocommerce-form-row) {
    margin: 0 0 16px;
}

.woocommerce-account :is(.form-row, .woocommerce-form-row) :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]), select, textarea) {
    width: 100%;
}

.woocommerce-account :is(.woocommerce-form-login__rememberme, .woocommerce-form__label-for-checkbox) {
    align-items: center;
    color: var(--ts-wc-muted);
    display: inline-flex;
    gap: 8px;
}

.woocommerce-account :is(.woocommerce-form-login__rememberme, .woocommerce-form__label-for-checkbox) input {
    accent-color: var(--ts-wc-accent);
    min-height: auto;
}

.woocommerce-account .show-password-input {
    color: var(--ts-wc-muted);
    min-height: 44px;
    padding: 10px;
}

.woocommerce-account .woocommerce-LostPassword {
    margin: 0;
}

.woocommerce-account :is(.woocommerce-MyAccount-orders, .woocommerce-table--order-details, .woocommerce-table--customer-details) {
    background: var(--ts-wc-surface);
    border: 1px solid var(--ts-wc-border);
    border-collapse: separate;
    border-radius: 12px;
    border-spacing: 0;
    color: var(--ts-wc-text);
    margin-bottom: 22px;
    overflow-wrap: anywhere;
    width: 100%;
}

.woocommerce-account :is(.woocommerce-MyAccount-orders, .woocommerce-table--order-details, .woocommerce-table--customer-details) :is(th, td) {
    border-color: var(--ts-wc-border);
    color: inherit;
    padding: 15px;
    text-align: right;
    vertical-align: middle;
}

.woocommerce-account :is(.woocommerce-MyAccount-orders, .woocommerce-table--order-details, .woocommerce-table--customer-details) th {
    background: #172431;
    color: #c7d5e2;
    font-size: .9rem;
    font-weight: 800;
}

.woocommerce-account .woocommerce-Address {
    min-height: 100%;
}

.woocommerce-account .woocommerce-Address-title {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.woocommerce-account .woocommerce-Address-title a {
    color: #fff;
    font-weight: 800;
}

.woocommerce-account :is(.woocommerce-address-fields__field-wrapper, .woocommerce-EditAccountForm) .form-row-first,
.woocommerce-account :is(.woocommerce-address-fields__field-wrapper, .woocommerce-EditAccountForm) .form-row-last {
    width: calc(50% - 8px);
}

.woocommerce-account .woocommerce-EditAccountForm fieldset {
    border: 1px solid var(--ts-wc-border);
    border-radius: 10px;
    margin: 22px 0;
    padding: 18px;
}

@media (min-width: 768px) {
    .woocommerce-account .woocommerce-MyAccount-navigation {
        float: right;
        margin-left: 3%;
        width: 27%;
    }

    .woocommerce-account .woocommerce-MyAccount-content {
        float: left;
        width: 70%;
    }

    .woocommerce-account .woocommerce-Addresses {
        display: grid;
        gap: 22px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .woocommerce-account .woocommerce-form-login,
    .woocommerce-account .woocommerce-form-register {
        min-height: 360px;
    }
}

@media (max-width: 600px) {
    .woocommerce-account :is(.woocommerce, .ts-content, .ts-content--wide) {
        box-sizing: border-box;
        margin: 24px 0;
        padding: 16px;
        width: min(calc(100% - 28px), var(--ts-max));
    }

    .woocommerce-account .woocommerce-MyAccount-content,
    .woocommerce-account :is(.woocommerce-form-login, .woocommerce-form-register, .woocommerce-ResetPassword, .woocommerce-address-fields, .woocommerce-EditAccountForm),
    .woocommerce-account :is(.woocommerce-Address, .woocommerce-customer-details, .woocommerce-order-details) {
        padding: 16px;
    }

    .woocommerce-account :is(.woocommerce-MyAccount-orders, .woocommerce-table--order-details, .woocommerce-table--customer-details) {
        display: block;
        min-width: 0;
        overflow: hidden;
    }

    .woocommerce-account :is(.woocommerce-MyAccount-orders, .woocommerce-table--order-details, .woocommerce-table--customer-details) thead {
        clip: rect(0 0 0 0);
        clip-path: inset(50%);
        height: 1px;
        overflow: hidden;
        position: absolute;
        white-space: nowrap;
        width: 1px;
    }

    .woocommerce-account :is(.woocommerce-MyAccount-orders, .woocommerce-table--order-details, .woocommerce-table--customer-details) tbody {
        display: block;
    }

    .woocommerce-account :is(.woocommerce-MyAccount-orders, .woocommerce-table--order-details, .woocommerce-table--customer-details) tr {
        border-bottom: 1px solid var(--ts-wc-border);
        display: block;
        padding: 10px 0;
    }

    .woocommerce-account :is(.woocommerce-MyAccount-orders, .woocommerce-table--order-details, .woocommerce-table--customer-details) tr:last-child {
        border-bottom: 0;
    }

    .woocommerce-account :is(.woocommerce-MyAccount-orders, .woocommerce-table--order-details, .woocommerce-table--customer-details) :is(th, td) {
        align-items: baseline;
        border: 0;
        display: flex;
        gap: 12px;
        justify-content: space-between;
        padding: 8px 14px;
        text-align: right;
    }

    .woocommerce-account :is(.woocommerce-MyAccount-orders, .woocommerce-table--order-details, .woocommerce-table--customer-details) td::before {
        color: var(--ts-wc-muted);
        content: attr(data-title);
        flex: 0 1 44%;
        font-weight: 700;
    }

    .woocommerce-account :is(.woocommerce-address-fields__field-wrapper, .woocommerce-EditAccountForm) :is(.form-row-first, .form-row-last) {
        float: none;
        width: 100%;
    }
}
