/* AUDIOSTAFF merged inline CSS */
/* =========================================================
   AUDIOSTAFF B2B DESIGN
========================================================= */


/* ---------- GLOBAL ---------- */

:root {
    --b2b-border: #eeeeee;
    --b2b-soft: #ffffff;
    --b2b-text-soft: #666666;
    --b2b-radius: 12px;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #ffffff;
}

body,
button,
input,
select,
textarea {
    -webkit-font-smoothing: antialiased;
}


/* ---------- GENERAL WIDTH ---------- */

main,
.wp-block-group.alignfull > .wp-block-group__inner-container,
.woocommerce,
.woocommerce-page {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}


/* ---------- HEADER ---------- */

header.wp-block-template-part {
    border-bottom: 1px solid var(--b2b-border);
}

header.wp-block-template-part .wp-block-group {
    padding-top: 18px;
    padding-bottom: 18px;
}

header a {
    text-decoration: none;
}

header .wp-block-site-title {
    font-weight: 700;
    letter-spacing: -0.02em;
}


/* ---------- SHOP TITLE ---------- */

.woocommerce-products-header__title,
.woocommerce .page-title {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 12px;
}


/* ---------- INTRO ---------- */

.audiostaff-b2b-intro {
    margin: 0 0 32px 0;
    padding: 22px 24px;
    border: 1px solid var(--b2b-border);
    border-radius: var(--b2b-radius);
    background: var(--b2b-soft);
}

.audiostaff-b2b-intro h2 {
    margin: 6px 0 5px;
    font-size: 20px;
    font-weight: 600;
}

.audiostaff-b2b-intro p {
    margin: 0;
    color: var(--b2b-text-soft);
    font-size: 14px;
}

.b2b-label {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 700;
    opacity: .55;
}


/* ---------- RESULT COUNT ---------- */

.woocommerce-result-count {
    display: none;
}


/* ---------- SORTING ---------- */

.woocommerce-ordering {
    margin-bottom: 24px;
}

.woocommerce-ordering select {
    border: 1px solid var(--b2b-border);
    border-radius: 9px;
    padding: 10px 34px 10px 12px;
    background: #ffffff;
    font-size: 13px;
    min-height: 40px;
}


/* ---------- PRODUCT GRID ---------- */

.woocommerce ul.products,
.woocommerce-page ul.products {

    display: grid !important;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 24px;

    margin-top: 24px;
}


/* ---------- PRODUCT CARD ---------- */

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {

    float: none !important;

    width: 100% !important;

    margin: 0 !important;

    padding: 16px;

    border: 1px solid var(--b2b-border);

    border-radius: 14px;

    background: #ffffff;

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease;
}


.woocommerce ul.products li.product:hover {

    transform: translateY(-2px);

    border-color: #dddddd;

    box-shadow:
        0 10px 35px rgba(0,0,0,.05);
}


/* ---------- PRODUCT IMAGE ---------- */

.woocommerce ul.products li.product img {

    border-radius: 10px;

    background: #eeeeee;

    margin-bottom: 16px;
}


/* ---------- PRODUCT NAME ---------- */

.woocommerce ul.products li.product
.woocommerce-loop-product__title {

    font-size: 15px;

    font-weight: 600;

    line-height: 1.4;

    padding: 0;

    margin-bottom: 8px;

    min-height: 42px;
}


/* ---------- PRODUCT PRICE ---------- */

.woocommerce ul.products li.product .price {

    font-size: 17px;

    font-weight: 600;

    margin: 8px 0 12px;

    color: inherit;
}


/* ---------- PRODUCT BUTTON ---------- */

.woocommerce ul.products li.product .button {

    width: 100%;

    display: block;

    text-align: center;

    padding: 11px 14px;

    margin-top: 12px;

    border-radius: 8px;

    font-size: 13px;

    font-weight: 600;

    transition: opacity .15s ease;
}

.woocommerce ul.products li.product .button:hover {
    opacity: .82;
}


/* ---------- PAGINATION ---------- */

.woocommerce nav.woocommerce-pagination {
    margin: 42px 0;
}

.woocommerce nav.woocommerce-pagination ul {
    border: 0;
}

.woocommerce nav.woocommerce-pagination ul li {
    border: 0;
    margin: 3px;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {

    border-radius: 7px;

    min-width: 38px;

    min-height: 38px;

    display: flex;

    justify-content: center;

    align-items: center;
}


/* ---------- PRODUCT PAGE ---------- */

.single-product .product {

    padding-top: 30px;

    padding-bottom: 50px;
}

.single-product div.product div.images img {
    border-radius: 14px;
}

.single-product .product_title {

    font-size: clamp(30px, 4vw, 48px);

    letter-spacing: -0.04em;

    line-height: 1.05;
}

.single-product .price {

    font-size: 24px !important;

    font-weight: 600;
}

.single-product .quantity input {

    border-radius: 8px;

    border: 1px solid var(--b2b-border);

    min-height: 44px;
}

.single-product button.single_add_to_cart_button {

    border-radius: 8px;

    min-height: 44px;

    padding-left: 22px;

    padding-right: 22px;
}


/* ---------- CART ---------- */

.woocommerce-cart table.shop_table {

    border: 1px solid var(--b2b-border);

    border-radius: 12px;

    overflow: hidden;
}

.woocommerce-cart table.shop_table th {

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: .05em;

    opacity: .6;
}

.woocommerce-cart .cart_totals {

    border: 1px solid var(--b2b-border);

    padding: 24px;

    border-radius: 12px;
}

.woocommerce-cart .checkout-button {

    border-radius: 8px !important;
}


/* ---------- CHECKOUT ---------- */

.woocommerce-checkout form.checkout {

    max-width: 1200px;

    margin: 0 auto;
}

.woocommerce-checkout input,
.woocommerce-checkout textarea,
.woocommerce-checkout select {

    border: 1px solid var(--b2b-border);

    border-radius: 8px;

    padding: 11px 12px;

    min-height: 44px;
}

.woocommerce-checkout #order_review {

    border: 1px solid var(--b2b-border);

    padding: 24px;

    border-radius: 12px;
}

.woocommerce-checkout #place_order {

    width: 100%;

    border-radius: 8px;

    min-height: 48px;

    font-weight: 600;
}


/* ---------- MY ACCOUNT ---------- */

.woocommerce-account .woocommerce {

    display: grid;

    grid-template-columns: 220px 1fr;

    gap: 36px;
}

.woocommerce-MyAccount-navigation {

    border: 1px solid var(--b2b-border);

    border-radius: 12px;

    padding: 12px;
}

.woocommerce-MyAccount-navigation ul {

    list-style: none;

    padding: 0;

    margin: 0;
}

.woocommerce-MyAccount-navigation li a {

    display: block;

    padding: 10px 12px;

    text-decoration: none;

    border-radius: 7px;
}

.woocommerce-MyAccount-navigation li.is-active a {
    background: var(--b2b-soft);
}


/* ---------- LOGIN ---------- */

.audiostaff-login-intro {

    max-width: 520px;

    margin: 50px auto 30px;

    text-align: center;
}

.audiostaff-login-intro h1 {

    margin: 8px 0;

    font-size: 40px;

    letter-spacing: -0.04em;
}

.audiostaff-login-intro p {

    margin: 0;

    color: var(--b2b-text-soft);
}

