.artist-merch-theme.woocommerce-cart .site-content,
.artist-merch-theme.woocommerce-checkout .site-content,
.artist-merch-theme.woocommerce-account .site-content {
    background: #faf8f3;
}

.artist-merch-checkout-trust {
    margin-bottom: 22px;
}

.artist-merch-theme.woocommerce-cart .cart-collaterals .cart_totals,
.artist-merch-theme.woocommerce-checkout #customer_details,
.artist-merch-theme.woocommerce-checkout #order_review,
.artist-merch-theme.woocommerce-account .woocommerce-MyAccount-navigation,
.artist-merch-theme.woocommerce-account .woocommerce-MyAccount-content {
    padding: clamp(18px, 3vw, 28px);
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(0,0,0,.06);
}

.artist-merch-theme.woocommerce-checkout #order_review_heading,
.artist-merch-theme.woocommerce-checkout h3,
.artist-merch-theme.woocommerce-cart .cart_totals h2,
.artist-merch-theme.woocommerce-account .woocommerce-MyAccount-content h2,
.artist-merch-theme.woocommerce-account .woocommerce-MyAccount-content h3 {
    font-weight: 900;
    letter-spacing: -.03em;
}

.artist-merch-theme.woocommerce-checkout .form-row label,
.artist-merch-theme.woocommerce-cart .form-row label,
.artist-merch-theme.woocommerce-account .form-row label {
    font-weight: 800;
}

.artist-merch-theme.woocommerce-checkout input.input-text,
.artist-merch-theme.woocommerce-checkout textarea,
.artist-merch-theme.woocommerce-checkout select,
.artist-merch-theme.woocommerce-account input.input-text,
.artist-merch-theme.woocommerce-account textarea,
.artist-merch-theme.woocommerce-account select {
    min-height: 46px;
    border-radius: 14px;
    background: #fff;
}

.artist-merch-theme #payment {
    border-radius: 22px;
    overflow: hidden;
    background: #f3efe7;
}

.artist-merch-theme #payment div.payment_box {
    border-radius: 16px;
}

.artist-merch-theme .woocommerce-MyAccount-navigation ul {
    margin: 0;
    list-style: none;
}

.artist-merch-theme .woocommerce-MyAccount-navigation li a {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    color: #111;
    text-decoration: none;
    font-weight: 800;
}

.artist-merch-theme .woocommerce-MyAccount-navigation li.is-active a,
.artist-merch-theme .woocommerce-MyAccount-navigation li a:hover {
    background: #111117;
    color: #fff;
}

/* Full-width cart, checkout, and account page spacing */
.artist-merch-theme.artist-merch-full-width.woocommerce-cart .entry-content,
.artist-merch-theme.artist-merch-full-width.woocommerce-checkout .entry-content,
.artist-merch-theme.artist-merch-full-width.woocommerce-account .entry-content {
    padding-left: 0;
    padding-right: 0;
}

.artist-merch-theme.artist-merch-full-width.woocommerce-cart .woocommerce,
.artist-merch-theme.artist-merch-full-width.woocommerce-checkout .woocommerce,
.artist-merch-theme.artist-merch-full-width.woocommerce-account .woocommerce {
    width: min(1440px, calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
    padding-top: clamp(24px, 4vw, 54px);
    padding-bottom: clamp(34px, 5vw, 76px);
}

.artist-merch-theme.artist-merch-full-width.woocommerce-checkout form.checkout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .72fr);
    gap: clamp(22px, 4vw, 44px);
    align-items: start;
}

.artist-merch-theme.artist-merch-full-width.woocommerce-checkout #customer_details,
.artist-merch-theme.artist-merch-full-width.woocommerce-checkout #order_review_heading,
.artist-merch-theme.artist-merch-full-width.woocommerce-checkout #order_review {
    float: none;
    width: 100%;
}

.artist-merch-theme.artist-merch-full-width.woocommerce-checkout #order_review_heading,
.artist-merch-theme.artist-merch-full-width.woocommerce-checkout #order_review {
    grid-column: 2;
}

.artist-merch-theme.artist-merch-full-width.woocommerce-checkout #customer_details {
    grid-column: 1;
    grid-row: 1 / span 2;
}

/* v4 WooCommerce My Account: real two-column dashboard */
.artist-merch-theme.woocommerce-account .entry-title {
    width: min(1440px, calc(100% - 32px));
    margin: clamp(26px, 4vw, 54px) auto 0;
    color: #111117;
    font-weight: 950;
}

.artist-merch-theme.artist-merch-full-width.woocommerce-account .woocommerce {
    display: grid;
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
    gap: clamp(18px, 3vw, 34px);
    align-items: start;
    width: min(1440px, calc(100% - 32px));
    max-width: none;
}

.artist-merch-theme.woocommerce-account .woocommerce::before,
.artist-merch-theme.woocommerce-account .woocommerce::after {
    content: none;
    display: none;
}

.artist-merch-theme.woocommerce-account .woocommerce-MyAccount-navigation,
.artist-merch-theme.woocommerce-account .woocommerce-MyAccount-content {
    float: none !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
}

.artist-merch-theme.woocommerce-account .woocommerce-MyAccount-navigation {
    position: sticky;
    top: 116px;
    padding: 10px;
    background: #111117;
    border-color: rgba(217,164,65,.18);
    box-shadow: 0 18px 48px rgba(0,0,0,.14);
}

.artist-merch-theme.woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: grid;
    gap: 8px;
    padding: 0;
    margin: 0;
    border: 0;
}

.artist-merch-theme.woocommerce-account .woocommerce-MyAccount-navigation li {
    margin: 0;
    border: 0;
    list-style: none;
}

.artist-merch-theme.woocommerce-account .woocommerce-MyAccount-navigation li a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 16px;
    color: #f7f2ea;
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.09);
}

