body {
    width: 100%;
    height: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #444;
}

legend {
    padding: 7px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

label {
    font-size: 12px;
    font-weight: normal;
}

/* Chrome border line */
button:focus {
    outline: none !important;
}

/* container */
#container {
    width: 100%;
    min-height: 100%;
    position: absolute;
    margin-bottom: 300px;
}

/* content */
#content,
#column-left,
#column-right {
    padding-bottom: auto;
}

@media (min-width: 576px) {

    #content,
    #column-left,
    #column-right {
        padding-bottom: auto;
    }
}

#alert {
    z-index: 9999;
    position: fixed;
    top: 30%;
    left: 50%;
    width: 400px;
    margin-left: -200px;
}

@media (min-width: 992px) {
    #alert {
        width: 600px;
        margin-left: -300px;
    }
}

@media (min-width: 1140px) {
    #alert {
        width: 600px;
        margin-left: -300px;
    }
}

@media (min-width: 1320px) {
    #alert {
        width: 600px;
        margin-left: -300px;
    }
}

#alert .alert {
    margin-bottom: 15px;
}

#alert .alert-primary {
    box-shadow: 0 0 0 5px rgb(var(--bs-primary-rgb), 0.1);
}

#alert .alert-secondary {
    box-shadow: 0 0 0 5px rgb(var(--bs-secondary-rgb), 0.1);
}

#alert .alert-success {
    box-shadow: 0 0 0 5px rgb(var(--bs-success-rgb), 0.1);
}

#alert .alert-warning {
    box-shadow: 0 0 0 5px rgb(var(--bs-warning-rgb), 0.1);
}

#alert .alert-danger {
    box-shadow: 0 0 0 5px rgb(var(--bs-danger-rgb), 0.1);
}

#alert .alert-info {
    box-shadow: 0 0 0 5px rgb(var(--bs-info-rgb), 0.1);
}

#alert .alert-light {
    box-shadow: 0 0 0 5px rgb(var(--bs-light-rgb), 0.1);
}

#alert .alert-dark {
    box-shadow: 0 0 0 5px rgb(var(--bs-dark-rgb), 0.1);
}

/* top */
#top {
    background-color: var(--bs-tertiary-bg);
    border-bottom: 1px solid var(--bs-border-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 5px;
}

#top ul.list-inline {
    margin-bottom: 0;
}

#top .list-inline-item>a,
#top .list-inline-item .dropdown>a {
    font-size: 1.1em;
    color: var(--bs-gray-600);
    line-height: 40px;
    vertical-align: middle;
    padding: 10px 0px 5px 0px;
}

/* logo */
#logo {
    text-align: center;
    margin: 7px 0 7px 0;
}

#logo img {
    max-width: 200px;
}

@media (min-width: 768px) {
    #logo {
        text-align: left;
    }
}

/* search */
#search {
    margin-bottom: 10px;
}

#search .form-control-lg {
    height: 40px;
    font-size: 12px;
    line-height: 20px;
    padding: 0 10px;
}

#search .btn-lg {
    font-size: 15px;
    line-height: 18px;
    padding: 0.57rem 35px;
    text-shadow: 0 1px 0 #FFF;
}

/* cart */
#cart {
    margin-bottom: 10px;
}

#cart .img-thumbnail {
    min-width: 100px;
}

#cart .btn-lg {
    font-size: 15px;
    line-height: 18px;
    padding: 14px 35px;
}

#cart .dropdown-menu {
    background: #eee;
}

#cart .dropdown-menu li {
    min-width: 300px;
}

@media (max-width: 768px) {
    #cart .dropdown-menu li {
        min-width: 100%;
    }
}

/* menu */
#menu {
    background-color: #8a5a2b;
    background-image: linear-gradient(to bottom, #9a6835, #6f4521);
    background-repeat: repeat-x;
    border: 1px solid #6f4521;
    border-color: #6f4521 #6f4521 #4f3318;
    min-height: 40px;
    border-radius: 4px;
    padding: 0 1rem;
    margin-bottom: 20px;
}

#menu .navbar-nav>li>a {
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    padding: 10px 15px 10px 15px;
    background-color: transparent;
}

#menu .navbar-nav>li>a:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

#menu .dropdown-menu {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

#menu .dropdown-inner {
    display: flex;
    flex-direction: column;
}

#menu .dropdown-inner ul {
    width: 100%;
    min-width: 200px;
}

@media (min-width: 960px) {
    #menu .dropdown:hover .dropdown-menu {
        display: block;
    }

    #menu .dropdown-inner {
        flex-direction: row;
    }

    #menu .nav-item+.nav-item+.nav-item .dropdown-column-3 {
        left: -200px;
    }

    #menu .nav-item+.nav-item+.nav-item .dropdown-column-4 {
        left: -400px;
    }

    #menu .nav-item+.nav-item+.nav-item+.nav-item .dropdown-column-2 {
        left: -200px;
    }

    #menu .nav-item+.nav-item+.nav-item+.nav-item .dropdown-column-3 {
        left: -400px;
    }

    #menu .nav-item+.nav-item+.nav-item+.nav-item .dropdown-column-4 {
        left: -600px;
    }
}

#category {
    float: left;
    font-size: 16px;
    font-weight: 700;
    line-height: 40px;
    color: #fff;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

#menu .navbar-toggler i {
    color: #fff;
    border-color: #fff;
    font-size: 0.9em;
}

/* default boostrap changes */
div.required .col-form-label:before,
div.required .form-label:before {
    content: "* ";
    color: #F00;
    font-weight: bold;
}

.form-switch-lg {
    font-size: 20px;
    min-height: 30px;
    line-height: 30px;
}

.nav-tabs {
    margin-bottom: 15px;
}

.form-check .form-check-input {
    margin-top: 0.25rem;
}

@media (min-width: 768px) {
    .col-form-label {
        text-align: right;
    }
}

/* footer */
footer {
    border: 1px solid #000000;
    position: absolute;

    width: 100%;
    padding-top: 30px;
    background-color: #303030;
    border-top: 1px solid #ddd;
    color: #e2e2e2;
}

footer hr {
    border-top: none;
    border-bottom: 1px solid #666;
}

footer a {
    color: #ccc;
    text-decoration: none;
}

footer a:hover {
    color: #fff;
}

footer h5 {
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: bold;
    color: #fff;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* breadcrumb */
.breadcrumb {
    margin: 0 0 20px 0;
    padding: 8px 0;
    border: 1px solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    background-color: var(--bs-tertiary-bg);
}

.breadcrumb i {
    font-size: 15px;
}

.breadcrumb>li.breadcrumb-item {
    text-shadow: 0 1px 0 #FFF;
    padding: 0 20px;
    position: relative;
    white-space: nowrap;
}

.breadcrumb>li.breadcrumb-item>a {
    text-decoration: none;
}

.breadcrumb>li.breadcrumb-item:after {
    content: "";
    display: block;
    position: absolute;
    top: -3px;
    right: -5px;
    width: 29px;
    height: 29px;
    border-right: 1px solid var(--bs-border-color);
    border-bottom: 1px solid var(--bs-border-color);
    transform: rotate(-45deg);
}

.breadcrumb>li.breadcrumb-item+li:before {
    content: "";
    padding: 0;
}

.product-thumb {
    border: 1px solid #ddd;
    position: relative;
    height: 100%;
}

.product-thumb .image {
    text-align: center;
}

.product-thumb .image a:hover {
    opacity: 0.8;
}

.product-thumb .description {
    padding: 15px;
    margin-bottom: 45px;
}

.product-thumb .description h4 {
    font-weight: bold;
}

.product-thumb .button {
    display: flex;
    position: absolute;
    width: 100%;
    bottom: 0;
}

.product-thumb .button button {
    width: 33.33%;
    border: none;
    border-top: 1px solid var(--bs-border-color);
    background-color: var(--bs-tertiary-bg);
    color: var(--bs-gray-600);
    line-height: 38px;
    text-align: center;
}

.product-thumb .button button:hover {
    color: var(--bs-gray-600);
    background-color: #ddd;
    text-decoration: none;
    cursor: pointer;
}

.product-thumb .button button+button {
    border-left: 1px solid var(--bs-border-color);
}

@media (min-width: 960px) {
    .product-list .product-thumb {
        display: flex;
    }

    .product-list .product-thumb .image {
        flex-direction: column;
        margin-bottom: 0px;
    }

    .product-list .product-thumb .content {
        flex-direction: column;
        flex: 75%;
        position: relative;
    }

    .product-list .product-thumb .button {
        border-left: 1px solid #ddd;
        width: calc(100% - 15px);
        margin-left: 15px;
    }
}

.rating .fa-stack {
    width: 20px;
}

.rating .fa-star {
    color: #999;
    font-size: 15px;
}

.rating .fa-star {
    color: #FC0;
    font-size: 15px;
}

.rating .fa-star+.fa-star {
    color: #E69500;
}

/* product list */
.price {
    color: #444;
}

.price-new {
    font-weight: 600;
}

.price-old {
    color: #dc512c;
    text-decoration: line-through;
}

.price-tax {
    color: #999;
    font-size: 12px;
    display: block;
}

/* blog */
.blog-thumb {
    border: 1px solid #ddd;
    margin-bottom: 15px;
}

.blog-thumb h4 {
    font-weight: bold;
}

.blog-thumb .image {
    text-align: center;
    margin-bottom: 15px;
}

.blog-thumb .image a:hover {
    opacity: 0.8;
}

.blog-thumb .description {
    padding: 15px;
}

/* Theme Custom CSS */
#cookie {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    z-index: 9999;
    opacity: 0.95;
    color: #ecf0f1;
    background: #343a40;
}

#cookie div {
    font-size: 16px;
    color: #FFFFFF;
}

/* =========================================================
   B2B Guest Layout
   Applied only when <body> has class .b2b-guest (i.e. visitor
   is not logged in). Strips storefront chrome so the login
   and registration pages look clean and corporate.
   ========================================================= */
body.b2b-guest {
    background-color: #f6f7f9;
}

body.b2b-guest #container {
    position: static;
    margin-bottom: 0;
}

body.b2b-guest #content,
body.b2b-guest #column-left,
body.b2b-guest #column-right {
    padding-bottom: 40px;
}

body.b2b-guest .breadcrumb {
    display: none;
}

body.b2b-guest main {
    padding-top: 40px;
    padding-bottom: 60px;
}

/* Dark top header on guest pages */
.b2b-header {
    background-color: #111418;
    color: #ffffff;
    padding: 18px 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.b2b-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.b2b-brand {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.b2b-brand:hover {
    color: #ffffff;
    opacity: 0.9;
    text-decoration: none;
}

.b2b-brand img {
    max-height: 36px;
    width: auto;
}

.b2b-nav {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    margin: 0 auto;
}

.b2b-nav a {
    color: #d8dade;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.15s ease;
}

.b2b-nav a:hover {
    color: #ffffff;
    text-decoration: none;
}

.b2b-actions {
    display: flex;
    gap: 10px;
}

.b2b-btn {
    display: inline-block;
    padding: 8px 22px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.b2b-btn-outline {
    background-color: #ffffff;
    color: #111418;
    border: 1px solid #ffffff;
}

.b2b-btn-outline:hover {
    background-color: transparent;
    color: #ffffff;
    text-decoration: none;
}

@media (max-width: 768px) {
    .b2b-header-inner {
        justify-content: center;
        text-align: center;
    }

    .b2b-nav {
        margin: 0;
        justify-content: center;
    }
}

/* =========================================================
   B2B LANDING PAGE  (login / register / forgot)
   ========================================================= */
body.b2b-landing {
    background-color: #ffffff;
    color: #1f2937;
    font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body.b2b-landing #container {
    position: static;
    margin-bottom: 0;
}

body.b2b-landing main.b2b-landing-main {
    padding: 0;
    margin: 0;
}

body.b2b-landing #alert {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    width: min(420px, calc(100% - 32px));
    pointer-events: none;
}

body.b2b-landing #alert .alert {
    pointer-events: auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border: 0;
}

.b2b-landing-page {
    --b2b-accent: #8a5a2b;
    --b2b-accent-dark: #6f4521;
    --b2b-accent-soft: #f4ece1;
    --b2b-text: #1f2937;
    --b2b-muted: #6b7280;
    --b2b-border: #e5e7eb;
    --b2b-card-shadow: 0 12px 32px rgba(17, 24, 39, 0.08);
    position: relative;
    width: 100%;
    min-height: 100vh;
}

.b2b-top-right-link {
    position: absolute;
    top: 22px;
    right: 32px;
    z-index: 10;
    font-size: 13px;
    color: #000000;
    font-weight: 700;
    text-decoration: none;
}

.b2b-top-right-text {
    color: #000000;
    font-weight: 700;
    margin-right: 6px;
}

.b2b-top-right-cta {
    color: #000000;
    font-weight: 700;
}

.b2b-top-right-link:hover,
.b2b-top-right-link:hover .b2b-top-right-text,
.b2b-top-right-link:hover .b2b-top-right-cta {
    color: #000000;
    text-decoration: underline;
}

.b2b-landing-page .b2b-top-left-logo {
    position: absolute;
    top: 22px;
    left: 32px;
    z-index: 10;
    display: block;
    text-decoration: none;
}

.b2b-landing-page .b2b-top-left-logo:hover {
    text-decoration: none;
    opacity: 0.9;
}

.b2b-landing-page .b2b-top-left-logo img {
    display: block;
    max-width: 170px;
    width: auto;
    max-height: 72px;
    object-fit: contain;
}

/* ----- HERO (centered login card) ----- */
.b2b-hero {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 720px;
    background-color: #efece6;
    background-image: url('../../../image/textile_ui_assets/hero_textile_image.png');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

.b2b-hero-centered {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: min(100vh, 900px);
    padding: 56px 24px;
    background-position: center center;
}

.b2b-hero-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 440px;
}

.b2b-hero-center-wide {
    max-width: 960px;
}

.b2b-hero-left {
    position: relative;
    padding: 56px 64px;
    display: flex;
    align-items: center;
    /* Soft light gradient over the cream area of the photo so the text and
     features remain readable regardless of the underlying image tones. */
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0.92) 0%,
            rgba(255, 255, 255, 0.85) 55%,
            rgba(255, 255, 255, 0) 100%);
}

.b2b-hero-content {
    max-width: 520px;
    width: 100%;
}

.b2b-hero-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 56px 64px;
}

/* ----- Logo ----- */
.b2b-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 44px;
    color: var(--b2b-text);
}

.b2b-logo:hover {
    text-decoration: none;
    color: var(--b2b-text);
}

.b2b-logo-mark {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.b2b-logo-mark svg {
    width: 100%;
    height: 100%;
}

.b2b-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.b2b-logo-title {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.b2b-logo-tagline {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--b2b-muted);
    margin-top: 4px;
}

.b2b-accent {
    color: var(--b2b-accent);
}

/* ----- Hero text ----- */
.b2b-hero-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin: 0 0 16px;
    color: var(--b2b-text);
}

.b2b-hero-subtitle {
    font-size: 15px;
    color: var(--b2b-muted);
    line-height: 1.55;
    margin: 0 0 36px;
}

/* ----- Feature list ----- */
.b2b-features {
    list-style: none;
    padding: 0;
    margin: 0 0 36px;
}

.b2b-features li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

.b2b-feature-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-color: var(--b2b-accent-soft);
    color: var(--b2b-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.b2b-features strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--b2b-text);
    line-height: 1.3;
}

.b2b-features em {
    display: block;
    font-style: normal;
    font-size: 12px;
    color: var(--b2b-muted);
    margin-top: 2px;
}

/* ----- Trust badge (5000+) ----- */
.b2b-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background-color: var(--b2b-accent);
    color: #ffffff;
    padding: 14px 22px;
    border-radius: 10px;
}

.b2b-trust-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.b2b-trust-text {
    font-size: 11px;
    line-height: 1.3;
    letter-spacing: 0.5px;
}

.b2b-trust-text strong {
    font-size: 18px;
    font-weight: 700;
}

/* ----- Auth card (right side) ----- */
.b2b-auth-card {
    width: 100%;
    max-width: 440px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: var(--b2b-card-shadow);
    overflow: hidden;
    margin-left: auto;
}

.b2b-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--b2b-border);
}

.b2b-tab {
    text-align: center;
    padding: 16px 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--b2b-muted);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.b2b-tab i {
    margin-right: 6px;
}

.b2b-tab:hover {
    color: var(--b2b-text);
    text-decoration: none;
}

.b2b-tab-active {
    color: var(--b2b-accent);
    border-bottom-color: var(--b2b-accent);
    font-weight: 600;
}

.b2b-auth-body {
    padding: 28px 32px 32px;
}

.b2b-auth-title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin: 8px 0 6px;
    color: var(--b2b-text);
}

.b2b-auth-subtitle {
    font-size: 13px;
    text-align: center;
    color: var(--b2b-muted);
    margin: 0 0 24px;
}

.b2b-login-info {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 18px;
    padding: 10px 12px;
    border-radius: 8px;
    background-color: var(--b2b-accent-soft);
    border: 1px solid #e8d9c8;
    color: var(--b2b-text);
    font-size: 12px;
    line-height: 1.45;
}

.b2b-login-info[hidden] {
    display: none !important;
}

.b2b-login-info > i {
    color: var(--b2b-accent);
    font-size: 15px;
    margin-top: 1px;
    flex-shrink: 0;
}

.b2b-login-info > span {
    flex: 1;
}

.b2b-login-info-dismiss {
    border: 0;
    background: transparent;
    color: var(--b2b-muted);
    padding: 0;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
}

.b2b-login-info-dismiss:hover {
    color: var(--b2b-text);
}

/* ----- Form fields ----- */
.b2b-field {
    margin-bottom: 14px;
}

.b2b-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--b2b-text);
    margin-bottom: 6px;
}

.b2b-input {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid var(--b2b-border);
    border-radius: 8px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    background-color: #ffffff;
}

.b2b-input:focus-within {
    border-color: var(--b2b-accent);
    box-shadow: 0 0 0 3px rgba(138, 90, 43, 0.12);
}

.b2b-input>i {
    position: absolute;
    left: 14px;
    color: var(--b2b-muted);
    font-size: 14px;
    pointer-events: none;
}

.b2b-input input {
    flex: 1;
    width: 100%;
    padding: 11px 14px 11px 40px;
    border: 0;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: var(--b2b-text);
    border-radius: 8px;
}

.b2b-input input::placeholder {
    color: #9ca3af;
}

.b2b-password-toggle {
    background: none;
    border: 0;
    color: var(--b2b-muted);
    padding: 0 14px;
    font-size: 14px;
    cursor: pointer;
}

.b2b-password-toggle:hover {
    color: var(--b2b-text);
}

.b2b-row-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 6px 0 18px;
}

.b2b-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--b2b-muted);
    margin: 0;
    cursor: pointer;
}