.woocommerce-form-login {

    max-width: 520px;

    margin-left: auto !important;

    margin-right: auto !important;

    padding: 28px !important;

    border: 1px solid var(--b2b-border) !important;

    border-radius: 14px !important;
}

.woocommerce-form-login input {

    min-height: 44px;

    border: 1px solid var(--b2b-border);

    border-radius: 8px;
}

.woocommerce-form-login button {

    border-radius: 8px;

    min-height: 44px;
}


/* ---------- NOTICES ---------- */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {

    border-radius: 9px;

    border-top: 0;

    padding: 14px 18px;
}


/* ---------- BREADCRUMBS ---------- */

.woocommerce-breadcrumb {
    display: none;
}


/* ---------- FOOTER CLEANUP ---------- */

footer.wp-block-template-part {

    margin-top: 80px;

    padding-top: 30px;

    border-top: 1px solid var(--b2b-border);
}

footer .wp-block-navigation,
footer .wp-block-site-title {

    font-size: 13px;
}


/* ---------- REMOVE DEFAULT THEME NOISE ---------- */

footer a[href*="wordpress.org"] {
    display: none !important;
}


/* ---------- TABLES ---------- */

.woocommerce table.shop_table {

    border-color: var(--b2b-border);

    border-radius: 10px;
}


/* ---------- MOBILE ---------- */

