:root {
    --b2b-green: #038C65;
    --b2b-green-dark: #027957;
    --b2b-green-soft: rgba(3, 140, 101, 0.10);

    --b2b-orange: #F27B13;
    --b2b-orange-dark: #D95204;
    --b2b-orange-soft: rgba(242, 123, 19, 0.12);

    --b2b-red-dark: #730909;
    --b2b-red-soft: rgba(115, 9, 9, 0.08);

    --b2b-bg: #F6F7F8;
    --b2b-light: #F2F2F2;
    --b2b-white: #ffffff;

    --b2b-text: #1f2933;
    --b2b-heading: #101828;
    --b2b-muted: #667085;
    --b2b-muted-light: #98A2B3;

    --b2b-border: #E4E7EC;
    --b2b-border-soft: #EDF0F2;

    --b2b-shadow-sm: 0 8px 22px rgba(31, 41, 51, 0.055);
    --b2b-shadow: 0 16px 38px rgba(31, 41, 51, 0.075);
    --b2b-shadow-green: 0 20px 46px rgba(3, 140, 101, 0.14);
    --b2b-shadow-orange: 0 18px 38px rgba(242, 123, 19, 0.20);

    --b2b-radius-sm: 8px;
    --b2b-radius: 12px;
    --b2b-radius-lg: 18px;
    --b2b-radius-xl: 24px;

    --b2b-transition: 0.22s ease;
}

/* =========================
   Base
========================= */

.b2b-page {
    direction: rtl;
    min-height: 100vh;
    color: var(--b2b-text);
    background:
        radial-gradient(circle at top right, rgba(242, 123, 19, 0.13), transparent 32rem),
        radial-gradient(circle at 12% 12%, rgba(3, 140, 101, 0.10), transparent 26rem),
        linear-gradient(180deg, #ffffff 0%, var(--b2b-bg) 58%, #ffffff 100%);
}

.b2b-page *,
.b2b-page *::before,
.b2b-page *::after {
    box-sizing: border-box;
}

.b2b-page a {
    transition: color var(--b2b-transition), background-color var(--b2b-transition), border-color var(--b2b-transition), box-shadow var(--b2b-transition), transform var(--b2b-transition);
}

.b2b-page img {
    max-width: 100%;
}

/* =========================
   Shared Boxes
========================= */

.b2b-glass-box,
.b2b-filter,
.b2b-toolbar,
.b2b-empty {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--b2b-border);
    box-shadow: var(--b2b-shadow);
    backdrop-filter: blur(16px);
}

/* =========================
   Hero
========================= */

.b2b-hero {
    position: relative;
    padding: 34px 0 26px;
    overflow: hidden;
}

.b2b-hero::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 360px;
    height: 360px;
    border-radius: 999px;
    background: rgba(242, 123, 19, 0.08);
    filter: blur(4px);
    pointer-events: none;
}

.b2b-hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: stretch;
    overflow: hidden;
    padding: 36px;
    border-radius: var(--b2b-radius-xl);
    background:
        linear-gradient(135deg, rgba(3, 140, 101, 0.98) 0%, rgba(3, 140, 101, 0.88) 50%, rgba(2, 121, 87, 0.98) 100%);
    box-shadow: var(--b2b-shadow-green);
}

.b2b-hero-inner::before {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -160px;
    width: 390px;
    height: 390px;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(242, 123, 19, 0.42), rgba(242, 123, 19, 0.06) 62%, transparent 70%);
}

.b2b-hero-inner::after {
    content: "";
    position: absolute;
    left: -120px;
    top: -130px;
    width: 310px;
    height: 310px;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04) 58%, transparent 72%);
}

.b2b-hero-content,
.b2b-hero-panel,
.b2b-hero-card {
    position: relative;
    z-index: 1;
}

.b2b-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 300px;
}

.b2b-hero-label,
.b2b-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    margin-bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(115, 9, 9, 0.86);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 13px;
    font-weight: 900;
}

.b2b-hero-badge span,
.b2b-hero-label span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--b2b-orange);
    box-shadow: 0 0 0 6px rgba(242, 123, 19, 0.20);
}