.b2b-checkbox input {
    accent-color: var(--b2b-accent);
}

.b2b-forgot-link {
    font-size: 13px;
    color: var(--b2b-accent);
    text-decoration: none;
    font-weight: 500;
}

.b2b-forgot-link:hover {
    text-decoration: underline;
    color: var(--b2b-accent);
}

.b2b-btn-primary {
    width: 100%;
    background-color: var(--b2b-accent);
    color: #ffffff;
    border: 0;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.b2b-btn-primary:hover {
    background-color: var(--b2b-accent-dark);
}

/* ----- Register-specific helpers ----- */
.b2b-auth-card-wide {
    max-width: 960px;
}

.b2b-auth-card-wide .b2b-auth-body {
    max-height: min(82vh, 920px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.b2b-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.b2b-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.b2b-select {
    flex: 1;
    width: 100%;
    padding: 11px 14px 11px 40px;
    border: 0;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: var(--b2b-text);
    border-radius: 8px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.b2b-textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--b2b-border);
    border-radius: 8px;
    outline: none;
    background: #ffffff;
    font-size: 14px;
    color: var(--b2b-text);
    font-family: inherit;
    resize: vertical;
}

.b2b-textarea:focus {
    border-color: var(--b2b-accent);
    box-shadow: 0 0 0 3px rgba(138, 90, 43, 0.12);
}

.b2b-choice-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding: 6px 0;
}

.b2b-choice {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: 13px;
    color: var(--b2b-text);
    cursor: pointer;
}

.b2b-choice input {
    accent-color: var(--b2b-accent);
}

.b2b-agree {
    margin: 14px 0 16px;
    align-items: flex-start;
}

.b2b-agree span {
    line-height: 1.5;
}

.b2b-agree a {
    color: var(--b2b-accent);
}

.b2b-auth-foot {
    margin: 18px 0 0;
    text-align: center;
    font-size: 13px;
    color: var(--b2b-muted);
}

.b2b-auth-foot a {
    color: var(--b2b-accent);
    font-weight: 500;
}

.b2b-landing-page .invalid-feedback {
    color: #dc2626;
    font-size: 12px;
    margin-top: 4px;
}

.b2b-landing-page .invalid-feedback:empty {
    display: none;
}

.b2b-landing-page .b2b-input.is-invalid,
.b2b-landing-page .b2b-input:has(.is-invalid) {
    border-color: #dc2626;
}

.b2b-landing-page .is-invalid {
    border-color: #dc2626;
}

/* ----- B2B extended registration form ----- */
.b2b-register-intro {
    text-align: center;
    font-size: 14px;
    color: var(--b2b-muted);
    margin: 0 0 20px;
}

.b2b-form-section-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--b2b-text);
    margin: 22px 0 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--b2b-border);
}

.b2b-form-section-title .req {
    color: #dc2626;
    margin-left: 2px;
}

.b2b-auth-card-wide .b2b-input input.form-control,
.b2b-auth-card-wide .b2b-input select.form-select {
    border: 0;
    outline: none;
    background: transparent;
    box-shadow: none;
}

.b2b-auth-card-wide .b2b-input input.form-control:focus,
.b2b-auth-card-wide .b2b-input select.form-select:focus {
    box-shadow: none;
}

#shipping-fields.is-disabled {
    opacity: 0.55;
    pointer-events: none;
}

@media (max-width: 992px) {
    .b2b-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 540px) {
    .b2b-grid-2,
    .b2b-grid-3 {
        grid-template-columns: 1fr;
    }
}

/* ----- Divider ----- */
.b2b-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0 14px;
    color: var(--b2b-muted);
    font-size: 12px;
}

.b2b-divider::before,
.b2b-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--b2b-border);
}

.b2b-divider span {
    padding: 0 12px;
}

/* ----- Social buttons ----- */
.b2b-btn-social {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #ffffff;
    color: var(--b2b-text);
    border: 1px solid var(--b2b-border);
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 10px;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.b2b-btn-social:not([disabled]):hover {
    background-color: #f9fafb;
    border-color: #d1d5db;
}

.b2b-btn-social[disabled] {
    cursor: not-allowed;
    opacity: 0.95;
}

.b2b-social-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.b2b-social-google {
    background: conic-gradient(from -45deg, #ea4335 0deg 90deg, #fbbc05 90deg 180deg, #34a853 180deg 270deg, #4285f4 270deg 360deg);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 16px;
}

.b2b-social-microsoft {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

.b2b-social-microsoft span {
    display: block;
    width: 8px;
    height: 8px;
}

.b2b-social-microsoft span:nth-child(1) {
    background: #f25022;
}

.b2b-social-microsoft span:nth-child(2) {
    background: #7fba00;
}

.b2b-social-microsoft span:nth-child(3) {
    background: #00a4ef;
}

.b2b-social-microsoft span:nth-child(4) {
    background: #ffb900;
}

/* ----- Trust row inside auth card ----- */
.b2b-trust-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 22px;
    padding: 14px 0 0;
    border-top: 1px solid var(--b2b-border);
}

.b2b-trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 11px;
    color: var(--b2b-muted);
}

.b2b-trust-item i {
    color: var(--b2b-accent);
    font-size: 16px;
    flex-shrink: 0;
}

.b2b-trust-item strong {
    display: block;
    font-weight: 600;
    color: var(--b2b-text);
    font-size: 11px;
}

.b2b-trust-item em {
    display: block;
    font-style: normal;
    font-size: 10px;
    color: var(--b2b-muted);
}

/* ----- Generic section ----- */
.b2b-section {
    padding: 48px 32px;
    background: #ffffff;
}

.b2b-section-inner {
    max-width: 1180px;
    margin: 0 auto;
}

.b2b-section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--b2b-muted);
    margin: 0 0 28px;
}

.b2b-section-title::before,
.b2b-section-title::after {
    content: '';
    flex: 0 0 60px;
    height: 1px;
    background: var(--b2b-border);
}

@media (prefers-reduced-motion: no-preference) {
    .b2b-section-title-animated span {
        display: inline-block;
        animation: b2b-title-in 0.7s ease both;
    }

    @keyframes b2b-title-in {
        from {
            opacity: 0;
            letter-spacing: 6px;
        }

        to {
            opacity: 1;
            letter-spacing: 2px;
        }
    }
}

/* ----- Category grid (interactive) ----- */
.b2b-category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 40px;
    perspective: 900px;
}

@media (prefers-reduced-motion: no-preference) {
    .b2b-category-card {
        animation: b2b-card-rise 0.65s cubic-bezier(0.22, 1, 0.36, 1) backwards;
    }

    .b2b-category-card:nth-child(1) {
        animation-delay: 0.08s;
    }

    .b2b-category-card:nth-child(2) {
        animation-delay: 0.16s;
    }

    .b2b-category-card:nth-child(3) {
        animation-delay: 0.24s;
    }

    @keyframes b2b-card-rise {
        from {
            opacity: 0;
            transform: translateY(28px) rotateX(8deg);
        }

        to {
            opacity: 1;
            transform: translateY(0) rotateX(0);
        }
    }
}

.b2b-category-card {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: #ffffff;
    box-shadow: 0 4px 18px rgba(17, 24, 39, 0.08);
    outline: none;
    transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.b2b-category-card:focus-visible {
    box-shadow: 0 0 0 3px rgba(138, 90, 43, 0.45), 0 12px 32px rgba(0, 0, 0, 0.15);
}

.b2b-category-card-bg {
    position: absolute;
    inset: 0;
    background-color: #c4c2bd;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.b2b-category-card-shine {
    position: absolute;
    inset: -40% -60%;
    background: linear-gradient(105deg,
            transparent 40%,
            rgba(255, 255, 255, 0.18) 48%,
            rgba(255, 255, 255, 0.28) 50%,
            rgba(255, 255, 255, 0.12) 52%,
            transparent 60%);
    transform: translateX(-100%) rotate(12deg);
    transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    z-index: 2;
}

.b2b-category-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.18) 45%, rgba(0, 0, 0, 0.05) 100%);
    opacity: 1;
    transition: opacity 0.35s ease, background 0.35s ease;
}

.b2b-category-card-title-bg {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    font-size: clamp(22px, 4.5vw, 42px);
    font-weight: 800;
    letter-spacing: 0.35em;
    text-indent: 0.35em;
    line-height: 1;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.22);
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
    pointer-events: none;
    transition: color 0.35s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), letter-spacing 0.45s ease;
}

.b2b-category-card-bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.b2b-category-card-label {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.b2b-category-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.b2b-category-card-cta i {
    font-size: 11px;
    transition: transform 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .b2b-category-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 40px rgba(17, 24, 39, 0.18);
        text-decoration: none;
        color: #ffffff;
    }

    .b2b-category-card:hover .b2b-category-card-bg {
        transform: scale(1.08);
    }

    .b2b-category-card:hover::after {
        opacity: 1;
        background: linear-gradient(to top, rgba(138, 90, 43, 0.55) 0%, rgba(0, 0, 0, 0.35) 50%, rgba(0, 0, 0, 0.12) 100%);
    }

    .b2b-category-card:hover .b2b-category-card-title-bg {
        color: rgba(255, 255, 255, 0.38);
        letter-spacing: 0.42em;
        text-indent: 0.42em;
        transform: translate(-50%, -58%) scale(1.03);
    }

    .b2b-category-card:hover .b2b-category-card-cta {
        opacity: 1;
        transform: translateY(0);
    }

    .b2b-category-card:hover .b2b-category-card-shine {
        transform: translateX(100%) rotate(12deg);
    }

    .b2b-category-card:hover .b2b-category-card-cta i {
        transform: translateX(4px);
    }
}

@media (prefers-reduced-motion: reduce) {

    .b2b-category-card,
    .b2b-category-card-bg,
    .b2b-category-card::after,
    .b2b-category-card-title-bg,
    .b2b-category-card-cta,
    .b2b-category-card-shine {
        transition: none !important;
        animation: none !important;
    }

    .b2b-category-card-cta {
        opacity: 1;
        transform: none;
    }
}

/* ----- Mini features row (interactive tiles) ----- */
.b2b-mini-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.b2b-mini-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 13px;
    color: var(--b2b-text);
    padding: 16px 18px;
    border-radius: 12px;
    border: 1px solid transparent;
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, background 0.3s ease;
    cursor: default;
    outline: none;
}

.b2b-mini-feature-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--b2b-accent-soft);
    color: var(--b2b-accent);
    font-size: 18px;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.b2b-mini-feature strong {
    display: block;
    font-weight: 600;
    transition: color 0.25s ease;
}

.b2b-mini-feature em {
    display: block;
    font-style: normal;
    color: var(--b2b-muted);
    font-size: 12px;
    transition: color 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {

    .b2b-mini-feature:hover,
    .b2b-mini-feature:focus-visible {
        border-color: rgba(138, 90, 43, 0.28);
        box-shadow: 0 10px 28px rgba(138, 90, 43, 0.1);
        transform: translateY(-3px);
        background: #ffffff;
    }

    .b2b-mini-feature:hover .b2b-mini-feature-icon,
    .b2b-mini-feature:focus-visible .b2b-mini-feature-icon {
        transform: scale(1.1) rotate(-4deg);
        background: rgba(138, 90, 43, 0.12);
        color: var(--b2b-accent-dark);
        box-shadow: 0 4px 12px rgba(138, 90, 43, 0.15);
    }

    .b2b-mini-feature:hover strong,
    .b2b-mini-feature:focus-visible strong {
        color: var(--b2b-accent-dark);
    }
}

@media (prefers-reduced-motion: reduce) {

    .b2b-mini-feature,
    .b2b-mini-feature-icon {
        transition: none !important;
    }

    .b2b-mini-feature:hover,
    .b2b-mini-feature:focus-visible {
        transform: none;
    }
}

/* ----- B2B brands page ----- */
.b2b-brands-page .b2b-category-hero {
    margin-bottom: 1.25rem;
}

.b2b-brands-index {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 1.75rem;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.b2b-brands-index-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    color: #374151;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.b2b-brands-index-link:hover,
.b2b-brands-index-link:focus-visible {
    background: rgba(138, 90, 43, 0.08);
    border-color: rgba(138, 90, 43, 0.35);
    color: #8a5a2b;
}

.b2b-brands-group {
    margin-bottom: 2rem;
}

.b2b-brands-group-title {
    font-family: "Libre Baskerville", Georgia, serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.b2b-brands-page .b2b-brand-card {
    text-decoration: none;
    color: inherit;
}

.b2b-brands-page .b2b-home-brand-fallback {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
    text-align: center;
    line-height: 1.3;
    padding: 0 8px;
}

.b2b-brands-all-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.b2b-brands-all-row .b2b-brand-card {
    flex: 1 1 0;
    min-width: 140px;
    max-width: none;
}

@media (max-width: 767px) {
    .b2b-brands-all-row .b2b-brand-card {
        flex: 0 0 42%;
        min-width: 42%;
    }
}

/* ----- Brand row (interactive) ----- */
.b2b-brand-section {
    background: #ffffff;
    padding-top: 24px;
    padding-bottom: 32px;
}

.b2b-brand-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.b2b-brand-card {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--b2b-border);
    border-radius: 12px;
    padding: 20px;
    background: #ffffff;
    min-height: 88px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.35s ease, transform 0.35s ease;
    outline: none;
}

.b2b-brand-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 120%, rgba(138, 90, 43, 0.08), transparent 55%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.b2b-brand-card img {
    max-height: 44px;
    max-width: 100%;
    object-fit: contain;
    position: relative;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {

    .b2b-brand-card:hover,
    .b2b-brand-card:focus-visible {
        border-color: rgba(138, 90, 43, 0.35);
        box-shadow: 0 14px 32px rgba(17, 24, 39, 0.08);
        transform: translateY(-4px);
    }

    .b2b-brand-card:hover::before,
    .b2b-brand-card:focus-visible::before {
        opacity: 1;
    }

    .b2b-brand-card:hover img,
    .b2b-brand-card:focus-visible img {
        transform: scale(1.06);
    }
}

@media (prefers-reduced-motion: reduce) {

    .b2b-brand-card,
    .b2b-brand-card::before,
    .b2b-brand-card img {
        transition: none !important;
    }

    .b2b-brand-card:hover,
    .b2b-brand-card:focus-visible {
        transform: none;
    }
}

/* ----- B2B registration success modal ----- */
.b2b-register-modal-content {
    border: none;
    border-radius: 14px;
    box-shadow: 0 24px 48px rgba(17, 24, 39, 0.18);
    border-top: 4px solid var(--b2b-accent, #8a5a2b);
    overflow: hidden;
}

.b2b-register-modal-icon {
    font-size: 3rem;
    color: var(--b2b-accent, #8a5a2b);
    line-height: 1;
}

.b2b-register-modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--b2b-text, #1f2937);
    letter-spacing: -0.02em;
}

.b2b-register-modal-message {
    font-size: 15px;
    line-height: 1.65;
    color: var(--b2b-muted, #6b7280);
    margin-top: 0.75rem;
}

.b2b-register-modal-btn {
    display: inline-block;
    margin-top: 1.75rem;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    color: #ffffff !important;
    background-color: var(--b2b-accent, #8a5a2b);
    border-radius: 8px;
    border: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.b2b-register-modal-btn:hover {
    background-color: var(--b2b-accent-dark, #6f4521) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* ----- Landing footer ----- */
.b2b-landing-footer {
    border-top: 1px solid var(--b2b-border);
    padding: 18px 32px;
    background: #ffffff;
}

.b2b-landing-footer .b2b-section-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.b2b-copyright {
    margin: 0;
    font-size: 13px;
    color: var(--b2b-muted);
}

.b2b-legal-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

.b2b-legal-links a {
    font-size: 13px;
    color: var(--b2b-muted);
    text-decoration: none;
}

.b2b-legal-links a:hover {
    color: var(--b2b-accent);
    text-decoration: none;
}

/* ----- Responsive ----- */
@media (max-width: 992px) {
    .b2b-hero {
        grid-template-columns: 1fr;
        background-position: center bottom;
    }

    .b2b-hero-centered {
        min-height: min(100vh, 820px);
        padding: 40px 20px;
        background-position: center center;
    }

    .b2b-hero-left {
        padding: 40px 28px 24px;
        background: linear-gradient(to bottom,
                rgba(255, 255, 255, 0.96) 0%,
                rgba(255, 255, 255, 0.85) 100%);
    }

    .b2b-hero-right {
        padding: 24px 28px 48px;
        justify-content: center;
    }

    .b2b-auth-card {
        margin: 0 auto;
    }

    .b2b-landing-page .b2b-top-left-logo {
        left: 20px;
        top: 18px;
    }

    .b2b-landing-page .b2b-top-left-logo img {
        max-height: 56px;
        max-width: 170px;
    }

    .b2b-hero-title {
        font-size: 32px;
    }

    .b2b-top-right-link {
        right: 20px;
        top: 18px;
    }
}

@media (max-width: 720px) {
    .b2b-category-grid {
        grid-template-columns: 1fr;
    }

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

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

    .b2b-brands-index {
        gap: 8px;
    }

    .b2b-hero-title {
        font-size: 26px;
    }

    .b2b-hero-centered {
        padding: 32px 16px;
    }

    .b2b-landing-page .b2b-top-left-logo {
        left: 16px;
        top: 16px;
    }

    .b2b-hero-left {
        padding: 32px 20px 16px;
    }

    .b2b-hero-right {
        padding: 16px 20px 36px;
    }

    .b2b-auth-body {
        padding: 22px 20px 24px;
    }

    .b2b-section {
        padding: 36px 20px;
    }

    .b2b-landing-footer {
        padding: 16px 20px;
    }

    .b2b-landing-footer .b2b-section-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =========================================================
   B2B LOGGED-IN STOREFRONT (header, footer, home)
   ========================================================= */
body.b2b-store {
    background-color: #f3f4f6;
    color: #1f2937;
    font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body.b2b-store #container {
    position: static;
    margin-bottom: 0;
    min-height: 100vh;
}

body.b2b-store main.b2b-store-main {
    padding: 0;
    margin: 0;
}

body.b2b-store #alert {
    display: none !important;
}

/* ----- Store header ----- */
.b2b-store-header {
    --b2b-accent: #8a5a2b;
    --b2b-accent-dark: #6f4521;
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #fff;
    box-shadow: 0 1px 0 rgba(17, 24, 39, 0.08);
}

.b2b-store-header-top {
    border-bottom: 1px solid #e5e7eb;
    padding: 14px 0;
}

.b2b-store-header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.b2b-store-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
    line-height: 0;
}

.b2b-store-brand:hover {
    text-decoration: none;
    opacity: 0.92;
}

.b2b-store-logo {
    display: block;
    width: 170px;
    height: 100%;
    object-fit: contain;
    object-position: left center;
}

.b2b-store-search {
    flex: 1;
    max-width: 560px;
    margin: 0 auto;
}

.b2b-store-search-inner {
    display: flex;
    align-items: stretch;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.b2b-store-search-cat {
    max-width: 140px;
    border: 0;
    border-radius: 0;
    border-right: 1px solid #e5e7eb;
    font-size: 13px;
    box-shadow: none !important;
}

.b2b-store-search-inner .form-control {
    border: 0;
    border-radius: 0;
    box-shadow: none !important;
    font-size: 14px;
}

.b2b-store-search-btn {
    border: 0;
    background: var(--b2b-accent);
    color: #fff;
    padding: 0 18px;
    font-size: 16px;
}

.b2b-store-search-btn:hover {
    background: var(--b2b-accent-dark);
    color: #fff;
}

.b2b-store-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.b2b-store-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 6px 10px;
    font-size: 11px;
    color: #374151;
    text-decoration: none;
    border-radius: 8px;
    position: relative;
    white-space: nowrap;
}

.b2b-store-action:hover {
    background: #f9fafb;
    color: var(--b2b-accent);
}

.b2b-store-action i {
    font-size: 18px;
}

.b2b-store-badge {
    position: absolute;
    top: 2px;
    right: 4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 10px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    background: #dc2626;
    color: #fff;
    border-radius: 999px;
}

.b2b-store-cart-link {
    color: #374151;
}

.b2b-store-header-nav {
    background: var(--b2b-accent);
    color: #fff;
}

.b2b-store-nav-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 12px;
    min-height: 48px;
}

.b2b-store-cat-btn,
.b2b-store-account-btn {
    border: 0;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 6px;
}

.b2b-store-cat-btn:hover,
.b2b-store-account-btn:hover,
.b2b-store-cat-btn:focus,
.b2b-store-account-btn:focus {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.b2b-store-nav-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 16px;
    padding: 0 12px;
}

.b2b-store-nav-links a {
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    padding: 4px 0;
}

.b2b-store-nav-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.b2b-store-cat-menu {
    min-width: 280px;
    max-width: min(92vw, 720px);
    max-height: 70vh;
    overflow: auto;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.14);
    padding: 8px 0;
    margin-top: 6px !important;
}

.b2b-store-cat-menu .container {
    max-width: none;
    padding: 0;
}

.b2b-store-cat-menu #menu.navbar,
.b2b-store-cat-menu #menu.navbar.bg-primary {
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    --bs-navbar-bg: transparent;
    min-height: 0;
    margin-bottom: 0;
    padding: 4px 8px;
    display: block !important;
}

.b2b-store-cat-menu #category,
.b2b-store-cat-menu .navbar-toggler {
    display: none !important;
}

.b2b-store-cat-menu #menu .navbar-nav {
    flex-direction: column;
    gap: 2px;
}

body.b2b-store .b2b-store-cat-menu #menu .navbar-nav>li>a,
body.b2b-store .b2b-store-cat-menu #menu .nav-link,
body.b2b-store .b2b-store-cat-menu #menu .nav-item>.dropdown-item,
body.b2b-store .b2b-store-cat-menu #menu .dropdown-item {
    color: #1f2937 !important;
    text-shadow: none !important;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 14px;
    border-radius: 6px;
    background: transparent !important;
}

body.b2b-store .b2b-store-cat-menu #menu .nav-link.dropdown-toggle::after {
    border-top-color: #6b7280;
}

body.b2b-store .b2b-store-cat-menu #menu .nav-link:hover,
body.b2b-store .b2b-store-cat-menu #menu .nav-link:focus,
body.b2b-store .b2b-store-cat-menu #menu .dropdown-item:hover,
body.b2b-store .b2b-store-cat-menu #menu .dropdown-item:focus,
body.b2b-store .b2b-store-cat-menu #menu .nav-item>.dropdown-item:hover {
    background: #f3f4f6 !important;
    color: var(--b2b-accent, #8a5a2b) !important;
}

.b2b-store-cat-menu #menu .nav-item {
    position: relative;
}

.b2b-store-cat-menu #menu .nav-item.dropdown>.dropdown-menu {
    position: static !important;
    float: none;
    display: none;
    min-width: 100%;
    margin: 0;
    padding: 4px 0 4px 12px;
    background: #f9fafb;
    border: 0;
    border-radius: 6px;
    box-shadow: none;
}