@media (max-width: 1100px) {

    .woocommerce ul.products,
    .woocommerce-page ul.products {

        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}


@media (max-width: 780px) {

    .woocommerce ul.products,
    .woocommerce-page ul.products {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 14px;
    }

    .woocommerce-account .woocommerce {

        grid-template-columns: 1fr;
    }

    .woocommerce-MyAccount-navigation {

        margin-bottom: 20px;
    }

}


@media (max-width: 520px) {

    .woocommerce ul.products,
    .woocommerce-page ul.products {

        grid-template-columns: 1fr;
    }

    .woocommerce-products-header__title,
    .woocommerce .page-title {

        font-size: 34px;
    }

}


/* ---------- END ---------- */
/* SEARCH */

.b2b-shop-search {
    display: flex;
    gap: 10px;
    margin: 0 0 28px 0;
    max-width: 760px;
}

.b2b-shop-search input {
    flex: 1;
    min-height: 46px;
    padding: 0 16px;
    border: 1px solid #dddddd;
    border-radius: 9px;
    font-size: 14px;
    background: #ffffff;
}

.b2b-shop-search input:focus {
    outline: none;
    border-color: #aaaaaa;
}

.b2b-shop-search button {
    min-height: 46px;
    padding: 0 22px;
    border-radius: 9px;
    border: 0;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
}

/* SKU */

.b2b-product-sku {
    font-size: 11px;
    opacity: .5;
    margin: 4px 0 8px;
    letter-spacing: .03em;
}

/* QUANTITY */

.b2b-loop-quantity {
    margin-top: 10px;
}

.b2b-loop-quantity .quantity {
    width: 100%;
}

.b2b-loop-quantity input.qty {
    width: 100%;
    min-height: 42px;
    border: 1px solid #dddddd;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
}

/* BUTTON */

.b2b-add-to-cart {
    margin-top: 8px !important;
}

/* MORE COMPACT PRODUCT CARDS */

.woocommerce ul.products li.product {
    display: flex;
    flex-direction: column;
}

.woocommerce ul.products li.product .button {
    margin-top: auto;
}

/* PRODUCT IMAGE SMALLER / CLEANER */

.woocommerce ul.products li.product img {
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

/* MOBILE */

@media (max-width: 600px) {

    .b2b-shop-search {
        flex-direction: column;
    }

    .b2b-shop-search button {
        width: 100%;
    }

}
/* BRAND FILTER */

.b2b-brand-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 28px;
}

.b2b-brand-filter a {
    text-decoration: none;
    padding: 8px 14px;
    border: 1px solid #dddddd;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    background: #ffffff;
    transition: .15s ease;
}

.b2b-brand-filter a:hover {
    border-color: #bbbbbb;
}

.b2b-brand-filter a.active {
    background: #111111;
    color: #ffffff;
    border-color: #111111;
}


/* QUICK LINKS */

.b2b-quick-links {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.b2b-quick-links a {
    font-size: 13px;
    text-decoration: none;
    padding: 7px 12px;
    background: #eeeeee;
    border-radius: 7px;
}


/* REORDER */

.b2b-reorder-wrap {
    margin-bottom: 18px;
}

.b2b-reorder-button {
    display: inline-block;
    padding: 9px 14px;
    border-radius: 8px;
    background: #111111;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}


/* STOCK BADGES */

.b2b-stock-badge {
    display: inline-block;
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    padding: 5px 8px;
    border-radius: 999px;
    backdrop-filter: blur(6px);
}

.woocommerce ul.products li.product {
    position: relative;
}

.b2b-stock-badge.in-stock {
    background: rgba(255,255,255,.9);
    color: #303030;
}

.b2b-stock-badge.low-stock {
    background: #fff3d4;
    color: #7a5a0c;
}

.b2b-stock-badge.out-stock {
    background: #ffd1d7;
    color: #8d1717;
}


/* STICKY CART */

.b2b-sticky-cart {

    position: fixed;

    left: 50%;
    bottom: 18px;

    transform: translateX(-50%);

    width: min(
        calc(100% - 32px),
        720px
    );

    z-index: 9999;

    background: rgba(17,17,17,.96);

    color: #ffffff;

    border-radius: 14px;

    padding: 12px 14px 12px 18px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    box-shadow:
        0 18px 45px rgba(0,0,0,.18);

    backdrop-filter: blur(12px);
}

.b2b-sticky-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.b2b-sticky-cart strong {
    font-size: 13px;
}

.b2b-sticky-cart span {
    font-size: 13px;
    opacity: .75;
}

.b2b-sticky-cart a {

    color: #111111;

    background: #ffffff;

    text-decoration: none;

    padding: 9px 14px;

    border-radius: 8px;

    font-size: 12px;

    font-weight: 700;

    white-space: nowrap;
}


/* MOBILE */

@media (max-width: 600px) {

    .b2b-brand-filter {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
    }

    .b2b-brand-filter a {
        white-space: nowrap;
    }

    .b2b-sticky-cart {
        bottom: 10px;
        width: calc(100% - 20px);
    }

    .b2b-sticky-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

}
/* =========================================================
   AUDIOSTAFF B2B - COMPACT MODE
========================================================= */


/* GENERAL CONTENT WIDTH */

main,
.woocommerce,
.woocommerce-page {
    max-width: 1500px !important;
}


/* SHOP TITLE MUCH SMALLER */

.woocommerce-products-header__title,
.woocommerce .page-title {
    font-size: 28px !important;
    line-height: 1 !important;
    margin-bottom: 10px !important;
}


/* INTRO SMALLER */

.audiostaff-b2b-intro {
    padding: 12px 16px !important;
    margin-bottom: 16px !important;
    border-radius: 8px !important;
}

.audiostaff-b2b-intro h2 {
    font-size: 15px !important;
    margin: 3px 0 !important;
}

.audiostaff-b2b-intro p {
    font-size: 11px !important;
}

.b2b-label {
    font-size: 9px !important;
}


/* SEARCH SMALLER */

.b2b-shop-search {
    max-width: 600px !important;
    margin-bottom: 14px !important;
}

.b2b-shop-search input {
    min-height: 34px !important;
    height: 34px !important;
    font-size: 11px !important;
    padding: 0 10px !important;
    border-radius: 6px !important;
}

.b2b-shop-search button {
    min-height: 34px !important;
    height: 34px !important;
    font-size: 10px !important;
    padding: 0 14px !important;
    border-radius: 6px !important;
}


/* QUICK LINKS SMALLER */

.b2b-quick-links {
    margin-bottom: 10px !important;
    gap: 6px !important;
}

.b2b-quick-links a {
    font-size: 10px !important;
    padding: 5px 8px !important;
    border-radius: 5px !important;
}


/* BRAND FILTER SMALL */

.b2b-brand-filter {
    gap: 5px !important;
    margin: 8px 0 14px !important;
}

.b2b-brand-filter a {
    font-size: 10px !important;
    padding: 5px 9px !important;
}


/* SORTING SMALLER */

.woocommerce-ordering {
    margin-bottom: 10px !important;
}

.woocommerce-ordering select {
    min-height: 32px !important;
    height: 32px !important;
    font-size: 10px !important;
    padding: 5px 26px 5px 8px !important;
}


/* =========================================================
   5 PRODUCTS PER ROW
========================================================= */

.woocommerce ul.products,
.woocommerce-page ul.products {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 14px !important;
    margin-top: 14px !important;
}


/* CARD MUCH SMALLER */

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    padding: 10px !important;
    border-radius: 9px !important;
}


/* PRODUCT IMAGE SMALLER */

.woocommerce ul.products li.product img {
    aspect-ratio: 1 / 1 !important;
    object-fit: contain !important;
    margin-bottom: 8px !important;
    max-height: 175px !important;
}


/* PRODUCT NAME */

.woocommerce ul.products li.product
.woocommerce-loop-product__title {
    font-size: 11px !important;
    line-height: 1.25 !important;
    margin: 4px 0 !important;
    min-height: 28px !important;
}


/* SKU */

.b2b-product-sku {
    font-size: 8px !important;
    margin: 2px 0 4px !important;
}


/* PRICE */

.woocommerce ul.products li.product .price {
    font-size: 11px !important;
    margin: 4px 0 6px !important;
}


/* QUANTITY */

.b2b-loop-quantity {
    margin-top: 5px !important;
}

.b2b-loop-quantity input.qty {
    min-height: 30px !important;
    height: 30px !important;
    font-size: 10px !important;
    border-radius: 5px !important;
}


/* BUTTON */

.woocommerce ul.products li.product .button {
    font-size: 10px !important;
    padding: 7px 8px !important;
    min-height: 30px !important;
    border-radius: 5px !important;
    margin-top: 5px !important;
}


/* STOCK BADGES SMALL */

.b2b-stock-badge {
    font-size: 8px !important;
    padding: 3px 6px !important;
    top: 7px !important;
    left: 7px !important;
}


/* SALE BADGE SMALL */

.woocommerce span.onsale {
    min-height: auto !important;
    min-width: auto !important;
    line-height: 1 !important;
    font-size: 8px !important;
    padding: 4px 6px !important;
    top: 7px !important;
    left: 7px !important;
}


/* STICKY CART SMALLER */

.b2b-sticky-cart {
    width: min(calc(100% - 24px), 620px) !important;
    padding: 8px 10px 8px 12px !important;
    border-radius: 9px !important;
    bottom: 10px !important;
}

.b2b-sticky-cart strong,
.b2b-sticky-cart span {
    font-size: 10px !important;
}

.b2b-sticky-cart a {
    font-size: 9px !important;
    padding: 6px 10px !important;
    border-radius: 5px !important;
}


/* LESS VERTICAL SPACE */

.woocommerce ul.products li.product:hover {
    transform: translateY(-1px) !important;
}


/* FOOTER LESS HUGE */

footer.wp-block-template-part {
    margin-top: 35px !important;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1250px) {

    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}


@media (max-width: 950px) {

    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}


@media (max-width: 700px) {

    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .woocommerce ul.products li.product img {
        max-height: 140px !important;
    }
}


@media (max-width: 420px) {

    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 7px !important;
    }

    .woocommerce ul.products li.product {
        padding: 7px !important;
    }

    .woocommerce ul.products li.product img {
        max-height: 120px !important;
    }

}
/* PRODUCT IMAGES - B2B SMALLER */

.woocommerce ul.products li.product img,
.woocommerce-page ul.products li.product img {
    width: 100% !important;
    max-width: 140px !important;
    height: 140px !important;
    object-fit: contain !important;
    margin: 0 auto 8px !important;
    display: block !important;
}

/* Even smaller on wide screens */
@media (min-width: 1200px) {
    .woocommerce ul.products li.product img,
    .woocommerce-page ul.products li.product img {
        max-width: 125px !important;
        height: 125px !important;
    }
}

/* Mobile */
@media (max-width: 700px) {
    .woocommerce ul.products li.product img,
    .woocommerce-page ul.products li.product img {
        max-width: 110px !important;
        height: 110px !important;
    }
}
/* B2B - 5 PRODUCTS PER ROW */
.wc-block-product-template {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}
/* =========================================
   SMALL B2B PRODUCT BUTTONS
========================================= */

/* WooCommerce classic buttons */
.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button,

/* WooCommerce Block Product Collection */
.wc-block-product-template .wp-block-button__link,
.wc-block-product-template .wc-block-components-product-button__button,
.wc-block-components-product-button .wp-block-button__link {

    width: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;

    padding: 6px 11px !important;

    margin: 6px auto 0 !important;

    font-size: 10px !important;
    line-height: 1.2 !important;

    border-radius: 6px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    white-space: nowrap !important;
}


/* Center button container */

.wc-block-components-product-button,
.wp-block-woocommerce-product-button {
    text-align: center !important;
}


/* ADD TO ORDER LINK */

.b2b-add-to-cart,
a.b2b-add-to-cart {
    width: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;

    padding: 6px 10px !important;

    font-size: 10px !important;

    line-height: 1.2 !important;

    border-radius: 5px !important;

    display: inline-flex !important;
}


/* QUANTITY FIELD */

.b2b-loop-quantity {
    text-align: center !important;
}

.b2b-loop-quantity .quantity {
    width: auto !important;
    display: inline-block !important;
}

.b2b-loop-quantity input.qty,
.woocommerce ul.products input.qty {

    width: 42px !important;
    height: 28px !important;
    min-height: 28px !important;

    padding: 2px 4px !important;

    font-size: 10px !important;

    border-radius: 5px !important;

    text-align: center !important;
}


/* Variable product "Select options" */

.woocommerce ul.products li.product
a.product_type_variable {

    padding: 6px 11px !important;

    font-size: 10px !important;

    border-radius: 6px !important;

    width: auto !important;

    min-width: 0 !important;
}


/* MOBILE */

@media (max-width: 600px) {

    .woocommerce ul.products li.product .button,
    .wc-block-product-template .wp-block-button__link {

        padding: 6px 9px !important;

        font-size: 9px !important;
    }

}
/* B2B - NO PAGINATION */
.woocommerce-pagination,
.wc-block-components-pagination,
.wp-block-query-pagination {
    display: none !important;
}
.b2b-stock-badge {
    display: none !important;
}
/* PAGE */

.as-b2b-pricelist {
    max-width: 1500px;
    margin: 0 auto;
    padding: 25px 28px 90px;
}


/* HEADER */

.as-b2b-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 22px;
}