.b2b-hero h1 {
    max-width: 780px;
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(27px, 4vw, 43px);
    font-weight: 950;
    line-height: 1.55;
    letter-spacing: -0.4px;
}

.b2b-hero p {
    max-width: 740px;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
    line-height: 2.15;
}

.b2b-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 26px;
}

.b2b-hero-note {
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    line-height: 1.9;
}

/* Hero Buttons */

.b2b-hero-btn,
.b2b-register-btn {
    min-width: 174px;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: var(--b2b-radius);
    border: 1px solid var(--b2b-orange);
    background: var(--b2b-orange);
    color: #fff;
    font-size: 14px;
    font-weight: 950;
    text-decoration: none;
    box-shadow: var(--b2b-shadow-orange);
}

.b2b-hero-btn:hover,
.b2b-register-btn:hover {
    transform: translateY(-2px);
    border-color: var(--b2b-orange-dark);
    background: var(--b2b-orange-dark);
    color: #fff;
    box-shadow: 0 22px 42px rgba(217, 82, 4, 0.28);
}

.b2b-hero-btn:focus,
.b2b-register-btn:focus {
    color: #fff;
    box-shadow: 0 0 0 4px rgba(242, 123, 19, 0.24);
}

.b2b-hero .btn-danger,
.b2b-filter .btn-danger {
    border-color: var(--b2b-orange);
    background: var(--b2b-orange);
    color: #fff;
    font-weight: 900;
}

.b2b-hero .btn-danger:hover,
.b2b-filter .btn-danger:hover {
    border-color: var(--b2b-orange-dark);
    background: var(--b2b-orange-dark);
    color: #fff;
}

.b2b-hero .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.70);
    color: #fff;
    font-weight: 900;
}

.b2b-hero .btn-outline-light:hover {
    background: #fff;
    color: var(--b2b-green);
}

/* Hero Status */

.b2b-hero-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 16px;
    border-radius: var(--b2b-radius);
    background: rgba(115, 9, 9, 0.26);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 14px;
    font-weight: 950;
}

.b2b-hero-status.is-approved {
    background: rgba(255, 255, 255, 0.18);
}

/* Hero Panel / Card */

.b2b-hero-panel,
.b2b-hero-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
    border-radius: var(--b2b-radius-lg);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.13);
}

.b2b-hero-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--b2b-border-soft);
}

.b2b-card-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 56px;
    border-radius: var(--b2b-radius);
    background: linear-gradient(135deg, var(--b2b-green), var(--b2b-orange));
    color: #fff;
    font-weight: 950;
    letter-spacing: -0.5px;
}

.b2b-hero-card h2,
.b2b-hero-panel h2 {
    margin: 0 0 6px;
    color: var(--b2b-heading);
    font-size: 18px;
    font-weight: 950;
}

.b2b-hero-card p,
.b2b-hero-panel p {
    margin: 0;
    color: var(--b2b-muted);
    font-size: 13px;
    line-height: 1.8;
}

.b2b-panel-row,
.b2b-stat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--b2b-border-soft);
    font-size: 14px;
}

.b2b-stat-list .b2b-stat-item {
    padding: 13px 14px;
    margin-bottom: 10px;
    border: 1px solid var(--b2b-border-soft);
    border-radius: var(--b2b-radius);
    background: linear-gradient(180deg, #fff, #fafafa);
}

.b2b-panel-row:last-child,
.b2b-stat-item:last-child {
    border-bottom: 0;
    margin-bottom: 0;
}

.b2b-panel-row span,
.b2b-stat-item span {
    color: var(--b2b-muted);
    font-weight: 800;
}

.b2b-panel-row strong,
.b2b-stat-item strong {
    color: var(--b2b-heading);
    font-weight: 950;
    text-align: left;
}

.b2b-panel-row .text-success,
.b2b-stat-item .text-success {
    color: var(--b2b-green) !important;
}

.b2b-panel-row .text-danger,
.b2b-stat-item .text-danger {
    color: var(--b2b-red-dark) !important;
}

/* =========================
   Shop Section
========================= */

.b2b-shop-section {
    padding: 26px 0 60px;
}

.b2b-section-heading {
    max-width: 760px;
    margin: 0 auto 32px;
    text-align: center;
}

.b2b-section-heading span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    color: var(--b2b-orange-dark);
    font-size: 13px;
    font-weight: 950;
}

