/* =========================================================
   CHIRON - WOOCOMMERCE CART PAGE
   Targets: WooCommerce Cart Block
========================================================= */

:root {
    --chiron-primary: #173f6b;
    --chiron-primary-dark: #102f52;
    --chiron-accent: #3986c9;
    --chiron-text: #24364b;
    --chiron-muted: #718096;
    --chiron-border: #e1e9f1;
    --chiron-light: #f5f8fc;
    --chiron-white: #ffffff;
    --chiron-radius: 12px;
    --chiron-shadow: 0 5px 24px rgba(23, 63, 107, 0.07);
}

/* =========================================================
   1. CART PAGE WRAPPER
========================================================= */

body.woocommerce-cart .content-page {
    max-width: 1320px;
    margin: 0 auto;
    padding: 45px 20px 70px;
}

body.woocommerce-cart .content-page article {
    width: 100%;
}

body.woocommerce-cart .content-page h1 {
    color: var(--chiron-primary-dark);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 30px;
}

body.woocommerce-cart .entry-content {
    width: 100%;
}

body.woocommerce-cart .wp-block-woocommerce-cart {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

/* Main two-column layout */

body.woocommerce-cart .wc-block-cart {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
}

body.woocommerce-cart .wc-block-cart__main {
    min-width: 0;
}

body.woocommerce-cart .wc-block-cart__sidebar {
    width: 100%;
    min-width: 0;
}

/* =========================================================
   2. PRODUCT LIST TABLE
========================================================= */

body.woocommerce-cart table.wc-block-cart-items {
    width: 100%;
    border: 0;
    border-collapse: separate;
    border-spacing: 0 14px;
    margin: -14px 0 0;
}

body.woocommerce-cart .wc-block-cart-items thead {
    display: none;
}

body.woocommerce-cart .wc-block-cart-items tbody {
    width: 100%;
}

body.woocommerce-cart .wc-block-cart-items__row {
    background: var(--chiron-white);
    box-shadow: var(--chiron-shadow);
    border-radius: var(--chiron-radius);
    outline: none;
}

body.woocommerce-cart .wc-block-cart-items__row td {
    background: var(--chiron-white);
    border: 0;
    padding: 22px 14px;
    vertical-align: middle;
}

body.woocommerce-cart .wc-block-cart-items__row td:first-child {
    border-radius: var(--chiron-radius) 0 0 var(--chiron-radius);
}

body.woocommerce-cart .wc-block-cart-items__row td:last-child {
    border-radius: 0 var(--chiron-radius) var(--chiron-radius) 0;
}

/* =========================================================
   3. PRODUCT IMAGE
========================================================= */

body.woocommerce-cart .wc-block-cart-item__image {
    width: 115px;
    min-width: 115px;
    padding-left: 20px !important;
}

body.woocommerce-cart .wc-block-cart-item__image a {
    display: block;
    width: 90px;
    height: 90px;
    background: var(--chiron-light);
    border-radius: 10px;
    overflow: hidden;
}

body.woocommerce-cart .wc-block-cart-item__image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    border-radius: 10px;
    margin: 0;
}

/* =========================================================
   4. PRODUCT DETAILS
========================================================= */

body.woocommerce-cart .wc-block-cart-item__product {
    padding-left: 8px !important;
    min-width: 0;
}

body.woocommerce-cart .wc-block-cart-item__wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

body.woocommerce-cart .wc-block-components-product-name {
    color: var(--chiron-primary-dark);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    text-decoration: none;
    transition: color .2s ease;
}

body.woocommerce-cart .wc-block-components-product-name:hover {
    color: var(--chiron-accent);
}

/* Product price */

body.woocommerce-cart .wc-block-cart-item__prices {
    margin: 0;
}

body.woocommerce-cart .wc-block-components-product-price {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: var(--chiron-primary);
    font-size: 15px;
    font-weight: 700;
}

body.woocommerce-cart .wc-block-components-product-price del {
    color: #929eaa;
    font-size: 13px;
    font-weight: 400;
    opacity: 1;
}

body.woocommerce-cart .wc-block-components-product-price ins {
    color: var(--chiron-primary);
    text-decoration: none;
    font-weight: 700;
}

/* =========================================================
   5. PRODUCT DESCRIPTION / FEATURES
========================================================= */

body.woocommerce-cart .wc-block-components-product-metadata {
    width: 100%;
    margin: 0;
    padding: 0;
    color: var(--chiron-muted);
    font-size: 13px;
    line-height: 1.6;
}

body.woocommerce-cart .wc-block-components-product-metadata__description {
    margin: 0;
}

body.woocommerce-cart .wc-block-components-product-metadata__description p {
    margin: 0 0 7px;
    color: var(--chiron-text);
    font-size: 13px;
}

body.woocommerce-cart .wc-block-components-product-metadata__description p strong {
    font-weight: 700;
}

body.woocommerce-cart .wc-block-components-product-metadata__description ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.woocommerce-cart .wc-block-components-product-metadata__description li {
    position: relative;
    padding-left: 21px;
    margin: 0 0 5px;
    color: var(--chiron-muted);
    font-size: 12px;
    line-height: 1.5;
}

body.woocommerce-cart .wc-block-components-product-metadata__description li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 15px;
    height: 15px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b7f4b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m8 12 2.5 2.5L16 9'/%3E%3C/svg%3E");
}

/* Product variation details */

body.woocommerce-cart .wc-block-components-product-details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    font-size: 13px;
}

body.woocommerce-cart .wc-block-components-product-details__name {
    color: var(--chiron-muted);
    font-weight: 600;
}

body.woocommerce-cart .wc-block-components-product-details__value {
    color: var(--chiron-text);
}

/* =========================================================
   6. QUANTITY SELECTOR
========================================================= */

body.woocommerce-cart .wc-block-cart-item__quantity {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 5px;
}

body.woocommerce-cart .wc-block-components-quantity-selector {
    display: inline-flex;
    align-items: center;
    width: 112px;
    height: 38px;
    padding: 3px;
    border: 1px solid var(--chiron-border);
    border-radius: 7px;
    background: var(--chiron-white);
    margin: 0;
}

body.woocommerce-cart .wc-block-components-quantity-selector__button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    min-width: 30px;
    height: 30px;
    padding: 0;
    border: 0 !important;
    border-radius: 5px;
    background: var(--chiron-light) !important;
    color: var(--chiron-primary) !important;
    font-size: 19px;
    font-weight: 500;
    line-height: 1;
    box-shadow: none !important;
    cursor: pointer;
}

body.woocommerce-cart .wc-block-components-quantity-selector__button:hover:not(:disabled) {
    background: var(--chiron-primary) !important;
    color: #fff !important;
}

body.woocommerce-cart .wc-block-components-quantity-selector__button:disabled {
    opacity: .4;
    cursor: not-allowed;
}

body.woocommerce-cart .wc-block-components-quantity-selector__input {
    width: 44px !important;
    min-width: 0;
    height: 30px !important;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    color: var(--chiron-text) !important;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    box-shadow: none !important;
    appearance: textfield;
    -moz-appearance: textfield;
}

body.woocommerce-cart .wc-block-components-quantity-selector__input::-webkit-inner-spin-button,
body.woocommerce-cart .wc-block-components-quantity-selector__input::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
}

/* =========================================================
   7. REMOVE PRODUCT BUTTON
========================================================= */

body.woocommerce-cart .wc-block-cart-item__remove-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 0;
    border: 0;
    background: transparent;
    color: #d34b4b;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    box-shadow: none;
}

body.woocommerce-cart .wc-block-cart-item__remove-link:hover {
    color: #a92121;
    text-decoration: underline;
}

body.woocommerce-cart .wc-block-cart-item__remove-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* =========================================================
   8. PRODUCT LINE TOTAL