.as-b2b-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .13em;
    opacity: .45;
}

.as-b2b-header h1 {
    font-size: 32px !important;
    line-height: 1.1;
    margin: 4px 0 6px !important;
}

.as-b2b-header p {
    margin: 0;
    font-size: 15px;
    opacity: .6;
}


/* HEADER LINKS */

.as-b2b-header-links {
    display: flex;
    gap: 7px;
}

.as-b2b-header-links a {
    border: 1px solid #dddddd;
    border-radius: 6px;
    padding: 8px 11px;
    font-size: 13px;
    text-decoration: none;
}


/* FILTERS */

.as-b2b-filters {

    display: grid;

    grid-template-columns:
        minmax(300px,1fr)
        180px
        200px
        auto
        auto;

    gap: 8px;

    margin-bottom: 16px;
}


.as-b2b-filters input,
.as-b2b-filters select {

    height: 42px;

    border: 1px solid #dddddd;

    border-radius: 6px;

    padding: 0 11px;

    font-size: 14px;

    background: #ffffff;
}


.as-b2b-filters button,
.as-b2b-clear {

    height: 42px;

    padding: 0 14px;

    border-radius: 6px;

    font-size: 13px;

    display: inline-flex;

    align-items: center;

    justify-content: center;
}


.as-b2b-filters button {

    border: 0;

    background: #111111;

    color: #ffffff;

    cursor: pointer;
}


.as-b2b-clear {

    border: 1px solid #dddddd;

    text-decoration: none;
}


/* TABLE */

.as-b2b-table-wrap {

    border: 1px solid #dddddd;

    border-radius: 8px;

    overflow: hidden;

    background: #ffffff;
}


.as-b2b-table {

    width: 100%;

    border-collapse: collapse;

    margin: 0 !important;
}


.as-b2b-table th {

    background: #eeeeee;

    padding: 10px 11px;

    border-bottom: 1px solid #dddddd;

    text-align: left;

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: .05em;

    opacity: .58;

    white-space: nowrap;
}


.as-b2b-table td {

    padding: 9px 11px;

    border-bottom: 1px solid #eeeeee;

    vertical-align: middle;

    font-size: 14px;

    line-height: 1.35;
}


.as-b2b-table tbody tr:hover {

    background: #ffffff;
}


/* IMAGE */

.as-col-image {

    width: 70px;
}


.as-col-image img {

    width: 56px !important;

    height: 56px !important;

    object-fit: contain !important;

    display: block;

    margin: 0 !important;
}


/* SKU */

.as-product-sku {

    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        monospace;

    font-size: 12px !important;

    opacity: .65;

    white-space: nowrap;
}


/* PRODUCT NAME */

.as-product-name {

    min-width: 220px;
}


.as-product-name a {

    font-size: 14px;

    font-weight: 500;

    text-decoration: none;
}


/* BRAND + CATEGORY */

.as-product-brand,
.as-product-category {

    font-size: 12px !important;

    opacity: .65;
}


/* PRICE */

.as-col-price {

    font-size: 15px !important;

    font-weight: 600;

    white-space: nowrap;
}


/* STOCK */

.as-stock-ok,
.as-stock-out {

    font-size: 12px;
}


.as-stock-out {

    opacity: .45;
}


/* QUANTITY */

.as-col-qty {

    width: 65px;
}


.as-b2b-qty {

    width: 54px !important;

    height: 32px !important;

    border: 1px solid #dddddd !important;

    border-radius: 5px !important;

    padding: 3px 5px !important;

    font-size: 14px !important;

    text-align: center;
}


/* ACTION */

.as-col-action {

    width: 75px;
}


.as-b2b-add,
.as-b2b-options {

    min-width: 48px;

    min-height: 32px;

    padding: 7px 10px;

    border-radius: 5px;

    border: 0;

    background: #111111;

    color: #ffffff !important;

    text-decoration: none !important;

    font-size: 12px;

    line-height: 1;

    cursor: pointer;

    display: inline-flex;

    justify-content: center;

    align-items: center;
}


.as-b2b-add:disabled {

    opacity: .5;
}


/* STICKY CART */

.as-b2b-cartbar {

    position: fixed;

    left: 50%;

    bottom: 10px;

    transform:
        translateX(-50%);

    z-index: 99999;

    width:
        min(
            650px,
            calc(100% - 24px)
        );

    background:
        rgba(15,15,15,.96);

    color: #ffffff;

    padding:
        9px
        10px
        9px
        14px;

    border-radius: 9px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    box-shadow:
        0 14px 40px
        rgba(0,0,0,.18);
}


.as-b2b-cartbar > div {

    display: flex;

    gap: 14px;

    align-items: center;
}


.as-b2b-cartbar strong,
.as-b2b-cartbar span {

    font-size: 14px;
}


.as-b2b-cartbar span {

    opacity: .65;
}


.as-b2b-cartbar a {

    background: #ffffff;

    color: #111111;

    text-decoration: none;

    padding: 8px 11px;

    border-radius: 5px;

    font-size: 12px;

    font-weight: 700;
}


/* MOBILE */

@media (max-width: 900px) {

    .as-b2b-filters {

        grid-template-columns:
            1fr
            1fr;

    }

    .as-b2b-filters input {

        grid-column:
            1 / -1;
    }


    .as-b2b-table-wrap {

        overflow-x: auto;
    }


    .as-b2b-table {

        min-width: 1000px;
    }
}


@media (max-width: 600px) {

    .as-b2b-pricelist {

        padding:
            16px
            12px
            80px;
    }


    .as-b2b-header {

        flex-direction: column;
    }


    .as-b2b-header h1 {

        font-size: 26px !important;
    }


    .as-b2b-header p {

        font-size: 13px;
    }

}
/* Reduce space below header */
header.wp-block-template-part {
    margin-bottom: 0 !important;
}

/* Remove excessive Twenty Twenty-Five spacing */
main,
main.wp-block-group,
.wp-block-post-content,
.entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Groups surrounding the content */
main > .wp-block-group,
.wp-block-post-content > .wp-block-group {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Price list itself */
.as-b2b-pricelist {
    margin-top: 0 !important;
    padding-top: 24px !important;
}

/* Remove block gap before our pricelist */
.wp-block-post-content:has(.as-b2b-pricelist) {
    margin-block-start: 0 !important;
}

/* Specifically reduce gap between header and content */
.wp-site-blocks > main {
    margin-block-start: 0 !important;
}
/* =========================================
   PAGE
========================================= */

.as-pl-v3 {

    max-width: 1600px;

    margin: 0 auto;

    padding:
        20px
        25px
        85px;

    font-size: 14px;
}


/* =========================================
   HEADER
========================================= */

.as-pl-v3-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    margin-bottom: 18px;
}


.as-pl-v3-label {

    font-size: 11px;

    letter-spacing: .12em;

    font-weight: 700;

    opacity: .45;
}