.b2b-section-heading h2 {
    margin: 0 0 12px;
    color: var(--b2b-heading);
    font-size: clamp(23px, 3vw, 34px);
    font-weight: 950;
    line-height: 1.5;
}

.b2b-section-heading p {
    margin: 0;
    color: var(--b2b-muted);
    font-size: 15px;
    line-height: 2;
}

/* =========================
   Filter
========================= */

.b2b-filter {
    position: sticky;
    top: 88px;
    padding: 18px;
    border-radius: var(--b2b-radius-lg);
}

.b2b-filter-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--b2b-border-soft);
}

.b2b-filter-head span {
    display: block;
    margin-bottom: 4px;
    color: var(--b2b-orange-dark);
    font-size: 12px;
    font-weight: 950;
}

.b2b-filter-head h2,
.b2b-filter-head h3 {
    margin: 0;
    color: var(--b2b-heading);
    font-size: 17px;
    font-weight: 950;
}

.b2b-clear-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 4px 9px;
    border-radius: 999px;
    background: var(--b2b-orange-soft);
    color: var(--b2b-orange-dark);
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.b2b-clear-filter:hover {
    background: var(--b2b-red-soft);
    color: var(--b2b-red-dark);
}

.b2b-field {
    margin-bottom: 15px;
}

.b2b-field label,
.b2b-sort label {
    display: block;
    margin-bottom: 7px;
    color: #344054;
    font-size: 13px;
    font-weight: 900;
}

.b2b-field .form-control,
.b2b-field .form-select,
.b2b-sort .form-select {
    min-height: 44px;
    border-radius: var(--b2b-radius);
    border-color: #D8DDE3;
    background-color: #fff;
    color: var(--b2b-text);
    font-size: 14px;
    box-shadow: none;
}

.b2b-field .form-control::placeholder {
    color: var(--b2b-muted-light);
}

.b2b-field .form-control:focus,
.b2b-field .form-select:focus,
.b2b-sort .form-select:focus {
    border-color: var(--b2b-green);
    box-shadow: 0 0 0 4px rgba(3, 140, 101, 0.12);
}

.b2b-filter-submit {
    width: 100%;
    min-height: 46px;
    border-radius: var(--b2b-radius);
    border: 1px solid var(--b2b-green);
    background: var(--b2b-green);
    color: #fff;
    font-weight: 950;
}

.b2b-filter-submit:hover {
    border-color: var(--b2b-green-dark);
    background: var(--b2b-green-dark);
    color: #fff;
}

/* =========================
   Toolbar
========================= */

.b2b-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
    padding: 18px;
    border-radius: var(--b2b-radius-lg);
}

.b2b-toolbar-info span {
    display: inline-block;
    margin-bottom: 4px;
    color: var(--b2b-orange-dark);
    font-size: 12px;
    font-weight: 950;
}

.b2b-toolbar h2,
.b2b-toolbar-info h2 {
    margin: 0;
    color: var(--b2b-heading);
    font-size: 20px;
    font-weight: 950;
}

.b2b-toolbar p,
.b2b-toolbar-info p {
    margin: 6px 0 0;
    color: var(--b2b-muted);
    font-size: 13px;
    line-height: 1.8;
}

.b2b-toolbar p strong,
.b2b-toolbar-info strong {
    color: var(--b2b-orange-dark);
    font-weight: 950;
}

.b2b-sort {
    display: flex;
    align-items: center;
    gap: 10px;
}

.b2b-sort label {
    margin-bottom: 0;
    white-space: nowrap;
}

.b2b-sort .form-select {
    min-width: 170px;
}

/* =========================
   Product Grid
========================= */

.b2b-products-grid {
    row-gap: 18px;
}

/* Support both old and new class names */

.b2b-product,
.b2b-product-card {
    position: relative;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--b2b-border);
    border-radius: var(--b2b-radius-lg);
    background: #fff;
    box-shadow: var(--b2b-shadow-sm);
    transition:
        transform var(--b2b-transition),
        box-shadow var(--b2b-transition),
        border-color var(--b2b-transition);
}