========================================================= */

body.woocommerce-cart .wc-block-cart-item__total {
    width: 125px;
    min-width: 125px;
    padding-right: 20px !important;
    text-align: right;
    vertical-align: top !important;
}

body.woocommerce-cart .wc-block-cart-item__total-price-and-sale-badge-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 9px;
}

body.woocommerce-cart .wc-block-cart-item__total .wc-block-components-product-price {
    color: var(--chiron-primary-dark);
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

/* Sale badge */

body.woocommerce-cart .wc-block-components-sale-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 5px 8px;
    border: 1px solid #ccebdc;
    border-radius: 5px;
    background: #effaf4;
    color: #18834d;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

body.woocommerce-cart .wc-block-components-sale-badge .wc-block-formatted-money-amount {
    font-weight: 700;
}

/* =========================================================
   9. CART TOTALS SIDEBAR
========================================================= */

body.woocommerce-cart .wc-block-cart__sidebar {
    padding: 24px;
    border: 1px solid var(--chiron-border);
    border-radius: var(--chiron-radius);
    background: var(--chiron-white);
    box-shadow: var(--chiron-shadow);
}

body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block {
    width: 100%;
}

body.woocommerce-cart .wc-block-cart__totals-title {
    margin: 0 0 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--chiron-border);
    color: var(--chiron-primary-dark);
    font-size: 21px;
    font-weight: 700;
}

/* =========================================================
   10. COUPON SECTION
========================================================= */

body.woocommerce-cart .wc-block-components-totals-coupon {
    border: 0;
}

body.woocommerce-cart .wc-block-components-panel__button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
    color: var(--chiron-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

body.woocommerce-cart .wc-block-components-panel__button:hover {
    color: var(--chiron-accent);
}

body.woocommerce-cart .wc-block-components-panel__button-icon {
    width: 19px;
    height: 19px;
    fill: currentColor;
}

body.woocommerce-cart .wc-block-components-totals-coupon__form {
    display: flex;
    align-items: stretch;
    gap: 8px;
    margin: 10px 0 15px;
}

body.woocommerce-cart .wc-block-components-totals-coupon__input {
    flex: 1;
    min-width: 0;
    margin: 0;
}

body.woocommerce-cart .wc-block-components-totals-coupon__input input {
    width: 100%;
    min-width: 0;
    height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--chiron-border);
    border-radius: 7px;
    background: #fff;
    color: var(--chiron-text);
    font-size: 13px;
    box-shadow: none;
}

body.woocommerce-cart .wc-block-components-totals-coupon__input label {
    color: var(--chiron-muted);
    font-size: 12px;
}

body.woocommerce-cart .wc-block-components-totals-coupon__button {
    min-height: 44px;
    padding: 0 15px !important;
    border: 0 !important;
    border-radius: 7px !important;
    background: var(--chiron-primary) !important;
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    box-shadow: none !important;
}

body.woocommerce-cart .wc-block-components-totals-coupon__button:hover:not(:disabled) {
    background: var(--chiron-primary-dark) !important;
}

/* =========================================================
   11. SHIPPING & ESTIMATED TOTAL
========================================================= */

body.woocommerce-cart .wc-block-components-totals-wrapper {
    border-color: var(--chiron-border);
}

body.woocommerce-cart .wc-block-components-totals-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 0;
    color: var(--chiron-text);
    font-size: 14px;
}

body.woocommerce-cart .wc-block-components-totals-item__label {
    color: var(--chiron-muted);
    font-weight: 500;
}

body.woocommerce-cart .wc-block-components-totals-item__value {
    color: var(--chiron-primary-dark);
    font-weight: 700;
    text-align: right;
}

body.woocommerce-cart .wc-block-components-totals-footer-item {
    margin-top: 5px;
    padding: 18px 0;
    border-top: 1px solid var(--chiron-border);
}

body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
    color: var(--chiron-primary-dark);
    font-size: 16px;
    font-weight: 700;
}

body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    color: var(--chiron-primary);
    font-size: 21px;
    font-weight: 800;
}

/* =========================================================
   12. PROCEED TO CHECKOUT BUTTON
========================================================= */

body.woocommerce-cart .wc-block-cart__payment-options {
    display: none;
}

body.woocommerce-cart .wc-block-cart__submit {
    margin: 15px 0 0;
}

body.woocommerce-cart .wc-block-cart__submit-container {
    position: static !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.woocommerce-cart .wc-block-cart__submit-button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 13px 20px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: var(--chiron-primary) !important;
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: background .25s ease, transform .25s ease;
}

body.woocommerce-cart .wc-block-cart__submit-button:hover {
    background: var(--chiron-primary-dark) !important;
    color: #fff !important;
    transform: translateY(-2px);
}

body.woocommerce-cart .wc-block-cart__submit-button .wc-block-components-button__text {
    color: #fff;
}

/* =========================================================
   13. WOOCOMMERCE NOTICES
========================================================= */

body.woocommerce-cart .wc-block-components-notices {
    margin-bottom: 15px;
}

body.woocommerce-cart .wc-block-components-notice-banner {
    border-radius: 8px;
    font-size: 14px;
}

/* =========================================================
   14. EMPTY CART
========================================================= */

body.woocommerce-cart .wc-block-cart.is-empty {
    display: block;
}

body.woocommerce-cart .wc-block-cart.is-empty .wc-block-cart__empty-cart-wrapper {
    padding: 55px 20px;
    border: 1px solid var(--chiron-border);
    border-radius: var(--chiron-radius);
    background: var(--chiron-white);
    text-align: center;
    box-shadow: var(--chiron-shadow);
}

body.woocommerce-cart .wc-block-cart.is-empty .wc-block-cart__empty-cart-wrapper h2 {
    color: var(--chiron-primary-dark);
    font-size: 23px;
    font-weight: 700;
}

body.woocommerce-cart .wc-block-cart.is-empty .wc-block-cart__empty-cart-wrapper a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 7px;
    background: var(--chiron-primary);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

/* =========================================================
   15. TABLET RESPONSIVE
========================================================= */

@media (max-width: 1100px) {
    body.woocommerce-cart .wc-block-cart {
        grid-template-columns: minmax(0, 1fr) 320px;
        gap: 20px;
    }

    body.woocommerce-cart .wc-block-cart__sidebar {
        padding: 20px;
    }

    body.woocommerce-cart .wc-block-cart-item__image {
        width: 100px;
        min-width: 100px;
    }

    body.woocommerce-cart .wc-block-cart-item__image a {
        width: 78px;
        height: 78px;
    }
}

/* =========================================================
   16. MOBILE RESPONSIVE
========================================================= */