.as-pl-v3-header h1 {

    margin:
        3px
        0
        4px !important;

    font-size: 30px !important;

    line-height: 1.1;

    letter-spacing: -.025em;
}


.as-pl-v3-header p {

    margin: 0;

    font-size: 14px;

    opacity: .55;
}


.as-pl-v3-header-actions {

    display: flex;

    gap: 7px;
}


.as-pl-v3-header-actions a {

    padding:
        7px
        10px;

    border:
        1px solid #dddddd;

    border-radius: 5px;

    font-size: 12px;

    text-decoration: none;
}


/* =========================================
   FILTERS
========================================= */

.as-pl-v3-filters {

    display: grid;

    grid-template-columns:

        minmax(300px,1fr)

        180px

        200px

        auto

        auto;

    gap: 7px;

    margin-bottom: 14px;
}


.as-pl-v3-filters input,
.as-pl-v3-filters select {

    height: 40px;

    min-height: 40px;

    border:
        1px solid #dddddd;

    border-radius: 5px;

    padding:
        0
        10px;

    background: #ffffff;

    font-size: 13px;
}


.as-pl-v3-filters button,
.as-pl-v3-clear {

    min-height: 40px;

    padding:
        0
        13px;

    border-radius: 5px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    font-size: 12px;
}


.as-pl-v3-filters button {

    border: 0;

    background: #111111;

    color: #ffffff;

    cursor: pointer;
}


.as-pl-v3-clear {

    border:
        1px solid #dddddd;

    text-decoration: none;
}


/* =========================================
   TABLE
========================================= */

.as-pl-v3-table-wrap {

    border:
        1px solid #dddddd;

    border-radius: 6px;

    overflow-x: auto;

    background: #ffffff;
}


.as-pl-v3-table {

    width: 100%;

    border-collapse: collapse;

    table-layout: auto;

    margin: 0 !important;
}


/* HEADER */

.as-pl-v3-table th {

    background: #111111;

    color: #ffffff;

    padding:
        9px
        8px;

    border: 0;

    text-align: left;

    font-size: 11px;

    line-height: 1;

    font-weight: 700;

    white-space: nowrap;
}


/* ROW */

.as-pl-v3-table td {

    padding:
        7px
        8px;

    border-bottom:
        1px solid #eeeeee;

    vertical-align: middle;

    font-size: 13px;

    line-height: 1.25;
}


.as-pl-v3-table tbody tr:hover {

    background: #ffffff;
}


/* CENTER UTILITY */

.as-pl-v3-table .center {

    text-align: center !important;
}


/* =========================================
   PRODUCT NAME
========================================= */

.as-pl-v3-table .col-product {

    width: auto;

    min-width: 300px;
}


.as-pl-v3-product {

    display: flex;

    align-items: center;

    gap: 10px;
}


.as-pl-v3-thumb {

    flex:
        0
        0
        46px;
}


.as-pl-v3-thumb img {

    width:
        46px !important;

    height:
        46px !important;

    max-width:
        46px !important;

    object-fit:
        contain !important;

    display: block;

    margin: 0 !important;
}


.as-pl-v3-name {

    font-size:
        13px;

    font-weight:
        600;

    line-height:
        1.25;

    text-decoration:
        none;
}


/* =========================================
   PRICE - VERY COMPACT
========================================= */

.as-pl-v3-table .col-price {

    width: 82px;

    min-width: 82px;

    max-width: 82px;

    padding-left:
        4px !important;

    padding-right:
        4px !important;

    text-align:
        center !important;

    white-space:
        nowrap;

    font-weight: 600;
}


.as-pl-v3-table .col-price del {

    font-size: 10px;

    opacity: .4;
}


.as-pl-v3-table .col-price ins {

    text-decoration: none;
}


/* =========================================
   SKU
========================================= */

.as-pl-v3-table .col-sku {

    width: 145px;

    min-width: 120px;
}


/* =========================================
   UPC
========================================= */

.as-pl-v3-table .col-upc {

    width: 130px;

    min-width: 120px;
}


/* CODE FONT */

.as-pl-v3-code {

    font-family:

        ui-monospace,

        SFMono-Regular,

        Menlo,

        Monaco,

        Consolas,

        monospace;

    font-size:
        11px !important;

    white-space:
        nowrap;
}


/* =========================================
   HS CODE
========================================= */

.as-pl-v3-table .col-hs {

    width: 75px;

    min-width: 75px;

    max-width: 75px;

    padding-left:
        4px !important;

    padding-right:
        4px !important;
}


/* =========================================
   MOQ
========================================= */

.as-pl-v3-table .col-moq {

    width: 58px;

    min-width: 58px;

    max-width: 58px;

    padding-left:
        3px !important;

    padding-right:
        3px !important;
}


/* =========================================
   QTY
========================================= */

.as-pl-v3-table .col-qty {

    width: 64px;

    min-width: 64px;

    max-width: 64px;

    padding-left:
        3px !important;

    padding-right:
        3px !important;
}


.as-pl-v3-qty {

    width:
        50px !important;

    height:
        30px !important;

    min-height:
        30px !important;

    padding:
        2px
        4px !important;

    border:
        1px solid #dddddd !important;

    border-radius:
        4px !important;

    text-align:
        center;

    font-size:
        12px !important;
}


/* =========================================
   TOTAL
========================================= */

.as-pl-v3-table .col-total {

    width: 90px;

    min-width: 90px;

    max-width: 90px;

    padding-left:
        4px !important;

    padding-right:
        4px !important;

    white-space:
        nowrap;

    font-weight: 600;
}


/* =========================================
   ORDER
========================================= */

.as-pl-v3-table .col-order {

    width: 65px;

    min-width: 65px;

    max-width: 65px;

    padding-left:
        4px !important;

    padding-right:
        4px !important;
}


.as-pl-v3-add,
.as-pl-v3-options {

    min-width:
        44px;

    min-height:
        29px;

    padding:
        6px
        8px;

    border:
        0;

    border-radius:
        4px;

    background:
        #111111;

    color:
        #ffffff !important;

    text-decoration:
        none !important;

    font-size:
        11px;

    line-height:
        1;

    cursor:
        pointer;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;
}


.as-pl-v3-add:disabled {

    opacity: .5;

    cursor: wait;
}


/* =========================================
   EMPTY
========================================= */

.as-pl-v3-empty {

    text-align:
        center;

    padding:
        40px !important;

    opacity:
        .5;
}


/* =========================================
   STICKY CART
========================================= */

.as-pl-v3-cartbar {

    position:
        fixed;

    left:
        50%;

    bottom:
        10px;

    transform:
        translateX(-50%);

    z-index:
        99999;

    width:
        min(
            650px,
            calc(100% - 24px)
        );

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    padding:
        9px
        10px
        9px
        14px;

    background:
        rgba(15,15,15,.96);

    color:
        #ffffff;

    border-radius:
        9px;

    box-shadow:
        0
        14px
        40px
        rgba(0,0,0,.18);

    backdrop-filter:
        blur(12px);
}


.as-pl-v3-cartbar > div {

    display:
        flex;

    align-items:
        center;

    gap:
        14px;
}


.as-pl-v3-cartbar strong,
.as-pl-v3-cartbar span {

    font-size:
        13px;
}


.as-pl-v3-cartbar span {

    opacity:
        .65;
}