.b2b-store-cat-menu #menu .nav-item.dropdown:hover>.dropdown-menu,
.b2b-store-cat-menu #menu .nav-item.dropdown.show>.dropdown-menu {
    display: block;
}

.b2b-store-cat-menu #menu .dropdown-inner {
    flex-direction: column;
}

.b2b-store-cat-menu #menu .dropdown-inner ul {
    min-width: 0;
    margin: 0;
    padding: 0;
}

.b2b-store-cat-menu #menu .dropdown-divider {
    border-color: #e5e7eb;
    margin: 6px 0;
}

.b2b-store-cat-menu #menu .dropdown-item.b2b-store-cat-view-all,
.b2b-store-cat-menu #menu .dropdown-inner+ul .dropdown-item {
    font-weight: 600;
    color: var(--b2b-accent, #8a5a2b) !important;
}

/* Desktop header: open nested category panel to the right */
@media (min-width: 992px) {
    .b2b-store-header-nav-desktop .b2b-store-cat-menu #menu .nav-item.dropdown>.dropdown-menu {
        position: absolute !important;
        top: 0;
        left: 100%;
        min-width: 240px;
        margin-left: 4px;
        padding: 8px;
        background: #fff;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        box-shadow: 0 8px 20px rgba(17, 24, 39, 0.1);
    }

    .b2b-store-header-nav-desktop .b2b-store-cat-menu #menu .nav-item.dropdown:hover>.dropdown-menu {
        display: block;
    }
}

body.b2b-store #container>#menu.navbar {
    display: none !important;
}

.b2b-store-account-name {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
}

/* ----- Store footer ----- */
.b2b-store-footer {
    margin-top: 48px;
    background: #faf8f5;
    border-top: 1px solid #efe8df;
}

.b2b-store-footer-brand {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.b2b-store-footer-brand:hover {
    text-decoration: none;
    opacity: 0.92;
}

.b2b-store-footer-logo {
    display: block;
    width: 160px;
    height: 44px;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
}

.b2b-store-footer-tagline {
    display: block;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 1.2px;
    color: #6b7280;
    max-width: 220px;
    line-height: 1.4;
}

.b2b-store-footer .b2b-store-footer-brand-fallback .b2b-logo-mark {
    width: 32px;
    height: 32px;
}

.b2b-store-footer .b2b-store-footer-brand-fallback .b2b-logo-title {
    font-size: 17px;
}

.b2b-store-trust {
    background: #faf8f5;
    border-bottom: 1px solid #efe8df;
    padding: 20px 0;
}

.b2b-store-trust-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.b2b-store-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
}

.b2b-store-trust-item i {
    color: var(--b2b-accent, #8a5a2b);
    font-size: 20px;
}

.b2b-store-footer-main {
    padding: 40px 0 32px;
    background: #faf8f5;
}

.b2b-store-footer-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.b2b-store-footer-columns {
    display: grid;
    grid-template-columns: minmax(220px, 1.35fr) repeat(3, minmax(0, 1fr));
    gap: 28px 40px;
    align-items: start;
}

.b2b-store-footer-col {
    min-width: 0;
}

.b2b-store-footer-col-brand {
    padding-right: 12px;
}

.b2b-store-footer-col-brand .b2b-store-footer-brand {
    align-items: flex-start;
}

.b2b-store-footer-col-newsletter .b2b-store-newsletter-form {
    max-width: 280px;
}

@media (max-width: 991px) {
    .b2b-store-footer-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 32px;
    }

    .b2b-store-footer-col-brand {
        grid-column: 1 / -1;
        padding-right: 0;
        margin-bottom: 4px;
    }
}