@media (max-width: 767px) {

    body.woocommerce-cart .content-page {
        padding: 28px 15px 45px;
    }

    body.woocommerce-cart .content-page h1 {
        margin-bottom: 22px;
        font-size: 27px;
    }

    body.woocommerce-cart .wc-block-cart {
        display: flex;
        flex-direction: column;
        gap: 22px;
    }

    body.woocommerce-cart .wc-block-cart__main,
    body.woocommerce-cart .wc-block-cart__sidebar {
        width: 100%;
    }

    body.woocommerce-cart table.wc-block-cart-items {
        border-spacing: 0 12px;
    }

    body.woocommerce-cart .wc-block-cart-items__row {
        display: grid;
        grid-template-columns: 85px minmax(0, 1fr);
        position: relative;
        padding: 15px;
        border: 1px solid var(--chiron-border);
        border-radius: 10px;
        box-shadow: var(--chiron-shadow);
    }

    body.woocommerce-cart .wc-block-cart-items__row td {
        display: block;
        padding: 0 !important;
        border: 0 !important;
        background: transparent;
    }

    body.woocommerce-cart .wc-block-cart-items__row td:first-child,
    body.woocommerce-cart .wc-block-cart-items__row td:last-child {
        border-radius: 0;
    }

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

    body.woocommerce-cart .wc-block-cart-item__image a {
        width: 72px;
        height: 72px;
    }

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

    body.woocommerce-cart .wc-block-cart-item__wrap {
        gap: 8px;
    }

    body.woocommerce-cart .wc-block-components-product-name {
        font-size: 14px;
    }

    body.woocommerce-cart .wc-block-cart-item__total {
        grid-column: 2;
        grid-row: 2;
        width: auto;
        min-width: 0;
        padding: 12px 0 0 12px !important;
        text-align: left;
    }

    body.woocommerce-cart .wc-block-cart-item__total-price-and-sale-badge-wrapper {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 9px;
    }

    body.woocommerce-cart .wc-block-cart-item__quantity {
        gap: 10px;
    }

    body.woocommerce-cart .wc-block-components-product-metadata__description li {
        font-size: 11px;
    }

    body.woocommerce-cart .wc-block-cart__sidebar {
        padding: 20px;
    }

    body.woocommerce-cart .wc-block-cart__totals-title {
        font-size: 19px;
    }

    body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
        font-size: 19px;
    }
}

/* =========================================================
   17. SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    body.woocommerce-cart .content-page {
        padding-right: 12px;
        padding-left: 12px;
    }

    body.woocommerce-cart .wc-block-cart-items__row {
        grid-template-columns: 68px minmax(0, 1fr);
        padding: 12px;
    }

    body.woocommerce-cart .wc-block-cart-item__image {
        width: 68px;
    }

    body.woocommerce-cart .wc-block-cart-item__image a {
        width: 60px;
        height: 60px;
    }

    body.woocommerce-cart .wc-block-cart-item__product {
        padding-left: 8px !important;
    }

    body.woocommerce-cart .wc-block-cart-item__total {
        padding-left: 8px !important;
    }

    body.woocommerce-cart .wc-block-components-quantity-selector {
        width: 105px;
    }

    body.woocommerce-cart .wc-block-components-totals-coupon__form {
        flex-wrap: wrap;
    }

    body.woocommerce-cart .wc-block-components-totals-coupon__input {
        flex-basis: 100%;
    }

    body.woocommerce-cart .wc-block-components-totals-coupon__button {
        width: 100%;
    }
}
.content-page .entry-content {
    max-width: 100%;
}

/* =========================================================
   CHIRON - CHECKOUT, MY ACCOUNT, LOGIN & REGISTRATION
========================================================= */

:root {
    --chiron-primary: #173f6b;
    --chiron-primary-dark: #102f52;
    --chiron-accent: #3986c9;
    --chiron-text: #24364b;
    --chiron-muted: #718096;
    --chiron-border: #e1e9f1;
    --chiron-light: #f5f8fc;
    --chiron-white: #ffffff;
    --chiron-radius: 12px;
    --chiron-shadow: 0 5px 24px rgba(23, 63, 107, 0.07);
}

/* =========================================================
   1. COMMON WOOCOMMERCE PAGE WRAPPER
========================================================= */

body.woocommerce-checkout .content-page,
body.woocommerce-account .content-page {
    max-width: 1320px;
    margin: 0 auto;
    padding: 45px 20px 70px;
}

body.woocommerce-checkout .content-page h1,
body.woocommerce-account .content-page h1 {
    margin: 0 0 30px;
    color: var(--chiron-primary-dark);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.25;
}

body.woocommerce-checkout .entry-content,
body.woocommerce-account .entry-content {
    width: 100%;
}

body.woocommerce-checkout .woocommerce,
body.woocommerce-account .woocommerce {
    color: var(--chiron-text);
    font-size: 14px;
}

/* =========================================================
   2. COMMON FORM FIELDS
========================================================= */

body.woocommerce-checkout .woocommerce form .form-row,
body.woocommerce-account .woocommerce form .form-row {
    margin: 0 0 18px;
}

body.woocommerce-checkout .woocommerce form .form-row label,
body.woocommerce-account .woocommerce form .form-row label {
    display: block;
    margin-bottom: 7px;
    color: var(--chiron-text);
    font-size: 13px;
    font-weight: 600;
}

body.woocommerce-checkout .woocommerce form .form-row label .required,
body.woocommerce-account .woocommerce form .form-row label .required {
    color: #d64b4b;
    text-decoration: none;
}

body.woocommerce-checkout .woocommerce input.input-text,
body.woocommerce-checkout .woocommerce textarea,
body.woocommerce-checkout .woocommerce select,
body.woocommerce-account .woocommerce input.input-text,
body.woocommerce-account .woocommerce input[type="text"],
body.woocommerce-account .woocommerce input[type="email"],
body.woocommerce-account .woocommerce input[type="password"],
body.woocommerce-account .woocommerce input[type="tel"],
body.woocommerce-account .woocommerce textarea,
body.woocommerce-account .woocommerce select {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid var(--chiron-border);
    border-radius: 7px;
    outline: none;
    background: var(--chiron-white);
    color: var(--chiron-text);
    font-family: inherit;
    font-size: 14px;
    box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

body.woocommerce-checkout .woocommerce textarea,
body.woocommerce-account .woocommerce textarea {
    min-height: 110px;
    resize: vertical;
}

body.woocommerce-checkout .woocommerce input:focus,
body.woocommerce-checkout .woocommerce textarea:focus,
body.woocommerce-checkout .woocommerce select:focus,
body.woocommerce-account .woocommerce input:focus,
body.woocommerce-account .woocommerce textarea:focus,
body.woocommerce-account .woocommerce select:focus {
    border-color: var(--chiron-accent);
    box-shadow: 0 0 0 3px rgba(57, 134, 201, .10);
}

/* Select2 dropdown */

body.woocommerce-checkout .select2-container .select2-selection--single {
    display: flex;
    align-items: center;
    height: 46px;
    border: 1px solid var(--chiron-border);
    border-radius: 7px;
    background: #fff;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-left: 13px;
    color: var(--chiron-text);
    line-height: 44px;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 44px;
}

/* =========================================================
   3. CHECKOUT - CLASSIC WOOCOMMERCE
========================================================= */

body.woocommerce-checkout form.checkout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 28px;
    align-items: start;
}

body.woocommerce-checkout #customer_details {
    min-width: 0;
    padding: 25px;
    border: 1px solid var(--chiron-border);
    border-radius: var(--chiron-radius);
    background: var(--chiron-white);
    box-shadow: var(--chiron-shadow);
}

body.woocommerce-checkout #customer_details .col-1,
body.woocommerce-checkout #customer_details .col-2 {
    float: none;
    width: 100%;
}

body.woocommerce-checkout #customer_details .col-2 {
    margin-top: 28px;
}

body.woocommerce-checkout #customer_details h3,
body.woocommerce-checkout #order_review_heading {
    margin: 0 0 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--chiron-border);
    color: var(--chiron-primary-dark);
    font-size: 20px;
    font-weight: 700;
}

body.woocommerce-checkout #ship-to-different-address {
    margin: 15px 0;
    font-size: 15px;
}

/* Billing field widths */

body.woocommerce-checkout #billing_first_name_field,
body.woocommerce-checkout #billing_last_name_field,
body.woocommerce-checkout #shipping_first_name_field,
body.woocommerce-checkout #shipping_last_name_field {
    width: 48%;
}

body.woocommerce-checkout #billing_first_name_field,
body.woocommerce-checkout #shipping_first_name_field {
    float: left;
}

body.woocommerce-checkout #billing_last_name_field,
body.woocommerce-checkout #shipping_last_name_field {
    float: right;
}

/* Order review panel */

body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout #order_review {
    grid-column: 2;
}