.as-pl-v3-cartbar a {

    background:
        #ffffff;

    color:
        #111111;

    padding:
        7px
        10px;

    border-radius:
        5px;

    text-decoration:
        none;

    font-size:
        11px;

    font-weight:
        700;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1000px) {

    .as-pl-v3-filters {

        grid-template-columns:
            1fr
            1fr;

    }


    .as-pl-v3-filters input {

        grid-column:
            1 / -1;
    }


    .as-pl-v3-table {

        min-width:
            1100px;
    }

}


@media (max-width: 650px) {

    .as-pl-v3 {

        padding:
            15px
            10px
            80px;
    }


    .as-pl-v3-header {

        flex-direction:
            column;

        align-items:
            flex-start;
    }


    .as-pl-v3-header h1 {

        font-size:
            25px !important;
    }


    .as-pl-v3-cartbar {

        width:
            calc(100% - 16px);

        bottom:
            7px;
    }

}
/* Let browser calculate natural widths */
.as-pl-v3-table {
    table-layout: auto !important;
    width: 100% !important;
}

/* Prevent unnecessary wrapping */
.as-pl-v3-table th,
.as-pl-v3-table td {
    white-space: nowrap !important;
}

/* Product name can use flexible width */
.as-pl-v3-table .col-product {
    width: auto !important;
    min-width: 260px !important;
    max-width: none !important;
}

/* Compact utility columns */
.as-pl-v3-table .col-price,
.as-pl-v3-table .col-hs,
.as-pl-v3-table .col-moq,
.as-pl-v3-table .col-qty,
.as-pl-v3-table .col-total,
.as-pl-v3-table .col-order {
    width: 1% !important;
}

/* SKU / UPC should fit content */
.as-pl-v3-table .col-sku,
.as-pl-v3-table .col-upc {
    width: 1% !important;
}

/* Keep images compact */
.as-pl-v3-thumb {
    flex: 0 0 46px !important;
}

.as-pl-v3-thumb img {
    width: 46px !important;
    height: 46px !important;
    object-fit: contain !important;
}

/* Product name may wrap if very long */
.as-pl-v3-name {
    white-space: normal !important;
    line-height: 1.2 !important;
}

/* Wrapper scroll only if really needed */
.as-pl-v3-table-wrap {
    overflow-x: auto !important;
}
/* LIVE SEARCH */

.as-b2b-live-results {
    margin:
        -7px
        0
        10px;

    font-size:
        11px;

    opacity:
        .5;
}


/* Highlight search input when active */

.as-pl-v3-filters
input[name="b2b_q"]:focus {

    outline:
        none !important;

    border-color:
        #888888 !important;
}


/* Smooth filtering */

.as-pl-v3-row {
    transition:
        opacity .1s ease;
}
/* =========================================================
   REMOVE THEME FOOTER COMPLETELY
========================================================= */

/* Twenty Twenty-Five footer */
footer.wp-block-template-part,
.wp-site-blocks > footer,
footer.wp-block-group,
footer.wp-block-template-part {
    display: none !important;
}

/* Remove footer navigation */
footer nav,
footer .wp-block-navigation,
footer .wp-block-site-title,
footer .wp-block-site-logo,
footer .wp-block-paragraph {
    display: none !important;
}

/* Remove unnecessary bottom spacing */
.wp-site-blocks {
    padding-bottom: 0 !important;
}

/* Main page should finish cleanly */
main,
.wp-block-post-content {
    margin-bottom: 0 !important;
    padding-bottom: 80px !important;
}

/* IMPORTANT:
   Don't touch our floating order bar
*/
.as-pl-v3-cartbar,
.as-pl-v3-cart-bar,
.as-b2b-cartbar {
    display: flex !important;
}
/* =========================================================
   AUDIOSTAFF TEAM
========================================================= */

.as-b2b-team {
    max-width: 1360px;
    margin: -65px auto 120px;
    padding: 0 40px;
}

.as-b2b-team-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;

    padding-bottom: 20px;
    border-bottom: 1px solid #dddddd;
}

.as-b2b-team-eyebrow {
    display: block;
    margin-bottom: 7px;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: .14em;
    color: #aaaaaa;
}

.as-b2b-team-title {
    margin: 0;

    font-size: 23px;
    font-weight: 500;
    letter-spacing: -.035em;
}

.as-b2b-team-subtitle {
    margin: 0;

    font-size: 11px;
    color: #999999;
}


/* TEAM GRID */

.as-b2b-team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}


/* PERSON */

.as-b2b-person {
    position: relative;
    padding: 25px 20px 22px 0;
}

.as-b2b-person + .as-b2b-person {
    padding-left: 20px;
    border-left: 1px solid #dddddd;
}


/* INITIAL */

.as-b2b-person-initial {
    width: 35px;
    height: 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 25px;

    background: #111111;
    color: #ffffff;

    border-radius: 50%;

    font-size: 11px;
    font-weight: 700;
}


/* NAME */

.as-b2b-person-name {
    display: block;

    margin-bottom: 5px;

    font-size: 14px;
    font-weight: 700;
    color: #111111;
}


/* ROLE */

.as-b2b-person-role {
    display: block;

    font-size: 9px;
    font-weight: 600;
    letter-spacing: .08em;

    color: #999999;

    text-transform: uppercase;
}


/* HOVER */

.as-b2b-person {
    transition: background .15s ease;
}

.as-b2b-person:hover {
    background: #ffffff;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .as-b2b-team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .as-b2b-person {
        border-bottom: 1px solid #dddddd;
    }

}

@media (max-width: 600px) {

    .as-b2b-team {
        margin-top: -70px;
        padding: 0 22px;
    }

    .as-b2b-team-header {
        display: block;
    }

    .as-b2b-team-subtitle {
        margin-top: 8px;
    }

    .as-b2b-team-grid {
        grid-template-columns: 1fr;
    }

    .as-b2b-person,
    .as-b2b-person + .as-b2b-person {
        padding: 18px 0;
        border-left: 0;
    }

}
.as-connect-wrap {

    max-width:
        850px;

}


.as-connect-head {

    margin-bottom:
        25px;

}


.as-connect-label {

    display:
        block;

    margin-bottom:
        5px;

    font-size:
        9px;

    font-weight:
        700;

    letter-spacing:
        .13em;

    color:
        #aaaaaa;

}


.as-connect-head h2 {

    margin:
        0
        0
        5px;

    font-size:
        25px;

    letter-spacing:
        -.03em;

}


.as-connect-head p {

    margin:
        0;

    color:
        #888888;

    font-size:
        12px;

}


/* FORM */

.as-connect-form {

    padding:
        18px;

    margin-bottom:
        25px;

    background:
        #eeeeee;

    border:
        1px solid #dddddd;

    border-radius:
        9px;

}


.as-connect-form label {

    display:
        block;

    margin-bottom:
        7px;

    font-size:
        11px;

    font-weight:
        700;

}


.as-connect-input-row {

    display:
        grid;

    grid-template-columns:
        1fr auto;

    gap:
        7px;

}


.as-connect-input-row input {

    height:
        40px !important;

    padding:
        0
        11px !important;

    border:
        1px solid #dddddd !important;

    border-radius:
        5px !important;

    font-size:
        12px !important;

}


