/*
Theme Name: Zen & Tao
Theme URI: https://example.com/zen-and-tao
Author: Zen & Tao
Description: A refined WooCommerce theme for meaningful jewelry and modern ritual.
Version: 2.0.82
Requires at least: 6.6
Tested up to: 7.0
Requires PHP: 8.1
Text Domain: zen-and-tao
*/

/* Keep every page surface aligned with the homepage origin section. */
.zen-and-tao-page-shell,
.zen-and-tao-shop-shell {
	background: var(--zen-and-tao-paper);
}

/* Account order states share the existing storefront typography and button. */
body.woocommerce-account.logged-in .zen-and-tao-page-shell .zen-and-tao-account-empty {
    --zen-account-empty-min-height: 280px;
    --zen-account-empty-gap: 16px;
    --zen-account-empty-padding: 32px 24px;
    display: flex;
    min-height: var(--zen-account-empty-min-height);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--zen-account-empty-gap);
    padding: var(--zen-account-empty-padding);
    text-align: center;
}

body.woocommerce-account.logged-in .zen-and-tao-page-shell .zen-and-tao-account-empty h2 {
    margin: 0;
    color: var(--zen-and-tao-ink);
}

body.woocommerce-account.logged-in .zen-and-tao-page-shell .zen-and-tao-account-empty p {
    max-width: 430px;
    margin: 0;
    color: var(--zen-and-tao-muted);
    font-size: 15px;
    line-height: 1.6;
}

body.woocommerce-account.logged-in .zen-and-tao-page-shell .woocommerce .zen-and-tao-account-empty a.button {
    position: static;
    display: inline-flex;
    float: none;
    align-self: center;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    min-height: 44px;
    margin: 8px 0 0;
}

body.woocommerce-account.logged-in .zen-and-tao-page-shell .zen-and-tao-account-empty a.button:focus-visible {
    outline: 2px solid var(--zen-and-tao-ink);
    outline-offset: 4px;
}

body.woocommerce-account.logged-in .zen-and-tao-account-verification {
    --zen-account-verification-gap: 20px;
    display: grid;
    gap: var(--zen-account-verification-gap);
}

body.woocommerce-account.logged-in .zen-and-tao-account-verification h2 {
    margin: 0;
    color: var(--zen-and-tao-ink);
    font-size: 28px;
    font-weight: 500;
}

body.woocommerce-account.logged-in .zen-and-tao-account-verification > :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) {
    margin: 0;
}

@media (max-width: 600px) {
    body.woocommerce-account.logged-in .zen-and-tao-page-shell .zen-and-tao-account-empty {
        --zen-account-empty-min-height: 240px;
        --zen-account-empty-padding: 24px 0;
    }
}

/* Keep the order receipt details together and give customers a clear next step. */
.woocommerce-order-received .woocommerce-customer-details {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 28px;
    border: 1px solid var(--zen-and-tao-line, #deded8);
    border-radius: 8px;
    margin-top: 32px;
    background: rgb(255 255 255 / 82%);
}

.woocommerce-order-received .woocommerce-customer-details > :is(h2, h3) {
    grid-column: 1 / -1;
    margin: 0 0 20px;
    color: var(--zen-and-tao-ink, #171917);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-weight: 400;
}

.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns--addresses {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    width: 100%;
    margin: 0;
}

.woocommerce-order-received .woocommerce-customer-details .woocommerce-column {
    width: auto;
    padding: 0;
    margin: 0;
    float: none;
}

.woocommerce-order-received .woocommerce-customer-details .woocommerce-column__title {
    margin: 0 0 10px;
    color: var(--zen-and-tao-ink, #171917);
    font-family: "Jost", Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 600;
}

.woocommerce-order-received .woocommerce-customer-details address {
    padding: 0;
    border: 0;
    color: var(--zen-and-tao-muted, #62645f);
    font-size: 15px;
    font-style: normal;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.zen-and-tao-order-received-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}

body.woocommerce-order-received .woocommerce .zen-and-tao-order-received-actions a.edit,
body.woocommerce-order-received .woocommerce .zen-and-tao-order-received-actions a.edit:visited {
    display: inline-flex;
    width: 190px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    max-width: 100%;
    margin: 0;
    padding: 12px 22px;
    border: 1px solid #000;
    border-radius: var(--zen-and-tao-radius);
    color: #000 !important;
    background: #fff;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none !important;
    box-shadow: none;
    transition: background 140ms ease, border-color 140ms ease;
}

body.woocommerce-order-received .woocommerce .zen-and-tao-order-received-actions a.edit:is(:hover, :focus-visible) {
    border-color: #000;
    color: #000 !important;
    background: #fff;
    text-decoration: none !important;
}

.zen-and-tao-order-received-actions .edit:focus-visible {
    outline: 2px solid #000;
    outline-offset: 3px;
}

@media (max-width: 600px) {
    .woocommerce-order-received .woocommerce-customer-details {
        padding: 20px;
    }

    .woocommerce-order-received .woocommerce-customer-details .woocommerce-columns--addresses {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .zen-and-tao-order-received-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    body.woocommerce-order-received .woocommerce .zen-and-tao-order-received-actions a.edit,
    body.woocommerce-order-received .woocommerce .zen-and-tao-order-received-actions a.edit:visited {
		width: 100%;
		justify-self: stretch;
    }
}

body.woocommerce-account.logged-in .zen-and-tao-page-shell .zen-and-tao-account-empty h2 {
    margin: 0;
    color: var(--zen-and-tao-ink);
}

body.woocommerce-account.logged-in .zen-and-tao-page-shell .zen-and-tao-account-empty p {
    max-width: 430px;
    margin: 0;
    color: var(--zen-and-tao-muted);
    font-size: 15px;
    line-height: 1.6;
}

body.woocommerce-account.logged-in .zen-and-tao-page-shell .woocommerce .zen-and-tao-account-empty a.button {
    position: static;
    display: inline-flex;
    float: none;
    align-self: center;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    min-height: 44px;
    margin: 8px 0 0;
}

body.woocommerce-account.logged-in .zen-and-tao-page-shell .zen-and-tao-account-empty a.button:focus-visible {
    outline: 2px solid var(--zen-and-tao-ink);
    outline-offset: 4px;
}

body.woocommerce-account.logged-in .zen-and-tao-account-verification {
    --zen-account-verification-gap: 20px;
    display: grid;
    gap: var(--zen-account-verification-gap);
}

body.woocommerce-account.logged-in .zen-and-tao-account-verification h2 {
    margin: 0;
    color: var(--zen-and-tao-ink);
    font-size: 28px;
    font-weight: 500;
}

body.woocommerce-account.logged-in .zen-and-tao-account-verification > :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) {
    margin: 0;
}

@media (max-width: 600px) {
    body.woocommerce-account.logged-in .zen-and-tao-page-shell .zen-and-tao-account-empty {
        --zen-account-empty-min-height: 240px;
        --zen-account-empty-padding: 24px 0;
    }
}