body.woocommerce-checkout #order_review_heading {
    margin: 0;
    padding: 20px 22px 15px;
    border: 1px solid var(--chiron-border);
    border-bottom: 0;
    border-radius: var(--chiron-radius) var(--chiron-radius) 0 0;
    background: #fff;
}

body.woocommerce-checkout #order_review {
    padding: 0 22px 22px;
    border: 1px solid var(--chiron-border);
    border-top: 0;
    border-radius: 0 0 var(--chiron-radius) var(--chiron-radius);
    background: #fff;
    box-shadow: var(--chiron-shadow);
}

/* Order review table */

body.woocommerce-checkout #order_review table.shop_table {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    font-size: 13px;
}

body.woocommerce-checkout #order_review table.shop_table th,
body.woocommerce-checkout #order_review table.shop_table td {
    padding: 13px 0;
    border: 0;
    border-bottom: 1px solid var(--chiron-border);
    color: var(--chiron-text);
}

body.woocommerce-checkout #order_review table.shop_table th {
    font-weight: 600;
}

body.woocommerce-checkout #order_review table.shop_table .product-name {
    font-weight: 500;
}

body.woocommerce-checkout #order_review table.shop_table .product-total,
body.woocommerce-checkout #order_review table.shop_table tfoot td {
    text-align: right;
}

body.woocommerce-checkout #order_review table.shop_table tfoot th {
    color: var(--chiron-text);
}

body.woocommerce-checkout #order_review table.shop_table tr.order-total th,
body.woocommerce-checkout #order_review table.shop_table tr.order-total td {
    color: var(--chiron-primary);
    font-size: 17px;
    font-weight: 800;
}

/* Payment area */

body.woocommerce-checkout #payment {
    margin-top: 20px;
    padding: 18px;
    border: 1px solid var(--chiron-border);
    border-radius: 9px;
    background: var(--chiron-light);
}

body.woocommerce-checkout #payment ul.payment_methods {
    padding: 0 0 15px;
    border-bottom: 1px solid var(--chiron-border);
}

body.woocommerce-checkout #payment ul.payment_methods li {
    padding: 8px 0;
    color: var(--chiron-text);
    font-size: 13px;
}

body.woocommerce-checkout #payment div.payment_box {
    border-radius: 7px;
    background: #fff;
    color: var(--chiron-text);
    font-size: 13px;
}

body.woocommerce-checkout #payment div.payment_box::before {
    border-bottom-color: #fff;
}

body.woocommerce-checkout #payment .place-order {
    padding: 15px 0 0;
}

body.woocommerce-checkout #payment .place-order button#place_order {
    width: 100%;
    min-height: 50px;
    padding: 13px 20px;
    border: 0;
    border-radius: 8px;
    background: var(--chiron-primary);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    transition: background .2s ease;
}

body.woocommerce-checkout #payment .place-order button#place_order:hover {
    background: var(--chiron-primary-dark);
}

/* Coupon notice */

body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
    margin-bottom: 20px;
    padding: 15px 18px;
    border-top: 3px solid var(--chiron-accent);
    border-radius: 8px;
    background: var(--chiron-light);
    color: var(--chiron-text);
}

body.woocommerce-checkout form.checkout_coupon {
    margin: 0 0 25px;
    padding: 20px;
    border: 1px solid var(--chiron-border);
    border-radius: 10px;
    background: #fff;
}

body.woocommerce-checkout form.checkout_coupon button {
    min-height: 44px;
    padding: 10px 20px;
    border: 0;
    border-radius: 7px;
    background: var(--chiron-primary);
    color: #fff;
    font-weight: 600;
}

/* =========================================================
   4. CHECKOUT - WOOCOMMERCE BLOCKS
========================================================= */

body.woocommerce-checkout .wp-block-woocommerce-checkout {
    width: 100%;
    max-width: 100%;
}

body.woocommerce-checkout .wc-block-checkout {
    gap: 28px;
}

body.woocommerce-checkout .wc-block-checkout__main {
    min-width: 0;
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
    min-width: 0;
}

body.woocommerce-checkout .wc-block-components-checkout-step {
    margin-bottom: 18px;
    padding: 22px;
    border: 1px solid var(--chiron-border);
    border-radius: var(--chiron-radius);
    background: #fff;
    box-shadow: var(--chiron-shadow);
}

body.woocommerce-checkout .wc-block-components-checkout-step__heading {
    color: var(--chiron-primary-dark);
    font-size: 19px;
    font-weight: 700;
}

body.woocommerce-checkout .wc-block-components-checkout-step__description {
    color: var(--chiron-muted);
    font-size: 13px;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-combobox .components-combobox-control__input,
body.woocommerce-checkout .wc-block-components-textarea {
    min-height: 46px;
    border: 1px solid var(--chiron-border);
    border-radius: 7px;
    background: #fff;
    color: var(--chiron-text);
    box-shadow: none;
}

body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-textarea:focus {
    border-color: var(--chiron-accent);
    box-shadow: 0 0 0 3px rgba(57, 134, 201, .10);
}

body.woocommerce-checkout .wc-block-components-text-input label {
    color: var(--chiron-muted);
    font-size: 13px;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
    min-height: 52px;
    border: 0;
    border-radius: 8px;
    background: var(--chiron-primary);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
    background: var(--chiron-primary-dark);
}

body.woocommerce-checkout .wc-block-components-order-summary {
    padding: 20px;
    border: 1px solid var(--chiron-border);
    border-radius: var(--chiron-radius);
    background: #fff;
    box-shadow: var(--chiron-shadow);
}

body.woocommerce-checkout .wc-block-components-order-summary__title {
    color: var(--chiron-primary-dark);
    font-size: 20px;
    font-weight: 700;
}

body.woocommerce-checkout .wc-block-components-order-summary-item {
    padding: 14px 0;
    border-bottom: 1px solid var(--chiron-border);
}

body.woocommerce-checkout .wc-block-components-order-summary-item__description {
    color: var(--chiron-muted);
}

body.woocommerce-checkout .wc-block-components-totals-item {
    padding: 12px 0;
    color: var(--chiron-text);
    font-size: 14px;
}

body.woocommerce-checkout .wc-block-components-totals-footer-item {
    border-top: 1px solid var(--chiron-border);
    color: var(--chiron-primary);
    font-size: 17px;
    font-weight: 800;
}

/* =========================================================
   5. MY ACCOUNT - MAIN LAYOUT
========================================================= */

body.woocommerce-account .woocommerce {
    width: 100%;
}

body.woocommerce-account .woocommerce::after {
    display: table;
    clear: both;
    content: "";
}

/* Account navigation */

body.woocommerce-account .woocommerce-MyAccount-navigation {
    float: left;
    width: 255px;
    padding: 12px;
    border: 1px solid var(--chiron-border);
    border-radius: var(--chiron-radius);
    background: #fff;
    box-shadow: var(--chiron-shadow);
}

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

body.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--chiron-border);
}

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

body.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: flex;
    align-items: center;
    padding: 14px 13px;
    border-radius: 7px;
    color: var(--chiron-text);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s ease;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover,
body.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
    background: var(--chiron-light);
    color: var(--chiron-primary);
}

/* Account content */

body.woocommerce-account .woocommerce-MyAccount-content {
    float: right;
    width: calc(100% - 285px);
    min-height: 280px;
    padding: 25px;
    border: 1px solid var(--chiron-border);
    border-radius: var(--chiron-radius);
    background: #fff;
    box-shadow: var(--chiron-shadow);
    color: var(--chiron-text);
    font-size: 14px;
    line-height: 1.7;
}

body.woocommerce-account .woocommerce-MyAccount-content > p:first-child {
    margin-top: 0;
}