.as-connect-input-row button {

    padding:
        0
        15px;

    border:
        0;

    border-radius:
        5px;

    background:
        #111111;

    color:
        #ffffff;

    font-size:
        11px;

    font-weight:
        700;

    cursor:
        pointer;

}


/* CONNECTED STORE */

.as-connected-list {

    display:
        grid;

    gap:
        8px;

}


.as-connected-store {

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        20px;

    padding:
        15px
        17px;

    border:
        1px solid #dddddd;

    border-radius:
        8px;

    background:
        #ffffff;

}


.as-connected-store strong {

    display:
        block;

    margin:
        4px
        0;

    font-size:
        13px;

}


.as-connected-store small {

    display:
        block;

    color:
        #999999;

    font-size:
        9px;

}


.as-store-status {

    display:
        flex;

    align-items:
        center;

    gap:
        5px;

    font-size:
        9px;

    font-weight:
        700;

    text-transform:
        uppercase;

    letter-spacing:
        .07em;

}


.as-status-dot {

    width:
        7px;

    height:
        7px;

    border-radius:
        50%;

    background:
        #28a745;

}


.as-disconnect {

    padding:
        6px
        9px;

    border:
        1px solid #dddddd;

    border-radius:
        5px;

    background:
        #ffffff;

    font-size:
        10px;

    cursor:
        pointer;

}


.as-no-stores {

    padding:
        25px;

    border:
        1px dashed #dddddd;

    border-radius:
        8px;

    text-align:
        center;

    color:
        #999999;

    font-size:
        11px;

}


@media (
    max-width: 650px
) {

    .as-connect-input-row {

        grid-template-columns:
            1fr;

    }

    .as-connect-input-row button {

        min-height:
            40px;

    }

}
/* =========================================================
   FORCE FULL WIDTH - BLOCK THEME + WOOCOMMERCE
========================================================= */