.b2b-product::before,
.b2b-product-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    z-index: 2;
    height: 3px;
    background: linear-gradient(90deg, var(--b2b-green), var(--b2b-orange));
}

.b2b-product:hover,
.b2b-product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(3, 140, 101, 0.42);
    box-shadow: var(--b2b-shadow-green);
}

.b2b-product-image {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background:
        radial-gradient(circle at center, #ffffff 0%, #f7f8f9 68%, #f0f2f4 100%);
    border-bottom: 1px solid var(--b2b-border-soft);
    text-decoration: none;
}

.b2b-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 17px;
    transition: transform var(--b2b-transition), opacity var(--b2b-transition);
}

.b2b-product:hover .b2b-product-image img,
.b2b-product-card:hover .b2b-product-image img {
    transform: scale(1.045);
}

.b2b-product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 25px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--b2b-green);
    color: #fff;
    font-size: 11px;
    font-weight: 950;
    box-shadow: 0 8px 18px rgba(3, 140, 101, 0.22);
}

.b2b-product-body,
.b2b-product-content {
    padding: 14px;
}

.b2b-product-tags,
.b2b-product-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-height: 25px;
    margin-bottom: 9px;
}

.b2b-product-tags span,
.b2b-product-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--b2b-green-soft);
    color: var(--b2b-green-dark);
    font-size: 11px;
    font-weight: 900;
}

.b2b-product-tags .is-soft,
.b2b-product-meta .is-soft {
    background: var(--b2b-orange-soft);
    color: var(--b2b-orange-dark);
}

.b2b-product h3,
.b2b-product-title {
    height: 50px;
    margin: 0 0 10px;
    overflow: hidden;
    color: var(--b2b-heading);
    font-size: 14px;
    font-weight: 950;
    line-height: 1.75;
}

.b2b-product h3 a,
.b2b-product-title a {
    color: inherit;
    text-decoration: none;
}

.b2b-product h3 a:hover,
.b2b-product-title a:hover {
    color: var(--b2b-green);
}

.b2b-product .b2b-product-meta {
    color: var(--b2b-muted);
    font-size: 12px;
}

/* =========================
   Price
========================= */

.b2b-price,
.b2b-product-price {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 50px;
    margin-bottom: 12px;
}

.b2b-price-row {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 5px;
    text-align: left;
}

.b2b-price strong,
.b2b-price-row strong {
    color: var(--b2b-red-dark);
    font-size: 18px;
    font-weight: 950;
    letter-spacing: -0.2px;
}

.b2b-price small,
.b2b-price-row small {
    color: var(--b2b-muted);
    font-size: 12px;
    font-weight: 800;
}

.b2b-product-price del {
    display: block;
    margin-top: 4px;
    color: var(--b2b-muted-light);
    font-size: 12px;
    text-align: left;
}

.b2b-locked-price,
.b2b-inquiry,
.b2b-price-inquiry {
    width: 100%;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: var(--b2b-radius);
    background: linear-gradient(180deg, #fff, #fafafa);
    color: var(--b2b-orange-dark);
    border: 1px dashed rgba(242, 123, 19, 0.44);
    text-align: center;
    font-size: 13px;
    font-weight: 950;
}

.b2b-locked-price {
    color: var(--b2b-red-dark);
    border-color: rgba(115, 9, 9, 0.36);
}

/* =========================
   Product Buttons
========================= */

.b2b-product .btn,
.b2b-product-card .btn,
.b2b-product-btn {
    min-height: 40px;
    border-radius: var(--b2b-radius);
    font-size: 13px;
    font-weight: 950;
}

.b2b-product-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: 1px solid var(--b2b-green);
    background: var(--b2b-green);
    color: #fff;
    text-decoration: none;
}

.b2b-product-btn:hover {
    border-color: var(--b2b-green-dark);
    background: var(--b2b-green-dark);
    color: #fff;
}

.b2b-product .btn-success,
.b2b-product-card .btn-success {
    border-color: var(--b2b-green);
    background: var(--b2b-green);
    color: #fff;
}