body.woocommerce-account .woocommerce-MyAccount-content a {
    color: var(--chiron-primary);
    font-weight: 600;
    text-decoration: none;
}

body.woocommerce-account .woocommerce-MyAccount-content a:hover {
    color: var(--chiron-accent);
    text-decoration: underline;
}

/* Account headings */

body.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .woocommerce-MyAccount-content h3 {
    margin: 0 0 18px;
    color: var(--chiron-primary-dark);
    font-size: 20px;
    font-weight: 700;
}

/* =========================================================
   6. LOGIN & REGISTRATION
========================================================= */

body.woocommerce-account:not(.logged-in) .woocommerce .u-columns.col2-set {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
    margin: 0;
}

body.woocommerce-account:not(.logged-in) .woocommerce .u-column1,
body.woocommerce-account:not(.logged-in) .woocommerce .u-column2 {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 28px;
    border: 1px solid var(--chiron-border);
    border-radius: var(--chiron-radius);
    background: #fff;
    box-shadow: var(--chiron-shadow);
}

body.woocommerce-account:not(.logged-in) .woocommerce h2 {
    margin: 0 0 22px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--chiron-border);
    color: var(--chiron-primary-dark);
    font-size: 23px;
    font-weight: 700;
}

/* Login and register buttons */

body.woocommerce-account .woocommerce button.button,
body.woocommerce-account .woocommerce a.button,
body.woocommerce-checkout .woocommerce button.button,
body.woocommerce-checkout .woocommerce a.button {
    min-height: 45px;
    padding: 12px 22px;
    border: 0;
    border-radius: 7px;
    background: var(--chiron-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: background .2s ease;
}

body.woocommerce-account .woocommerce button.button:hover,
body.woocommerce-account .woocommerce a.button:hover,
body.woocommerce-checkout .woocommerce button.button:hover,
body.woocommerce-checkout .woocommerce a.button:hover {
    background: var(--chiron-primary-dark);
    color: #fff;
}

/* Remember me */

body.woocommerce-account .woocommerce-form-login .woocommerce-form-login__rememberme {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 15px;
    color: var(--chiron-muted);
    font-size: 13px;
    font-weight: 500;
}

body.woocommerce-account .woocommerce-form-login .woocommerce-form-login__rememberme input {
    width: 16px;
    height: 16px;
    accent-color: var(--chiron-primary);
}

/* Lost password */

body.woocommerce-account .woocommerce-LostPassword {
    margin: 15px 0 0;
    font-size: 13px;
}

/* Password visibility */

body.woocommerce-account .password-input {
    display: block;
    width: 100%;
}

body.woocommerce-account .show-password-input {
    color: var(--chiron-primary);
}

/* =========================================================
   7. ACCOUNT TABLES - ORDERS / DOWNLOADS
========================================================= */

body.woocommerce-account .woocommerce table.shop_table {
    width: 100%;
    border: 1px solid var(--chiron-border);
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    font-size: 13px;
}

body.woocommerce-account .woocommerce table.shop_table th {
    padding: 14px;
    border: 0;
    background: var(--chiron-light);
    color: var(--chiron-primary-dark);
    font-weight: 700;
    text-align: left;
}

body.woocommerce-account .woocommerce table.shop_table td {
    padding: 14px;
    border: 0;
    border-top: 1px solid var(--chiron-border);
    color: var(--chiron-text);
    vertical-align: middle;
}

body.woocommerce-account .woocommerce table.shop_table .button {
    min-height: 34px;
    padding: 8px 13px;
    font-size: 12px;
}

/* =========================================================
   8. ACCOUNT ADDRESS BOXES
========================================================= */

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

body.woocommerce-account .woocommerce-Addresses .woocommerce-Address {
    float: none;
    width: 100%;
    padding: 20px;
    border: 1px solid var(--chiron-border);
    border-radius: 9px;
    background: var(--chiron-light);
}

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

body.woocommerce-account .woocommerce-Address-title h3 {
    margin: 0;
    font-size: 17px;
}

/* =========================================================
   9. CHECKBOXES / RADIO BUTTONS
========================================================= */

body.woocommerce-checkout .woocommerce input[type="checkbox"],
body.woocommerce-checkout .woocommerce input[type="radio"],
body.woocommerce-account .woocommerce input[type="checkbox"],
body.woocommerce-account .woocommerce input[type="radio"] {
    accent-color: var(--chiron-primary);
}

/* =========================================================
   10. WOOCOMMERCE NOTICES
========================================================= */

body.woocommerce-checkout .woocommerce-error,
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-message,
body.woocommerce-account .woocommerce-error,
body.woocommerce-account .woocommerce-info,
body.woocommerce-account .woocommerce-message {
    margin: 0 0 22px;
    padding: 15px 18px 15px 45px;
    border: 1px solid var(--chiron-border);
    border-top: 3px solid var(--chiron-accent);
    border-radius: 8px;
    background: var(--chiron-light);
    color: var(--chiron-text);
    font-size: 13px;
    line-height: 1.6;
}

body.woocommerce-checkout .woocommerce-error,
body.woocommerce-account .woocommerce-error {
    border-top-color: #d64b4b;
}

/* =========================================================
   11. ORDER RECEIVED / THANK YOU PAGE
========================================================= */

body.woocommerce-order-received .woocommerce-order {
    padding: 25px;
    border: 1px solid var(--chiron-border);
    border-radius: var(--chiron-radius);
    background: #fff;
    box-shadow: var(--chiron-shadow);
}

body.woocommerce-order-received .woocommerce-notice--success {
    margin: 0 0 25px;
    padding: 16px;
    border-radius: 8px;
    background: #effaf4;
    color: #18834d;
    font-size: 16px;
    font-weight: 700;
}

body.woocommerce-order-received .woocommerce-order-overview {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 30px;
    padding: 0;
    list-style: none;
}

body.woocommerce-order-received .woocommerce-order-overview li {
    float: none;
    margin: 0;
    padding: 15px;
    border: 1px solid var(--chiron-border);
    border-radius: 8px;
    background: var(--chiron-light);
    color: var(--chiron-muted);
    font-size: 12px;
    line-height: 1.6;
    text-transform: none;
}

body.woocommerce-order-received .woocommerce-order-overview li strong {
    display: block;
    margin-top: 5px;
    color: var(--chiron-primary-dark);
    font-size: 15px;
}

body.woocommerce-order-received .woocommerce-order-details,
body.woocommerce-order-received .woocommerce-customer-details {
    margin-top: 30px;
}

body.woocommerce-order-received .woocommerce-order-details h2,
body.woocommerce-order-received .woocommerce-customer-details h2 {
    color: var(--chiron-primary-dark);
    font-size: 21px;
    font-weight: 700;
}

/* =========================================================
   12. TABLET RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    body.woocommerce-checkout form.checkout {
        grid-template-columns: minmax(0, 1fr) 330px;
        gap: 18px;
    }

    body.woocommerce-account .woocommerce-MyAccount-navigation {
        width: 220px;
    }

    body.woocommerce-account .woocommerce-MyAccount-content {
        width: calc(100% - 245px);
    }

    body.woocommerce-checkout .wc-block-checkout {
        display: block;
    }

    body.woocommerce-checkout .wc-block-checkout__sidebar {
        margin-top: 25px;
    }
}

/* =========================================================
   13. MOBILE RESPONSIVE
========================================================= */

@media (max-width: 767px) {

    body.woocommerce-checkout .content-page,
    body.woocommerce-account .content-page {
        padding: 28px 15px 45px;
    }

    body.woocommerce-checkout .content-page h1,
    body.woocommerce-account .content-page h1 {
        margin-bottom: 22px;
        font-size: 27px;
    }

    /* Classic checkout */

    body.woocommerce-checkout form.checkout {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    body.woocommerce-checkout #customer_details,
    body.woocommerce-checkout #order_review_heading,
    body.woocommerce-checkout #order_review {
        width: 100%;
    }

    body.woocommerce-checkout #customer_details {
        padding: 18px;
    }

    body.woocommerce-checkout #order_review_heading,
    body.woocommerce-checkout #order_review {
        grid-column: auto;
    }

    body.woocommerce-checkout #order_review {
        padding: 0 18px 18px;
    }

    body.woocommerce-checkout #billing_first_name_field,
    body.woocommerce-checkout #billing_last_name_field,
    body.woocommerce-checkout #shipping_first_name_field,
    body.woocommerce-checkout #shipping_last_name_field {
        float: none;
        width: 100%;
    }

    /* Login / register */

    body.woocommerce-account:not(.logged-in) .woocommerce .u-columns.col2-set {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    body.woocommerce-account:not(.logged-in) .woocommerce .u-column1,
    body.woocommerce-account:not(.logged-in) .woocommerce .u-column2 {
        padding: 20px;
    }

    /* Account dashboard */

    body.woocommerce-account .woocommerce-MyAccount-navigation,
    body.woocommerce-account .woocommerce-MyAccount-content {
        float: none;
        width: 100%;
    }

    body.woocommerce-account .woocommerce-MyAccount-navigation {
        margin-bottom: 20px;
    }

    body.woocommerce-account .woocommerce-MyAccount-content {
        padding: 18px;
    }

    body.woocommerce-account .woocommerce-Addresses {
        grid-template-columns: 1fr;
    }

    /* Order received */

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

    /* Responsive tables */

    body.woocommerce-account .woocommerce table.shop_table {
        font-size: 12px;
    }

    body.woocommerce-account .woocommerce table.shop_table th,
    body.woocommerce-account .woocommerce table.shop_table td {
        padding: 10px 8px;
    }
}