body.woocommerce-account,
body.woocommerce-account .wp-site-blocks,
body.woocommerce-account main,
body.woocommerce-account .wp-block-group,
body.woocommerce-account .wp-block-post-content,
body.woocommerce-account .entry-content,
body.woocommerce-account .woocommerce {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* MAIN PAGE */
body.woocommerce-account main {
    padding: 28px 50px 80px !important;
}

/* Remove block-theme constrained widths */
body.woocommerce-account .is-layout-constrained > * {
    max-width: none !important;
}

body.woocommerce-account .wp-block-post-content > * {
    max-width: none !important;
}


/* =========================================================
   ACCOUNT CONTAINER
========================================================= */

body.woocommerce-account .woocommerce {
    display: grid !important;
    grid-template-columns: 220px minmax(0, 1fr) !important;
    gap: 28px !important;

    align-items: start !important;

    max-width: 1350px !important;
    margin: 0 auto !important;
}


/* =========================================================
   NAV LEFT
========================================================= */

body.woocommerce-account .woocommerce-MyAccount-navigation {
    float: none !important;

    width: 220px !important;
    max-width: 220px !important;

    margin: 0 !important;
    padding: 8px !important;

    border: 1px solid #dddddd !important;
    border-radius: 10px !important;

    background: #ffffff !important;
}

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

body.woocommerce-account .woocommerce-MyAccount-navigation li {
    margin: 0 !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li a {
    display: block !important;

    padding: 10px 11px !important;

    font-size: 13px !important;
    line-height: 1.2 !important;

    border-radius: 6px !important;

    text-decoration: none !important;
    color: #222222 !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
    background: #eeeeee !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
    background: #111111 !important;
    color: #ffffff !important;
}


/* =========================================================
   CONTENT RIGHT
========================================================= */

body.woocommerce-account .woocommerce-MyAccount-content {
    float: none !important;

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 24px 28px !important;

    border: 1px solid #dddddd !important;
    border-radius: 10px !important;

    background: #ffffff !important;

    min-height: 420px !important;
}


/* =========================================================
   CONNECTED STORES
========================================================= */

body.woocommerce-account .as-connect-wrap {
    width: 100% !important;
    max-width: none !important;
}

body.woocommerce-account .as-connect-form {
    width: 100% !important;
    max-width: 900px !important;
}

body.woocommerce-account .as-connected-list {
    width: 100% !important;
    max-width: 900px !important;
}


/* =========================================================
   TITLE
========================================================= */

body.woocommerce-account h1 {
    max-width: 1350px !important;

    margin: 0 auto 24px !important;

    font-size: 30px !important;
    letter-spacing: -.03em !important;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 800px) {

    body.woocommerce-account main {
        padding: 20px 14px 70px !important;
    }

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

    body.woocommerce-account .woocommerce-MyAccount-navigation {
        width: 100% !important;
        max-width: none !important;
    }

    body.woocommerce-account .woocommerce-MyAccount-content {
        padding: 20px !important;
    }
}
@media (max-width: 700px) {

    /* =========================
       TABLE
    ========================= */

    .as-pl-v3-table {
        width: 100% !important;
        min-width: 0 !important;

        table-layout: fixed !important;
    }

    .as-pl-v3-table-wrap {
        overflow-x: hidden !important;
    }


    /* =========================
       HIDE UNUSED COLUMNS
    ========================= */

    .as-pl-v3-table th.col-sku,
    .as-pl-v3-table td.col-sku,

    .as-pl-v3-table th.col-upc,
    .as-pl-v3-table td.col-upc,

    .as-pl-v3-table th.col-hs,
    .as-pl-v3-table td.col-hs,

    .as-pl-v3-table th.col-moq,
    .as-pl-v3-table td.col-moq,

    .as-pl-v3-table th.col-total,
    .as-pl-v3-table td.col-total {

        display: none !important;
    }


    /* =========================
       PRODUCT
    ========================= */

    .as-pl-v3-table th.col-product,
    .as-pl-v3-table td.col-product {

        width: 52% !important;

        min-width: 0 !important;

        padding:
            7px
            5px !important;
    }


    .as-pl-v3-product {

        display: flex !important;

        align-items: center !important;

        gap: 7px !important;

        width: 100% !important;

        min-width: 0 !important;
    }


    /* IMAGE */

    .as-pl-v3-thumb {

        flex:
            0 0 38px !important;
    }


    .as-pl-v3-thumb img {

        width:
            38px !important;

        height:
            38px !important;

        max-width:
            38px !important;

        object-fit:
            contain !important;
    }


    /* NAME */

    .as-pl-v3-name {

        display:
            block !important;

        flex:
            1 !important;

        min-width:
            0 !important;

        font-size:
            10.5px !important;

        font-weight:
            600 !important;

        line-height:
            1.2 !important;

        white-space:
            normal !important;

        overflow:
            hidden !important;
    }


    /* =========================
       PRICE
    ========================= */

    .as-pl-v3-table th.col-price,
    .as-pl-v3-table td.col-price {

        display:
            table-cell !important;

        width:
            18% !important;

        padding:
            6px
            3px !important;

        text-align:
            right !important;

        font-size:
            11px !important;

        font-weight:
            600 !important;

        white-space:
            nowrap !important;
    }


    .as-pl-v3-table td.col-price del {

        display:
            none !important;
    }


    .as-pl-v3-table td.col-price ins {

        text-decoration:
            none !important;
    }


    /* =========================
       QTY
    ========================= */

    .as-pl-v3-table th.col-qty,
    .as-pl-v3-table td.col-qty {

        display:
            table-cell !important;

        width:
            12% !important;

        padding:
            5px
            2px !important;

        text-align:
            center !important;
    }


    .as-pl-v3-table
    .as-pl-v3-qty,

    .as-pl-v3-table
    input[type="number"] {

        width:
            38px !important;

        min-width:
            38px !important;

        max-width:
            38px !important;

        height:
            30px !important;

        min-height:
            30px !important;

        padding:
            2px !important;

        margin:
            0 auto !important;

        border:
            1px solid #dddddd !important;

        border-radius:
            6px !important;

        font-size:
            10px !important;

        text-align:
            center !important;

        box-sizing:
            border-box !important;
    }


    /* =========================
       ADD BUTTON
    ========================= */

    .as-pl-v3-table th.col-order,
    .as-pl-v3-table td.col-order {

        display:
            table-cell !important;

        width:
            18% !important;

        padding:
            5px
            3px !important;

        text-align:
            right !important;
    }


    .as-pl-v3-table
    .as-pl-v3-add,

    .as-pl-v3-table
    .as-b2b-add {

        width:
            auto !important;

        min-width:
            44px !important;

        height:
            30px !important;

        min-height:
            30px !important;

        margin:
            0 !important;

        padding:
            0
            8px !important;

        border:
            0 !important;

        border-radius:
            7px !important;

        background:
            #111111 !important;

        color:
            #ffffff !important;

        font-size:
            9px !important;

        font-weight:
            600 !important;

        line-height:
            30px !important;

        white-space:
            nowrap !important;

        cursor:
            pointer !important;
    }


    /* =========================
       HEADER
    ========================= */

    .as-pl-v3-table th {

        font-size:
            8px !important;

        letter-spacing:
            .02em !important;
    }


    /* =========================
       FILTERS
    ========================= */

    .as-pl-v3-filters {

        grid-template-columns:
            1fr
            1fr !important;

        gap:
            6px !important;

        margin-bottom:
            10px !important;
    }


    .as-pl-v3-filters
    input[name="b2b_q"] {

        grid-column:
            1 / -1 !important;

        width:
            100% !important;

        height:
            38px !important;

        font-size:
            12px !important;
    }


    .as-pl-v3-filters select {

        width:
            100% !important;

        height:
            36px !important;

        font-size:
            11px !important;
    }


    .as-pl-v3-filters button,
    .as-pl-v3-clear {

        display:
            none !important;
    }


    /* =========================
       PAGE HEADER
    ========================= */

    .as-pl-v3-header {

        margin-bottom:
            12px !important;
    }


    .as-pl-v3-header h1 {

        font-size:
            24px !important;
    }


    .as-pl-v3-header p {

        font-size:
            12px !important;
    }


    /* =========================
       PAGE
    ========================= */

    .as-pl-v3 {

        padding:
            12px
            6px
            75px !important;
    }

}


/* =========================
   VERY SMALL PHONES
========================= */

@media (max-width: 420px) {

    .as-pl-v3-table th.col-product,
    .as-pl-v3-table td.col-product {

        width:
            50% !important;
    }


    .as-pl-v3-table th.col-price,
    .as-pl-v3-table td.col-price {

        width:
            19% !important;

        font-size:
            10px !important;
    }


    .as-pl-v3-table th.col-qty,
    .as-pl-v3-table td.col-qty {

        width:
            12% !important;
    }


    .as-pl-v3-table th.col-order,
    .as-pl-v3-table td.col-order {

        width:
            19% !important;
    }


    .as-pl-v3-name {

        font-size:
            9.5px !important;
    }


    .as-pl-v3-thumb {

        flex:
            0 0 34px !important;
    }


    .as-pl-v3-thumb img {

        width:
            34px !important;

        height:
            34px !important;
    }


    .as-pl-v3-table
    .as-pl-v3-add,

    .as-pl-v3-table
    .as-b2b-add {

        min-width:
            40px !important;

        padding:
            0
            6px !important;

        font-size:
            8px !important;
    }

}
/* =========================================================
   HIDE HEADER TEXT + NAV
========================================================= */

/* Hide site title / branding text */
header.wp-block-template-part .wp-block-site-title,
header.wp-block-template-part .wp-block-site-logo,
header.wp-block-template-part .wp-block-heading {
    display: none !important;
}

/* Hide all normal navigation links */
header.wp-block-template-part .wp-block-navigation-item,
header.wp-block-template-part .wp-block-navigation-link,
header.wp-block-template-part nav a {
    display: none !important;
}

/* =========================================================
   KEEP CART BUTTON ONLY
========================================================= */

/* WooCommerce Mini Cart block */
header.wp-block-template-part .wp-block-woocommerce-mini-cart {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-left: auto !important;
}

/* Keep actual cart button visible */
header.wp-block-template-part
.wc-block-mini-cart__button {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;

    align-items: center !important;
    justify-content: center !important;

    width: 42px !important;
    height: 42px !important;

    padding: 0 !important;

    border: 0 !important;
    border-radius: 8px !important;

    background: transparent !important;

    cursor: pointer !important;
}

/* Keep cart icon */
header.wp-block-template-part
.wc-block-mini-cart__icon {
    display: block !important;
}

/* Keep item-count badge */
header.wp-block-template-part
.wc-block-mini-cart__badge {
    display: flex !important;
}

/* =========================================================
   HEADER LAYOUT
========================================================= */

header.wp-block-template-part {
    min-height: 70px !important;
}

header.wp-block-template-part .wp-block-group {
    justify-content: flex-end !important;
    align-items: center !important;

    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

/* Remove weird leftover gaps */
header.wp-block-template-part .wp-block-navigation {
    margin: 0 !important;
    padding: 0 !important;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    header.wp-block-template-part {
        min-height: 58px !important;
    }

    header.wp-block-template-part
    .wc-block-mini-cart__button {
        width: 38px !important;
        height: 38px !important;
    }

}
/* =========================================
   ULTRA COMPACT B2B HEADER
========================================= */

header.wp-block-template-part {
    min-height: 46px !important;
    height: 46px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Kill padding/margins inherited from Twenty Twenty-Five */
header.wp-block-template-part > *,
header.wp-block-template-part .wp-block-group,
header.wp-block-template-part .wp-block-group-is-layout-constrained,
header.wp-block-template-part .wp-block-group-is-layout-flex {
    min-height: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Main header container */
header.wp-block-template-part > .wp-block-group {
    height: 46px !important;
    min-height: 46px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;

    padding-left: 24px !important;
    padding-right: 24px !important;
}

/* Cart */
header.wp-block-template-part .wp-block-woocommerce-mini-cart {
    margin: 0 !important;
    padding: 0 !important;
}

header.wp-block-template-part .wc-block-mini-cart__button {
    width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Remove space immediately after header */
header.wp-block-template-part + main {
    margin-top: 0 !important;
}

/* MOBILE */
@media (max-width: 700px) {

    header.wp-block-template-part,
    header.wp-block-template-part > .wp-block-group {
        height: 42px !important;
        min-height: 42px !important;
    }

    header.wp-block-template-part > .wp-block-group {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    header.wp-block-template-part .wc-block-mini-cart__button {
        width: 34px !important;
        height: 34px !important;
    }
}