@media (max-width: 575px) {
    .b2b-store-footer-columns {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.b2b-store-footer-heading {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6f4521;
    margin-bottom: 16px;
}

.b2b-store-footer-links {
    margin: 0;
    padding: 0;
}

.b2b-store-footer-links li {
    margin-bottom: 10px;
}

.b2b-store-footer-links li:last-child {
    margin-bottom: 0;
}

.b2b-store-footer-links a {
    font-size: 13px;
    color: #6b7280;
    text-decoration: none;
    line-height: 1.4;
}

.b2b-store-footer-links a:hover {
    color: var(--b2b-accent, #8a5a2b);
}

.b2b-store-newsletter-hint {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 12px;
}

.b2b-store-newsletter-form {
    display: flex;
    align-items: stretch;
    gap: 0;
    max-width: 100%;
}

.b2b-store-newsletter-input {
    flex: 1;
    min-width: 0;
    border: 1px solid #e5e7eb;
    border-radius: 8px 0 0 8px;
    border-right: 0;
    font-size: 13px;
    padding: 10px 14px;
    box-shadow: none !important;
}

.b2b-store-newsletter-input:focus {
    border-color: #d1d5db;
}

.b2b-store-newsletter-submit {
    flex-shrink: 0;
    width: 44px;
    border: 0;
    border-radius: 0 8px 8px 0;
    background: var(--b2b-accent, #8a5a2b);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.b2b-store-newsletter-submit:hover {
    background: var(--b2b-accent-dark, #6f4521);
    color: #fff;
}

.b2b-store-footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.b2b-store-copyright {
    font-size: 13px;
    color: #9ca3af;
}

.b2b-store-legal-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0;
}

.b2b-store-legal-links li+li::before {
    content: '|';
    margin: 0 12px;
    color: #d1d5db;
}

.b2b-store-legal-links a {
    font-size: 13px;
    color: #6b7280;
    text-decoration: none;
}

.b2b-store-legal-links a:hover {
    color: var(--b2b-accent, #8a5a2b);
}

.b2b-store-social {
    display: flex;
    gap: 8px;
}

.b2b-store-social-link {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f3f4f6;
    color: #374151;
    text-decoration: none;
}

.b2b-store-social-link:hover {
    background: var(--b2b-accent, #8a5a2b);
    color: #fff;
}

.b2b-store-newsletter-btn {
    background: var(--b2b-accent, #8a5a2b);
    color: #fff;
    border: 0;
}

.b2b-store-newsletter-btn:hover {
    background: var(--b2b-accent-dark, #6f4521);
    color: #fff;
}

.b2b-store-footer-bottom {
    background: #f5f0ea;
    border-top: 1px solid #efe8df;
}

/* ----- B2B home dashboard (mockup layout) ----- */
.b2b-home-container {
    max-width: 1400px;
}

/* Home trust / value bar (above footer) */
.b2b-home-trust {
    margin-top: 40px;
    padding: 28px 0 8px;
    border-top: 1px solid #efe8df;
}

.b2b-home-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    height: 100%;
}

.b2b-home-trust-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #efe8df;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--b2b-accent, #8a5a2b);
    font-size: 18px;
    box-shadow: 0 1px 4px rgba(17, 24, 39, 0.06);
}

.b2b-home-trust-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.b2b-home-trust-title {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    line-height: 1.35;
}

.b2b-home-trust-subtitle {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.45;
}

@media (max-width: 1199px) {
    .b2b-home-trust {
        margin-top: 32px;
    }
}

.b2b-home-section-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

/* Hero carousel */
.b2b-store-home .b2b-home-hero {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(17, 24, 39, 0.08);
    background: #efece6;
}

.b2b-home-hero .carousel-item {
    min-height: 300px;
    background-color: #efece6;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.b2b-home-hero-overlay {
    min-height: 300px;
    display: flex;
    align-items: center;
    padding: 2rem 2.5rem;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0.92) 0%,
            rgba(255, 255, 255, 0.78) 38%,
            rgba(255, 255, 255, 0.2) 70%,
            rgba(255, 255, 255, 0) 100%);
}

.b2b-home-hero-content {
    max-width: 480px;
}

.b2b-home-hero-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
    line-height: 1.25;
}

.b2b-home-hero-lead {
    color: #6b7280;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.b2b-home-hero-btn {
    background: var(--b2b-accent, #8a5a2b);
    color: #fff;
    border: 0;
    padding: 10px 24px;
    font-weight: 600;
    border-radius: 8px;
}

.b2b-home-hero-btn:hover {
    background: var(--b2b-accent-dark, #6f4521);
    color: #fff;
}

.b2b-home-hero-dots {
    margin-bottom: 1rem;
}

.b2b-home-hero-dots button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    border: 0;
    opacity: 1;
}

.b2b-home-hero-dots button.active {
    background-color: #fff;
}

/* Category grid (3 columns on desktop) */
.b2b-home-cat-grid .b2b-home-cat-card {
    display: flex;
    align-items: stretch;
    background: #fff;
    border: 1px solid #eef0f2;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(17, 24, 39, 0.05);
    color: inherit;
    text-decoration: none;
    min-height: 112px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.b2b-home-cat-grid .b2b-home-cat-card:hover,
.b2b-home-cat-card:hover {
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.1);
    transform: translateY(-1px);
    color: inherit;
}

.b2b-home-cat-img {
    flex: 0 0 42%;
    max-width: 118px;
    min-height: 112px;
    background-color: #f3f4f6;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.b2b-home-cat-body {
    flex: 1;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.b2b-home-cat-name {
    font-size: 0.9375rem;
    font-weight: 700;
    margin: 0 0 4px;
    color: #111827;
    line-height: 1.3;
}

.b2b-home-cat-count {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0 0 8px;
}

.b2b-home-cat-link {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--b2b-accent, #8a5a2b);
}

.b2b-home-cat-link i {
    font-size: 0.6875rem;
}

/* New Arrivals product grid */
.b2b-home-products>.col {
    display: flex;
}

.b2b-home-products .product-thumb {
    display: none !important;
}

.b2b-home-product-card {
    width: 100%;
    background: #fff;
    border: 1px solid #eef0f2;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(17, 24, 39, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.b2b-home-product-card:hover {
    box-shadow: 0 6px 20px rgba(17, 24, 39, 0.08);
    transform: translateY(-1px);
}

.b2b-home-product-media {
    position: relative;
    padding: 10px 10px 0;
}

.b2b-home-product-img {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    background: #f9fafb;
    border-radius: 10px;
    overflow: hidden;
}

.b2b-home-product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.b2b-home-product-wishlist-form {
    position: absolute;
    top: 16px;
    right: 16px;
    margin: 0;
    z-index: 2;
}

.b2b-home-product-wishlist {
    width: 30px;
    height: 30px;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 13px;
    line-height: 1;
}

.b2b-home-product-wishlist:hover {
    color: var(--b2b-accent, #8a5a2b);
    border-color: #d1d5db;
}

.b2b-home-product-body {
    padding: 12px 14px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.b2b-home-product-name {
    font-size: 0.8125rem;
    font-weight: 700;
    margin: 0 0 4px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.b2b-home-product-name a {
    color: #111827;
    text-decoration: none;
}

.b2b-home-product-name a:hover {
    color: var(--b2b-accent, #8a5a2b);
}

.b2b-home-product-sku {
    font-size: 0.6875rem;
    color: #9ca3af;
    margin: 0 0 8px;
    letter-spacing: 0.02em;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.b2b-home-product-price {
    font-size: 0.8125rem;
    margin: 0 0 12px;
    line-height: 1.3;
}

.b2b-home-product-price-value {
    font-weight: 700;
    color: #111827;
}

.b2b-home-product-price-unit {
    font-weight: 500;
    color: #9ca3af;
}

.b2b-home-product-cart-form {
    margin-top: auto;
}

.b2b-home-product-add-btn {
    width: 100%;
    border: 1px solid var(--b2b-accent, #8a5a2b);
    color: var(--b2b-accent, #8a5a2b);
    background: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 9px 12px;
    border-radius: 8px;
    line-height: 1.2;
}

.b2b-home-product-add-btn:hover,
.b2b-home-product-add-btn:focus {
    background: var(--b2b-accent, #8a5a2b);
    color: #fff;
    border-color: var(--b2b-accent, #8a5a2b);
}

.b2b-link-more {
    color: var(--b2b-accent, #8a5a2b);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.875rem;
}

.b2b-link-more:hover {
    color: var(--b2b-accent-dark, #6f4521);
}

/* Sidebar */
.b2b-home-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.b2b-home-widget {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(17, 24, 39, 0.06);
    padding: 1.25rem;
}

.b2b-home-widget-title {
    font-size: 0.9375rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #111827;
}

.b2b-home-stat {
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: 10px;
    padding: 12px;
    height: 100%;
}

.b2b-home-stat-label {
    display: block;
    font-size: 0.6875rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 4px;
}

.b2b-home-stat-value {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
}

.b2b-home-tier {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
}

.b2b-home-tier-text {
    flex: 1;
    min-width: 0;
}

.b2b-home-tier-label {
    display: block;
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 6px;
}

.b2b-home-tier-bar {
    height: 8px;
    border-radius: 999px;
    background: #e5e7eb;
}

.b2b-home-tier-bar .progress-bar {
    background: var(--b2b-accent, #8a5a2b);
    border-radius: 999px;
}

.b2b-home-tier-ring {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid var(--b2b-accent, #8a5a2b);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--b2b-accent, #8a5a2b);
}

.b2b-home-widget-btn {
    background: var(--b2b-accent, #8a5a2b);
    color: #fff;
    border: 0;
    font-weight: 600;
}

.b2b-home-widget-btn:hover {
    background: var(--b2b-accent-dark, #6f4521);
    color: #fff;
}

.b2b-home-quick-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 12px;
    font-size: 0.8125rem;
}

.b2b-home-quick-links a {
    color: var(--b2b-accent, #8a5a2b);
    text-decoration: none;
    font-weight: 500;
}

.b2b-home-quick-result {
    margin-bottom: 0.75rem;
}

.b2b-home-quick-result-card {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px;
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: 8px;
}

.b2b-home-quick-result-thumb {
    flex-shrink: 0;
    display: block;
    border-radius: 6px;
    overflow: hidden;
}

.b2b-home-quick-result-thumb img {
    display: block;
    width: 56px;
    height: 56px;
    object-fit: cover;
}

.b2b-home-quick-result-body {
    flex: 1;
    min-width: 0;
}

.b2b-home-quick-result-name {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #111827;
    text-decoration: none;
    line-height: 1.3;
    margin-bottom: 2px;
}

.b2b-home-quick-result-sku {
    display: block;
    font-size: 0.6875rem;
    color: #6b7280;
    margin-bottom: 4px;
}

.b2b-home-quick-result-price {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--b2b-accent, #8a5a2b);
}

.b2b-home-quick-error {
    margin-bottom: 0.5rem;
}

.b2b-home-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 10px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    text-decoration: none;
}

.b2b-home-brand img {
    max-height: 32px;
    object-fit: contain;
}

@media (max-width: 1199px) {

    .b2b-home-hero .carousel-item,
    .b2b-home-hero-overlay {
        min-height: 260px;
    }

    .b2b-home-cat-img {
        flex: 0 0 38%;
        max-width: 100px;
    }
}

@media (max-width: 767px) {
    .b2b-home-hero-overlay {
        padding: 1.5rem;
    }

    .b2b-home-hero-title {
        font-size: 1.35rem;
    }

    .b2b-home-cat-grid .b2b-home-cat-card {
        min-height: 100px;
    }

    .b2b-home-cat-img {
        flex: 0 0 120px;
        max-width: 120px;
        min-height: 100px;
    }
}

/* Logged-in catalog pages: content area spacing */
body.b2b-store main.b2b-store-main>.container,
body.b2b-store main.b2b-store-main>#product-category,
body.b2b-store main.b2b-store-main>#product-search,
body.b2b-store main.b2b-store-main>#product-product {
    max-width: 1400px;
    padding-left: 20px;
    padding-right: 20px;
}

/* ----- Mobile storefront (mockup layout) ----- */
@media (max-width: 991.98px) {
    body.b2b-store {
        padding-bottom: 72px;
        background: #fff;
    }

    body.b2b-store main.b2b-store-main {
        background: #fff;
    }

    .b2b-store-header-top {
        padding: 10px 0 12px;
        border-bottom: 0;
    }

    .b2b-store-header-inner {
        display: grid;
        grid-template-columns: 40px 1fr auto;
        grid-template-rows: auto auto;
        align-items: center;
        gap: 10px 12px;
        padding: 0 16px;
    }

    .b2b-store-mobile-menu {
        grid-column: 1;
        grid-row: 1;
    }

    .b2b-store-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        padding: 0;
        border: 0;
        background: transparent;
        color: #374151;
        font-size: 20px;
        border-radius: 8px;
    }

    .b2b-store-menu-btn:hover,
    .b2b-store-menu-btn:focus {
        background: #f3f4f6;
        color: var(--b2b-accent, #8a5a2b);
    }

    .b2b-store-brand {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
    }

    .b2b-store-logo {
        width: auto;
        max-width: 140px;
        height: 36px;
        object-position: center;
    }

    .b2b-store-brand-text {
        font-size: 1rem;
        font-weight: 700;
        color: var(--b2b-accent, #8a5a2b);
    }

    .b2b-store-header-actions {
        grid-column: 3;
        grid-row: 1;
        gap: 2px;
    }

    .b2b-store-action-desktop {
        display: none !important;
    }

    .b2b-store-action-icon {
        flex-direction: row;
        padding: 8px;
        min-width: 36px;
    }

    .b2b-store-action-label {
        display: none !important;
    }

    .b2b-store-action-icon i {
        font-size: 20px;
    }

    .b2b-store-badge {
        top: 0;
        right: 0;
    }

    .b2b-store-search {
        grid-column: 1 / -1;
        grid-row: 2;
        max-width: none;
        margin: 0;
    }

    .b2b-store-search-cat {
        display: none;
    }

    .b2b-store-search-inner {
        border-radius: 10px;
        border-color: #e5e7eb;
    }

    .b2b-store-search-inner .form-control {
        font-size: 13px;
        padding: 10px 12px;
    }

    .b2b-store-search-btn {
        padding: 0 16px;
        border-radius: 0 9px 9px 0;
    }

    .b2b-store-header-nav-desktop {
        display: none !important;
    }

    .b2b-store-footer {
        display: none !important;
    }

    .b2b-home-container {
        padding-top: 12px !important;
        padding-bottom: 16px !important;
        padding-left: 16px;
        padding-right: 16px;
    }

    .b2b-home-section-title {
        font-size: 1rem;
    }

    .b2b-link-more {
        font-size: 0.8125rem;
    }

    /* Hero — image only on mobile */
    .b2b-store-home .b2b-home-hero {
        border-radius: 12px;
        margin-bottom: 20px !important;
    }

    .b2b-home-hero .carousel-item,
    .b2b-home-hero-overlay {
        min-height: 180px;
    }

    .b2b-home-hero-overlay {
        padding: 0;
        background: transparent !important;
    }

    .b2b-home-hero-content {
        display: none;
    }

    .b2b-home-hero-dots {
        position: absolute;
        bottom: 12px;
        left: 0;
        right: 0;
        margin: 0;
        justify-content: center;
        gap: 6px;
    }

    .b2b-home-hero-dots button {
        width: 7px;
        height: 7px;
        background-color: rgba(255, 255, 255, 0.55);
        margin: 0;
    }

    .b2b-home-hero-dots button.active {
        background-color: var(--b2b-accent, #8a5a2b);
        transform: scale(1.15);
    }

    /* Horizontal scroll sections */
    .b2b-hscroll {
        margin: 0 -16px;
        padding: 0 16px;
        overflow: hidden;
    }

    .b2b-hscroll-track {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
    }

    .b2b-hscroll-track::-webkit-scrollbar {
        display: none;
    }

    .b2b-hscroll-item {
        flex: 0 0 auto;
        scroll-snap-align: start;
        text-decoration: none;
        color: inherit;
    }

    /* Category cards — vertical */
    .b2b-mobile-cat-card {
        width: 108px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .b2b-mobile-cat-img {
        width: 108px;
        height: 108px;
        border-radius: 12px;
        background: #f3f4f6 center/cover no-repeat;
        border: 1px solid #eef0f2;
    }

    .b2b-mobile-cat-img-all {
        display: flex;
        align-items: center;
        justify-content: center;
        background: #faf8f5;
        color: var(--b2b-accent, #8a5a2b);
        font-size: 28px;
    }

    .b2b-mobile-cat-name {
        font-size: 0.75rem;
        font-weight: 600;
        text-align: center;
        color: #374151;
        line-height: 1.3;
    }

    /* Product cards in horizontal scroll */
    .b2b-hscroll-item-product {
        width: 168px;
    }

    .b2b-hscroll-item-product .b2b-home-product-card {
        width: 168px;
    }

    /* Trust bar inline (2x2) */
    .b2b-home-trust-inline {
        margin-top: 8px;
        padding: 16px 0;
        border-top: 1px solid #f3f4f6;
        border-bottom: 0;
    }

    .b2b-home-trust-inline .b2b-home-trust-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .b2b-home-trust-inline .b2b-home-trust-title {
        font-size: 0.75rem;
    }

    .b2b-home-trust-inline .b2b-home-trust-subtitle {
        font-size: 0.6875rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Brands horizontal scroll */
    .b2b-mobile-brand-card {
        width: 120px;
        min-height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px 14px;
        background: #fff;
        border: 1px solid #e5e7eb;
        border-radius: 10px;
    }

    .b2b-mobile-brand-card img {
        max-height: 28px;
        object-fit: contain;
    }

    /* Bottom tab bar */
    .b2b-mobile-tabbar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1040;
        display: flex;
        align-items: stretch;
        justify-content: space-around;
        background: #fff;
        border-top: 1px solid #e5e7eb;
        box-shadow: 0 -4px 16px rgba(17, 24, 39, 0.06);
        padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
    }

    .b2b-tabbar-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        padding: 6px 4px;
        font-size: 10px;
        font-weight: 500;
        color: #9ca3af;
        text-decoration: none;
        border-radius: 8px;
        min-width: 0;
    }

    .b2b-tabbar-item i {
        font-size: 18px;
    }

    .b2b-tabbar-item span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .b2b-tabbar-item.is-active,
    .b2b-tabbar-item:hover {
        color: var(--b2b-accent, #8a5a2b);
        text-decoration: none;
    }

    .b2b-tabbar-item.is-active {
        font-weight: 600;
    }

    .b2b-tabbar-item-btn {
        border: 0;
        background: transparent;
        cursor: pointer;
        font-family: inherit;
    }
}

/* ----- Mobile category drawer (left slider) ----- */
.b2b-mobile-menu {
    --bs-offcanvas-width: min(320px, 88vw);
    z-index: 1055;
}

.b2b-mobile-menu-header {
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
}

.b2b-mobile-menu-title {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.b2b-mobile-menu-close:focus {
    box-shadow: none;
}

.b2b-mobile-menu-body {
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.b2b-mobile-menu-nav {
    flex: 1;
    min-height: 0;
}

.b2b-mobile-menu-item {
    border-bottom: 1px solid #f3f4f6;
}

.b2b-mobile-menu-toggle,
.b2b-mobile-menu-link-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 20px;
    border: 0;
    background: #fff;
    color: #111827;
    font-size: 0.9375rem;
    font-weight: 600;
    text-align: left;
    text-decoration: none;
}

.b2b-mobile-menu-toggle:hover,
.b2b-mobile-menu-link-top:hover {
    background: #faf8f5;
    color: var(--b2b-accent, #8a5a2b);
}

.b2b-mobile-menu-toggle:not(.collapsed) .b2b-mobile-menu-chevron {
    transform: rotate(180deg);
}

.b2b-mobile-menu-chevron {
    font-size: 12px;
    color: #9ca3af;
    transition: transform 0.2s ease;
}

.b2b-mobile-menu-sub {
    background: #f9fafb;
}

.b2b-mobile-menu-sub .b2b-mobile-menu-link {
    display: block;
    padding: 11px 20px 11px 32px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #4b5563;
    text-decoration: none;
    border-top: 1px solid #f3f4f6;
}

.b2b-mobile-menu-sub .b2b-mobile-menu-link:hover {
    color: var(--b2b-accent, #8a5a2b);
    background: #fff;
}

.b2b-mobile-menu-link-all {
    font-weight: 600;
    color: var(--b2b-accent, #8a5a2b) !important;
}

.b2b-mobile-menu-extra {
    margin-top: auto;
    padding: 16px 20px 20px;
    border-top: 1px solid #e5e7eb;
    background: #faf8f5;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.b2b-mobile-menu-extra-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
}

.b2b-mobile-menu-extra-link i {
    width: 18px;
    color: var(--b2b-accent, #8a5a2b);
    text-align: center;
}

.b2b-mobile-menu-extra-link:hover {
    color: var(--b2b-accent, #8a5a2b);
}

/* ----- B2B category page ----- */
.b2b-category-page {
    background: #f3f4f6;
    padding-bottom: 32px;
}

.b2b-category-wrap {
    max-width: 1400px;
    padding: 16px 20px 0;
}

.b2b-category-breadcrumb {
    padding: 8px 0 16px;
}

.b2b-category-breadcrumb .breadcrumb {
    font-size: 13px;
    margin: 0;
}

.b2b-category-breadcrumb .breadcrumb-item a {
    color: #6b7280;
    text-decoration: none;
}

.b2b-category-breadcrumb .breadcrumb-item.active {
    color: #111827;
    font-weight: 600;
}

.b2b-category-panel {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 1px 4px rgba(17, 24, 39, 0.04);
}

.b2b-search-refine-panel {
    background: #f8f5f1;
    border-color: #eadfd2;
    border-radius: 18px;
    margin-bottom: 18px;
}

.b2b-search-refine-btn {
    border-radius: 10px;
    padding: 10px 18px;
    font-weight: 700;
    font-size: 0.9rem;
}

.b2b-category-compare-btn {
    white-space: nowrap;
    border-radius: 12px;
    padding: 10px 14px;
}

.b2b-search-mobile-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 8px;
    margin-bottom: 10px;
}

.b2b-search-mobile-filter-btn {
    border: 0;
    background: transparent;
    color: #6b7280;
    font-size: 0.8125rem;
    font-weight: 600;
}

.b2b-search-mobile-results {
    color: #374151;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    flex: 1;
}

.b2b-search-more-filters {
    border: 0;
    background: transparent;
    color: var(--b2b-accent, #8a5a2b);
    font-size: 0.875rem;
    font-weight: 700;
    padding: 4px 0;
}

.b2b-search-desktop-toolbar {
    display: flex;
}

.b2b-category-panel-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 14px;
}

.b2b-category-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 8px;
    color: #374151;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
}

.b2b-category-nav-link:hover {
    background: #f9fafb;
    color: var(--b2b-accent, #8a5a2b);
}

.b2b-category-nav-link.is-active {
    background: #faf3eb;
    color: var(--b2b-accent, #8a5a2b);
    font-weight: 700;
}

.b2b-category-nav-count {
    font-size: 0.6875rem;
    color: #6b7280;
    font-weight: 600;
    background: #f3f4f6;
    padding: 3px 10px;
    border-radius: 999px;
    line-height: 1.2;
    flex-shrink: 0;
}

.b2b-category-nav-link.is-active .b2b-category-nav-count {
    color: var(--b2b-accent, #8a5a2b);
    background: #efe8df;
}

.b2b-filter-group {
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 4px;
    margin-bottom: 8px;
}

.b2b-filter-group:last-child {
    border-bottom: 0;
    margin-bottom: 0;
}

.b2b-filter-group-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 0;
    border: 0;
    background: transparent;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #111827;
    text-align: left;
}

.b2b-filter-group-toggle:not(.collapsed) .b2b-filter-chevron {
    transform: rotate(180deg);
}

.b2b-filter-chevron {
    font-size: 11px;
    color: #9ca3af;
    transition: transform 0.2s ease;
}

.b2b-filter-group-body {
    padding: 0 0 12px;
}

.b2b-filter-check-label em {
    font-style: normal;
    color: #9ca3af;
    font-weight: 400;
}

.b2b-filter-view-more {
    border: 0;
    background: transparent;
    padding: 0;
    margin-top: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--b2b-accent, #8a5a2b);
    text-decoration: underline;
}

.b2b-filter-colors-more {
    margin-top: 8px;
}

/* Price range slider */
.b2b-price-track {
    position: relative;
    height: 6px;
    background: #e5e7eb;
    border-radius: 999px;
    margin: 18px 4px 20px;
}

.b2b-price-track-fill {
    position: absolute;
    top: 0;
    height: 100%;
    background: var(--b2b-accent, #8a5a2b);
    border-radius: 999px;
    pointer-events: none;
}

.b2b-price-range {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    margin: 0;
    height: 0;
    background: transparent;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}

.b2b-price-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--b2b-accent, #8a5a2b);
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    pointer-events: auto;
    cursor: pointer;
}

.b2b-price-range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--b2b-accent, #8a5a2b);
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    pointer-events: auto;
    cursor: pointer;
}

.b2b-price-range-max {
    z-index: 2;
}

.b2b-price-apply-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.b2b-price-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #374151;
}

.b2b-filter-apply-inline {
    background: var(--b2b-accent, #8a5a2b);
    border-color: var(--b2b-accent, #8a5a2b);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 6px;
    white-space: nowrap;
}

.b2b-filter-apply-inline:hover {
    background: var(--b2b-accent-dark, #6f4521);
    border-color: var(--b2b-accent-dark, #6f4521);
    color: #fff;
}

.b2b-filter-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: #4b5563;
    margin-bottom: 6px;
    cursor: pointer;
}

.b2b-filter-colors {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.b2b-filter-swatch {
    cursor: pointer;
    margin: 0;
}

.b2b-filter-swatch-dot {
    display: block;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.b2b-filter-swatch.is-checked .b2b-filter-swatch-dot {
    border-color: var(--b2b-accent, #8a5a2b);
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--b2b-accent, #8a5a2b);
}

.b2b-filter-apply {
    background: var(--b2b-accent, #8a5a2b);
    border-color: var(--b2b-accent, #8a5a2b);
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 10px;
    border-radius: 8px;
}

.b2b-filter-apply:hover {
    background: var(--b2b-accent-dark, #6f4521);
    border-color: var(--b2b-accent-dark, #6f4521);
    color: #fff;
}

.b2b-category-help {
    text-align: center;
}

.b2b-category-help-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: #faf3eb;
    color: var(--b2b-accent, #8a5a2b);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.b2b-category-help-title {
    font-size: 0.9375rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.b2b-category-help-phone {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 12px;
    word-break: break-all;
}

.b2b-category-help-phone a {
    color: inherit;
    text-decoration: none;
}

.b2b-category-help-phone a:hover {
    color: var(--b2b-accent, #8a5a2b);
}

.b2b-category-help-btn {
    border: 1px solid var(--b2b-accent, #8a5a2b);
    color: var(--b2b-accent, #8a5a2b);
    background: #fff;
    font-weight: 600;
    font-size: 0.8125rem;
    padding: 8px 20px;
    border-radius: 8px;
}

.b2b-category-help-btn:hover {
    background: var(--b2b-accent, #8a5a2b);
    color: #fff;
}

.b2b-category-hero {
    position: relative;
    display: flex;
    align-items: stretch;
    min-height: auto;
    background: #f7f6f4;
    border: 1px solid #ebe8e3;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: none;
    padding: 10px;
}

.b2b-category-hero-panel {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    flex: 1;
    padding: 32px 36px;
    min-width: 0;
}

.b2b-category-hero-content {
    max-width: 640px;
}

.b2b-category-hero--banner {
    min-height: 280px;
    padding: 0;
    border: none;
    background: #1a1a1a;
}

.b2b-category-hero-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: #e8e4df;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.b2b-category-hero--banner .b2b-category-hero-panel {
    flex: 0 0 46%;
    max-width: 560px;
    min-height: 280px;
    padding: 40px 44px 40px 40px;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(255, 255, 255, 0.96) 72%,
            rgba(255, 255, 255, 0.55) 88%,
            rgba(255, 255, 255, 0) 100%);
}

.b2b-category-hero-title {
    font-family: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 10px;
    line-height: 1.2;
}

.b2b-category-hero-desc {
    font-size: 0.9375rem;
    color: #4b5563;
    margin: 0;
    line-height: 1.55;
}

.b2b-category-sidebar {
    position: sticky;
    top: 88px;
    align-self: flex-start;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

@media (min-width: 992px) {
    #product-category #b2b-category-filters-panel.collapse {
        display: block !important;
        visibility: visible !important;
        height: auto !important;
    }
}

.b2b-category-products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.b2b-category-product-item {
    min-width: 0;
}

@media (min-width: 992px) {
    .b2b-category-products {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.b2b-category-products .b2b-cat-product-card .b2b-home-product-body {
    padding: 10px 12px 12px;
}

.b2b-category-products .b2b-home-product-name {
    font-size: 0.75rem;
}

.b2b-category-products .b2b-home-product-add-btn {
    font-size: 0.6875rem;
    padding: 8px 10px;
}

.b2b-category-products .b2b-cat-add-btn-filled {
    background: var(--b2b-accent, #8a5a2b);
    color: #fff;
    border-color: var(--b2b-accent, #8a5a2b);
}

.b2b-category-products .b2b-cat-add-btn-filled:hover {
    background: var(--b2b-accent-dark, #6f4521);
    border-color: var(--b2b-accent-dark, #6f4521);
    color: #fff;
}

.b2b-category-sort-label {
    font-size: 0.8125rem;
    color: #6b7280;
    margin: 0 8px 0 0;
    white-space: nowrap;
}

.b2b-category-toolbar-right {
    display: flex;
    align-items: center;
}

.b2b-category-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 16px;
}

.b2b-category-toolbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.b2b-category-view-toggle .btn.active {
    background: var(--b2b-accent, #8a5a2b);
    color: #fff;
    border-color: var(--b2b-accent, #8a5a2b);
}

.b2b-category-results {
    font-size: 0.8125rem;
    color: #6b7280;
    font-weight: 500;
}

.b2b-category-sort {
    min-width: 160px;
    border-color: #e5e7eb;
    font-size: 0.8125rem;
}

.b2b-cat-product-moq {
    font-size: 0.6875rem;
    color: #9ca3af;
    margin: 0 0 10px;
}

.b2b-cat-product-stock {
    font-weight: 600;
    color: #374151;
}

.b2b-category-pagination-wrap {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.b2b-category-pagination .pagination {
    gap: 4px;
    margin: 0;
}

.b2b-category-pagination .page-link {
    border-radius: 8px;
    color: #374151;
    border-color: #e5e7eb;
    min-width: 36px;
    text-align: center;
    font-size: 0.875rem;
}

.b2b-category-pagination .page-item.active .page-link {
    background: var(--b2b-accent, #8a5a2b);
    border-color: var(--b2b-accent, #8a5a2b);
    color: #fff;
}

.b2b-category-pagination .page-link:hover {
    background: #faf3eb;
    color: var(--b2b-accent, #8a5a2b);
    border-color: #e5e7eb;
}

.b2b-category-products.b2b-category-products-list {
    grid-template-columns: 1fr;
}

.b2b-category-products-list .b2b-cat-product-card {
    display: flex;
    flex-direction: row;
}

.b2b-category-products-list .b2b-home-product-media {
    flex: 0 0 140px;
    max-width: 140px;
}

@media (max-width: 991.98px) {
    #product-category .b2b-category-layout--stack {
        display: flex;
        flex-direction: column;
    }

    #product-category .b2b-category-main {
        order: 1;
    }

    #product-category .b2b-category-sidebar {
        position: static;
        top: auto;
        max-height: none;
        overflow: visible;
        width: 100%;
        order: 2;
    }

    #product-category #b2b-category-filters-panel.collapse:not(.show) {
        display: none !important;
    }

    #product-category #b2b-category-filters-panel.collapse.show {
        position: fixed;
        inset: 0;
        z-index: 1055;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 16px;
        background: #fff;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    #product-category .b2b-category-panel-nav {
        margin-bottom: 0;
        border-bottom: 0;
        border-radius: 12px 12px 0 0;
    }

    #product-category .b2b-category-filters {
        border-radius: 12px;
        margin-bottom: 0;
    }

    #product-category .b2b-category-help {
        display: none;
    }

    #product-category .b2b-category-hero {
        margin-bottom: 12px;
    }

    #product-category .b2b-category-hero-panel {
        padding: 24px 20px;
    }

    #product-category .b2b-category-hero--banner {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    #product-category .b2b-category-hero--banner .b2b-category-hero-image {
        position: relative;
        flex: 0 0 200px;
        min-height: 200px;
        width: 100%;
    }

    #product-category .b2b-category-hero--banner .b2b-category-hero-panel {
        flex: 1 1 auto;
        max-width: none;
        width: 100%;
        min-height: 0;
        padding: 22px 20px 24px;
        background: #fff;
    }

    #product-category .b2b-category-hero-title {
        font-size: 1.75rem;
    }

    #product-category .b2b-category-toolbar-mobile {
        display: flex;
        flex-direction: column;
        gap: 10px;
        background: #fff;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        padding: 10px 12px;
        margin-bottom: 12px;
    }

    #product-category .b2b-category-toolbar-filter-btn {
        display: flex;
        align-items: center;
        gap: 8px;
        width: 100%;
        padding: 0 0 10px;
        margin: 0;
        border: 0;
        border-bottom: 1px solid #e5e7eb;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        font-size: 0.875rem;
        font-weight: 700;
        color: var(--b2b-accent, #8a5a2b);
        text-align: left;
    }

    #product-category .b2b-category-toolbar-mobile-row {
        display: flex;
        align-items: center;
        gap: 8px;
        width: 100%;
    }

    #product-category .b2b-category-toolbar-mobile .b2b-category-results {
        flex: 1 1 auto;
        min-width: 0;
        text-align: center;
        font-size: 0.75rem;
        font-weight: 600;
        color: #6b7280;
        margin: 0;
        line-height: 1.25;
    }

    #product-category .b2b-category-sort-dropdown {
        flex-shrink: 0;
        margin-left: 0;
    }

    #product-category .b2b-category-sort-btn {
        border: 0;
        background: transparent;
        box-shadow: none;
        padding: 0;
        font-size: 0.8125rem;
        font-weight: 600;
        color: var(--b2b-accent, #8a5a2b);
    }

    #product-category .b2b-category-toolbar-mobile .b2b-category-view-toggle {
        flex-shrink: 0;
    }

    #product-category .b2b-category-toolbar-mobile .b2b-category-view-toggle .btn {
        min-width: 34px;
        height: 34px;
        padding: 0;
        border-radius: 8px;
    }

    #product-category .b2b-category-toolbar-mobile .b2b-category-view-toggle .btn.active {
        background: var(--b2b-accent, #8a5a2b);
        border-color: var(--b2b-accent, #8a5a2b);
        color: #fff;
    }

    #product-category .b2b-category-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .b2b-category-page .b2b-category-products,
    .b2b-category-page .b2b-category-products.b2b-category-products-list {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .b2b-category-page .b2b-category-products-list .b2b-cat-product-card {
        flex-direction: column;
    }

    .b2b-category-page .b2b-category-products-list .b2b-home-product-media {
        flex: unset;
        max-width: none;
        width: 100%;
    }

    .b2b-category-page .b2b-category-products .b2b-home-product-name {
        font-size: 0.6875rem;
        line-height: 1.3;
        min-height: 2.6em;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .b2b-category-page .b2b-category-products .b2b-home-product-sku {
        overflow-wrap: anywhere;
        word-break: break-all;
        font-size: 0.5625rem;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .b2b-category-page .b2b-category-products .b2b-home-product-price {
        font-size: 0.75rem;
        margin-bottom: 6px;
    }

    .b2b-category-page .b2b-category-products .b2b-cat-product-moq {
        font-size: 0.5625rem;
        line-height: 1.35;
        margin-bottom: 8px;
    }

    .b2b-category-page .b2b-category-products .b2b-home-product-add-btn {
        font-size: 0.625rem;
        padding: 7px 6px;
    }

    .b2b-category-page .b2b-category-products .b2b-home-product-body {
        padding: 8px 8px 10px;
    }

    .b2b-category-page .b2b-category-pagination-wrap {
        margin-top: 16px;
        margin-bottom: 4px;
        padding: 0 4px;
    }

    .b2b-category-page .b2b-category-pagination .pagination {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
        row-gap: 6px;
    }

    .b2b-category-page .b2b-category-pagination .page-link {
        min-width: 34px;
        height: 34px;
        padding: 0 6px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 0.8125rem;
    }

    #product-category .b2b-category-filter-reset {
        font-size: 0.8125rem;
        font-weight: 600;
        color: var(--b2b-accent, #8a5a2b);
        text-decoration: none;
    }

    #product-category .b2b-filter-apply-inline {
        width: 100%;
        margin-top: 8px;
        padding: 10px;
        border-radius: 8px;
    }

    /* Only hide filter block on the search page, not on category. */
    #product-search .b2b-category-filters {
        display: none;
    }

    #product-search .b2b-category-sidebar {
        display: none;
        margin-top: -8px;
        margin-bottom: 4px;
        order: 1;
    }

    #product-search .b2b-category-sidebar.show {
        display: block;
    }

    #product-search .b2b-category-panel-nav,
    #product-search .b2b-category-help {
        display: none;
    }

    #product-search .b2b-category-filters {
        display: block;
    }

    #product-search .b2b-category-main {
        order: 2;
    }

    #product-search .b2b-category-hero {
        text-align: left;
        padding: 14px 16px;
        display: none;
    }

    #product-search .b2b-category-hero-title {
        font-size: 1.9rem;
        line-height: 1.1;
    }

    #product-search .b2b-search-refine-panel {
        padding: 14px;
        border-radius: 14px;
    }

    #product-search .b2b-search-refine-btn {
        width: 100%;
        margin-top: 8px;
    }

    #product-search .b2b-search-desktop-toolbar {
        display: none;
    }

    #product-search .b2b-category-products-list .b2b-cat-product-card {
        display: grid;
        grid-template-columns: 92px 1fr;
        gap: 10px;
        padding: 10px;
        border-radius: 12px;
        align-items: start;
    }

    #product-search .b2b-category-products-list .b2b-home-product-media {
        flex: unset;
        max-width: unset;
    }

    #product-search .b2b-category-products-list .b2b-home-product-body {
        padding: 0;
    }

    #product-search .b2b-category-products-list .b2b-home-product-name {
        font-size: 0.84rem;
        line-height: 1.3;
        margin-bottom: 4px;
        min-height: 0;
    }

    #product-search .b2b-category-products-list .b2b-home-product-price {
        margin: 0 0 6px;
        font-size: 0.86rem;
    }

    #product-search .b2b-category-products-list .b2b-cat-product-moq {
        display: none;
    }

    #product-search .b2b-category-products-list .b2b-home-product-add-btn {
        font-size: 0.78rem;
        padding: 8px 10px;
        border-radius: 8px;
    }

    #product-search .b2b-search-mobile-toolbar .b2b-category-view-toggle .btn {
        min-width: 34px;
        height: 34px;
        border-radius: 8px;
        padding: 0;
    }

    #product-search .b2b-category-pagination-wrap {
        margin-top: 10px;
    }
}

/* ----- B2B product page ----- */
.b2b-product-page {
    background: #f3f4f6;
    padding-bottom: 40px;
}

.b2b-product-wrap {
    max-width: 1400px;
    padding: 16px 20px 0;
}

.b2b-product-breadcrumb {
    padding: 8px 0 20px;
}

.b2b-product-breadcrumb .breadcrumb {
    font-size: 13px;
    margin: 0;
}

.b2b-product-breadcrumb .breadcrumb-item a {
    color: #6b7280;
    text-decoration: none;
}

.b2b-product-breadcrumb .breadcrumb-item.active {
    color: #111827;
}

.b2b-product-gallery {
    display: flex;
    gap: 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px;
}

.b2b-product-thumbs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 0 0 72px;
}

.b2b-product-thumb {
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 0;
    background: #f9fafb;
    overflow: hidden;
    cursor: pointer;
    width: 72px;
    height: 72px;
}

.b2b-product-thumb.is-active {
    border-color: var(--b2b-accent, #8a5a2b);
}

.b2b-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.b2b-product-main-image {
    flex: 1;
    position: relative;
    min-height: 360px;
    background: #f9fafb;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.b2b-product-main-image>a:first-child {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 360px;
}

.b2b-product-main-image img {
    max-height: 420px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.b2b-product-zoom {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.75rem;
    color: #374151;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    z-index: 2;
}

button.b2b-product-zoom {
    line-height: 1.4;
}

.b2b-product-zoom:hover {
    color: var(--b2b-accent, #8a5a2b);
    border-color: var(--b2b-accent, #8a5a2b);
}

.b2b-product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.b2b-product-badge {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
}

.b2b-product-badge-best {
    background: #ecfdf5;
    color: #059669;
}

.b2b-product-badge-bulk {
    background: #fff7ed;
    color: #ea580c;
}

.b2b-product-title {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 10px;
    line-height: 1.25;
}

.b2b-product-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 0.8125rem;
    color: #6b7280;
    margin-bottom: 16px;
}

.b2b-product-meta-sep {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #d1d5db;
    flex-shrink: 0;
}

.b2b-product-sku {
    min-width: 0;
    max-width: 100%;
    line-height: 1.45;
    overflow-wrap: anywhere;
    word-break: break-word;
}

#b2b-product-sku-value {
    overflow-wrap: anywhere;
    word-break: break-all;
}

.b2b-product-rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #374151;
}

.b2b-product-stars {
    display: inline-flex;
    gap: 1px;
}

.b2b-product-stars .fa-star {
    font-size: 0.75rem;
    color: #f59e0b;
}

.b2b-product-stars .b2b-star-muted {
    color: #e5e7eb;
}

.b2b-product-reviews-link {
    color: #6b7280;
    text-decoration: none;
}

.b2b-product-reviews-link:hover {
    color: var(--b2b-accent, #8a5a2b);
}

.b2b-product-price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 16px;
    margin: 0 0 20px;
}

.b2b-product-price-label {
    font-size: 1rem;
    font-weight: 600;
    color: #6b7280;
    margin-right: 4px;
}

.b2b-product-price-main {
    margin: 0;
}

.b2b-product-price-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
}

.b2b-product-price-unit {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 500;
}

.b2b-product-stock {
    font-size: 0.875rem;
    color: #6b7280;
    white-space: nowrap;
}

.b2b-product-stock #b2b-stock-value {
    font-weight: 600;
    color: #111827;
}

.b2b-product-price-mrp {
    font-size: 1.5rem;
    color: #000000;
    margin: 0;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.b2b-product-savings {
    color: #059669;
    font-weight: 600;
}

.b2b-product-purchase-panel {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    margin-top: 4px;
}

.b2b-product-purchase {
    margin: 0;
}

.b2b-product-thumbs-scroll {
    max-height: 380px;
    overflow-y: auto;
    padding-right: 2px;
}

.b2b-product-option-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.b2b-option-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.b2b-option-swatch {
    width: 48px;
    height: 48px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    margin: 0;
}

.b2b-option-swatch.is-selected,
.b2b-option-swatch:has(input:checked) {
    border-color: var(--b2b-accent, #8a5a2b);
    box-shadow: 0 0 0 1px var(--b2b-accent, #8a5a2b);
}

.b2b-option-swatch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.b2b-option-more {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    background: #f9fafb;
    border: 2px dashed #e5e7eb;
    cursor: pointer;
}

.b2b-option-more:hover {
    border-color: var(--b2b-accent, #8a5a2b);
    color: var(--b2b-accent, #8a5a2b);
}

.b2b-option-swatches-more-wrap {
    width: 100%;
    flex-basis: 100%;
}

.b2b-option-swatches-more {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.b2b-option-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.b2b-option-pill {
    margin: 0;
    cursor: pointer;
}

.b2b-option-pill span {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    font-size: 0.8125rem;
    color: #374151;
    background: #fff;
}

.b2b-option-pill.is-selected span,
.b2b-option-pill:has(input:checked) span {
    border-color: var(--b2b-accent, #8a5a2b);
    background: #faf3eb;
    color: var(--b2b-accent, #8a5a2b);
    font-weight: 600;
}

.b2b-product-select {
    max-width: 280px;
    font-size: 0.875rem;
    border-color: #e5e7eb;
}

.b2b-product-qty-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 20px 0 16px;
}

.b2b-product-qty-row .b2b-product-option-label {
    margin-bottom: 0;
    min-width: 28px;
}

.b2b-qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.b2b-qty-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: #f9fafb;
    color: #374151;
    cursor: pointer;
}

.b2b-qty-btn:hover {
    background: #f3f4f6;
    color: var(--b2b-accent, #8a5a2b);
}

.b2b-qty-display {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 40px;
    padding: 0 8px;
    border-left: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    text-align: center;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #111827;
    user-select: none;
}

.b2b-product-pack-note {
    font-size: 0.8125rem;
    color: #6b7280;
    margin: 0;
    white-space: nowrap;
}

.b2b-product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 4px;
}

.b2b-product-btn-cart {
    background: var(--b2b-accent, #8a5a2b);
    border-color: var(--b2b-accent, #8a5a2b);
    color: #fff;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 8px;
    width: 100%;
}

.b2b-product-btn-cart:hover {
    background: var(--b2b-accent-dark, #6f4521);
    border-color: var(--b2b-accent-dark, #6f4521);
    color: #fff;
}

.b2b-product-btn-wishlist {
    background: #fff;
    border: 1px solid var(--b2b-accent, #8a5a2b);
    color: var(--b2b-accent, #8a5a2b);
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 8px;
    width: 100%;
}

.b2b-product-btn-wishlist:hover {
    background: #faf3eb;
    color: var(--b2b-accent-dark, #6f4521);
    border-color: var(--b2b-accent-dark, #6f4521);
}

.b2b-product-wishlist-form {
    margin: 0;
}

.b2b-product-moq-note {
    font-size: 0.75rem;
    color: #9ca3af;
    margin: 12px 0 0;
}

.b2b-product-bulk-col {
    display: flex;
}

.b2b-product-bulk-card {
    background: #fafafa;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px;
    width: 100%;
}

.b2b-product-bulk-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px;
}

.b2b-product-bulk-table {
    width: 100%;
    font-size: 0.8125rem;
    margin-bottom: 0;
}

.b2b-product-bulk-table th,
.b2b-product-bulk-table td {
    padding: 8px 4px;
    border-bottom: 1px solid #f3f4f6;
}

.b2b-product-bulk-table th {
    color: #6b7280;
    font-weight: 600;
}

.b2b-product-bulk-table td:last-child {
    text-align: right;
    font-weight: 600;
    color: #111827;
}

.b2b-product-bulk-footer {
    margin: 12px 0 0;
    padding: 10px 12px;
    background: #ecfdf5;
    color: #059669;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 8px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.b2b-product-trust {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 0;
    margin: 20px 0 28px;
    overflow: hidden;
}

.b2b-product-trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border-right: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
}

.b2b-product-trust-item:nth-child(2n) {
    border-right: none;
}

.b2b-product-trust-item:nth-last-child(-n+2) {
    border-bottom: none;
}

.b2b-product-trust-item>i {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--b2b-accent, #8a5a2b);
    background: #faf3eb;
    border-radius: 50%;
}

.b2b-product-trust-label {
    display: block;
    font-size: 0.6875rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.b2b-product-trust-value {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
}

.b2b-product-tabs-wrap {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 0 24px 24px;
}

.b2b-product-tabs {
    border-bottom: 1px solid #e5e7eb;
    gap: 4px;
    padding-top: 8px;
}

.b2b-product-tabs .nav-link {
    border: none;
    border-bottom: 2px solid transparent;
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 12px 16px;
    border-radius: 0;
    margin-bottom: -1px;
}

.b2b-product-tabs .nav-link.active {
    color: var(--b2b-accent, #8a5a2b);
    border-bottom-color: var(--b2b-accent, #8a5a2b);
    background: transparent;
}

.b2b-product-tab-content {
    padding-top: 24px;
}

.b2b-product-tab-heading {
    margin: 0 0 12px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
}

.b2b-product-desc {
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 16px;
}

.b2b-product-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    color: #374151;
    margin-bottom: 10px;
}

.b2b-product-features i {
    color: var(--b2b-accent, #8a5a2b);
    margin-top: 3px;
}

.b2b-product-spec-table {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    border-collapse: collapse;
}

.b2b-product-spec-table th,
.b2b-product-spec-table td {
    padding: 12px 16px;
    font-size: 0.8125rem;
    border-bottom: 1px solid #f3f4f6;
}

.b2b-product-spec-table th {
    width: 42%;
    background: #f9fafb;
    color: #6b7280;
    font-weight: 600;
}

.b2b-product-spec-table td {
    color: #111827;
}

.b2b-product-spec-table tr:last-child th,
.b2b-product-spec-table tr:last-child td {
    border-bottom: none;
}

.b2b-product-care {
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.7;
}

/* Related products (B2B product page) */
.b2b-related-products {
    margin-top: 32px;
    padding-top: 8px;
}

.b2b-related-products .b2b-home-section-title {
    margin-bottom: 16px;
}

.b2b-related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.b2b-related-item {
    min-width: 0;
}

.b2b-related-products .b2b-cat-product-card .b2b-home-product-body {
    padding: 10px 12px 12px;
}

.b2b-related-products .b2b-home-product-name {
    font-size: 0.75rem;
}

.b2b-related-products .b2b-home-product-name a {
    color: #111827;
    text-decoration: none;
}

.b2b-related-products .b2b-home-product-name a:hover {
    color: var(--b2b-accent, #8a5a2b);
}

.b2b-related-products .b2b-home-product-add-btn {
    font-size: 0.6875rem;
    padding: 8px 10px;
}

.b2b-related-products .b2b-cat-add-btn-filled {
    background: var(--b2b-accent, #8a5a2b);
    color: #fff;
    border-color: var(--b2b-accent, #8a5a2b);
}

.b2b-related-products .b2b-cat-add-btn-filled:hover {
    background: var(--b2b-accent-dark, #6f4521);
    border-color: var(--b2b-accent-dark, #6f4521);
    color: #fff;
}

@media (min-width: 992px) {
    .b2b-related-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .b2b-product-trust {
        grid-template-columns: repeat(4, 1fr);
    }

    .b2b-product-trust-item {
        border-right: 1px solid #f3f4f6;
        border-bottom: none;
    }

    .b2b-product-trust-item:nth-child(2n) {
        border-right: 1px solid #f3f4f6;
    }

    .b2b-product-trust-item:last-child {
        border-right: none;
    }
}

@media (max-width: 991.98px) {
    .b2b-product-gallery {
        flex-direction: column-reverse;
    }

    .b2b-product-thumbs {
        flex-direction: row;
        flex: none;
        overflow-x: auto;
    }

    .b2b-product-thumb {
        flex: 0 0 64px;
        width: 64px;
        height: 64px;
    }

    .b2b-product-main-image {
        min-height: 280px;
    }

    .b2b-product-title {
        font-size: 1.375rem;
    }

    .b2b-product-meta .b2b-product-sku {
        flex: 1 1 100%;
    }

    .b2b-product-bulk-col {
        margin-top: 16px;
    }

    .b2b-product-actions {
        grid-template-columns: 1fr;
    }

    .b2b-product-trust-item {
        border-right: none;
    }

    .b2b-product-trust-item:nth-child(2n) {
        border-right: none;
    }
}

/* ----- B2B account pages ----- */
.b2b-account-page {
    background: #f3f4f6;
    padding-bottom: 40px;
}

.b2b-account-wrap {
    max-width: 1400px;
    padding: 16px 20px 0;
}

.b2b-account-breadcrumb {
    padding: 8px 0 20px;
}

.b2b-account-breadcrumb .breadcrumb {
    font-size: 13px;
    margin: 0;
}

.b2b-account-breadcrumb .breadcrumb-item a {
    color: #6b7280;
    text-decoration: none;
}

.b2b-account-breadcrumb .breadcrumb-item.active {
    color: #111827;
    font-weight: 600;
}

.b2b-account-content-panel {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}

.b2b-account-content-header {
    padding: 20px 24px;
    border-bottom: 1px solid #f3f4f6;
}

.b2b-account-page-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.b2b-account-content-panel #wishlist {
    padding: 0;
}

.b2b-account-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
}

.b2b-btn-primary {
    background: var(--b2b-accent, #8a5a2b);
    border-color: var(--b2b-accent, #8a5a2b);
    color: #fff;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
}

.b2b-btn-primary:hover {
    background: var(--b2b-accent-dark, #6f4521);
    border-color: var(--b2b-accent-dark, #6f4521);
    color: #fff;
}

.b2b-btn-outline {
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #374151;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.b2b-btn-outline:hover {
    border-color: var(--b2b-accent, #8a5a2b);
    color: var(--b2b-accent, #8a5a2b);
    background: #faf3eb;
}

.b2b-btn-outline-danger {
    border-color: #fecaca;
    color: #b91c1c;
}

.b2b-btn-outline-danger:hover {
    border-color: #ef4444;
    color: #991b1b;
    background: #fef2f2;
}

.b2b-account-panel {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px 0;
}

.b2b-account-panel-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px;
    padding: 0 16px 12px;
    border-bottom: 1px solid #f3f4f6;
}

.b2b-account-nav {
    display: flex;
    flex-direction: column;
}

.b2b-account-nav-link {
    display: block;
    padding: 10px 16px;
    font-size: 0.8125rem;
    color: #4b5563;
    text-decoration: none;
    border-left: 3px solid transparent;
}

.b2b-account-nav-link:hover {
    background: #faf3eb;
    color: var(--b2b-accent, #8a5a2b);
}

.b2b-account-nav-link.is-active {
    background: #faf3eb;
    color: var(--b2b-accent, #8a5a2b);
    border-left-color: var(--b2b-accent, #8a5a2b);
    font-weight: 600;
}

.b2b-account-dashboard-page {
    background: #f8f5f1;
}

.b2b-account-alert {
    border-radius: 12px;
    margin-bottom: 20px;
}

.b2b-wsp-notice {
    border-radius: 12px;
    font-size: 0.95rem;
}

.b2b-wsp-notice .fa-circle-info {
    margin-right: 0.35rem;
}

.b2b-account-page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.b2b-account-main-title {
    font-size: 2.1rem;
    line-height: 1.1;
    font-weight: 700;
    margin: 0 0 8px;
    color: #1f2937;
}

.b2b-account-main-copy {
    margin: 0;
}

.b2b-account-main-copy,
.b2b-account-welcome,
.b2b-account-profile-copy span,
.b2b-account-order-date,
.b2b-account-order-product,
.b2b-account-card-meta,
.b2b-account-address-copy span,
.b2b-account-payment-card p,
.b2b-account-newsletter-card p,
.b2b-account-empty-state p {
    color: #6b7280;
}

.b2b-account-dashboard-sidebar {
    background: #fff;
    border: 1px solid #eadfd2;
    border-radius: 18px;
    padding: 14px 0 18px;
    box-shadow: 0 18px 36px rgba(17, 24, 39, 0.06);
    position: sticky;
    top: 20px;
    overflow: hidden;
}

.b2b-account-dashboard-nav {
    display: grid;
    gap: 4px;
    margin-top: 0;
}

.b2b-account-dashboard-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 18px;
    margin: 0 12px;
    border-radius: 14px;
    text-decoration: none;
    color: #374151;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.b2b-account-dashboard-link:hover {
    background: #faf3eb;
    color: var(--b2b-accent, #8a5a2b);
    transform: translateX(2px);
}

.b2b-account-dashboard-link.is-active {
    background: #f4e8db;
    color: #1f2937;
    font-weight: 700;
}

.b2b-account-dashboard-link-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #f8f5f1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--b2b-accent, #8a5a2b);
    flex-shrink: 0;
}

.b2b-account-dashboard-link-text {
    flex: 1;
}

.b2b-account-dashboard-link-badge {
    min-width: 22px;
    height: 22px;
    border-radius: 999px;
    background: var(--b2b-accent, #8a5a2b);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 7px;
}

.b2b-account-logout-btn {
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 90%;
    padding: 13px 16px;
    border-radius: 14px;
    border: 1px solid #eadfd2;
    background: #fffaf5;
    color: #7c4a23;
    text-decoration: none;
    font-weight: 600;
}

.b2b-account-logout-btn:hover {
    background: #faf3eb;
    color: #6f4521;
}

.b2b-account-welcome {
    font-weight: 600;
    margin: 0;
    text-align: right;
    white-space: nowrap;
}

.b2b-account-dashboard-card {
    background: #fff;
    border: 1px solid #eadfd2;
    border-radius: 18px;
    padding: 24px;
    height: auto;
    box-shadow: 0 18px 36px rgba(17, 24, 39, 0.06);
}

.b2b-account-card-head,
.b2b-account-card-footer,
.b2b-account-address-top,
.b2b-account-order-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.b2b-account-card-head {
    margin-bottom: 18px;
}

.b2b-account-card-head h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #111827;
}

.b2b-account-card-action {
    color: #7c4a23;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.b2b-account-card-action:hover {
    color: #6f4521;
}

.b2b-account-profile {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 140px;
}

.b2b-account-avatar {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: #faf3eb;
    color: #8a5a2b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.b2b-account-profile-copy {
    display: grid;
    gap: 4px;
}

.b2b-account-profile-copy strong,
.b2b-account-order-title,
.b2b-account-wishlist-card strong {
    color: #111827;
}

.b2b-account-profile-copy strong {
    font-size: 1.05rem;
}

.b2b-account-order-card {
    gap: 14px;
    min-height: 140px;
}

.b2b-account-order-thumb {
    width: 96px;
    height: 96px;
    border-radius: 16px;
    object-fit: cover;
    background: #f8f5f1;
    flex-shrink: 0;
}

.b2b-account-order-copy {
    display: grid;
    gap: 5px;
    flex: 1;
}

.b2b-account-order-title {
    font-weight: 700;
    text-decoration: none;
}

.b2b-account-order-title:hover {
    color: var(--b2b-accent, #8a5a2b);
}

.b2b-account-order-total {
    font-size: 1.1rem;
    color: #111827;
}

.b2b-account-order-status,
.b2b-account-address-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef9f0;
    color: #248a3d;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

.b2b-account-wishlist-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.b2b-account-wishlist-card {
    position: relative;
    display: grid;
    gap: 10px;
    text-decoration: none;
    color: #374151;
}

.b2b-account-wishlist-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 16px;
    background: #f8f5f1;
    border: 1px solid #f0e7de;
}

.b2b-account-wishlist-card strong {
    font-size: 0.95rem;
    line-height: 1.35;
    min-height: 2.5em;
}

.b2b-account-wishlist-card span:last-child {
    font-weight: 700;
    color: #7c4a23;
}

.b2b-account-wishlist-fav {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: #8a5a2b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(17, 24, 39, 0.08);
}

.b2b-account-address-card,
.b2b-account-payment-card,
.b2b-account-newsletter-card,
.b2b-account-empty-state {
    display: flex;
    gap: 14px;
}

.b2b-account-address-card,
.b2b-account-payment-card,
.b2b-account-newsletter-card {
    min-height: 112px;
}

.b2b-account-address-icon,
.b2b-account-payment-icon,
.b2b-account-empty-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #faf3eb;
    color: #8a5a2b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.b2b-account-address-copy,
.b2b-account-payment-card>div,
.b2b-account-newsletter-card>div,
.b2b-account-empty-state {
    flex: 1;
}

.b2b-account-payment-card>div,
.b2b-account-newsletter-card>div {
    display: grid;
    gap: 6px;
}

.b2b-account-address-copy {
    display: grid;
    gap: 6px;
}

.b2b-account-card-footer {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #f2ebe4;
    align-items: center;
}

.b2b-account-card-meta {
    font-size: 0.875rem;
}

.b2b-account-payment-card,
.b2b-account-newsletter-card,
.b2b-account-empty-state {
    align-items: flex-start;
}

.b2b-account-payment-card strong,
.b2b-account-empty-state strong {
    display: block;
    margin-bottom: 6px;
    color: #111827;
}

.b2b-account-payment-card p,
.b2b-account-newsletter-card p,
.b2b-account-empty-state p {
    margin: 0;
    line-height: 1.5;
}

.b2b-account-empty-state {
    padding: 8px 0;
}

.b2b-account-orders-page .b2b-account-orders-footer {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #f2ebe4;
}

.b2b-account-orders-page .b2b-orders-table {
    margin-bottom: 0;
}

.b2b-account-orders-card {
    overflow: hidden;
}

.b2b-account-orders-table-wrap {
    overflow-x: auto;
}

.b2b-account-orders-table {
    width: 100%;
    border-collapse: collapse;
}

.b2b-account-orders-table thead th {
    background: #faf7f3;
    color: #6b7280;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 16px 20px;
    border-bottom: 1px solid #eee5dc;
    white-space: nowrap;
}

.b2b-account-orders-table tbody td {
    padding: 18px 20px;
    border-bottom: 1px solid #f2ebe4;
    color: #374151;
    font-size: 0.92rem;
    vertical-align: middle;
}

.b2b-account-orders-table tbody tr:last-child td {
    border-bottom: 0;
}

.b2b-account-order-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #f4e8db;
    color: #7c4a23;
    font-size: 0.78rem;
    font-weight: 700;
}

.b2b-account-order-view {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f4ece1;
    color: #8a5a2b;
    text-decoration: none;
}

.b2b-account-order-view:hover {
    background: #ead9c8;
    color: #6f4521;
}

.b2b-account-orders-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px 0;
}

.b2b-account-orders-results {
    color: #6b7280;
    font-size: 0.875rem;
}

.b2b-account-orders-pagination {
    margin-left: auto;
}

.b2b-account-orders-pagination .pagination {
    margin-bottom: 0;
}

.b2b-account-orders-pagination .page-link {
    border-radius: 10px;
    border-color: #eadfd2;
    color: #7c4a23;
    min-width: 40px;
    text-align: center;
}

.b2b-account-orders-pagination .active>.page-link,
.b2b-account-orders-pagination .page-link.active {
    background: var(--b2b-accent, #8a5a2b);
    border-color: var(--b2b-accent, #8a5a2b);
    color: #fff;
}

.b2b-account-form-card form {
    display: grid;
    gap: 22px;
}

.b2b-account-form-card fieldset {
    border: 1px solid #eee5dc;
    border-radius: 18px;
    padding: 22px;
    margin: 0;
    background: #fffaf5;
}

.b2b-account-form-card legend {
    float: none;
    width: auto;
    margin: 0 0 18px;
    padding: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
}

.b2b-account-form-card .row.mb-3:last-child {
    margin-bottom: 0 !important;
}

.b2b-account-form-card .col-form-label {
    color: #374151;
    font-weight: 600;
}

.b2b-account-form-card .form-control,
.b2b-account-form-card .form-select {
    min-height: 48px;
    border-radius: 12px;
    border-color: #e3d7ca;
    box-shadow: none;
}

.b2b-account-form-card textarea.form-control {
    min-height: 120px;
}

.b2b-account-form-card .form-control:focus,
.b2b-account-form-card .form-select:focus {
    border-color: #cda883;
    box-shadow: 0 0 0 0.18rem rgba(138, 90, 43, 0.12);
}

.b2b-account-switch-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px;
    border: 1px solid #eee5dc;
    border-radius: 18px;
    background: #fffaf5;
}

.b2b-account-switch-card h3 {
    margin: 0 0 6px;
    font-size: 1.05rem;
    color: #111827;
}

.b2b-account-switch-card p {
    margin: 0;
    color: #6b7280;
}

.b2b-account-switch .form-check-input {
    width: 3rem;
    height: 1.5rem;
}

.b2b-btn-primary,
.b2b-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
}

.b2b-btn-primary {
    background: var(--b2b-accent, #8a5a2b);
    border: 1px solid var(--b2b-accent, #8a5a2b);
    color: #fff;
}

.b2b-btn-primary:hover {
    background: #73491f;
    border-color: #73491f;
    color: #fff;
}

.b2b-btn-outline {
    background: #fffaf5;
    border: 1px solid #eadfd2;
    color: #7c4a23;
}

.b2b-btn-outline:hover {
    background: #faf3eb;
    border-color: #ddc8b2;
    color: #6f4521;
}

.b2b-address-book-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.b2b-address-book-card {
    display: grid;
    gap: 18px;
    border: 1px solid #eee5dc;
    border-radius: 18px;
    padding: 20px;
    background: #fffaf5;
}

.b2b-wishlist-table-wrap {
    overflow-x: auto;
}

.b2b-wishlist-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}

.b2b-wishlist-table thead th {
    background: #f9fafb;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
    white-space: nowrap;
}

.b2b-wishlist-table tbody td {
    padding: 16px;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
    font-size: 0.875rem;
}

.b2b-wishlist-table tbody tr:last-child td {
    border-bottom: none;
}

.b2b-wishlist-th-image {
    width: 90px;
}

.b2b-wishlist-th-action {
    width: 160px;
}

.b2b-wishlist-thumb {
    display: block;
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
}

.b2b-wishlist-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.b2b-wishlist-product-link {
    display: block;
    font-weight: 600;
    color: #111827;
    text-decoration: none;
    margin-bottom: 4px;
}

.b2b-wishlist-product-link:hover {
    color: var(--b2b-accent, #8a5a2b);
}

.b2b-wishlist-sku {
    display: block;
    font-size: 0.75rem;
    color: #9ca3af;
}

.b2b-wishlist-price-value {
    font-weight: 700;
    color: #111827;
}

.b2b-wishlist-price-unit {
    font-size: 0.75rem;
    color: #6b7280;
}

.b2b-wishlist-actions {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: flex-end;
}

.b2b-wishlist-add-btn {
    font-size: 0.75rem;
    padding: 8px 12px;
    white-space: nowrap;
}

.b2b-wishlist-remove {
    font-size: 0.75rem;
    padding: 7px 12px;
}

.b2b-wishlist-empty {
    text-align: center;
    padding: 56px 24px 48px;
}

.b2b-wishlist-empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #faf3eb;
    color: var(--b2b-accent, #8a5a2b);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.b2b-wishlist-empty p {
    color: #6b7280;
    font-size: 0.875rem;
    max-width: 360px;
    margin: 0 auto 20px;
}

.b2b-wishlist-empty-actions {
    display: flex;
    justify-content: center;
}

.b2b-wishlist-empty-actions .btn,
.b2b-wishlist-page .b2b-account-actions .btn {
    display: inline-flex;
    width: auto;
    min-width: 180px;
    justify-content: center;
}

.b2b-wishlist-page .b2b-account-actions {
    margin-top: 20px;
    padding-top: 4px;
}

.b2b-staff-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #f9fafb;
    color: var(--b2b-accent, #8a5a2b);
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.b2b-staff-table-wrap {
    margin-top: 0.5rem;
}

.b2b-staff-table thead th {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #6b7280;
    border-bottom-width: 1px;
}

.bg-success-subtle {
    background: #ecfdf3;
}

.bg-secondary-subtle {
    background: #f3f4f6;
}

@media (max-width: 991.98px) {
    .b2b-account-layout .col-lg-3 {
        order: -1;
    }

    .b2b-account-dashboard-sidebar {
        position: static;
    }

    .b2b-account-page-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .b2b-account-welcome {
        text-align: left;
        margin-top: 0;
        white-space: normal;
    }

    .b2b-wishlist-actions {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-end;
    }
}

@media (max-width: 767.98px) {
    .b2b-account-wrap {
        padding: 16px 12px 0;
    }

    .b2b-account-dashboard-sidebar,
    .b2b-account-dashboard-card {
        border-radius: 16px;
        padding: 18px;
    }

    .b2b-account-main-title {
        font-size: 1.6rem;
    }

    .b2b-account-dashboard-sidebar {
        padding: 14px 0 18px;
    }

    .b2b-account-card-head,
    .b2b-account-card-footer,
    .b2b-account-address-top,
    .b2b-account-order-card {
        flex-direction: column;
    }

    .b2b-account-orders-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .b2b-account-orders-pagination {
        margin-left: 0;
    }

    .b2b-account-wishlist-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .b2b-account-logout-btn,
    .b2b-account-card-footer .btn {
        width: 100%;
    }
}

@media (min-width: 992px) {
    .b2b-store-mobile-menu {
        display: none !important;
    }

    .b2b-store-action-mobile {
        display: none !important;
    }

    .b2b-mobile-tabbar {
        display: none !important;
    }

    .b2b-mobile-menu {
        display: none !important;
    }
}

/* ----- B2B cart & checkout ----- */
.b2b-cart-page,
.b2b-checkout-page,
.b2b-success-page {
    background: #faf7f3;
    padding-bottom: 40px;
}

.b2b-success-card {
    max-width: 760px;
    margin: 0 auto;
    padding: 36px 32px 32px;
    background: #fff;
    border: 1px solid #eadfd2;
    border-radius: 18px;
    box-shadow: 0 18px 36px rgba(17, 24, 39, 0.06);
    text-align: center;
}

.b2b-success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #ecfdf3;
    color: #16a34a;
    font-size: 2rem;
}

.b2b-success-title {
    margin: 0 0 10px;
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.15;
}

.b2b-success-lead,
.b2b-success-thanks {
    margin: 0;
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.65;
}

.b2b-success-thanks {
    margin-top: 18px;
}

.b2b-success-order-summary {
    margin: 24px 0 0;
    padding: 18px 20px;
    border: 1px solid #eadfd2;
    border-radius: 14px;
    background: #fffaf5;
    text-align: left;
}

.b2b-success-order-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
    color: #4b5563;
    font-size: 0.95rem;
}

.b2b-success-order-row+.b2b-success-order-row {
    border-top: 1px solid #f0e7de;
}

.b2b-success-order-row strong {
    color: #1f2937;
}

.b2b-success-order-row.is-total strong {
    color: #7c4a1e;
    font-size: 1.1rem;
}

.b2b-success-next {
    margin-top: 28px;
    text-align: left;
}

.b2b-success-next-title {
    margin: 0 0 14px;
    color: #1f2937;
    font-weight: 700;
}

.b2b-success-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.b2b-success-link-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #eadfd2;
    border-radius: 14px;
    background: #fff;
    color: #374151;
    text-decoration: none;
    font-weight: 600;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.b2b-success-link-card:hover {
    border-color: var(--b2b-accent, #8a5a2b);
    background: #fffaf5;
    color: #7c4a23;
}

.b2b-success-link-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #faf7f3;
    color: var(--b2b-accent, #8a5a2b);
    flex-shrink: 0;
}

.b2b-success-actions {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #eadfd2;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

@media (max-width: 767.98px) {
    .b2b-success-card {
        padding: 28px 20px 24px;
    }

    .b2b-success-title {
        font-size: 1.65rem;
    }

    .b2b-success-links {
        grid-template-columns: 1fr;
    }

    .b2b-success-actions {
        flex-direction: column;
    }

    .b2b-success-actions .btn {
        width: 100%;
    }
}

/* ----- B2B order info ----- */
.b2b-order-info-page {
    padding-bottom: 40px;
}

.b2b-order-info-card {
    display: grid;
    gap: 24px;
}

.b2b-order-info-meta {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.b2b-order-info-meta-item {
    padding: 16px 18px;
    border: 1px solid #eadfd2;
    border-radius: 14px;
    background: #fffaf5;
}

.b2b-order-info-meta-item span {
    display: block;
    margin-bottom: 6px;
    color: #6b7280;
    font-size: 0.8125rem;
    font-weight: 600;
}

.b2b-order-info-meta-item strong {
    color: #1f2937;
    font-size: 1rem;
}

.b2b-order-info-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.b2b-order-info-address-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border: 1px solid #d8c9b8;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.b2b-order-info-address-card {
    padding: 18px 20px;
    border-right: 1px solid #eadfd2;
    min-height: 160px;
}

.b2b-order-info-address-card:last-child {
    border-right: 0;
}

.b2b-order-info-address-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #6f4521;
}

.b2b-order-info-address-card h3 i {
    color: var(--b2b-accent, #8a5a2b);
}

.b2b-order-info-party {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 96px;
}

.b2b-order-info-party-name {
    font-weight: 700;
    color: #1f2937;
    font-size: 1rem;
}

.b2b-order-info-party-address {
    color: #4b5563;
    line-height: 1.65;
    font-size: 0.95rem;
}

.b2b-order-info-party-contact {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #eadfd2;
}

.b2b-order-info-party-contact p {
    margin: 0 0 6px;
    color: #374151;
    font-size: 0.9rem;
    line-height: 1.5;
}

.b2b-order-info-party-contact p span {
    display: inline-block;
    min-width: 78px;
    font-weight: 700;
    color: #6b7280;
}

.b2b-order-info-address-card.is-methods {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    background: #fffaf5;
}

.b2b-order-info-method-row h3 {
    margin-bottom: 6px;
}

.b2b-order-info-method-row p {
    margin: 0;
    color: #1f2937;
    font-weight: 600;
    font-size: 0.95rem;
}

.b2b-order-info-detail-card {
    padding: 18px 20px;
    border: 1px solid #eadfd2;
    border-radius: 16px;
    background: #fff;
}

.b2b-order-info-detail-card.is-compact {
    min-height: auto;
}

.b2b-order-info-detail-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1f2937;
}

.b2b-order-info-detail-card h3 i {
    color: var(--b2b-accent, #8a5a2b);
}

.b2b-order-info-detail-card>div {
    color: #4b5563;
    line-height: 1.65;
}

.b2b-order-info-products {
    border: 1px solid #eadfd2;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
}

.b2b-order-info-table-head,
.b2b-order-info-item {
    grid-template-columns: minmax(0, 1.5fr) 90px 120px 120px minmax(200px, 1fr);
}

.b2b-order-info-items .b2b-order-info-item:last-child {
    border-bottom: 1px solid #f2ebe4;
}

.b2b-order-info-unit strong,
.b2b-order-info-qty strong {
    color: #1f2937;
    font-size: 1rem;
}

.b2b-order-info-actions {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.b2b-order-info-btn-buy,
.b2b-order-info-btn-return {
    min-height: 38px;
    padding: 0 14px;
    font-size: 0.8125rem;
    border-radius: 10px;
    font-weight: 600;
}

.b2b-order-info-btn-return {
    color: #b42318;
    border-color: #f3d2d2;
    background: #fff;
}

.b2b-order-info-btn-return:hover {
    color: #991b1b;
    border-color: #eab0b0;
    background: #fff5f5;
}

.b2b-order-info-summary {
    padding: 20px 24px;
    border-top: 1px solid #eadfd2;
    background: #faf7f2;
}

.b2b-order-info-summary-title {
    margin: 0 0 14px;
    color: #1f2937;
    font-size: 1rem;
    font-weight: 700;
}

.b2b-order-info-summary-rows {
    display: grid;
    gap: 10px;
}

.b2b-order-info-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #4b5563;
    font-size: 0.95rem;
}

.b2b-order-info-summary-row strong {
    color: #1f2937;
}

.b2b-order-info-summary-row.is-grand {
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px solid #eadfd2;
}

.b2b-order-info-summary-row.is-grand strong {
    color: #7c4a1e;
    font-size: 1.1rem;
}

.b2b-order-info-summary-row.is-saved strong {
    color: #15803d;
}

.b2b-order-info-comment {
    padding: 18px 20px;
    border: 1px solid #eadfd2;
    border-radius: 16px;
    background: #fff;
}

.b2b-order-info-comment h3 {
    margin: 0 0 10px;
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
}

.b2b-order-info-comment>div {
    color: #4b5563;
    line-height: 1.65;
}

.b2b-order-info-history h2 {
    margin: 0 0 14px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1f2937;
}

@media (max-width: 1199.98px) {
    .b2b-order-info-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .b2b-order-info-table-head,
    .b2b-order-info-item {
        grid-template-columns: minmax(0, 1.4fr) 80px 110px 110px minmax(140px, 0.9fr);
    }
}

@media (max-width: 991.98px) {
    .b2b-order-info-details {
        grid-template-columns: 1fr;
    }

    .b2b-order-info-address-grid {
        grid-template-columns: 1fr;
    }

    .b2b-order-info-address-card {
        border-right: 0;
        border-bottom: 1px solid #eadfd2;
        min-height: auto;
    }

    .b2b-order-info-address-card:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 767.98px) {
    .b2b-order-info-meta {
        grid-template-columns: 1fr;
    }

    .b2b-order-info-table-head {
        display: none;
    }

    .b2b-order-info-item {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .b2b-order-info-qty,
    .b2b-order-info-unit,
    .b2b-cart-total,
    .b2b-order-info-actions {
        text-align: left !important;
        justify-content: flex-start;
    }

    .b2b-order-info-actions {
        width: 100%;
    }

    .b2b-order-info-actions .btn {
        width: auto;
    }
}

.b2b-cart-shell,
.b2b-checkout-page {
    color: #1f2937;
}

.b2b-cart-head,
.b2b-checkout-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.b2b-cart-title {
    margin: 0 0 8px;
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1.12;
    color: #1f2937;
}

.b2b-cart-title span {
    font-size: 1rem;
    font-weight: 500;
    color: #6b7280;
}

.b2b-cart-subtitle {
    margin: 0;
    color: #6b7280;
}

.b2b-cart-alert {
    border-radius: 14px;
    margin-bottom: 16px;
}

.b2b-cart-panel,
.b2b-cart-summary,
.b2b-checkout-block,
.b2b-checkout-privacy {
    background: #fff;
    border: 1px solid #eadfd2;
    border-radius: 18px;
    box-shadow: 0 18px 36px rgba(17, 24, 39, 0.06);
}

.b2b-cart-panel {
    overflow: hidden;
}

.b2b-cart-table-head,
.b2b-checkout-summary-head {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(110px, 0.7fr) minmax(160px, 0.8fr) minmax(120px, 0.7fr);
    gap: 16px;
    padding: 18px 24px;
    background: #fff;
    border-bottom: 1px solid #eee5dc;
    font-size: 0.875rem;
    font-weight: 700;
    color: #4b5563;
}

.b2b-cart-items {
    display: grid;
}

.b2b-cart-item {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(110px, 0.7fr) minmax(160px, 0.8fr) minmax(120px, 0.7fr);
    gap: 16px;
    align-items: center;
    padding: 22px 24px;
    border-bottom: 1px solid #f2ebe4;
}

.b2b-cart-item:last-child {
    border-bottom: none;
}

.b2b-cart-product {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    min-width: 0;
}

.b2b-cart-product-thumb {
    width: 88px;
    height: 88px;
    border-radius: 16px;
    overflow: hidden;
    background: #f8f5f1;
    border: 1px solid #efe6dd;
    flex-shrink: 0;
}

.b2b-cart-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.b2b-cart-product-copy {
    min-width: 0;
}

.b2b-cart-product-name,
.b2b-checkout-summary-name {
    display: inline-block;
    margin-bottom: 8px;
    color: #1f2937;
    text-decoration: none;
    font-weight: 700;
    line-height: 1.4;
}

.b2b-cart-product-name:hover,
.b2b-checkout-summary-name:hover {
    color: var(--b2b-accent, #8a5a2b);
}

.b2b-cart-product-meta,
.b2b-checkout-summary-copy {
    display: grid;
    gap: 4px;
    font-size: 0.8125rem;
    color: #6b7280;
}

.b2b-cart-price strong,
.b2b-cart-total strong,
.b2b-checkout-summary-total,
.b2b-checkout-summary-payable-value {
    color: #1f2937;
    font-size: 1rem;
    font-weight: 700;
}

.b2b-cart-qty {
    display: grid;
    justify-items: center;
    gap: 8px;
}

.b2b-cart-qty-form {
    width: 100%;
}

.b2b-cart-qty-box {
    display: inline-grid;
    grid-template-columns: 34px 56px 34px;
    align-items: center;
    border: 1px solid #eadfd2;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.b2b-cart-qty-btn {
    border: 0;
    background: #faf7f3;
    color: #7c4a23;
    height: 38px;
    font-weight: 700;
}

.b2b-cart-qty-display {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid #eadfd2;
    border-right: 1px solid #eadfd2;
    text-align: center;
    height: 38px;
    width: 100%;
    padding: 0 6px;
    font-weight: 600;
    background: #fff;
    color: #111827;
    user-select: none;
}

.b2b-cart-stock {
    font-size: 0.8125rem;
    color: #16a34a;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.b2b-cart-stock i {
    font-size: 0.5rem;
}

.b2b-cart-stock.is-out {
    color: #dc2626;
}

.b2b-cart-total {
    display: grid;
    justify-items: end;
    gap: 12px;
}

.b2b-cart-remove {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    border: 1px solid #efe6dd;
    background: #fff;
    color: #6b7280;
}

.b2b-cart-remove:hover {
    color: #dc2626;
    border-color: #f3d2d2;
    background: #fff5f5;
}

.b2b-cart-line-discount {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #ecfdf3;
    color: #15803d;
    font-size: 0.8rem;
    font-weight: 600;
}

.b2b-cart-line-discount i {
    color: #16a34a;
}

.b2b-cart-order-totals {
    margin-top: 0;
    padding: 18px 20px;
    border-top: 1px solid #eadfd2;
    background: #faf7f2;
}

.b2b-cart-discount-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #ecfdf3;
    color: #15803d;
    font-size: 0.875rem;
    font-weight: 600;
}

.b2b-cart-discount-badge i {
    color: #16a34a;
}

.b2b-cart-order-totals-rows {
    display: grid;
    gap: 10px;
}

.b2b-cart-order-totals-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #4b5563;
    font-size: 0.95rem;
}

.b2b-cart-order-totals-row strong {
    color: #1f2937;
    font-size: 1rem;
}

.b2b-cart-order-totals-row.is-total strong {
    color: #7c4a1e;
    font-size: 1.15rem;
}

.b2b-cart-order-totals-row.is-saved strong {
    color: #15803d;
}

.b2b-cart-bottom {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
}

.b2b-cart-promo {
    flex: 1;
    background: #fff;
    border: 1px solid #eadfd2;
    border-radius: 16px;
    padding: 16px 18px;
}

.b2b-cart-promo-head {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #1f2937;
    font-weight: 600;
}

.b2b-cart-bottom-actions {
    flex-shrink: 0;
}

.b2b-cart-help-strip {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 18px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #eadfd2;
    color: #4b5563;
    text-align: center;
}

.b2b-cart-summary {
    padding: 22px;
}

.b2b-cart-summary h2 {
    margin: 0 0 18px;
    font-size: 1.25rem;
}

.b2b-cart-summary-rows,
.b2b-checkout-summary-totals {
    display: grid;
    gap: 12px;
}

.b2b-cart-summary-row,
.b2b-checkout-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #4b5563;
    font-size: 0.95rem;
}

.b2b-cart-summary-row.is-total,
.b2b-checkout-summary-row.is-grand {
    margin-top: 6px;
    padding-top: 12px;
    border-top: 1px solid #f0e7de;
    font-size: 1rem;
    color: #1f2937;
}

.b2b-cart-summary-total-label {
    margin-top: 8px;
    color: #9ca3af;
    font-size: 0.8125rem;
}

.b2b-cart-summary-actions {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.b2b-cart-summary-btn {
    width: 100%;
    min-height: 46px;
}

.b2b-cart-summary-btn i {
    margin-right: 8px;
}

.b2b-cart-trust-list {
    display: grid;
    gap: 14px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #f0e7de;
}

.b2b-cart-trust-item,
.b2b-checkout-trust-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.b2b-cart-trust-icon,
.b2b-checkout-trust-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #faf3eb;
    color: var(--b2b-accent, #8a5a2b);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.b2b-cart-trust-item strong,
.b2b-checkout-trust-card strong {
    display: block;
    margin-bottom: 4px;
    font-size: 0.95rem;
    color: #1f2937;
}

.b2b-cart-trust-item span,
.b2b-checkout-trust-card span,
.b2b-checkout-privacy span {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.45;
}

.b2b-cart-empty {
    padding: 48px 24px;
    text-align: center;
    background: #fff;
    border: 1px solid #eadfd2;
    border-radius: 18px;
}

.b2b-cart-accordion .accordion-item {
    border: 0;
    border-radius: 0;
    background: transparent;
}

.b2b-cart-accordion .accordion-button {
    background: #fff;
    box-shadow: none;
    padding: 10px 0;
    font-weight: 600;
    color: #4b5563;
}

.b2b-cart-accordion .accordion-body {
    padding: 8px 0 0;
}

.b2b-cart-accordion .row.mb-3 {
    margin-bottom: 0 !important;
}

.b2b-cart-accordion .col-md-4 {
    display: none;
}

.b2b-cart-accordion .col-md-8 {
    width: 100%;
}

.b2b-cart-accordion .form-control,
.b2b-cart-accordion .form-select {
    min-height: 46px;
    border-radius: 10px;
    border-color: #eadfd2;
}

.b2b-cart-accordion .text-end {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 12px;
}

.b2b-cart-coupon-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
}

.b2b-checkout-block {
    padding: 22px;
}

.b2b-checkout-compact-block {
    margin-bottom: 0;
}

.b2b-checkout-layout .mt-4 {
    margin-top: 1.5rem !important;
}

.b2b-checkout-card-inner {
    border: 0;
    padding: 0;
    margin: 0;
}

.b2b-checkout-card-legend {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 16px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1f2937;
}

.b2b-checkout-legend-icon,
.b2b-checkout-privacy-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #faf3eb;
    color: var(--b2b-accent, #8a5a2b);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.b2b-checkout-address-switches {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.b2b-checkout-radio {
    margin: 0;
}

.b2b-checkout-radio .form-check-input {
    margin-top: 0.2rem;
}

.b2b-checkout-select-label {
    display: block;
    margin-bottom: 10px;
    color: #4b5563;
    font-weight: 600;
}

.b2b-checkout-select,
.b2b-checkout-form-grid .form-control,
.b2b-checkout-form-grid .form-select,
.b2b-checkout-method-input .form-control,
.b2b-checkout-comment-box {
    border-radius: 12px;
    border-color: #eadfd2;
    min-height: 48px;
    box-shadow: none;
}

.b2b-checkout-form-grid {
    margin-top: 14px;
}

.b2b-checkout-form-grid .col {
    margin-bottom: 14px !important;
}

.b2b-checkout-method-input {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.b2b-checkout-comment-card {
    margin-top: 16px;
}

.b2b-checkout-comment-box {
    min-height: 132px;
    resize: vertical;
    padding-top: 14px;
}

.b2b-checkout-agree {
    margin-top: 16px !important;
}

.b2b-checkout-modal .modal-dialog {
    max-width: 520px;
}

.b2b-checkout-modal-content {
    border: none;
    border-radius: 16px;
    border-top: 4px solid var(--b2b-accent, #8a5a2b);
    box-shadow: 0 24px 48px rgba(17, 24, 39, 0.18);
    overflow: hidden;
}

.b2b-checkout-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #eadfd2;
    background: #fffaf5;
}

.b2b-checkout-modal-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1f2937;
}

.b2b-checkout-modal-body {
    padding: 24px;
}

.b2b-checkout-modal-lead {
    margin: 0 0 20px;
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
}

.b2b-checkout-modal-group {
    margin-bottom: 18px;
}

.b2b-checkout-modal-group:last-of-type {
    margin-bottom: 0;
}

.b2b-checkout-modal-group-title {
    margin: 0 0 10px;
    color: #1f2937;
    font-size: 0.95rem;
    font-weight: 700;
}

.b2b-checkout-modal-options {
    display: grid;
    gap: 10px;
}

.b2b-checkout-modal-options .b2b-checkout-radio {
    margin: 0;
    padding: 12px 14px;
    border: 1px solid #eadfd2;
    border-radius: 12px;
    background: #fff;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.b2b-checkout-modal-options .b2b-checkout-radio .form-check-label {
    color: #374151;
    font-weight: 500;
    cursor: pointer;
}

.b2b-checkout-modal-options .b2b-checkout-radio .form-check-input:checked {
    border-color: var(--b2b-accent, #8a5a2b);
    background-color: var(--b2b-accent, #8a5a2b);
}

.b2b-checkout-modal-options .b2b-checkout-radio:has(.form-check-input:checked) {
    border-color: var(--b2b-accent, #8a5a2b);
    background: #fffaf5;
}

.b2b-checkout-modal-alert {
    margin: 0;
    border-radius: 12px;
}

.b2b-checkout-modal-footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #eadfd2;
    display: flex;
    justify-content: flex-end;
}

.b2b-checkout-modal-footer .b2b-btn-primary {
    min-width: 140px;
}

body:has(.b2b-checkout-modal.show) .modal-backdrop.show {
    opacity: 0.45;
}

.b2b-checkout-trust-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.b2b-checkout-trust-card {
    background: #fff;
    border: 1px solid #eadfd2;
    border-radius: 16px;
    padding: 18px;
}

.b2b-checkout-privacy {
    margin-top: 18px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.b2b-checkout-privacy strong {
    display: block;
    margin-bottom: 4px;
    color: #1f2937;
}

.b2b-checkout-summary-card {
    display: grid;
    gap: 18px;
}

.b2b-checkout-summary-head {
    grid-template-columns: minmax(0, 1fr) 120px;
    padding: 0 0 12px;
    border-bottom: 1px solid #f0e7de;
    background: transparent;
}

.b2b-checkout-summary-products {
    display: grid;
    gap: 18px;
}

.b2b-checkout-summary-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.b2b-checkout-summary-product {
    display: flex;
    gap: 14px;
    min-width: 0;
}

.b2b-checkout-summary-thumb {
    width: 78px;
    height: 78px;
    border-radius: 14px;
    object-fit: cover;
    background: #f8f5f1;
    border: 1px solid #efe6dd;
    flex-shrink: 0;
}

.b2b-checkout-summary-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding-top: 14px;
    border-top: 1px solid #f0e7de;
}

.b2b-checkout-summary-payable-label {
    display: block;
    font-size: 0.9rem;
    color: #4b5563;
}

.b2b-checkout-summary-payable-value {
    display: block;
    margin-top: 2px;
    font-size: 1.5rem;
}

.b2b-checkout-payment-action .btn,
#checkout-payment #button-confirm {
    min-width: 220px;
    min-height: 48px;
    border-radius: 10px;
}

#checkout-payment .text-end {
    text-align: right;
}

#checkout-payment #button-confirm {
    background: var(--b2b-accent, #8a5a2b);
    border-color: var(--b2b-accent, #8a5a2b);
}

#checkout-payment fieldset {
    border: 0;
    padding: 0;
    margin: 0;
}

#checkout-payment legend {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

#checkout-payment .border.rounded,
#checkout-payment .border {
    border-color: #eadfd2 !important;
    border-radius: 14px !important;
    background: #fcfaf8;
}

@media (max-width: 1199.98px) {

    .b2b-cart-table-head,
    .b2b-cart-item {
        grid-template-columns: minmax(0, 1.5fr) 110px 140px 100px;
    }
}

@media (max-width: 991.98px) {

    .b2b-cart-head,
    .b2b-checkout-head,
    .b2b-cart-bottom,
    .b2b-checkout-summary-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .b2b-cart-continue {
        align-self: flex-start;
    }

    .b2b-checkout-trust-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767.98px) {
    .b2b-cart-page {
        padding-bottom: 24px;
    }

    .b2b-cart-shell .row.g-4 {
        --bs-gutter-y: 0.75rem;
    }

    .b2b-cart-head {
        margin-bottom: 10px;
    }

    .b2b-cart-title {
        font-size: 1.35rem;
        margin-bottom: 2px;
        line-height: 1.2;
    }

    .b2b-cart-title span {
        font-size: 0.9375rem;
        font-weight: 600;
    }

    .b2b-cart-subtitle {
        font-size: 0.8125rem;
        line-height: 1.4;
    }

    .b2b-cart-continue,
    .b2b-cart-bottom-actions,
    .b2b-cart-help-strip {
        display: none;
    }

    .b2b-cart-table-head {
        display: none;
    }

    .b2b-cart-panel {
        border: 0;
        box-shadow: none;
        background: transparent;
        overflow: visible;
    }

    .b2b-cart-items {
        gap: 10px;
    }

    .b2b-cart-item {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "product product"
            "price price"
            "qty remove";
        gap: 8px 10px;
        padding: 12px;
        background: #fff;
        border: 1px solid #eadfd2;
        border-radius: 12px;
    }

    .b2b-cart-product {
        grid-area: product;
        gap: 10px;
    }

    .b2b-cart-price {
        grid-area: price;
        text-align: left !important;
    }

    .b2b-cart-qty {
        grid-area: qty;
        justify-items: start;
        gap: 6px;
        text-align: left !important;
    }

    .b2b-cart-total {
        grid-area: remove;
        display: flex;
        justify-content: flex-end;
        align-items: flex-start;
        padding-top: 2px;
    }

    .b2b-cart-product-thumb {
        width: 72px;
        height: 72px;
        border-radius: 10px;
    }

    .b2b-cart-product-name {
        margin-bottom: 4px;
        font-size: 0.9375rem;
        font-weight: 600;
        line-height: 1.35;
    }

    .b2b-cart-product-meta {
        font-size: 0.75rem;
        gap: 2px;
    }

    .b2b-cart-line-discount {
        margin-top: 6px;
        padding: 3px 8px;
        font-size: 0.6875rem;
    }

    .b2b-cart-price strong {
        font-size: 1.0625rem;
        font-weight: 700;
        line-height: 1.2;
    }

    .b2b-cart-total strong {
        display: none;
    }

    .b2b-cart-qty-box {
        grid-template-columns: 30px 44px 30px;
        border-radius: 8px;
    }

    .b2b-cart-qty-btn {
        height: 32px;
        font-size: 0.875rem;
    }

    .b2b-cart-qty-display {
        height: 32px;
        font-size: 0.8125rem;
    }

    .b2b-cart-stock {
        font-size: 0.6875rem;
        gap: 4px;
    }

    .b2b-cart-remove {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        font-size: 0.875rem;
    }

    .b2b-cart-order-totals {
        display: none;
    }

    .b2b-cart-bottom {
        margin-top: 10px;
    }

    .b2b-cart-promo {
        border-radius: 12px;
        padding: 10px 12px;
    }

    .b2b-cart-promo-head {
        font-size: 0.8125rem;
        margin-bottom: 8px;
        gap: 8px;
    }

    .b2b-cart-promo-head i {
        font-size: 0.75rem;
    }

    .b2b-cart-accordion .accordion-button {
        padding: 8px 0;
        font-size: 0.8125rem;
    }

    .b2b-cart-accordion .accordion-body {
        padding-top: 6px;
    }

    .b2b-cart-accordion .form-control,
    .b2b-cart-accordion .form-select {
        min-height: 38px;
        font-size: 0.8125rem;
    }

    .b2b-cart-accordion .btn {
        min-height: 38px;
        padding: 0 12px;
        font-size: 0.8125rem;
    }

    .b2b-cart-summary,
    .b2b-checkout-block,
    .b2b-checkout-privacy {
        padding: 12px;
    }

    .b2b-cart-coupon-form {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
    }

    .b2b-cart-summary {
        margin-top: 0;
        border-radius: 12px;
        box-shadow: none;
    }

    .b2b-cart-summary h2 {
        font-size: 0.9375rem;
        margin-bottom: 8px;
    }

    .b2b-cart-summary-rows {
        gap: 8px;
    }

    .b2b-cart-summary-row {
        font-size: 0.8125rem;
    }

    .b2b-cart-summary-row.is-total {
        font-size: 0.875rem;
        padding-top: 8px;
        margin-top: 4px;
    }

    .b2b-cart-summary-total-label {
        font-size: 0.6875rem;
        margin-top: 6px;
    }

    .b2b-cart-summary-actions {
        margin-top: 10px;
        gap: 8px;
    }

    .b2b-cart-summary-btn {
        min-height: 40px;
        font-size: 0.8125rem;
        border-radius: 10px;
    }

    .b2b-cart-trust-list {
        margin-top: 10px;
        padding-top: 10px;
        gap: 8px;
    }

    .b2b-cart-trust-icon {
        width: 30px;
        height: 30px;
        border-radius: 8px;
        font-size: 0.8125rem;
    }

    .b2b-cart-trust-item strong {
        font-size: 0.8125rem;
        margin-bottom: 2px;
    }

    .b2b-cart-trust-item span {
        font-size: 0.6875rem;
        line-height: 1.35;
    }

    .b2b-checkout-method-input {
        grid-template-columns: 1fr;
    }

    .b2b-checkout-trust-grid {
        grid-template-columns: 1fr;
    }

    .b2b-checkout-summary-head {
        display: none;
    }

    .b2b-checkout-summary-item {
        flex-direction: column;
    }

    .b2b-checkout-payment-action .btn,
    #checkout-payment #button-confirm {
        width: 100%;
        min-width: 0;
    }
}

/* ----- B2B cart toast & drawer ----- */
.b2b-toast-stack {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1090;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: min(360px, calc(100vw - 32px));
    pointer-events: none;
}

.b2b-toast {
    pointer-events: auto;
    opacity: 0;
    transform: translateX(24px);
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.b2b-toast-show {
    opacity: 1;
    transform: translateX(0);
}

.b2b-toast-inner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.14);
    border: 1px solid #e5e7eb;
    font-size: 0.875rem;
    line-height: 1.4;
    color: #111827;
}

.b2b-toast-success .b2b-toast-inner i {
    color: #16a34a;
    margin-top: 2px;
}

.b2b-toast-danger .b2b-toast-inner i {
    color: #dc2626;
    margin-top: 2px;
}

.b2b-toast-message {
    flex: 1;
}

.b2b-toast-close {
    border: 0;
    background: transparent;
    color: #9ca3af;
    padding: 0;
    line-height: 1;
    cursor: pointer;
}

.b2b-toast-close:hover {
    color: #374151;
}

.b2b-cart-drawer {
    --bs-offcanvas-width: min(420px, 100vw);
    border-left: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    height: 100vh;
    max-height: 100dvh;
}

.b2b-cart-drawer-header {
    flex-shrink: 0;
    border-bottom: 1px solid #e5e7eb;
    padding: 16px 20px;
}

.b2b-cart-drawer-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #111827;
}

.b2b-cart-drawer-title i {
    color: var(--b2b-accent, #8a5a2b);
}

.b2b-cart-drawer-count {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
}

.b2b-cart-drawer-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 0 20px 16px;
}

.b2b-cart-drawer-loading {
    color: #9ca3af;
}

.b2b-cart-drawer-items {
    padding: 0;
}

.b2b-cart-drawer-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid #e5e7eb;
}

.b2b-cart-drawer-thumb {
    flex: 0 0 72px;
    display: block;
}

.b2b-cart-drawer-thumb img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.b2b-cart-drawer-item-main {
    flex: 1;
    min-width: 0;
}

.b2b-cart-drawer-item-top {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px;
}

.b2b-cart-drawer-item-copy {
    flex: 1;
    min-width: 0;
}

.b2b-cart-drawer-item-name {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
    text-decoration: none;
    margin-bottom: 4px;
    line-height: 1.35;
}

.b2b-cart-drawer-item-name:hover {
    color: var(--b2b-accent, #8a5a2b);
}

.b2b-cart-drawer-item-sku {
    display: block;
    font-size: 0.75rem;
    color: #6b7280;
}

.b2b-cart-drawer-item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.b2b-cart-drawer-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.b2b-cart-drawer-qty-btn {
    width: 32px;
    height: 32px;
    border: 0;
    background: #f9fafb;
    color: #374151;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.b2b-cart-drawer-qty-btn:hover {
    background: #f3f4f6;
    color: var(--b2b-accent, #8a5a2b);
}

.b2b-cart-drawer-qty-display {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 32px;
    border-left: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #111827;
    background: #fff;
    padding: 0 6px;
    user-select: none;
}

.b2b-cart-drawer-item-price {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #111827;
    white-space: nowrap;
}

.b2b-cart-drawer-remove-form {
    flex-shrink: 0;
}

.b2b-cart-drawer-remove {
    border: 0;
    background: transparent;
    color: #9ca3af;
    padding: 2px;
    line-height: 1;
    cursor: pointer;
}

.b2b-cart-drawer-remove:hover {
    color: #dc2626;
}

.b2b-cart-drawer-totals {
    margin-bottom: 14px;
    padding-top: 0;
    border-top: 0;
}

.b2b-cart-drawer-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 0.8125rem;
    color: #374151;
    margin-bottom: 8px;
}

.b2b-cart-drawer-total-shipping span:last-child {
    color: #6b7280;
    font-style: italic;
}

.b2b-cart-drawer-total-grand {
    margin-top: 4px;
    margin-bottom: 0;
    padding-top: 10px;
    border-top: 1px solid #e5e7eb;
    font-size: 1rem;
    font-weight: 700;
    color: var(--b2b-accent, #8a5a2b);
}

.b2b-cart-drawer-grand-value {
    font-size: 1.0625rem;
}

.b2b-cart-drawer-secure {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    margin-bottom: 14px;
    background: #f5f0eb;
    border: 1px solid #e8dfd4;
    border-radius: 10px;
    font-size: 0.8125rem;
    line-height: 1.4;
    color: #374151;
}

.b2b-cart-drawer-secure i {
    color: var(--b2b-accent, #8a5a2b);
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.b2b-cart-drawer-shipping-note {
    margin: 12px 0 0;
    text-align: center;
    font-size: 0.75rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.b2b-cart-drawer-shipping-note i {
    color: var(--b2b-accent, #8a5a2b);
}

.b2b-cart-drawer-saved-note {
    margin: 10px 0 0;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 600;
    color: #15803d;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.b2b-cart-drawer-saved-note i {
    color: #16a34a;
}

.b2b-cart-drawer-empty {
    text-align: center;
    padding: 48px 16px;
    color: #6b7280;
}

.b2b-cart-drawer-empty i {
    font-size: 2.5rem;
    color: #d1d5db;
    margin-bottom: 16px;
}

.b2b-cart-drawer-footer {
    flex-shrink: 0;
    border-top: 1px solid #e5e7eb;
    padding: 16px 20px 18px;
    background: #fff;
}

.b2b-cart-drawer-footer:has(#b2b-cart-drawer-footer-totals:empty) .b2b-cart-drawer-totals {
    display: none;
}

.b2b-cart-drawer-footer-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.b2b-cart-drawer-footer-actions .btn {
    font-size: 0.875rem;
    font-weight: 600;
    padding: 11px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.b2b-cart-drawer-footer-actions .b2b-cart-drawer-checkout {
    background: var(--b2b-accent, #8a5a2b);
    border-color: var(--b2b-accent, #8a5a2b);
    color: #fff;
}

.b2b-cart-drawer-footer-actions .b2b-cart-drawer-checkout:hover {
    background: #6d4722;
    border-color: #6d4722;
    color: #fff;
}

@media (max-width: 575.98px) {
    .b2b-toast-stack {
        top: 12px;
        right: 12px;
        left: 12px;
        width: auto;
    }
}

.b2b-contact-page .b2b-contact-layout {
    margin-bottom: 24px;
}

.b2b-contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.b2b-contact-map-card,
.b2b-contact-details-card,
.b2b-contact-form-card {
    height: auto;
}

.b2b-contact-form-card {
    margin-top: 0;
    height: 100%;
}

.b2b-contact-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 1rem;
}

.b2b-contact-map {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: #f3f4f6;
    min-height: 420px;
}

.b2b-contact-map iframe {
    display: block;
    width: 100%;
    min-height: 420px;
    border: 0;
}

.b2b-contact-map-link {
    margin-top: 12px;
}

.b2b-contact-detail + .b2b-contact-detail {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.b2b-contact-detail-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #8a5a2b;
    margin-bottom: 0.35rem;
}

.b2b-contact-detail-value {
    display: block;
    font-size: 0.9375rem;
    color: #374151;
    line-height: 1.6;
    margin: 0;
    text-decoration: none;
}

a.b2b-contact-detail-value:hover {
    color: var(--b2b-accent, #8a5a2b);
}

.b2b-contact-form .form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

@media (max-width: 991.98px) {
    .b2b-contact-form-card {
        margin-top: 0;
    }

    .b2b-contact-map {
        min-height: 320px;
    }

    .b2b-contact-map iframe {
        min-height: 320px;
    }
}