.page.woocommerce-page .site-inner,
.page.woocommerce-page.admin-bar .site-inner,
.woocommerce.post-type-archive-product .site-inner,
.woocommerce.post-type-archive-product.admin-bar .site-inner,
.woocommerce.tax-product_cat .site-inner,
.woocommerce.tax-product_cat.admin-bar .site-inner,
.woocommerce.single-product .site-inner,
.woocommerce.single-product.admin-bar .site-inner,
body.qa-boxed .site-inner,
body.qa-boxed.admin-bar .site-inner {
    max-width: min(1200px, 90vw);
    padding: 0;
}
body.page.woocommerce-page .entry-header {
    display: block;
}
body.page.woocommerce-page .entry-header::after {
    display: none;
}

/* Hide WooCommerce's default dashboard greeting paragraphs */
.woocommerce-account .woocommerce-MyAccount-content > p {
    display: none;
}

/* Entry title padding on WooCommerce pages */
.woocommerce-page .entry-title {
    padding-bottom: 50px;
}

/* Addresses page */
.woocommerce-Addresses {
    display: block;
}
.woocommerce-Addresses .woocommerce-Address,
.woocommerce .col2-set .col-1 .woocommerce-Address,
.woocommerce .col2-set .col-2 .woocommerce-Address,
.woocommerce-page .col2-set .col-1 .woocommerce-Address,
.woocommerce-page .col2-set .col-2 .woocommerce-Address {
    float: none;
    width: 100%;
    margin-bottom: 24px;
}
body .woocommerce .col2-set .col-1,
body .woocommerce .col2-set .col-2,
body .woocommerce-page .col2-set .col-1,
body .woocommerce-page .col2-set .col-2 {
    float: none;
    width: 100%;
}
.woocommerce-Address {
    border: none;
    border-radius: 4px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.woocommerce-Address-title {
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 12px;
    margin-bottom: 16px;
}
.woocommerce-Address-title h3 {
    margin: 0;
    font-size: 16px;
}
.woocommerce-Address-title a {
    font-size: 13px;
    white-space: nowrap;
}
.woocommerce-Address address {
    font-style: normal;
    line-height: 1.8;
    font-size: 15px;
    color: #555;
}

.page.woocommerce-page .site-inner,
.page.woocommerce-page.admin-bar .site-inner,
.woocommerce.post-type-archive-product .site-inner,
.woocommerce.post-type-archive-product.admin-bar .site-inner,
.woocommerce.tax-product_cat .site-inner,
.woocommerce.tax-product_cat.admin-bar .site-inner,
.woocommerce.single-product .site-inner,
.woocommerce.single-product.admin-bar .site-inner,
body.qa-boxed .site-inner,
body.qa-boxed.admin-bar .site-inner {
    margin-top: 25px;
}

@media only screen and (min-width: 1024px) {
    .page.woocommerce-page .site-inner,
    .page.woocommerce-page.admin-bar .site-inner,
    .woocommerce.post-type-archive-product .site-inner,
    .woocommerce.post-type-archive-product.admin-bar .site-inner,
    .woocommerce.tax-product_cat .site-inner,
    .woocommerce.tax-product_cat.admin-bar .site-inner,
    .woocommerce.single-product .site-inner,
    .woocommerce.single-product.admin-bar .site-inner,
    body.qa-boxed .site-inner,
    body.qa-boxed.admin-bar .site-inner {
        margin-top: 100px;
    }
}

/* Shop/product pages — full-width content */
.woocommerce.post-type-archive-product #genesis-content,
.woocommerce.tax-product_cat #genesis-content,
.woocommerce.single-product #genesis-content {
    width: 100%;
}

/* Shop/product pages — hide header and sidebar */
.woocommerce.post-type-archive-product .qa-blog-header,
.woocommerce.post-type-archive-product #genesis-sidebar-primary,
.woocommerce.tax-product_cat .qa-blog-header,
.woocommerce.tax-product_cat #genesis-sidebar-primary,
.woocommerce.single-product .qa-blog-header,
.woocommerce.single-product #genesis-sidebar-primary {
    display: none;
}