/* =========================================================
   14. SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    body.woocommerce-checkout .content-page,
    body.woocommerce-account .content-page {
        padding-right: 12px;
        padding-left: 12px;
    }

    body.woocommerce-checkout #customer_details {
        padding: 15px;
    }

    body.woocommerce-account:not(.logged-in) .woocommerce .u-column1,
    body.woocommerce-account:not(.logged-in) .woocommerce .u-column2 {
        padding: 17px;
    }

    body.woocommerce-account .woocommerce-MyAccount-content {
        padding: 15px;
    }

    body.woocommerce-order-received .woocommerce-order {
        padding: 15px;
    }

    body.woocommerce-order-received .woocommerce-order-overview {
        grid-template-columns: 1fr;
    }

    body.woocommerce-checkout #payment {
        padding: 13px;
    }
}

/* =========================================
   CHIRON LOGIN & REGISTRATION FIX
========================================= */

/* Remove WooCommerce clearfix pseudo-elements */
body.woocommerce-account .woocommerce .col2-set::before,
body.woocommerce-account .woocommerce .col2-set::after,
body.woocommerce-account .woocommerce-page .col2-set::before,
body.woocommerce-account .woocommerce-page .col2-set::after {
    content: none !important;
    display: none !important;
}

/* Login and registration columns */
body.woocommerce-account .woocommerce .col2-set {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    width: 100%;
    float: none !important;
}

/* Reset WooCommerce column floats */
body.woocommerce-account .woocommerce .col2-set .col-1,
body.woocommerce-account .woocommerce .col2-set .col-2 {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

/* Mobile layout */
@media (max-width: 767px) {
    body.woocommerce-account .woocommerce .col2-set {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}

/* =========================================
   CHIRON - FIX MY ACCOUNT FOOTER OVERLAP
========================================= */

/* Main My Account wrapper */
body.woocommerce-account .woocommerce {
    display: flow-root !important;
    width: 100%;
    overflow: visible !important;
    clear: both;
}

/* Account navigation and content */
body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-content {
    box-sizing: border-box;
    min-width: 0;
}

/* Clear floated account columns */
body.woocommerce-account .woocommerce-MyAccount-navigation {
    float: left;
}

body.woocommerce-account .woocommerce-MyAccount-content {
    float: right;
}

/* Clear floats after account content */
body.woocommerce-account .woocommerce::after {
    content: "";
    display: table;
    clear: both;
}

/* Login and registration layout */
body.woocommerce-account .u-columns.col2-set {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    width: 100%;
    clear: both;
}

body.woocommerce-account .u-columns.col2-set::before,
body.woocommerce-account .u-columns.col2-set::after {
    content: none !important;
    display: none !important;
}

body.woocommerce-account .u-columns.col2-set .u-column1,
body.woocommerce-account .u-columns.col2-set .u-column2 {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

/* Ensure footer starts below account content */
body.woocommerce-account footer,
body.woocommerce-account .site-footer {
    clear: both;
    position: relative;
}

/* Mobile */
@media (max-width: 767px) {
    body.woocommerce-account .woocommerce-MyAccount-navigation,
    body.woocommerce-account .woocommerce-MyAccount-content {
        float: none !important;
        width: 100% !important;
    }

    body.woocommerce-account .u-columns.col2-set {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   CHIRON DYNAMIC PAGE BANNER
========================================= */

.chiron-page-banner {
    position: relative;
    overflow: hidden;
    background: linear-gradient(115deg, #102f52 0%, #173f6b 55%, #245b8d 100%);
    padding: 65px 0;
    margin-bottom: 15px;
    isolation: isolate;
}

.chiron-page-banner::before {
    content: "";
    position: absolute;
    width: 430px;
    height: 430px;
    right: 5%;
    top: -260px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    z-index: -1;
}

.chiron-page-banner::after {
    content: "";
    position: absolute;
    width: 330px;
    height: 330px;
    right: 12%;
    bottom: -260px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    z-index: -1;
}

.chiron-page-banner__content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 105px;
}

.chiron-page-banner__eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: #a9d5ff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.chiron-page-banner h1 {
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 700;
    line-height: 1.2;
}

.chiron-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 11px;
    color: rgba(255,255,255,.7);
    font-size: 13px;
}

.chiron-breadcrumb a {
    color: #fff;
    text-decoration: none;
    transition: color .25s ease;
}

.chiron-breadcrumb a:hover {
    color: #a9d5ff;
}

.chiron-breadcrumb__separator {
    color: rgba(255,255,255,.45);
}

.chiron-breadcrumb__current {
    color: #b9dfff;
    font-weight: 600;
}

.chiron-page-banner__decoration {
    position: relative;
    width: 180px;
    height: 150px;
    flex-shrink: 0;
}

.chiron-banner-circle {
    position: absolute;
    display: block;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
}

.chiron-banner-circle--one {
    width: 140px;
    height: 140px;
    top: 0;
    right: 0;
}

.chiron-banner-circle--two {
    width: 95px;
    height: 95px;
    top: 22px;
    right: 22px;
    background: rgba(255,255,255,.06);
}

.chiron-banner-icon {
    position: absolute;
    top: 45px;
    right: 55px;
    color: #b9dfff;
    font-size: 42px;
}

/* Responsive */
@media (max-width: 767px) {
    .chiron-page-banner {
        padding: 42px 0;
        margin-bottom: 30px;
    }

    .chiron-page-banner__content {
        min-height: auto;
    }

    .chiron-page-banner__decoration {
        display: none;
    }

    .chiron-page-banner h1 {
        font-size: 30px;
    }

    .chiron-breadcrumb {
        gap: 7px;
        font-size: 12px;
    }
}
.container.content-page h1 {
    display: none;
}
.container.content-page {
    min-height: 100%;
}

/* =========================================
   CHIRON WISHLIST PAGE TEMPLATE
========================================= */

.chiron-wishlist-template {
    width: 100%;
}

/* Hero banner */
.chiron-wishlist-template .chiron-wishlist-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 65px 0;
    margin: 0;
    background: linear-gradient(115deg, #102f52 0%, #173f6b 55%, #285e8e 100%);
}

.chiron-wishlist-template .chiron-wishlist-hero::before,
.chiron-wishlist-template .chiron-wishlist-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 50%;
    pointer-events: none;
}

.chiron-wishlist-template .chiron-wishlist-hero::before {
    width: 450px;
    height: 450px;
    right: 5%;
    top: -300px;
}

.chiron-wishlist-template .chiron-wishlist-hero::after {
    width: 350px;
    height: 350px;
    right: 12%;
    bottom: -270px;
}

.chiron-wishlist-template .chiron-wishlist-hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 190px;
    position: relative;
}

.chiron-wishlist-template .chiron-wishlist-hero-text {
    max-width: 650px;
}

.chiron-wishlist-template .chiron-wishlist-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: #a9d5ff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
}