.artist-merch-theme.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.artist-merch-theme.woocommerce-account .woocommerce-MyAccount-navigation li a:hover,
.artist-merch-theme.woocommerce-account .woocommerce-MyAccount-navigation li a:focus {
    background: linear-gradient(135deg, var(--artist-merch-accent), #ffdc83);
    border-color: transparent;
    color: #111117;
}

.artist-merch-theme.woocommerce-account .woocommerce-MyAccount-content {
    min-height: 420px;
    padding: clamp(20px, 3vw, 36px);
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 18px 48px rgba(0,0,0,.08);
}

.artist-merch-theme.woocommerce-account .woocommerce-MyAccount-content p,
.artist-merch-theme.woocommerce-account .woocommerce-MyAccount-content address {
    color: #25252d;
    font-size: 16px;
    line-height: 1.75;
}

.artist-merch-theme.woocommerce-account .woocommerce-MyAccount-content a:not(.button) {
    color: #b67811;
    font-weight: 850;
}

.artist-merch-theme.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Button,
.artist-merch-theme.woocommerce-account .woocommerce-MyAccount-content .button {
    margin-top: 8px;
}

.artist-merch-theme.woocommerce-account .woocommerce table.shop_table,
.artist-merch-theme.woocommerce-account .woocommerce-orders-table,
.artist-merch-theme.woocommerce-account .woocommerce-MyAccount-paymentMethods {
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.08);
}

.artist-merch-theme.woocommerce-account .woocommerce-Addresses,
.artist-merch-theme.woocommerce-account .woocommerce-address-fields,
.artist-merch-theme.woocommerce-account .woocommerce-EditAccountForm {
    display: grid;
    gap: 18px;
}

.artist-merch-theme.woocommerce-account .woocommerce-Addresses.col2-set {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.artist-merch-theme.woocommerce-account .woocommerce-Address {
    width: auto !important;
    float: none !important;
    padding: 22px;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 22px;
    background: #faf8f3;
}

/* Logged-out account form should stay clean and centered */
.artist-merch-theme.artist-merch-full-width.woocommerce-account:not(.logged-in) .woocommerce {
    display: block;
    width: min(760px, calc(100% - 32px));
}

.artist-merch-theme.woocommerce-account:not(.logged-in) .woocommerce form.login,
.artist-merch-theme.woocommerce-account:not(.logged-in) .woocommerce form.register {
    padding: clamp(20px, 3vw, 34px);
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(0,0,0,.08);
}

@media (max-width: 860px) {
    .artist-merch-theme.artist-merch-full-width.woocommerce-account .woocommerce {
        grid-template-columns: 1fr;
    }

    .artist-merch-theme.woocommerce-account .woocommerce-MyAccount-navigation {
        position: static;
    }

    .artist-merch-theme.woocommerce-account .woocommerce-MyAccount-navigation ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .artist-merch-theme.woocommerce-account .woocommerce-Addresses.col2-set {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .artist-merch-theme.woocommerce-account .woocommerce-MyAccount-navigation ul {
        grid-template-columns: 1fr;
    }
}

/* v7 balanced store layout: cart, checkout, and account remain styled while contained */
.artist-merch-theme.artist-merch-store-contained.woocommerce-cart .entry-content,
.artist-merch-theme.artist-merch-store-contained.woocommerce-checkout .entry-content,
.artist-merch-theme.artist-merch-store-contained.woocommerce-account .entry-content {
    padding-left: 0;
    padding-right: 0;
}

.artist-merch-theme.artist-merch-store-contained.woocommerce-cart .woocommerce,
.artist-merch-theme.artist-merch-store-contained.woocommerce-checkout .woocommerce,
.artist-merch-theme.artist-merch-store-contained.woocommerce-account .woocommerce {
    width: min(1180px, calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
    padding-top: clamp(24px, 4vw, 54px);
    padding-bottom: clamp(34px, 5vw, 76px);
}

.artist-merch-theme.artist-merch-store-contained.woocommerce-checkout form.checkout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, .72fr);
    gap: clamp(22px, 4vw, 44px);
    align-items: start;
}

.artist-merch-theme.artist-merch-store-contained.woocommerce-checkout #customer_details,
.artist-merch-theme.artist-merch-store-contained.woocommerce-checkout #order_review_heading,
.artist-merch-theme.artist-merch-store-contained.woocommerce-checkout #order_review {
    float: none;
    width: 100%;
}

.artist-merch-theme.artist-merch-store-contained.woocommerce-checkout #order_review_heading,
.artist-merch-theme.artist-merch-store-contained.woocommerce-checkout #order_review {
    grid-column: 2;
}

.artist-merch-theme.artist-merch-store-contained.woocommerce-checkout #customer_details {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.artist-merch-theme.artist-merch-store-contained.woocommerce-account .woocommerce {
    display: grid;
    grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
    gap: clamp(18px, 3vw, 34px);
    align-items: start;
}

.artist-merch-theme.artist-merch-store-contained.woocommerce-account:not(.logged-in) .woocommerce {
    display: block;
    width: min(760px, calc(100% - 32px));
}

@media (max-width: 860px) {
    .artist-merch-theme.artist-merch-store-contained.woocommerce-account .woocommerce,
    .artist-merch-theme.artist-merch-store-contained.woocommerce-checkout form.checkout {
        display: block;
    }

    .artist-merch-theme.artist-merch-store-contained.woocommerce-checkout #order_review_heading,
    .artist-merch-theme.artist-merch-store-contained.woocommerce-checkout #order_review,
    .artist-merch-theme.artist-merch-store-contained.woocommerce-checkout #customer_details {
        grid-column: auto;
        grid-row: auto;
    }
}