/* Order confirmation */
.woocommerce-thankyou-order-details.order_details {
    padding-left: 0;
}

/* Cart and checkout — neutralise negative alignment margins */
@media only screen and (min-width: 1228px) {
    body.woocommerce-cart.full-width-content .entry-content > .alignwide,
    body.woocommerce-checkout.full-width-content .entry-content > .alignwide {
        margin-left: 0;
        margin-right: 0;
    }
}

/* View cart button (appears after add to cart) */
.added_to_cart.wc-forward {
    margin-left: 20px;
}

/* Add to cart buttons */
body.woocommerce button.single_add_to_cart_button.button,
body.woocommerce a.add_to_cart_button.button,
body .woocommerce-notices-wrapper a.button.wc-forward {
    font-family: 'Open Sans', sans-serif;
}

/* Cart proceed to checkout button */
.wc-block-components-button.wc-block-cart__submit-button {
    background-color: #000;
    color: #fff;
}
.wc-block-components-button.wc-block-cart__submit-button:hover {
    background-color: #06c;
    color: #fff;
}

/* WooCommerce buttons */
body .woocommerce a.button,
body .woocommerce a.button.alt,
body .woocommerce button.button,
body .woocommerce button.button.alt,
body .woocommerce input.button,
body .woocommerce input.button.alt,
body .woocommerce input.button[type="submit"],
body .woocommerce #respond input#submit,
body .woocommerce #respond input#submit.alt,
body .woocommerce-Button.button {
    font-family: 'Open Sans', sans-serif;
}

/* Login page (logged-out) */
body.woocommerce-account:not(.logged-in) .woocommerce {
    display: block;
}
body.woocommerce-account:not(.logged-in) .entry-title {
    text-align: center;
}
body.woocommerce-account:not(.logged-in) .woocommerce-form-login {
    max-width: min(400px, 90vw);
    margin: 0 auto;
}
body.woocommerce-account:not(.logged-in) .woocommerce > h2 {
    display: none;
}

/* Full-width form rows */
body .woocommerce form .form-row-first,
body .woocommerce form .form-row-last,
body .woocommerce-page form .form-row-first,
body .woocommerce-page form .form-row-last {
    width: 100%;
    float: none;
}

/* Lost password page */
body.woocommerce-account:has(.woocommerce-ResetPassword) .woocommerce {
    display: block;
}
body.woocommerce-account:has(.woocommerce-ResetPassword) .woocommerce-MyAccount-navigation {
    display: none;
}
body.woocommerce-account:has(.woocommerce-ResetPassword) .entry-title {
    text-align: center;
}
body.woocommerce-account .woocommerce-ResetPassword {
    max-width: min(400px, 90vw);
    margin: 0 auto;
    border: 1px solid #e5e5e5;
    border-radius: 3px;
    padding: 24px;
}

/* Single product — related products */
.related.products {
    clear: both;
}

/* My Account — vertical sidebar layout */
.woocommerce-account .woocommerce {
    display: flex;
    align-items: flex-start;
    gap: 2em;
}
body.woocommerce-account .woocommerce::before,
body.woocommerce-account .woocommerce::after {
    display: none;
}
.woocommerce-account .woocommerce-MyAccount-navigation {
    flex: 0 0 250px;
    border: none;
    background: none;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    display: block;
    border-bottom: 1px solid #eee;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li::before,
.woocommerce-account .woocommerce-MyAccount-navigation ul li::after {
    display: none;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 10px 16px;
    text-align: left;
    text-decoration: none;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
    background-color: #f5f5f5;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
    font-weight: 600;
}
.woocommerce-account .woocommerce-MyAccount-content {
    flex: 1;
    min-width: 0;
}
@media only screen and (max-width: 767px) {
    .woocommerce-account .woocommerce {
        flex-direction: column;
    }
    .woocommerce-account .woocommerce-MyAccount-navigation {
        flex: none;
        width: 100%;
    }
}