.b2b-product .btn-success:hover,
.b2b-product-card .btn-success:hover {
    border-color: var(--b2b-green-dark);
    background: var(--b2b-green-dark);
    color: #fff;
}

.b2b-product .btn-outline-success,
.b2b-product-card .btn-outline-success {
    border-color: var(--b2b-green);
    color: var(--b2b-green);
}

.b2b-product .btn-outline-success:hover,
.b2b-product-card .btn-outline-success:hover {
    background: var(--b2b-green);
    color: #fff;
}

.b2b-product .btn-outline-secondary,
.b2b-product-card .btn-outline-secondary {
    border-color: rgba(115, 9, 9, 0.28);
    color: var(--b2b-red-dark);
    background: rgba(115, 9, 9, 0.04);
}

.b2b-product .btn-outline-secondary:hover,
.b2b-product-card .btn-outline-secondary:hover {
    border-color: var(--b2b-red-dark);
    background: var(--b2b-red-dark);
    color: #fff;
}

/* =========================
   Empty State
========================= */

.b2b-empty {
    padding: 48px 22px;
    border-radius: var(--b2b-radius-lg);
    text-align: center;
}

.b2b-empty span {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--b2b-orange-dark);
    font-size: 13px;
    font-weight: 950;
}

.b2b-empty h2 {
    margin: 0 0 10px;
    color: var(--b2b-heading);
    font-size: 22px;
    font-weight: 950;
}

.b2b-empty p {
    max-width: 560px;
    margin: 0 auto 20px;
    color: var(--b2b-muted);
    font-size: 14px;
    line-height: 2;
}

.b2b-empty-btn,
.b2b-empty .btn-outline-danger {
    min-height: 42px;
    padding: 9px 22px;
    border-radius: var(--b2b-radius);
    border: 1px solid var(--b2b-orange-dark);
    background: transparent;
    color: var(--b2b-orange-dark);
    font-weight: 950;
}

.b2b-empty-btn:hover,
.b2b-empty .btn-outline-danger:hover {
    background: var(--b2b-orange-dark);
    color: #fff;
}

/* =========================
   Pagination
========================= */

.b2b-pagination {
    margin-top: 30px;
}

.b2b-pagination .pagination {
    gap: 6px;
}

.b2b-pagination .page-item {
    margin: 0 2px;
}

.b2b-pagination .page-link {
    min-width: 39px;
    min-height: 39px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--b2b-radius) !important;
    border: 1px solid #D8DDE3;
    background: #fff;
    color: var(--b2b-green);
    text-align: center;
    font-size: 13px;
    font-weight: 950;
    box-shadow: 0 8px 18px rgba(31, 41, 51, 0.05);
}

.b2b-pagination .page-link:hover {
    border-color: rgba(3, 140, 101, 0.34);
    background: rgba(3, 140, 101, 0.08);
    color: var(--b2b-green-dark);
}

.b2b-pagination .active .page-link,
.b2b-pagination .page-item.active .page-link {
    background: var(--b2b-orange);
    border-color: var(--b2b-orange);
    color: #fff;
    box-shadow: 0 10px 22px rgba(242, 123, 19, 0.22);
}

/* =========================
   Bootstrap RTL Tweaks
========================= */

.b2b-page .form-select {
    background-position: left 0.75rem center;
    padding-right: 0.75rem;
    padding-left: 2.25rem;
}

.b2b-page .btn {
    box-shadow: none;
}

.b2b-page .btn:focus,
.b2b-page .page-link:focus {
    box-shadow: 0 0 0 4px rgba(3, 140, 101, 0.12);
}

/* =========================
   Responsive
========================= */

@media (max-width: 1199.98px) {
    .b2b-hero-inner {
        grid-template-columns: minmax(0, 1fr) 330px;
        padding: 30px;
    }

    .b2b-hero h1 {
        font-size: 32px;
    }
}

@media (max-width: 991.98px) {
    .b2b-hero {
        padding: 24px 0 22px;
    }

    .b2b-hero-inner {
        grid-template-columns: 1fr;
        padding: 28px;
    }

    .b2b-hero-content {
        min-height: auto;
    }

    .b2b-filter {
        position: static;
        margin-bottom: 18px;
    }

    .b2b-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .b2b-sort {
        justify-content: space-between;
    }

    .b2b-sort .form-select {
        min-width: 210px;
    }
}