.chiron-wishlist-template .chiron-wishlist-hero h1 {
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 750;
    line-height: 1.15;
}

.chiron-wishlist-template .chiron-wishlist-hero-text > p {
    max-width: 540px;
    margin: 0 0 22px;
    color: rgba(255,255,255,.78);
    font-size: 15px;
    line-height: 1.7;
}

.chiron-wishlist-template .chiron-wishlist-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
}

.chiron-wishlist-template .chiron-wishlist-breadcrumb a {
    color: rgba(255,255,255,.8);
    text-decoration: none;
}

.chiron-wishlist-template .chiron-wishlist-breadcrumb a:hover {
    color: #fff;
}

.chiron-wishlist-template .chiron-wishlist-breadcrumb span {
    color: #b9dfff;
}

.chiron-wishlist-template .chiron-wishlist-hero-art {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 190px;
    flex-shrink: 0;
}

.chiron-wishlist-template .chiron-wishlist-heart-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 145px;
    height: 145px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: #fff;
    font-size: 65px;
    box-shadow: 0 15px 50px rgba(0,0,0,.12);
}

.chiron-wishlist-template .chiron-wishlist-floating-heart {
    position: absolute;
    color: #a9d5ff;
}

.chiron-wishlist-template .heart-one {
    top: 18px;
    right: 15px;
    font-size: 24px;
}

.chiron-wishlist-template .heart-two {
    bottom: 20px;
    left: 10px;
    font-size: 18px;
}

/* Main section */
.chiron-wishlist-template .chiron-wishlist-section {
    padding: 55px 0 75px;
    background: #f7f9fc;
}

.chiron-wishlist-template .chiron-wishlist-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 30px;
}

.chiron-wishlist-template .chiron-wishlist-section-label {
    display: block;
    margin-bottom: 9px;
    color: #3986c9;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.chiron-wishlist-template .chiron-wishlist-toolbar h2 {
    margin: 0 0 7px;
    color: #173f6b;
    font-size: 26px;
    font-weight: 700;
}

.chiron-wishlist-template .chiron-wishlist-toolbar p {
    margin: 0;
    color: #718096;
    font-size: 14px;
}

.chiron-wishlist-template .chiron-wishlist-count-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border: 1px solid #e1e9f1;
    border-radius: 8px;
    background: #fff;
    color: #718096;
    font-size: 13px;
    white-space: nowrap;
}

.chiron-wishlist-template .chiron-wishlist-count-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #eaf3fb;
    color: #173f6b;
    font-weight: 700;
}

/* Product grid */
.chiron-wishlist-template .chiron-wishlist-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.chiron-wishlist-template .chiron-wishlist-card {
    display: flex;
    align-items: stretch;
    gap: 20px;
    min-width: 0;
    padding: 18px;
    border: 1px solid #e5ebf2;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(23,63,107,.035);
    transition: transform .25s ease, box-shadow .25s ease;
}

.chiron-wishlist-template .chiron-wishlist-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(23,63,107,.09);
}

.chiron-wishlist-template .chiron-wishlist-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    min-width: 150px;
    height: 165px;
    overflow: hidden;
    border-radius: 9px;
    background: #f6f8fb;
}

.chiron-wishlist-template .chiron-wishlist-image img {
    width: 100%;
    height: 100%;
    padding: 10px;
    object-fit: contain;
    transition: transform .35s ease;
}

.chiron-wishlist-template .chiron-wishlist-card:hover .chiron-wishlist-image img {
    transform: scale(1.05);
}

.chiron-wishlist-template .chiron-wishlist-no-image {
    color: #8a98a8;
    font-size: 12px;
}

.chiron-wishlist-template .chiron-wishlist-details {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.chiron-wishlist-template .chiron-wishlist-product-title {
    display: -webkit-box;
    overflow: hidden;
    color: #24364b;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.chiron-wishlist-template .chiron-wishlist-product-title:hover {
    color: #3986c9;
}

.chiron-wishlist-template .chiron-wishlist-price {
    margin-top: 12px;
    color: #173f6b;
    font-size: 19px;
    font-weight: 750;
}

.chiron-wishlist-template .chiron-wishlist-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: auto;
    padding-top: 16px;
}

.chiron-wishlist-template .chiron-wishlist-view,
.chiron-wishlist-template .chiron-wishlist-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 39px;
    padding: 9px 15px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: .25s ease;
}

.chiron-wishlist-template .chiron-wishlist-view {
    border-color: #173f6b;
    background: #173f6b;
    color: #fff;
}

.chiron-wishlist-template .chiron-wishlist-view:hover {
    border-color: #102f52;
    background: #102f52;
    color: #fff;
}

.chiron-wishlist-template .chiron-wishlist-remove {
    border-color: #ead6d6;
    background: #fff;
    color: #d04444;
}

.chiron-wishlist-template .chiron-wishlist-remove:hover {
    border-color: #d04444;
    background: #d04444;
    color: #fff;
}

/* Loading and empty states */
.chiron-wishlist-template .chiron-wishlist-loading {
    grid-column: 1 / -1;
    padding: 45px 20px;
    border: 1px solid #e5ebf2;
    border-radius: 12px;
    background: #fff;
    color: #718096;
    text-align: center;
}

.chiron-wishlist-template .chiron-wishlist-loading p {
    margin: 12px 0 0;
}

.chiron-wishlist-template .chiron-wishlist-loader {
    display: inline-block;
    width: 28px;
    height: 28px;
    border: 3px solid #dce8f3;
    border-top-color: #173f6b;
    border-radius: 50%;
    animation: chiron-wishlist-spin .8s linear infinite;
}

@keyframes chiron-wishlist-spin {
    to { transform: rotate(360deg); }
}

.chiron-wishlist-template .chiron-wishlist-empty {
    grid-column: 1 / -1;
    padding: 65px 20px;
    border: 1px solid #e5ebf2;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(23,63,107,.035);
    text-align: center;
}

.chiron-wishlist-template .chiron-wishlist-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 85px;
    height: 85px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #edf5fc;
    color: #3986c9;
    font-size: 45px;
}

.chiron-wishlist-template .chiron-wishlist-empty h3 {
    margin: 0 0 10px;
    color: #173f6b;
    font-size: 23px;
    font-weight: 700;
}

.chiron-wishlist-template .chiron-wishlist-empty p {
    margin: 0 0 22px;
    color: #718096;
    font-size: 14px;
}

.chiron-wishlist-template .chiron-wishlist-shop {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 25px;
    border-radius: 6px;
    background: #173f6b;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.chiron-wishlist-template .chiron-wishlist-shop:hover {
    background: #102f52;
    color: #fff;
}

