.b-audit-home {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}
.b-audit-cats {
    background: #fff;
    border: 1px solid #e6edf0;
    border-radius: 8px;
    padding: 14px 12px;
}
.b-audit-cats h2 {
    margin: 0 0 10px;
    font-size: 16px;
}
.b-audit-cats a {
    display: block;
    padding: 6px 8px;
    color: inherit;
    text-decoration: none;
}
.b-audit-cats a.is-child {
    padding-left: 18px;
    color: #5c6b73;
    font-size: 13px;
}
.b-audit-search {
    display: flex;
    gap: 8px;
    margin: 0 0 18px;
}
.b-audit-search input {
    flex: 1 1 auto;
    min-width: 0;
    height: 40px;
    border: 1px solid #d8e1e6;
    border-radius: 6px;
    padding: 0 12px;
}
.b-audit-search button,
.b-pay__submit {
    border: 0;
    background: var(--accent, #e46c00);
    color: #fff;
    border-radius: 6px;
    padding: 0 18px;
    height: 40px;
}
.b-audit-rec-title {
    margin: 22px 0 12px;
    font-size: 18px;
}
.b-pay {
    background: #fff;
    border: 1px solid #e6edf0;
    border-radius: 8px;
    padding: 18px 16px 22px;
}
.b-pay h1 {
    margin: 0 0 16px;
    font-size: 22px;
}
.b-pay__head,
.b-pay__row {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.2fr) 120px minmax(120px, 0.8fr);
    gap: 12px;
    align-items: center;
}
.b-pay__head {
    color: #6b7780;
    font-size: 13px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e6edf0;
}
.b-pay__row {
    padding: 14px 0;
    border-bottom: 1px solid #eef2f4;
}
.b-pay__product {
    display: flex;
    gap: 10px;
    align-items: center;
    min-width: 0;
}
.b-pay__product img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    background: #f6f8f9;
    border-radius: 4px;
}
.b-pay__product a {
    color: inherit;
}
.b-pay__qty {
    width: 64px;
    height: 32px;
    display: inline-block;
}
.b-pay__line {
    color: var(--accent, #e46c00);
    font-weight: 600;
}
.b-pay__block {
    margin-top: 16px;
}
.b-pay__block label,
.b-pay__label {
    display: block;
    margin-bottom: 6px;
}
.b-pay__address {
    display: block;
    font-weight: 400;
}
.b-pay__hint,
.b-pay__empty {
    color: #6b7780;
    margin-top: 6px;
}
.b-pay__summary {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #e6edf0;
}
.b-pay__summary strong {
    color: var(--accent, #e46c00);
    font-size: 22px;
    margin-left: 8px;
}
.b-pay__submit {
    min-width: 180px;
    height: 44px;
    font-size: 16px;
}
.b-pay__submit:disabled {
    opacity: 0.5;
}
.b-pay__scope {
    color: #5c6b73;
    margin: -8px 0 14px;
}
.b-pay__qr {
    margin-top: 16px;
}
.b-pay__qr img {
    display: block;
    width: 220px;
    height: 220px;
    background: #fff;
}
@media (max-width: 767px) {
    .product-show {
        display: block;
    }
    .product-gallery img {
        max-height: 220px;
        width: auto;
        margin: 0 auto;
    }
    .action-box .btn {
        width: 100%;
        margin-top: 10px;
    }
    .storefront-modern .site-header__nav-scroll {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
    }
    .storefront-modern .top-category-item {
        flex: 0 0 auto;
    }
}
@media (max-width: 767px) {
    .b-audit-home {
        display: block;
    }
    .b-audit-cats {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        margin-bottom: 14px;
        padding: 10px;
    }
    .b-audit-cats h2,
    .b-audit-cats a.is-child {
        display: none;
    }
    .b-audit-cats a {
        flex: 0 0 auto;
        border: 1px solid #e6edf0;
        border-radius: 999px;
        padding: 6px 12px;
    }
    .b-pay__head {
        display: none;
    }
    .b-pay__row,
    .b-pay__summary {
        display: block;
    }
    .b-pay__row > div {
        margin-top: 8px;
    }
    .b-pay__submit {
        width: 100%;
        margin-top: 12px;
    }
}

/* Only layouts.shop loads this stylesheet; A/C storefront assets stay unchanged. */
.storefront-modern .site-mode-b .site-header__nav-scroll { display: flex; flex-wrap: wrap; gap: 0; padding: 5px 0; }
/* Header sits inside .site-mode-b; nav items no longer occupy three rows. */
.storefront-modern .site-mode-b .top-category-item { flex: 1 1 auto; }
.storefront-modern .site-mode-b .top-category-item::after { display: none; }
.storefront-modern .site-mode-b .top-category-toggle { padding: 13px 10px; font-size: 13px; white-space: nowrap; }
.storefront-modern .site-mode-b .top-category-submenu { max-height: min(65vh, 480px); overflow-y: auto; }
.storefront-modern .site-mode-b .top-category-item:last-child .top-category-submenu { left: auto; right: 0; }
.b-shop-intro { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 25px 0 27px; }
.b-shop-eyebrow { margin: 0 0 7px; color: #6a7279; font-size: 12px; letter-spacing: .06em; }
.b-shop-intro h1 { margin: 0 0 10px; font-size: clamp(22px, 2.5vw, 30px); line-height: 1.4; font-weight: 600; }
.b-shop-intro p:last-child { margin: 0; color: #52616b; font-size: 13px; line-height: 1.8; }
.b-shop-link { flex-shrink: 0; color: #263e4a; font-size: 13px; }
.b-shop-link span { margin-left: 10px; }
.b-audit-home { grid-template-columns: 190px minmax(0, 1fr); gap: 20px; padding-bottom: 28px; }
.b-audit-main { min-width: 0; }
.b-audit-cats { padding: 16px 12px; }
.b-audit-cats h2 { padding: 0 8px; margin-bottom: 12px; }
.b-audit-cats .b-shop-all { display: flex; justify-content: space-between; min-height: 44px; align-items: center; border-bottom: 1px solid #e6edf0; margin-bottom: 4px; font-size: 13px; }
.b-shop-category { border-bottom: 1px solid #eef2f4; }
.b-shop-category:last-child { border: 0; }
.b-shop-category summary { padding: 13px 8px; cursor: pointer; font-size: 13px; min-height: 44px; }
.b-audit-cats .b-shop-category a { min-height: 40px; display: flex; align-items: center; padding-left: 18px; font-size: 12px; }
.b-shop-category[open] { padding-bottom: 8px; }
.b-shop-category a:hover, .b-shop-filter a:hover { background: #f1f5f5; }
.storefront-modern .site-mode-b .home-block { padding: 20px; margin-bottom: 20px; }
.storefront-modern .site-mode-b .home-head { margin-bottom: 17px; }
.storefront-modern .site-mode-b .home-head h2 { font-size: 23px; }
.storefront-modern .site-mode-b .home-more { font-size: 12px; white-space: nowrap; }
.b-shop-card-category { margin: 0 0 6px; font-size: 11px; color: #64737d; }
.storefront-modern .site-mode-b .product-card-commerce form { margin: 0; }
.storefront-modern .site-mode-b button.btn-add-cart-block { width: 100%; min-height: 40px; font: inherit; font-size: 12px; cursor: pointer; }
.b-shop-no-image { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: #64737d; font-size: 12px; }
.b-shop-breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; padding: 20px 0; color: #64737d; font-size: 12px; }
.b-shop-breadcrumb a { color: #334d5d; }
.b-shop-list { background: #fff; border: 1px solid #e6edf0; border-radius: 10px; padding: 24px; margin-bottom: 28px; }
.b-shop-list-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.b-shop-list-heading h1 { margin: 0; font-size: 26px; line-height: 1.4; overflow-wrap: anywhere; }
.b-shop-list-heading > p { margin: 0; flex-shrink: 0; font-size: 12px; }
.b-shop-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.b-shop-filter a { display: flex; align-items: center; min-height: 38px; padding: 7px 14px; border: 1px solid #e2e8eb; border-radius: 5px; color: #405362; font-size: 13px; }
.b-shop-filter a.is-current { background: #243b49; border-color: #243b49; color: #fff; }
.b-shop-list-search { align-items: center; padding-top: 18px; border-top: 1px solid #e6edf0; }
.b-shop-sort { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 12px; font-weight: 400; white-space: nowrap; }
.b-shop-sort select { height: 40px; border: 1px solid #d8e1e6; border-radius: 6px; padding: 0 8px; background: #fff; color: #243b49; max-width: 150px; }
.b-shop-empty { padding: 30px 0; text-align: center; }
.b-shop-empty h2 { font-size: 20px; }
.b-shop-empty p { color: #64737d; }
.b-shop-facts { margin: 20px 0; border-top: 1px solid #e6edf0; }
.b-shop-facts > div { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid #e6edf0; font-size: 13px; line-height: 1.7; }
.b-shop-facts dt { color: #64737d; font-weight: 400; }
.b-shop-facts dd { margin: 0; overflow-wrap: anywhere; }
.b-shop-purchase-note { margin: 20px 0 28px; padding: 22px; background: #fff; border: 1px solid #e6edf0; border-radius: 8px; }
.b-shop-purchase-note h2 { font-size: 18px; margin: 0 0 12px; }
.b-shop-purchase-note p { color: #52616b; font-size: 13px; line-height: 1.8; }
.b-shop-guide-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 16px; font-size: 13px; }
.b-shop-progress { display: flex; flex-wrap: wrap; gap: 22px; padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid #e6edf0; color: #64737d; font-size: 12px; }
.b-shop-progress [aria-current] { color: #263e4a; font-weight: 700; }
.b-pay__line span { display: block; color: #64737d; font-size: 12px; font-weight: 400; margin-top: 4px; }
.b-pay__block .radio-inline { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; min-height: 44px; border: 1px solid #d8e1e6; border-radius: 6px; font-weight: 400; }
.b-pay__block .radio-inline input { position: static; margin: 0; }
.b-pay__block .form-control { max-width: 640px; min-height: 44px; }
.b-pay__qr { border-top: 1px solid #e6edf0; padding: 22px 0 0; text-align: center; }
.b-pay__qr img { margin: 0 auto 14px; }
.b-pay__qr p { font-size: 13px; }
.b-shop-status { padding: 20px; margin: 0 0 20px; background: #f0f6f3; border: 1px solid #dbe9df; border-radius: 8px; }
.b-shop-status h2 { margin: 0 0 10px; font-size: 21px; }
.b-shop-status p { font-size: 13px; line-height: 1.8; }
.site-mode-b :is(a, button, summary, input, select):focus-visible { outline: 2px solid #b96526; outline-offset: 3px; }
@media (max-width: 991px) {
    .b-shop-intro { align-items: flex-start; flex-direction: column; gap: 12px; }
    .b-audit-home { grid-template-columns: 160px minmax(0, 1fr); gap: 14px; }
    .storefront-modern .site-mode-b .home-block { padding: 16px; }
    .b-audit-main .products-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .storefront-modern .site-mode-b .site-header__nav-scroll { flex-wrap: nowrap; overflow-x: auto; }
    .storefront-modern .site-mode-b .top-category-item { flex: 0 0 auto; }
    .b-shop-intro { padding: 21px 0; gap: 10px; }
    .b-shop-intro h1 { font-size: 23px; }
    .b-audit-home { display: block; }
    .b-audit-cats { display: block; padding: 12px; overflow: visible; }
    .b-audit-cats h2 { display: block; font-size: 14px; }
    .b-audit-cats .b-shop-all { border-radius: 0; border: 0; padding: 0 8px; margin: 0; }
    .b-shop-category { display: inline-block; vertical-align: top; border: 0; }
    .b-shop-category summary { font-size: 12px; padding: 9px; }
    .b-shop-category[open] { display: block; background: #f7f9fa; border-radius: 5px; }
    .b-audit-cats .b-shop-category a { display: inline-flex; min-height: 40px; padding: 6px 10px; margin: 3px; border-radius: 4px; }
    .storefront-modern .site-mode-b .home-block { padding: 14px 12px; }
    .storefront-modern .site-mode-b .home-head h2 { font-size: 21px; }
    .storefront-modern .site-mode-b .home-block .products-list { gap: 12px 9px; }
    .storefront-modern .site-mode-b .product-price { font-size: 19px; }
    .b-shop-breadcrumb { padding: 16px 0; }
    .b-shop-list { padding: 16px 12px; }
    .b-shop-list-heading { align-items: flex-start; }
    .b-shop-list-heading h1 { font-size: 22px; }
    .b-shop-filter { gap: 6px; }
    .b-shop-filter a { font-size: 12px; padding: 7px 10px; }
    .b-shop-list-search { flex-wrap: wrap; }
    .b-shop-list-search input { flex-basis: 100%; }
    .b-shop-sort { flex: 1; }
    .b-shop-sort select { flex: 1; max-width: none; }
    .b-shop-purchase-note { padding: 18px 14px; }
    .b-shop-facts > div { grid-template-columns: 65px minmax(0, 1fr); }
    .b-pay__product { align-items: flex-start; }
    .b-pay__product a, .b-pay__product span { overflow-wrap: anywhere; }
    .b-pay__row > div:not(:first-child) { padding-left: 82px; }
    .b-pay__qty { width: 60px; min-height: 36px; }
    .b-pay__block .radio-inline { margin: 0 8px 8px 0; }
    .b-pay__summary p { font-size: 13px; line-height: 1.8; }
    .b-pay__summary strong { white-space: nowrap; }
}
@media (max-width: 767px) {
    /* The horizontal header already provides every category and subcategory. */
    .b-audit-cats { display: none; }
    .b-shop-intro { padding: 18px 0; }
    .b-shop-intro .b-shop-eyebrow { display: none; }
    .b-shop-intro h1 { font-size: 22px; }
}
.storefront-modern .site-mode-b .top-category-item { display: flex; align-items: center; justify-content: center; }
.storefront-modern .site-mode-b .top-category-item > a { padding-right: 4px; }
.storefront-modern .site-mode-b .top-category-item > .b-shop-category-expand { min-width: 26px; padding: 13px 7px 13px 3px; }
.storefront-modern .site-mode-b .top-category-item > .b-shop-category-expand .top-category-caret { margin: 0; }
@media (max-width: 767px) {
    .storefront-modern .site-mode-b .top-category-item > .b-shop-category-expand,
    .storefront-modern .site-mode-b .top-category-submenu { display: none !important; }
    .storefront-modern .site-mode-b .top-category-item > a { padding: 13px 12px; }
}
.b-shop-category summary::after { content: '+'; float: right; color: #788892; }
.b-shop-category[open] summary::after { content: '−'; }
@media (min-width: 768px) {
    .storefront-modern .site-mode-b .site-header__logo img { width: 84px; height: 84px; }
    .storefront-modern .site-mode-b .site-header__main { padding: 14px 0; }
    .b-shop-intro { padding: 20px 0 22px; }
    .b-shop-intro .b-shop-eyebrow { display: none; }
}