@media (max-width: 767.98px) {
    .b2b-shop-section {
        padding-top: 18px;
    }

    .b2b-hero-inner {
        padding: 24px;
        border-radius: var(--b2b-radius-lg);
    }

    .b2b-hero h1 {
        font-size: 25px;
        line-height: 1.75;
    }

    .b2b-hero p {
        font-size: 14px;
        line-height: 2;
    }

    .b2b-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .b2b-hero-btn,
    .b2b-register-btn {
        width: 100%;
    }

    .b2b-hero-panel,
    .b2b-hero-card {
        padding: 20px;
    }

    .b2b-section-heading {
        text-align: right;
        margin-bottom: 24px;
    }

    .b2b-toolbar {
        padding: 16px;
    }

    .b2b-sort {
        align-items: stretch;
        flex-direction: column;
    }

    .b2b-sort label {
        margin-bottom: 0;
    }

    .b2b-sort .form-select {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 575.98px) {
    .b2b-page {
        background:
            radial-gradient(circle at top right, rgba(242, 123, 19, 0.11), transparent 22rem),
            linear-gradient(180deg, #ffffff 0%, var(--b2b-bg) 100%);
    }

    .b2b-hero {
        padding-top: 18px;
    }

    .b2b-hero-inner {
        padding: 20px;
        border-radius: var(--b2b-radius);
    }

    .b2b-hero-label,
    .b2b-hero-badge {
        font-size: 12px;
        padding: 7px 12px;
    }

    .b2b-hero h1 {
        font-size: 22px;
        line-height: 1.85;
    }

    .b2b-hero p {
        font-size: 13px;
    }

    .b2b-hero-panel,
    .b2b-hero-card {
        padding: 17px;
        border-radius: var(--b2b-radius);
    }

    .b2b-panel-row,
    .b2b-stat-item {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .b2b-filter,
    .b2b-toolbar,
    .b2b-empty {
        border-radius: var(--b2b-radius);
    }

    .b2b-product,
    .b2b-product-card {
        border-radius: var(--b2b-radius);
    }

    .b2b-product-body,
    .b2b-product-content {
        padding: 11px;
    }

    .b2b-product h3,
    .b2b-product-title {
        height: 47px;
        font-size: 13px;
        line-height: 1.75;
    }

    .b2b-product-tags,
    .b2b-product-meta {
        min-height: 24px;
        margin-bottom: 8px;
    }

    .b2b-product-tags span,
    .b2b-product-meta span {
        min-height: 22px;
        padding: 3px 7px;
        font-size: 10px;
    }

    .b2b-price,
    .b2b-product-price {
        min-height: 46px;
    }

    .b2b-price strong,
    .b2b-price-row strong {
        font-size: 15px;
    }

    .b2b-price small,
    .b2b-price-row small {
        font-size: 11px;
    }

    .b2b-locked-price,
    .b2b-inquiry,
    .b2b-price-inquiry {
        min-height: 38px;
        font-size: 12px;
    }

    .b2b-product .btn,
    .b2b-product-card .btn,
    .b2b-product-btn {
        min-height: 38px;
        font-size: 12px;
    }

    .b2b-pagination .page-link {
        min-width: 36px;
        min-height: 36px;
        font-size: 12px;
    }
}

/* =========================
   Print Friendly
========================= */

@media print {
    .b2b-page {
        background: #fff !important;
        color: #000 !important;
    }

    .b2b-hero,
    .b2b-filter,
    .b2b-toolbar,
    .b2b-pagination,
    .b2b-product-btn,
    .b2b-product .btn,
    .b2b-product-card .btn {
        display: none !important;
    }

    .b2b-product,
    .b2b-product-card {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #000 !important;
        border-radius: 0 !important;
    }

    .b2b-product::before,
    .b2b-product-card::before {
        display: none !important;
    }

    .b2b-product h3,
    .b2b-product-title {
        color: #000 !important;
    }

    .b2b-price strong,
    .b2b-price-row strong {
        color: #000 !important;
    }
}