/* Responsive */
@media (max-width: 991px) {
    .chiron-wishlist-template .chiron-wishlist-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .chiron-wishlist-template .chiron-wishlist-hero {
        padding: 42px 0;
    }

    .chiron-wishlist-template .chiron-wishlist-hero-content {
        min-height: auto;
    }

    .chiron-wishlist-template .chiron-wishlist-hero-art {
        display: none;
    }

    .chiron-wishlist-template .chiron-wishlist-hero h1 {
        font-size: 34px;
    }

    .chiron-wishlist-template .chiron-wishlist-hero-text > p {
        font-size: 14px;
    }

    .chiron-wishlist-template .chiron-wishlist-section {
        padding: 38px 0 50px;
    }

    .chiron-wishlist-template .chiron-wishlist-toolbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .chiron-wishlist-template .chiron-wishlist-toolbar h2 {
        font-size: 22px;
    }

    .chiron-wishlist-template .chiron-wishlist-card {
        gap: 13px;
        padding: 12px;
    }

    .chiron-wishlist-template .chiron-wishlist-image {
        width: 110px;
        min-width: 110px;
        height: 130px;
    }

    .chiron-wishlist-template .chiron-wishlist-product-title {
        font-size: 13px;
    }

    .chiron-wishlist-template .chiron-wishlist-price {
        font-size: 17px;
    }
}

@media (max-width: 420px) {
    .chiron-wishlist-template .chiron-wishlist-card {
        gap: 10px;
    }

    .chiron-wishlist-template .chiron-wishlist-image {
        width: 90px;
        min-width: 90px;
        height: 110px;
    }

    .chiron-wishlist-template .chiron-wishlist-actions {
        gap: 6px;
    }

    .chiron-wishlist-template .chiron-wishlist-view,
    .chiron-wishlist-template .chiron-wishlist-remove {
        min-height: 34px;
        padding: 7px 9px;
        font-size: 10px;
    }
}

/* Wishlist button - Product cards */
.woocommerce ul.products li.product {
    position: relative;
}

.woocommerce ul.products li.product .chiron-wishlist-toggle {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #173f6b;
    font-size: 25px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(0,0,0,.10);
    transition: .25s ease;
}

.chiron-wishlist-toggle:hover {
    background: #173f6b;
    color: #fff;
}

.chiron-wishlist-toggle.is-active {
    color: #e53955;
}

.chiron-wishlist-toggle .chiron-wishlist-icon {
    line-height: 1;
}

/* Single product wishlist button */
.single-product .chiron-wishlist-toggle {
    width: 44px;
    height: 44px;
    border: 1px solid #e1e9f1;
    border-radius: 50%;
    background: #fff;
    color: #173f6b;
    font-size: 25px;
    cursor: pointer;
}

.single-product .chiron-wishlist-toggle.is-active {
    color: #e53955;
}
@media (max-width: 767px) {
span.wc-block-formatted-money-amount.wc-block-components-formatted-money-amount.wc-block-components-product-price__value {
    display: none !important;
}
tr.wc-block-cart-items__row {
    padding-top: 40px !important;
}
.wc-block-components-product-badge.wc-block-components-sale-badge {
    position: absolute;
    right: 10px;
    top: 10px;
}	
.is-medium table.wc-block-cart-items .wc-block-cart-items__row, .is-mobile table.wc-block-cart-items .wc-block-cart-items__row, .is-small table.wc-block-cart-items .wc-block-cart-items__row {
    margin-bottom: 15px;
}	
}

/* =========================================
   CHIRON - WOOCOMMERCE PAY FOR ORDER PAGE
========================================= */

body.woocommerce-order-pay .content-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 55px 20px 80px;
}

body.woocommerce-order-pay .content-page article {
    max-width: 850px;
    margin: 0 auto;
}

/* Page heading */
body.woocommerce-order-pay .content-page h1 {
    color: #173f6b;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e1e9f1;
}

/* WooCommerce main wrapper */
body.woocommerce-order-pay .woocommerce {
    background: #ffffff;
    border: 1px solid #e1e9f1;
    border-radius: 18px;
    padding: 35px;
    box-shadow: 0 8px 35px rgba(23, 63, 107, 0.06);
}

/* Order details */
body.woocommerce-order-pay .order_details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    margin: 0 0 30px !important;
    padding: 0 !important;
    list-style: none !important;
    border: 0 !important;
}

body.woocommerce-order-pay .order_details::before,
body.woocommerce-order-pay .order_details::after {
    display: none !important;
}

body.woocommerce-order-pay .order_details li {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 20px !important;
    background: #f5f8fc;
    border: 1px solid #e1e9f1 !important;
    border-radius: 12px;
    text-align: left !important;
    font-size: 14px;
    line-height: 1.5;
    color: #718096;
}

body.woocommerce-order-pay .order_details li strong {
    display: block;
    margin-top: 8px;
    color: #173f6b;
    font-size: 17px;
    font-weight: 700;
}

/* Payment instruction */
body.woocommerce-order-pay .woocommerce > p {
    color: #52657a;
    font-size: 15px;
    line-height: 1.8;
    margin: 0 0 20px;
}

/* Payment buttons wrapper */
body.woocommerce-order-pay .woocommerce > p:has(#btn-razorpay) {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

/* Pay Now button */
body.woocommerce-order-pay #btn-razorpay {
    min-width: 180px;
    min-height: 52px;
    padding: 14px 30px;
    background: #173f6b;
    border: 1px solid #173f6b;
    border-radius: 9px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

body.woocommerce-order-pay #btn-razorpay:hover {
    background: #102f52;
    border-color: #102f52;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(23, 63, 107, 0.18);
}

/* Cancel button */
body.woocommerce-order-pay #btn-razorpay-cancel {
    min-width: 130px;
    min-height: 52px;
    padding: 14px 25px;
    background: #ffffff;
    border: 1px solid #d6e0eb;
    border-radius: 9px;
    color: #52657a;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

body.woocommerce-order-pay #btn-razorpay-cancel:hover {
    background: #f3f7fb;
    border-color: #173f6b;
    color: #173f6b;
}

/* Payment processing notice */
body.woocommerce-order-pay #msg-razorpay-success {
    position: relative;
    padding: 17px 20px 17px 48px !important;
    margin: 20px 0 !important;
    background: #eef6ff !important;
    border: 1px solid #cfe1f5 !important;
    border-top: 3px solid #3986c9 !important;
    border-radius: 9px;
    color: #173f6b;
    font-size: 14px;
    line-height: 1.6;
}

body.woocommerce-order-pay #msg-razorpay-success::before {
    content: "✓";
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #3986c9;
    border-radius: 50%;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
}

/* Remove unnecessary clear */
body.woocommerce-order-pay .clear {
    clear: both;
}

/* Tablet */
@media (max-width: 767px) {
    body.woocommerce-order-pay .content-page {
        padding: 35px 15px 50px;
    }

    body.woocommerce-order-pay .content-page h1 {
        font-size: 27px;
        margin-bottom: 22px;
    }

    body.woocommerce-order-pay .woocommerce {
        padding: 22px 18px;
        border-radius: 14px;
    }

    body.woocommerce-order-pay .order_details {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    body.woocommerce-order-pay .order_details li {
        padding: 16px !important;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    body.woocommerce-order-pay .content-page {
        padding: 25px 12px 40px;
    }

    body.woocommerce-order-pay .content-page h1 {
        font-size: 24px;
    }

    body.woocommerce-order-pay .woocommerce {
        padding: 18px 14px;
    }

    body.woocommerce-order-pay .woocommerce > p:has(#btn-razorpay) {
        flex-direction: column;
        align-items: stretch;
    }

    body.woocommerce-order-pay #btn-razorpay,
    body.woocommerce-order-pay #btn-razorpay-cancel {
        width: 100%;
    }
}
.wp-block-woocommerce-checkout-order-summary-block {
    border: 0;
}