:root {
    --bd-rs-primary: #2542d8;
    --bd-rs-primary-dark: #162da8;
    --bd-rs-dark: #071b35;
    --bd-rs-bg: #f4f7fb;
    --bd-rs-border: #e5e9f2;
    --bd-rs-text: #15233b;
    --bd-rs-muted: #6f7b8f;
    --bd-rs-white: #ffffff;
    --bd-rs-shadow: 0 18px 50px rgba(25, 45, 90, .12);
}

.bd-rs-wrap,
.bd-rs-dashboard,
.bd-rs-store,
.bd-rs-site-shell {
    font-family: Inter, Arial, sans-serif;
    color: var(--bd-rs-text);
}

.bd-rs-auth-wrap {
    max-width: 1180px;
    margin: 50px auto;
    padding: 20px;
}

.bd-rs-auth-card {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    background: #fff;
    border: 1px solid var(--bd-rs-border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--bd-rs-shadow);
}

.bd-rs-auth-intro {
    padding: 56px;
    background: linear-gradient(145deg, #071b35, #17376f);
    color: #fff;
}

.bd-rs-auth-intro h1 {
    font-size: 42px;
    margin: 14px 0;
}

.bd-rs-auth-intro p {
    opacity: .86;
    line-height: 1.7;
}

.bd-rs-auth-intro li {
    margin: 12px 0;
}

.bd-rs-kicker {
    display: inline-block;
    background: rgba(255, 255, 255, .12);
    padding: 8px 12px;
    border-radius: 999px;
}

.bd-rs-auth-form,
.bd-rs-panel {
    padding: 36px;
}

.bd-rs-auth-form h2 {
    margin-top: 0;
}

.bd-rs-auth-form label,
.bd-rs-product-form label {
    display: block;
    font-weight: 600;
    margin: 0 0 18px;
}

.bd-rs-auth-form input,
.bd-rs-auth-form select,
.bd-rs-product-form input,
.bd-rs-product-form select,
.bd-rs-product-form textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #dfe5ef;
    border-radius: 12px;
    padding: 13px 14px;
    margin-top: 8px;
    background: #fff;
    color: var(--bd-rs-text);
    font: inherit;
}

.bd-rs-auth-form input:focus,
.bd-rs-product-form input:focus,
.bd-rs-product-form select:focus,
.bd-rs-product-form textarea:focus {
    outline: none;
    border-color: rgba(37, 66, 216, .65);
    box-shadow: 0 0 0 4px rgba(37, 66, 216, .09);
}

.bd-rs-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.bd-rs-check {
    display: flex !important;
    align-items: center;
    gap: 8px;
    font-weight: 400 !important;
}

.bd-rs-check input {
    width: auto !important;
    margin: 0 !important;
}

.bd-rs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 10px;
    padding: 12px 18px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    line-height: 1.2;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.bd-rs-btn:hover {
    transform: translateY(-1px);
}

.bd-rs-btn-primary {
    background: var(--bd-rs-primary);
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(37, 66, 216, .19);
}

.bd-rs-btn-primary:hover {
    background: var(--bd-rs-primary-dark);
}

.bd-rs-btn-light {
    background: #fff;
    color: var(--bd-rs-primary) !important;
    border: 1px solid var(--bd-rs-border);
}

.bd-rs-btn-small {
    padding: 8px 12px;
    font-size: 13px;
}

.bd-rs-alert,
.bd-rs-notice,
.bd-rs-status-card,
.bd-rs-login-required {
    max-width: 900px;
    margin: 30px auto;
    padding: 18px 20px;
    border-radius: 12px;
    background: #eef4ff;
}

.bd-rs-inline-alert {
    max-width: none;
    margin: 0 0 20px;
}

.bd-rs-alert.error {
    background: #fff0f0;
    color: #a22;
}

.bd-rs-alert.success {
    background: #effbf2;
    color: #18743a;
    transition: opacity .25s ease;
}

.bd-rs-dashboard {
    display: grid;
    grid-template-columns: 255px minmax(0, 1fr);
    min-height: 760px;
    background: var(--bd-rs-bg);
    max-width: 1500px;
    margin: 30px auto;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 45px rgba(25, 45, 90, .1);
}

.bd-rs-sidebar {
    background: var(--bd-rs-dark);
    padding: 26px 18px;
    color: #fff;
}

.bd-rs-brand {
    font-size: 22px;
    font-weight: 800;
    padding: 4px 10px 26px;
}

.bd-rs-user {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 16px 10px 24px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.bd-rs-user img {
    border-radius: 50%;
}

.bd-rs-user span {
    display: block;
    font-size: 12px;
    opacity: .7;
    margin-top: 4px;
}

.bd-rs-sidebar nav a {
    display: block;
    color: #d8e2f2;
    padding: 13px 14px;
    border-radius: 10px;
    text-decoration: none;
    margin: 5px 0;
}

.bd-rs-sidebar nav a.active,
.bd-rs-sidebar nav a:hover {
    background: #2f4de0;
    color: #fff;
}

.bd-rs-main {
    padding: 30px;
    min-width: 0;
}

.bd-rs-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.bd-rs-topbar h1 {
    margin: 0 0 4px;
    font-size: 30px;
}

.bd-rs-topbar p,
.bd-rs-panel-head p {
    margin: 4px 0 0;
    color: var(--bd-rs-muted);
}

.bd-rs-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 22px;
}

.bd-rs-cards article {
    background: #fff;
    border: 1px solid var(--bd-rs-border);
    border-radius: 14px;
    padding: 22px;
}

.bd-rs-cards span {
    color: var(--bd-rs-muted);
}

.bd-rs-cards strong {
    display: block;
    font-size: 26px;
    margin-top: 10px;
}

.bd-rs-panel {
    background: #fff;
    border: 1px solid var(--bd-rs-border);
    border-radius: 16px;
    margin-bottom: 24px;
}

.bd-rs-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.bd-rs-panel-head h2 {
    margin: 0;
}

.bd-rs-table-wrap {
    overflow: auto;
}

.bd-rs-table {
    width: 100%;
    border-collapse: collapse;
}

.bd-rs-table th,
.bd-rs-table td {
    text-align: left;
    padding: 14px;
    border-bottom: 1px solid #edf0f5;
    white-space: nowrap;
}

.bd-rs-table th {
    font-size: 13px;
    color: var(--bd-rs-muted);
    background: #fafbfd;
}

.bd-rs-badge {
    display: inline-block;
    padding: 6px 9px;
    border-radius: 8px;
    background: #eef2ff;
    font-size: 12px;
    text-transform: capitalize;
}

.bd-rs-badge.success {
    background: #e7f7ec;
    color: #17843d;
}

.bd-rs-danger-link {
    color: #c62828;
}

.bd-rs-product-form {
    max-width: 820px;
}

.bd-rs-image-preview {
    display: block;
    margin: 12px 0 4px;
    background: #f7f9fc;
    border: 1px solid var(--bd-rs-border);
    object-fit: contain;
}

.bd-rs-image-preview.logo {
    width: 140px;
    height: 90px;
    border-radius: 12px;
    padding: 8px;
}

.bd-rs-image-preview.banner {
    width: 100%;
    height: 150px;
    border-radius: 14px;
}

.bd-rs-image-preview.product {
    width: 150px;
    height: 150px;
    margin: 0;
    border-radius: 14px;
    object-fit: cover;
}

.bd-rs-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 12px 0 4px;
    border: 1px dashed #cdd5e3;
    border-radius: 12px;
    color: #7f8a9e;
    background: #fafbfd;
    font-weight: 500;
}

.bd-rs-image-placeholder.logo {
    width: 140px;
    height: 90px;
}

.bd-rs-image-placeholder.banner {
    width: 100%;
    height: 150px;
}

.bd-rs-home-form {
    max-width: none;
}

.bd-rs-setting-block {
    padding: 24px;
    border: 1px solid var(--bd-rs-border);
    border-radius: 14px;
    margin-bottom: 22px;
    background: #fbfcff;
}

.bd-rs-setting-block h3 {
    margin: 0 0 6px;
    font-size: 19px;
}

.bd-rs-help {
    margin: 0 0 18px;
    color: var(--bd-rs-muted);
    line-height: 1.6;
}

.bd-rs-help code {
    background: #eef2ff;
    border-radius: 6px;
    padding: 2px 6px;
    color: #203bc0;
}

.bd-rs-setting-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.bd-rs-menu-builder {
    display: grid;
    gap: 12px;
}

.bd-rs-menu-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr 42px;
    gap: 12px;
    align-items: end;
    padding: 14px;
    background: #fff;
    border: 1px solid #e8ecf4;
    border-radius: 12px;
}

.bd-rs-menu-row label {
    margin: 0;
}

.bd-rs-menu-remove {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 10px;
    background: #fff0f0;
    color: #be2c2c;
    font-size: 24px;
    cursor: pointer;
    margin-bottom: 1px;
}

.bd-rs-header-feature-note {
    display: flex;
    align-items: center;
    gap: 16px;
    border-radius: 14px;
    padding: 18px 20px;
    background: linear-gradient(135deg, #eef3ff, #f8faff);
    border: 1px solid #dce5ff;
    margin-bottom: 22px;
}

.bd-rs-header-feature-note p {
    margin: 5px 0 0;
    color: var(--bd-rs-muted);
    line-height: 1.55;
}

.bd-rs-cart-demo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--bd-rs-primary);
    color: #fff;
    flex: 0 0 48px;
}

.bd-reseller-header-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1d39c4, #304ee7);
    color: #fff !important;
    border-radius: 14px;
    padding: 14px 20px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(37, 66, 216, .22);
    min-width: 190px;
    text-align: center;
}

.bd-reseller-header-button small {
    display: block;
    font-size: 11px;
    font-weight: 600;
    opacity: .85;
    margin-bottom: 2px;
}

/* Independent reseller storefront */
body.bd-rs-custom-storefront {
    margin: 0;
    background: #f7f8fc;
    color: var(--bd-rs-text);
}

body.bd-rs-custom-storefront.admin-bar .bd-rs-custom-header {
    top: 32px;
}

.bd-rs-site-shell {
    min-height: 100vh;
    background: #f7f8fc;
}

.bd-rs-custom-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid #e7ebf2;
    box-shadow: 0 8px 28px rgba(25, 45, 90, .06);
    backdrop-filter: blur(14px);
}

.bd-rs-custom-header-inner {
    max-width: 1320px;
    min-height: 82px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: minmax(220px, auto) 1fr auto;
    align-items: center;
    gap: 28px;
}

.bd-rs-header-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--bd-rs-text);
    text-decoration: none;
    min-width: 0;
}

.bd-rs-header-brand img {
    width: 118px;
    height: 58px;
    object-fit: contain;
    display: block;
}

.bd-rs-header-store-name {
    font-size: 18px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}

.bd-rs-logo-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--bd-rs-primary), #5870f0);
    color: #fff;
    font-size: 24px;
    font-weight: 900;
}

.bd-rs-custom-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

.bd-rs-custom-nav a {
    position: relative;
    color: #243047;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    padding: 30px 0;
}

.bd-rs-custom-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;
    height: 2px;
    background: var(--bd-rs-primary);
    transform: scaleX(0);
    transition: transform .2s ease;
}

.bd-rs-custom-nav a:hover {
    color: var(--bd-rs-primary);
}

.bd-rs-custom-nav a:hover::after {
    transform: scaleX(1);
}

.bd-rs-store-cart {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px 10px 12px;
    border-radius: 14px;
    background: #eff3ff;
    border: 1px solid #dce4ff;
    color: var(--bd-rs-primary);
    text-decoration: none;
    min-width: 154px;
}

.bd-rs-store-cart-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--bd-rs-primary);
    color: #fff;
    flex: 0 0 42px;
}

.bd-rs-store-cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    padding: 0 4px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ff5b62;
    color: #fff;
    font-size: 11px;
    line-height: 1;
    border: 2px solid #fff;
}

.bd-rs-store-cart-text {
    min-width: 0;
}

.bd-rs-store-cart-text small {
    display: block;
    color: #73809a;
    font-size: 11px;
    margin-bottom: 2px;
}

.bd-rs-store-cart-text strong {
    display: block;
    color: #18284a;
    font-size: 14px;
    white-space: nowrap;
}

.bd-rs-store-cart-text .woocommerce-Price-amount {
    color: inherit;
}

.bd-rs-mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--bd-rs-border);
    border-radius: 11px;
    background: #fff;
    color: var(--bd-rs-text);
    cursor: pointer;
}

.bd-rs-storefront-main {
    max-width: 1320px;
    margin: 0 auto;
    padding: 28px 24px 70px;
}

.bd-rs-woo-notices {
    margin-bottom: 18px;
}

.bd-rs-woo-notices .woocommerce-message,
.bd-rs-woo-notices .woocommerce-error,
.bd-rs-woo-notices .woocommerce-info {
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--bd-rs-border);
    padding: 16px 18px;
    margin: 0;
}

.bd-rs-storefront-hero {
    position: relative;
    min-height: 410px;
    border-radius: 26px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 60px;
    box-sizing: border-box;
    box-shadow: 0 20px 55px rgba(14, 28, 60, .13);
}

.bd-rs-storefront-hero-default {
    background: radial-gradient(circle at 80% 20%, rgba(77, 105, 243, .38), transparent 34%), linear-gradient(135deg, #0b1d3b, #193d7f);
}

.bd-rs-storefront-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 17, 39, .84) 0%, rgba(4, 17, 39, .54) 45%, rgba(4, 17, 39, .08) 100%);
}

.bd-rs-storefront-hero-content {
    position: relative;
    z-index: 1;
    max-width: 580px;
    color: #fff;
}

.bd-rs-storefront-hero-content > span {
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    opacity: .82;
    margin-bottom: 10px;
}

.bd-rs-storefront-hero h1 {
    color: #fff;
    font-size: clamp(42px, 6vw, 68px);
    line-height: 1.03;
    margin: 0 0 18px;
}

.bd-rs-storefront-hero p {
    font-size: 18px;
    margin: 0 0 26px;
    opacity: .9;
}

.bd-rs-storefront-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 12px;
    background: #fff;
    color: #153271;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}

.bd-rs-storefront-products {
    padding-top: 58px;
}

.bd-rs-storefront-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 26px;
}

.bd-rs-storefront-section-head span {
    display: block;
    color: var(--bd-rs-primary);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: .13em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.bd-rs-storefront-section-head h2 {
    margin: 0;
    font-size: 34px;
}

.bd-rs-storefront-section-head p {
    margin: 0;
    color: var(--bd-rs-muted);
    max-width: 470px;
    text-align: right;
}

.bd-rs-store-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.bd-rs-store-product {
    border: 1px solid var(--bd-rs-border);
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 12px 30px rgba(30, 47, 80, .06);
    transition: transform .2s ease, box-shadow .2s ease;
}

.bd-rs-store-product:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(30, 47, 80, .11);
}

.bd-rs-store-product-image {
    display: block;
    background: #f2f4f8;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.bd-rs-store-product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.bd-rs-store-product:hover .bd-rs-store-product-image img {
    transform: scale(1.035);
}

.bd-rs-store-product-body {
    padding: 18px;
}

.bd-rs-store-product h3 {
    margin: 0 0 10px;
    font-size: 17px;
    line-height: 1.45;
}

.bd-rs-store-product h3 a {
    color: var(--bd-rs-text);
    text-decoration: none;
}

.bd-rs-store-product-price {
    min-height: 28px;
    color: var(--bd-rs-primary);
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 15px;
}

.bd-rs-store-product-price del {
    color: #9199a9;
    font-weight: 500;
    margin-right: 6px;
}

.bd-rs-store-product-actions {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 9px;
}

.bd-rs-product-details,
.bd-rs-product-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 10px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
}

.bd-rs-product-details {
    border: 1px solid #dfe5ef;
    color: #34425a;
    background: #fff;
}

.bd-rs-product-add {
    color: #fff;
    background: var(--bd-rs-primary);
}

.bd-rs-empty-products {
    grid-column: 1 / -1;
    padding: 60px 20px;
    text-align: center;
    border: 1px dashed #ccd4e3;
    border-radius: 18px;
    background: #fff;
}

.bd-rs-empty-products h3 {
    margin: 0 0 8px;
}

.bd-rs-empty-products p {
    margin: 0;
    color: var(--bd-rs-muted);
}

.bd-rs-custom-footer {
    border-top: 1px solid #e4e8ef;
    background: #fff;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px max(24px, calc((100vw - 1272px) / 2));
    box-sizing: border-box;
}

.bd-rs-custom-footer strong,
.bd-rs-custom-footer span {
    display: block;
}

.bd-rs-custom-footer span,
.bd-rs-custom-footer p {
    margin: 4px 0 0;
    color: var(--bd-rs-muted);
    font-size: 13px;
}

@media (max-width: 1100px) {
    .bd-rs-custom-header-inner {
        grid-template-columns: minmax(180px, auto) 1fr auto;
        gap: 18px;
    }

    .bd-rs-custom-nav {
        gap: 18px;
    }

    .bd-rs-header-store-name {
        display: none;
    }

    .bd-rs-store-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .bd-rs-dashboard {
        grid-template-columns: 1fr;
    }

    .bd-rs-sidebar {
        position: relative;
    }

    .bd-rs-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .bd-rs-auth-card {
        grid-template-columns: 1fr;
    }

    .bd-rs-custom-header-inner {
        grid-template-columns: 1fr auto auto;
        min-height: 74px;
    }

    .bd-rs-mobile-menu-toggle {
        display: inline-flex;
        order: 2;
    }

    .bd-rs-store-cart {
        order: 3;
        min-width: auto;
    }

    .bd-rs-store-cart-text small {
        display: none;
    }

    .bd-rs-custom-nav {
        display: none;
        position: absolute;
        top: calc(100% + 1px);
        left: 18px;
        right: 18px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px;
        background: #fff;
        border: 1px solid var(--bd-rs-border);
        border-radius: 14px;
        box-shadow: var(--bd-rs-shadow);
    }

    .bd-rs-custom-nav.is-open {
        display: flex;
    }

    .bd-rs-custom-nav a {
        padding: 12px 14px;
        border-radius: 9px;
    }

    .bd-rs-custom-nav a:hover {
        background: #f2f5ff;
    }

    .bd-rs-custom-nav a::after {
        display: none;
    }

    .bd-rs-storefront-hero {
        min-height: 360px;
        padding: 45px;
    }
}

@media (max-width: 782px) {
    body.bd-rs-custom-storefront.admin-bar .bd-rs-custom-header {
        top: 46px;
    }

    .bd-rs-store-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bd-rs-storefront-section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .bd-rs-storefront-section-head p {
        text-align: left;
    }
}

@media (max-width: 600px) {
    .bd-rs-grid-2,
    .bd-rs-cards,
    .bd-rs-store-grid {
        grid-template-columns: 1fr;
    }

    .bd-rs-main {
        padding: 18px;
    }

    .bd-rs-topbar {
        align-items: flex-start;
        gap: 12px;
    }

    .bd-rs-auth-intro,
    .bd-rs-auth-form,
    .bd-rs-panel {
        padding: 24px;
    }

    .bd-rs-auth-intro h1 {
        font-size: 32px;
    }

    .bd-rs-setting-title {
        flex-direction: column;
    }

    .bd-rs-menu-row {
        grid-template-columns: 1fr 42px;
    }

    .bd-rs-menu-row label:nth-child(2) {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .bd-rs-menu-remove {
        grid-column: 2;
        grid-row: 1;
    }

    .bd-rs-custom-header-inner {
        padding: 0 14px;
        gap: 10px;
    }

    .bd-rs-header-brand img {
        width: 88px;
        height: 48px;
    }

    .bd-rs-store-cart {
        padding: 6px;
        border-radius: 11px;
    }

    .bd-rs-store-cart-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .bd-rs-store-cart-text {
        display: none;
    }

    .bd-rs-storefront-main {
        padding: 16px 14px 50px;
    }

    .bd-rs-storefront-hero {
        min-height: 330px;
        padding: 30px 24px;
        border-radius: 18px;
    }

    .bd-rs-storefront-hero-overlay {
        background: rgba(4, 17, 39, .67);
    }

    .bd-rs-storefront-hero h1 {
        font-size: 39px;
    }

    .bd-rs-storefront-products {
        padding-top: 42px;
    }

    .bd-rs-storefront-section-head h2 {
        font-size: 28px;
    }

    .bd-rs-custom-footer {
        align-items: flex-start;
        flex-direction: column;
        padding: 24px 18px;
    }
}

/* ==========================================================
   v1.2.0: theme-collision protection, uploads and store slider
   ========================================================== */
.bd-rs-dashboard,
.bd-rs-dashboard *,
.bd-rs-wrap,
.bd-rs-wrap *,
.bd-rs-site-shell,
.bd-rs-site-shell * {
    box-sizing: border-box;
}

.bd-rs-dashboard,
.bd-rs-dashboard input,
.bd-rs-dashboard select,
.bd-rs-dashboard textarea,
.bd-rs-dashboard button,
.bd-rs-dashboard a,
.bd-rs-site-shell,
.bd-rs-site-shell input,
.bd-rs-site-shell select,
.bd-rs-site-shell textarea,
.bd-rs-site-shell button,
.bd-rs-site-shell a {
    font-family: Inter, Arial, sans-serif !important;
}

.bd-rs-dashboard h1,
.bd-rs-dashboard h2,
.bd-rs-dashboard h3,
.bd-rs-dashboard h4,
.bd-rs-dashboard p,
.bd-rs-dashboard label,
.bd-rs-dashboard strong,
.bd-rs-dashboard span,
.bd-rs-dashboard small,
.bd-rs-site-shell h1,
.bd-rs-site-shell h2,
.bd-rs-site-shell h3,
.bd-rs-site-shell h4,
.bd-rs-site-shell p,
.bd-rs-site-shell label,
.bd-rs-site-shell strong,
.bd-rs-site-shell span,
.bd-rs-site-shell small {
    position: static;
    float: none;
    transform: none;
    text-indent: 0;
    letter-spacing: normal;
    text-shadow: none;
    line-height: 1.45;
}

.bd-rs-dashboard h1::before,
.bd-rs-dashboard h1::after,
.bd-rs-dashboard h2::before,
.bd-rs-dashboard h2::after,
.bd-rs-dashboard h3::before,
.bd-rs-dashboard h3::after,
.bd-rs-site-shell h1::before,
.bd-rs-site-shell h1::after,
.bd-rs-site-shell h2::before,
.bd-rs-site-shell h2::after,
.bd-rs-site-shell h3::before,
.bd-rs-site-shell h3::after {
    display: none !important;
    content: none !important;
}

.bd-rs-dashboard h1,
.bd-rs-topbar h1 {
    margin: 0 0 5px !important;
    padding: 0 !important;
    color: var(--bd-rs-text) !important;
    font-size: 30px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
}

.bd-rs-dashboard h2,
.bd-rs-panel-head h2 {
    margin: 0 !important;
    padding: 0 !important;
    color: var(--bd-rs-text) !important;
    font-size: 23px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
}

.bd-rs-dashboard h3,
.bd-rs-setting-block h3 {
    margin: 0 0 7px !important;
    padding: 0 !important;
    color: var(--bd-rs-text) !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
}

.bd-rs-topbar p,
.bd-rs-panel-head p,
.bd-rs-help,
.bd-rs-info-box p,
.bd-rs-header-feature-note p {
    margin: 5px 0 0 !important;
    padding: 0 !important;
    color: var(--bd-rs-muted) !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
}

.bd-rs-dashboard label {
    color: var(--bd-rs-text) !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
}

.bd-rs-dashboard input:not([type="checkbox"]):not([type="radio"]),
.bd-rs-dashboard select,
.bd-rs-dashboard textarea {
    position: static !important;
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 46px;
    margin: 8px 0 0 !important;
    padding: 12px 14px !important;
    opacity: 1 !important;
    visibility: visible !important;
    clip: auto !important;
    border: 1px solid #dfe5ef !important;
    border-radius: 11px !important;
    background: #fff !important;
    color: var(--bd-rs-text) !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    box-shadow: none !important;
}

.bd-rs-dashboard input[readonly] {
    background: #f5f7fb !important;
    color: #526079 !important;
}

.bd-rs-panel,
.bd-rs-topbar,
.bd-rs-panel-head,
.bd-rs-setting-block,
.bd-rs-upload-card,
.bd-rs-slide-setting-card {
    position: relative;
    z-index: 1;
}

.bd-rs-info-box {
    margin: 0 0 22px;
    padding: 16px 18px;
    border: 1px solid #dce5ff;
    border-radius: 12px;
    background: #f3f6ff;
}

.bd-rs-info-box strong {
    display: block;
    color: var(--bd-rs-text) !important;
    font-size: 15px !important;
    font-weight: 800 !important;
}

.bd-rs-info-box a {
    color: var(--bd-rs-primary) !important;
    font-weight: 700;
}

.bd-rs-upload-card {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 18px;
    border: 1px solid #e3e8f1;
    border-radius: 14px;
    background: #fff;
}

.bd-rs-upload-preview {
    flex: 0 0 170px;
}

.bd-rs-upload-controls {
    flex: 1 1 auto;
    min-width: 0;
}

.bd-rs-file-label {
    display: block !important;
    margin: 0 0 12px !important;
    color: var(--bd-rs-text) !important;
    font-weight: 700 !important;
}

.bd-rs-file-label input[type="file"] {
    position: static !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 8px 0 0 !important;
    padding: 10px !important;
    opacity: 1 !important;
    visibility: visible !important;
    color: #42506a !important;
    background: #f8faff !important;
    border: 1px dashed #bfc9da !important;
    border-radius: 10px !important;
    cursor: pointer;
}

.bd-rs-remove-check {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
    color: #9b2d2d !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

.bd-rs-remove-check input[type="checkbox"] {
    position: static !important;
    width: 17px !important;
    height: 17px !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.bd-rs-upload-controls small,
.bd-rs-slide-setting-card > small {
    display: block;
    margin-top: 8px;
    color: var(--bd-rs-muted) !important;
    font-size: 12px !important;
}

.bd-rs-slide-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.bd-rs-slide-setting-card {
    min-width: 0;
    padding: 16px;
    border: 1px solid #e2e7f0;
    border-radius: 14px;
    background: #fff;
}

.bd-rs-slide-setting-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 25px;
    margin-bottom: 12px;
}

.bd-rs-slide-setting-head > strong {
    color: var(--bd-rs-text) !important;
    font-size: 15px !important;
    font-weight: 800 !important;
}

.bd-rs-slide-preview {
    width: 100%;
    margin-bottom: 12px;
    overflow: hidden;
    border-radius: 11px;
    background: #f5f7fb;
}

.bd-rs-slide-preview .bd-rs-image-preview.banner,
.bd-rs-slide-preview .bd-rs-image-placeholder.banner {
    width: 100%;
    height: 150px;
    margin: 0;
    border-radius: 11px;
}

.bd-rs-slide-preview .bd-rs-image-preview.banner {
    object-fit: cover;
    padding: 0;
}

.bd-rs-delay-field {
    flex: 0 0 150px;
    margin: 0 !important;
    font-size: 13px !important;
}

.bd-rs-delay-field input {
    min-height: 42px !important;
}

/* Independent storefront reset */
body.bd-rs-custom-storefront {
    overflow-x: hidden;
}

body.bd-rs-custom-storefront .bd-rs-site-shell {
    isolation: isolate;
    width: 100%;
    margin: 0;
    padding: 0;
}

body.bd-rs-custom-storefront .bd-rs-header-brand,
body.bd-rs-custom-storefront .bd-rs-custom-nav a,
body.bd-rs-custom-storefront .bd-rs-store-cart,
body.bd-rs-custom-storefront .bd-rs-product-details,
body.bd-rs-custom-storefront .bd-rs-product-add,
body.bd-rs-custom-storefront .bd-rs-empty-slide-content a {
    text-decoration: none !important;
}

body.bd-rs-custom-storefront .bd-rs-header-brand {
    line-height: 1 !important;
}

body.bd-rs-custom-storefront .bd-rs-header-brand img {
    position: static !important;
    float: none !important;
    max-width: 118px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

body.bd-rs-custom-storefront .bd-rs-header-store-name {
    display: block;
    margin: 0;
    padding: 0;
    color: var(--bd-rs-text) !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
}

body.bd-rs-custom-storefront .bd-rs-custom-nav a {
    color: #243047 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
}

body.bd-rs-custom-storefront .bd-rs-store-cart-text small {
    margin: 0 0 2px !important;
    color: #73809a !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
}

body.bd-rs-custom-storefront .bd-rs-store-cart-text strong,
body.bd-rs-custom-storefront .bd-rs-store-cart-text .woocommerce-Price-amount,
body.bd-rs-custom-storefront .bd-rs-store-cart-text .woocommerce-Price-currencySymbol {
    margin: 0 !important;
    padding: 0 !important;
    color: #18284a !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
}

/* Store homepage image slider */
.bd-rs-store-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 6;
    min-height: 280px;
    overflow: hidden;
    border-radius: 22px;
    background: #e9edf5;
    box-shadow: 0 18px 48px rgba(14, 28, 60, .12);
}

.bd-rs-store-slider-viewport,
.bd-rs-store-slider-track {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.bd-rs-store-slide {
    position: absolute !important;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .45s ease, visibility .45s ease;
}

.bd-rs-store-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}

.bd-rs-store-slide img {
    position: static !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: cover;
    border: 0 !important;
    border-radius: 0 !important;
}

.bd-rs-slider-arrow {
    position: absolute !important;
    top: 50%;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: -22px 0 0;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 50%;
    background: rgba(7, 27, 53, .58);
    color: #fff;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .16);
    backdrop-filter: blur(6px);
}

.bd-rs-slider-prev {
    left: 18px;
}

.bd-rs-slider-next {
    right: 18px;
}

.bd-rs-slider-dots {
    position: absolute;
    left: 50%;
    bottom: 16px;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translateX(-50%);
}

.bd-rs-slider-dot {
    position: static !important;
    width: 10px;
    height: 10px;
    margin: 0;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 999px;
    background: rgba(255, 255, 255, .48);
    cursor: pointer;
    transition: width .2s ease, background .2s ease;
}

.bd-rs-slider-dot.is-active {
    width: 28px;
    background: #fff;
}

.bd-rs-store-slider-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 80% 20%, rgba(78, 105, 243, .55), transparent 34%), linear-gradient(135deg, #0b1d3b, #244c9d);
}

.bd-rs-empty-slide-content {
    padding: 32px;
    text-align: center;
    color: #fff;
}

.bd-rs-empty-slide-content strong {
    display: block;
    margin: 0 0 8px !important;
    color: #fff !important;
    font-size: clamp(34px, 5vw, 62px) !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
}

.bd-rs-empty-slide-content span {
    display: block;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, .82) !important;
    font-size: 16px !important;
}

.bd-rs-empty-slide-content a {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border-radius: 11px;
    background: #fff;
    color: #16336e !important;
    font-weight: 800 !important;
}

body.bd-rs-custom-storefront .bd-rs-storefront-section-head span {
    position: static;
    display: block;
    margin: 0 0 6px !important;
    padding: 0;
    color: var(--bd-rs-primary) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
}

body.bd-rs-custom-storefront .bd-rs-storefront-section-head h2 {
    position: static;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--bd-rs-text) !important;
    font-size: 34px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
}

body.bd-rs-custom-storefront .bd-rs-storefront-section-head p {
    position: static;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--bd-rs-muted) !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

@media (max-width: 780px) {
    .bd-rs-slide-settings-grid {
        grid-template-columns: 1fr;
    }

    .bd-rs-upload-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .bd-rs-upload-preview {
        flex-basis: auto;
        width: 100%;
    }

    .bd-rs-setting-title {
        align-items: stretch;
    }

    .bd-rs-delay-field {
        flex-basis: auto;
        width: 150px;
    }

    .bd-rs-store-slider {
        aspect-ratio: 16 / 7.5;
        min-height: 230px;
        border-radius: 16px;
    }

    .bd-rs-slider-arrow {
        width: 38px;
        height: 38px;
        margin-top: -19px;
        font-size: 21px;
    }

    .bd-rs-slider-prev {
        left: 10px;
    }

    .bd-rs-slider-next {
        right: 10px;
    }
}

@media (max-width: 520px) {
    .bd-rs-dashboard h1,
    .bd-rs-topbar h1 {
        font-size: 24px !important;
    }

    .bd-rs-dashboard h2,
    .bd-rs-panel-head h2 {
        font-size: 20px !important;
    }

    .bd-rs-store-slider {
        aspect-ratio: 16 / 9;
        min-height: 190px;
    }

    .bd-rs-slider-dots {
        bottom: 10px;
    }
}

/* Restore positioning for header cart elements after the scoped typography reset. */
body.bd-rs-custom-storefront .bd-rs-store-cart-icon {
    position: relative !important;
}

body.bd-rs-custom-storefront .bd-rs-store-cart-count {
    position: absolute !important;
    top: -6px !important;
    right: -6px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    margin: 0 !important;
    padding: 0 4px !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

/* Footer settings and premium reseller storefront footer - v1.3.0 */
.bd-rs-footer-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 22px;
}

.bd-rs-footer-form .bd-rs-setting-block {
    min-width: 0;
}

.bd-rs-footer-form h4 {
    margin: 0 0 5px;
    color: var(--bd-rs-text);
    font-size: 17px;
    line-height: 1.35;
}

.bd-rs-footer-form label small {
    display: block;
    margin-top: 7px;
    color: var(--bd-rs-muted);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.55;
}

.bd-rs-toggle {
    display: inline-flex !important;
    align-items: center;
    gap: 9px;
    width: auto;
    margin-bottom: 18px !important;
    padding: 9px 12px;
    border: 1px solid var(--bd-rs-border);
    border-radius: 10px;
    background: #f8faff;
}

.bd-rs-toggle input {
    width: 17px !important;
    height: 17px;
    margin: 0 !important;
}

.bd-rs-repeater {
    display: grid;
    gap: 11px;
}

.bd-rs-repeater-row {
    display: grid;
    grid-template-columns: minmax(130px, .82fr) minmax(190px, 1.3fr) auto;
    gap: 11px;
    align-items: end;
    padding: 13px;
    border: 1px solid var(--bd-rs-border);
    border-radius: 13px;
    background: #fbfcff;
}

.bd-rs-repeater-row label {
    margin: 0 !important;
}

.bd-rs-repeater-row .bd-rs-menu-remove {
    align-self: end;
    margin-bottom: 1px;
}

body.bd-rs-custom-storefront .bd-rs-premium-footer,
body.bd-rs-custom-storefront .bd-rs-premium-footer * {
    box-sizing: border-box;
}

body.bd-rs-custom-storefront .bd-rs-premium-footer {
    position: relative;
    width: 100%;
    margin: 70px 0 0;
    background: #fff;
    color: #18243a;
    font-family: Inter, Arial, sans-serif;
    border-top: 1px solid #eee7dd;
}

body.bd-rs-custom-storefront .bd-rs-footer-tagline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 1160px;
    margin: 0 auto;
    padding: 30px 24px 18px;
    color: var(--bd-rs-footer-accent);
    text-align: center;
}

body.bd-rs-custom-storefront .bd-rs-footer-tagline span {
    display: block;
    flex: 1;
    max-width: 180px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--bd-rs-footer-accent));
}

body.bd-rs-custom-storefront .bd-rs-footer-tagline span:last-child {
    background: linear-gradient(90deg, var(--bd-rs-footer-accent), transparent);
}

body.bd-rs-custom-storefront .bd-rs-footer-tagline i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border: 1px solid var(--bd-rs-footer-accent);
    border-radius: 50%;
    background: #fff;
    color: var(--bd-rs-footer-accent);
    font-style: normal;
}

body.bd-rs-custom-storefront .bd-rs-footer-tagline strong {
    margin: 0 !important;
    color: var(--bd-rs-footer-accent) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    letter-spacing: .09em;
    text-transform: uppercase;
}

body.bd-rs-custom-storefront .bd-rs-footer-main {
    display: grid;
    grid-template-columns: minmax(210px, 1.15fr) minmax(150px, .85fr) minmax(175px, .95fr) minmax(210px, 1.1fr) minmax(260px, 1.35fr);
    gap: 0;
    max-width: 1320px;
    margin: 0 auto;
    padding: 30px 28px 38px;
}

body.bd-rs-custom-storefront .bd-rs-footer-main > * {
    min-width: 0;
    padding: 8px 26px;
    border-left: 1px solid #eee7e2;
}

body.bd-rs-custom-storefront .bd-rs-footer-main > *:first-child {
    padding-left: 0;
    border-left: 0;
}

body.bd-rs-custom-storefront .bd-rs-footer-main > *:last-child {
    padding-right: 0;
}

body.bd-rs-custom-storefront .bd-rs-footer-brand-column {
    text-align: center;
}

body.bd-rs-custom-storefront .bd-rs-footer-logo {
    display: block !important;
    width: 118px !important;
    height: 118px !important;
    max-width: 118px !important;
    margin: 0 auto 15px !important;
    padding: 9px !important;
    object-fit: contain;
    border: 3px solid #f6eee2 !important;
    border-radius: 50% !important;
    background: #fff;
    box-shadow: 0 8px 28px rgba(69, 42, 24, .09);
}

body.bd-rs-custom-storefront .bd-rs-footer-logo-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 104px;
    height: 104px;
    margin: 0 auto 15px;
    border: 3px solid #f0e2cf;
    border-radius: 50%;
    background: #fff8ef;
    color: var(--bd-rs-footer-accent);
    font-size: 40px;
    font-weight: 900;
}

body.bd-rs-custom-storefront .bd-rs-footer-brand-column h2 {
    margin: 0 0 14px !important;
    color: #0d2343 !important;
    font-size: 28px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
}

body.bd-rs-custom-storefront .bd-rs-footer-brand-column p {
    margin: 0 auto 18px !important;
    color: #526074 !important;
    font-size: 13px !important;
    line-height: 1.75 !important;
}

body.bd-rs-custom-storefront .bd-rs-footer-socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
}

body.bd-rs-custom-storefront .bd-rs-footer-socials a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--bd-rs-footer-bottom);
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: 0 5px 14px rgba(55, 7, 12, .16);
    transition: transform .2s ease, background .2s ease;
}

body.bd-rs-custom-storefront .bd-rs-footer-socials a:hover {
    transform: translateY(-2px);
    background: var(--bd-rs-footer-accent);
}

body.bd-rs-custom-storefront .bd-rs-footer-socials span {
    margin: 0 !important;
    padding: 0 !important;
    color: inherit !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

body.bd-rs-custom-storefront .bd-rs-footer-column h3 {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 9px 0 28px !important;
    padding: 0 0 13px !important;
    color: #0b2344 !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    line-height: 1.3 !important;
    text-transform: uppercase;
}

body.bd-rs-custom-storefront .bd-rs-footer-column h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 42px;
    height: 2px;
    background: var(--bd-rs-footer-bottom);
}

body.bd-rs-custom-storefront .bd-rs-footer-column h3 svg {
    flex: 0 0 21px;
    color: #0b2344;
}

body.bd-rs-custom-storefront .bd-rs-footer-column ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

body.bd-rs-custom-storefront .bd-rs-footer-column li {
    position: relative;
    margin: 0 0 13px !important;
    padding: 0 0 0 19px !important;
    list-style: none !important;
}

body.bd-rs-custom-storefront .bd-rs-footer-column li::before {
    content: "›";
    position: absolute;
    left: 0;
    top: -1px;
    color: var(--bd-rs-footer-bottom);
    font-size: 21px;
    line-height: 1;
}

body.bd-rs-custom-storefront .bd-rs-footer-column li a {
    color: #334157 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    text-decoration: none !important;
}

body.bd-rs-custom-storefront .bd-rs-footer-column li a:hover {
    color: var(--bd-rs-footer-bottom) !important;
}

body.bd-rs-custom-storefront .bd-rs-footer-contact > a,
body.bd-rs-custom-storefront .bd-rs-footer-contact > div {
    display: flex !important;
    align-items: flex-start;
    gap: 11px;
    margin: 0 0 16px !important;
    color: #334157 !important;
    font-size: 13px !important;
    line-height: 1.62 !important;
    text-decoration: none !important;
}

body.bd-rs-custom-storefront .bd-rs-footer-contact > a svg,
body.bd-rs-custom-storefront .bd-rs-footer-contact > div svg {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    color: var(--bd-rs-footer-bottom);
}

body.bd-rs-custom-storefront .bd-rs-footer-contact span,
body.bd-rs-custom-storefront .bd-rs-footer-contact small {
    display: block;
    margin: 0 !important;
    color: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
}

body.bd-rs-custom-storefront .bd-rs-footer-contact small {
    margin-top: 3px !important;
    color: #778195 !important;
}

body.bd-rs-custom-storefront .bd-rs-footer-newsletter {
    align-self: stretch;
    padding: 28px 24px !important;
    border: 0 !important;
    border-radius: 12px;
    background: radial-gradient(circle at 90% 0, rgba(255,255,255,.08), transparent 36%), var(--bd-rs-footer-news);
    color: #fff;
    text-align: center;
    box-shadow: 0 14px 35px rgba(60, 7, 14, .18);
}

body.bd-rs-custom-storefront .bd-rs-footer-news-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 14px;
    border: 1px solid rgba(255,255,255,.58);
    border-radius: 50%;
    color: #fff;
}

body.bd-rs-custom-storefront .bd-rs-footer-newsletter h3 {
    margin: 0 0 12px !important;
    color: #fff !important;
    font-size: 19px !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
    text-transform: uppercase;
}

body.bd-rs-custom-storefront .bd-rs-footer-newsletter h3::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    margin: 12px auto 0;
    background: var(--bd-rs-footer-accent);
}

body.bd-rs-custom-storefront .bd-rs-footer-newsletter p {
    margin: 0 0 17px !important;
    color: rgba(255,255,255,.84) !important;
    font-size: 12px !important;
    line-height: 1.65 !important;
}

body.bd-rs-custom-storefront .bd-rs-footer-newsletter form {
    display: grid;
    gap: 9px;
    margin: 0;
}

body.bd-rs-custom-storefront .bd-rs-footer-newsletter input {
    width: 100% !important;
    height: 45px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    border: 0 !important;
    border-radius: 7px !important;
    background: #fff !important;
    color: #18243a !important;
    font-size: 13px !important;
    line-height: 45px !important;
    box-shadow: none !important;
}

body.bd-rs-custom-storefront .bd-rs-footer-newsletter button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    min-height: 45px !important;
    margin: 0 !important;
    padding: 0 16px !important;
    border: 0 !important;
    border-radius: 7px !important;
    background: #2945dc !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-transform: uppercase;
    cursor: pointer;
}

body.bd-rs-custom-storefront .bd-rs-footer-newsletter > small {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 13px !important;
    color: rgba(255,255,255,.72) !important;
    font-size: 10px !important;
    line-height: 1.4 !important;
}

body.bd-rs-custom-storefront .bd-rs-footer-newsletter > small svg {
    width: 14px;
    height: 14px;
}

body.bd-rs-custom-storefront .bd-rs-footer-bottom {
    display: grid;
    grid-template-columns: minmax(210px, 1fr) minmax(280px, 1.25fr) minmax(230px, 1fr);
    align-items: center;
    gap: 28px;
    padding: 27px max(28px, calc((100vw - 1260px) / 2));
    background: radial-gradient(circle at 12% 100%, rgba(255,255,255,.045), transparent 22%), var(--bd-rs-footer-bottom);
    color: #fff;
}

body.bd-rs-custom-storefront .bd-rs-footer-copyright,
body.bd-rs-custom-storefront .bd-rs-footer-trust {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
}

body.bd-rs-custom-storefront .bd-rs-footer-seal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border: 1px solid var(--bd-rs-footer-accent);
    border-radius: 50%;
    color: var(--bd-rs-footer-accent);
}

body.bd-rs-custom-storefront .bd-rs-footer-copyright strong,
body.bd-rs-custom-storefront .bd-rs-footer-copyright span,
body.bd-rs-custom-storefront .bd-rs-footer-trust strong,
body.bd-rs-custom-storefront .bd-rs-footer-trust span {
    display: block;
    margin: 0 !important;
    color: rgba(255,255,255,.9) !important;
    font-size: 12px !important;
    line-height: 1.55 !important;
}

body.bd-rs-custom-storefront .bd-rs-footer-copyright strong,
body.bd-rs-custom-storefront .bd-rs-footer-trust strong {
    font-weight: 700 !important;
}

body.bd-rs-custom-storefront .bd-rs-footer-copyright div > span,
body.bd-rs-custom-storefront .bd-rs-footer-trust div > span {
    margin-top: 3px !important;
    color: rgba(255,255,255,.67) !important;
}

body.bd-rs-custom-storefront .bd-rs-footer-payment {
    min-width: 0;
    padding: 0 26px;
    border-right: 1px solid rgba(255,255,255,.18);
    border-left: 1px solid rgba(255,255,255,.18);
    text-align: center;
}

body.bd-rs-custom-storefront .bd-rs-footer-payment > strong {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    margin: 0 0 13px !important;
    color: #fff !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
    text-transform: uppercase;
}

body.bd-rs-custom-storefront .bd-rs-footer-payment > strong::before,
body.bd-rs-custom-storefront .bd-rs-footer-payment > strong::after {
    content: "";
    width: 74px;
    height: 1px;
    background: var(--bd-rs-footer-accent);
    opacity: .55;
}

body.bd-rs-custom-storefront .bd-rs-footer-payment img {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    max-height: 54px !important;
    margin: 0 auto !important;
    object-fit: contain;
}

body.bd-rs-custom-storefront .bd-rs-payment-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

body.bd-rs-custom-storefront .bd-rs-payment-badges span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    margin: 0 !important;
    padding: 5px 9px !important;
    border-radius: 5px;
    background: #fff;
    color: #263552 !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

@media (max-width: 1180px) {
    body.bd-rs-custom-storefront .bd-rs-footer-main {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 28px;
    }

    body.bd-rs-custom-storefront .bd-rs-footer-main > * {
        border-left: 0;
        padding: 8px 20px;
    }

    body.bd-rs-custom-storefront .bd-rs-footer-brand-column {
        text-align: left;
    }

    body.bd-rs-custom-storefront .bd-rs-footer-logo,
    body.bd-rs-custom-storefront .bd-rs-footer-logo-fallback {
        margin-left: 0 !important;
    }

    body.bd-rs-custom-storefront .bd-rs-footer-socials {
        justify-content: flex-start;
    }

    body.bd-rs-custom-storefront .bd-rs-footer-newsletter {
        grid-column: span 2;
    }
}

@media (max-width: 900px) {
    .bd-rs-footer-settings-grid {
        grid-template-columns: 1fr;
    }

    body.bd-rs-custom-storefront .bd-rs-footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 26px 22px 32px;
    }

    body.bd-rs-custom-storefront .bd-rs-footer-newsletter {
        grid-column: span 1;
    }

    body.bd-rs-custom-storefront .bd-rs-footer-bottom {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 27px 24px;
        text-align: left;
    }

    body.bd-rs-custom-storefront .bd-rs-footer-payment {
        padding: 20px 0;
        border-top: 1px solid rgba(255,255,255,.16);
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.16);
        border-left: 0;
        text-align: left;
    }

    body.bd-rs-custom-storefront .bd-rs-footer-payment > strong,
    body.bd-rs-custom-storefront .bd-rs-payment-badges {
        justify-content: flex-start;
    }

    body.bd-rs-custom-storefront .bd-rs-footer-payment > strong::before {
        display: none;
    }
}

@media (max-width: 650px) {
    .bd-rs-repeater-row {
        grid-template-columns: 1fr;
    }

    .bd-rs-repeater-row .bd-rs-menu-remove {
        justify-self: end;
        margin: 0;
    }

    body.bd-rs-custom-storefront .bd-rs-footer-tagline {
        gap: 10px;
        padding: 24px 16px 13px;
    }

    body.bd-rs-custom-storefront .bd-rs-footer-tagline i {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    body.bd-rs-custom-storefront .bd-rs-footer-tagline strong {
        font-size: 10px !important;
        letter-spacing: .05em;
    }

    body.bd-rs-custom-storefront .bd-rs-footer-main {
        grid-template-columns: 1fr;
        padding: 22px 18px 28px;
    }

    body.bd-rs-custom-storefront .bd-rs-footer-main > * {
        padding: 20px 0;
        border-bottom: 1px solid #eee7e2;
    }

    body.bd-rs-custom-storefront .bd-rs-footer-main > *:last-child {
        border-bottom: 0;
    }

    body.bd-rs-custom-storefront .bd-rs-footer-brand-column {
        text-align: center;
    }

    body.bd-rs-custom-storefront .bd-rs-footer-logo,
    body.bd-rs-custom-storefront .bd-rs-footer-logo-fallback {
        margin-right: auto !important;
        margin-left: auto !important;
    }

    body.bd-rs-custom-storefront .bd-rs-footer-socials {
        justify-content: center;
    }

    body.bd-rs-custom-storefront .bd-rs-footer-newsletter {
        padding: 26px 20px !important;
        border-bottom: 0 !important;
    }

    body.bd-rs-custom-storefront .bd-rs-footer-copyright,
    body.bd-rs-custom-storefront .bd-rs-footer-trust {
        align-items: flex-start;
    }

    body.bd-rs-custom-storefront .bd-rs-footer-seal {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    body.bd-rs-custom-storefront .bd-rs-footer-payment > strong::after {
        width: 55px;
    }
}

.bd-rs-repeater-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    align-self: end;
}

.bd-rs-repeater-actions > button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--bd-rs-border);
    border-radius: 8px;
    background: #fff;
    color: #4d5a70;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
}

.bd-rs-repeater-actions > button:hover {
    border-color: #bbc6dd;
    background: #f1f5ff;
    color: var(--bd-rs-primary);
}

.bd-rs-repeater-actions .bd-rs-menu-remove {
    position: static;
    color: #c53a3a;
}

@media (max-width: 650px) {
    .bd-rs-repeater-actions {
        justify-self: end;
    }
}


/* v1.4.0: reseller-owned categories and theme-style category homepage */
.bd-rs-category-choice-block {
    margin: 4px 0 20px;
    padding: 18px;
    border: 1px solid var(--bd-rs-border);
    border-radius: 14px;
    background: #f8faff;
}

.bd-rs-category-check-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.bd-rs-category-check {
    display: flex !important;
    min-height: 46px;
    flex-direction: row !important;
    align-items: center;
    gap: 9px !important;
    margin: 0 !important;
    padding: 10px 12px;
    border: 1px solid #dbe3f1;
    border-radius: 10px;
    background: #fff;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    cursor: pointer;
}

.bd-rs-category-check input {
    width: 17px !important;
    height: 17px !important;
    flex: 0 0 17px;
    margin: 0 !important;
}

.bd-rs-category-admin-grid {
    display: grid;
    grid-template-columns: minmax(300px, .8fr) minmax(420px, 1.3fr);
    gap: 22px;
    align-items: start;
}

.bd-rs-category-admin-grid .bd-rs-panel {
    margin: 0;
}

.bd-rs-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bd-rs-category-list {
    display: grid;
    gap: 10px;
}

.bd-rs-category-list-card {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border: 1px solid var(--bd-rs-border);
    border-radius: 13px;
    background: #fff;
}

.bd-rs-category-list-media {
    display: flex;
    width: 62px;
    height: 62px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
    background: #edf2ff;
    color: var(--bd-rs-primary);
    font-size: 22px;
    font-weight: 800;
}

.bd-rs-category-list-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.bd-rs-category-list-content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

.bd-rs-category-list-content strong {
    color: #17233d;
    font-size: 15px;
    line-height: 1.35;
}

.bd-rs-category-list-content small {
    color: #758199;
    font-size: 12px;
}

.bd-rs-category-list-actions {
    display: flex;
    gap: 11px;
    font-size: 13px;
    font-weight: 700;
}

.bd-rs-category-section-builder {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.bd-rs-category-section-row {
    padding: 15px;
    border: 1px solid #dbe3f1;
    border-radius: 14px;
    background: #fbfcff;
}

.bd-rs-category-section-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 13px;
}

.bd-rs-category-section-toolbar > strong {
    color: #1a2947;
    font-size: 14px;
}

.bd-rs-category-section-toolbar > div {
    display: flex;
    gap: 6px;
}

.bd-rs-category-section-toolbar button {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 1px solid var(--bd-rs-border);
    border-radius: 8px;
    background: #fff;
    color: #52617b;
    font-weight: 800;
    cursor: pointer;
}

.bd-rs-category-section-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.bd-rs-category-section-fields label {
    margin: 0 !important;
}

body.bd-rs-custom-storefront .bd-rs-store-container {
    width: min(1280px, calc(100% - 44px));
    margin: 0 auto;
}

body.bd-rs-custom-storefront .bd-rs-featured-categories {
    padding: 28px 0 32px;
    background: #f7f5ef;
    overflow: hidden;
}

body.bd-rs-custom-storefront .bd-rs-featured-categories h2 {
    margin: 0 0 20px !important;
    color: #101b32 !important;
    font-size: clamp(22px, 2.2vw, 32px) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-align: center;
}

body.bd-rs-custom-storefront .bd-rs-featured-category-marquee {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}

body.bd-rs-custom-storefront .bd-rs-featured-category-track {
    display: flex;
    width: max-content;
    animation: bdRsCategoryMarquee var(--bd-rs-category-duration, 28s) linear infinite;
}

body.bd-rs-custom-storefront .bd-rs-featured-category-track.is-static {
    width: 100%;
    animation: none;
}

body.bd-rs-custom-storefront .bd-rs-featured-category-group {
    display: flex;
    flex-shrink: 0;
    gap: 18px;
    padding-right: 18px;
}

body.bd-rs-custom-storefront .bd-rs-featured-category-track.is-static .bd-rs-featured-category-group {
    width: 100%;
    justify-content: center;
}

body.bd-rs-custom-storefront .bd-rs-featured-category-marquee:hover .bd-rs-featured-category-track {
    animation-play-state: paused;
}

@keyframes bdRsCategoryMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

body.bd-rs-custom-storefront .bd-rs-featured-category-card {
    display: flex;
    width: 150px;
    min-height: 150px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 12px;
    border: 1px solid rgba(147, 117, 71, .15);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(42, 31, 18, .07);
    color: #1d2a42 !important;
    text-decoration: none !important;
    transition: transform .2s ease, box-shadow .2s ease;
}

body.bd-rs-custom-storefront .bd-rs-featured-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 32px rgba(42, 31, 18, .12);
}

body.bd-rs-custom-storefront .bd-rs-featured-category-media {
    display: flex;
    width: 82px;
    height: 82px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 50%;
    background: #f3eee5;
    color: #a26a20;
    font-size: 26px;
}

body.bd-rs-custom-storefront .bd-rs-featured-category-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

body.bd-rs-custom-storefront .bd-rs-featured-category-card strong {
    max-width: 100%;
    overflow: hidden;
    font-size: 13px !important;
    line-height: 1.3 !important;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.bd-rs-custom-storefront .bd-rs-category-product-section {
    padding: 32px 0;
    background: var(--bd-rs-section-bg, #fff);
    scroll-margin-top: 100px;
}

body.bd-rs-custom-storefront .bd-rs-category-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

body.bd-rs-custom-storefront .bd-rs-category-section-head h2 {
    margin: 0 !important;
    color: #111c33 !important;
    font-size: clamp(21px, 2vw, 29px) !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
}

body.bd-rs-custom-storefront .bd-rs-category-section-head > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2945dc !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

body.bd-rs-custom-storefront .bd-rs-product-carousel {
    position: relative;
}

body.bd-rs-custom-storefront .bd-rs-product-carousel-viewport {
    overflow: hidden;
}

body.bd-rs-custom-storefront .bd-rs-product-carousel-track {
    display: flex;
    gap: 18px;
    transition: transform .42s ease;
    will-change: transform;
}

body.bd-rs-custom-storefront .bd-rs-product-carousel-item {
    min-width: calc((100% - (var(--bd-rs-cols-desktop) - 1) * 18px) / var(--bd-rs-cols-desktop));
}

body.bd-rs-custom-storefront .bd-rs-product-carousel-nav {
    position: absolute;
    z-index: 3;
    top: 42%;
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    transform: translateY(-50%);
    border: 1px solid #dce3ef;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 7px 20px rgba(28, 42, 73, .14);
    color: #23304b;
    font-size: 22px;
    cursor: pointer;
}

body.bd-rs-custom-storefront .bd-rs-product-carousel-nav.prev { left: -18px; }
body.bd-rs-custom-storefront .bd-rs-product-carousel-nav.next { right: -18px; }
body.bd-rs-custom-storefront .bd-rs-product-carousel-nav:disabled { opacity: .35; cursor: default; }

body.bd-rs-custom-storefront .bd-rs-category-product-grid {
    display: grid;
    grid-template-columns: repeat(var(--bd-rs-cols-desktop), minmax(0, 1fr));
    gap: 18px;
}

body.bd-rs-custom-storefront .bd-rs-category-product-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid #e2e7f0;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 8px 23px rgba(26, 41, 75, .06);
}

body.bd-rs-custom-storefront .bd-rs-category-product-media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f6f7fa;
}

body.bd-rs-custom-storefront .bd-rs-category-product-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    transition: transform .3s ease;
}

body.bd-rs-custom-storefront .bd-rs-category-product-card:hover .bd-rs-category-product-media img {
    transform: scale(1.045);
}

body.bd-rs-custom-storefront .bd-rs-category-product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

body.bd-rs-custom-storefront .bd-rs-category-product-content {
    padding: 14px;
}

body.bd-rs-custom-storefront .bd-rs-category-product-content h3 {
    min-height: 42px;
    margin: 0 0 8px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
}

body.bd-rs-custom-storefront .bd-rs-category-product-content h3 a {
    color: #1c2942 !important;
    text-decoration: none !important;
}

body.bd-rs-custom-storefront .bd-rs-category-product-price {
    min-height: 27px;
    margin-bottom: 12px;
    color: #e95715;
    font-size: 15px;
    font-weight: 800;
}

body.bd-rs-custom-storefront .bd-rs-category-product-price del {
    margin-right: 5px;
    color: #9aa2b2;
    font-size: 12px;
}

body.bd-rs-custom-storefront .bd-rs-category-add-cart {
    display: flex;
    min-height: 39px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 9px;
    background: #f97316;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-decoration: none !important;
}

body.bd-rs-custom-storefront .bd-rs-category-add-cart svg {
    width: 17px;
    height: 17px;
}

body.bd-rs-custom-storefront .bd-rs-category-add-cart.is-details {
    background: #253a69;
}

@media (max-width: 1000px) {
    .bd-rs-category-admin-grid { grid-template-columns: 1fr; }
    .bd-rs-category-section-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.bd-rs-custom-storefront .bd-rs-product-carousel-item { min-width: calc((100% - (var(--bd-rs-cols-tablet) - 1) * 16px) / var(--bd-rs-cols-tablet)); }
    body.bd-rs-custom-storefront .bd-rs-category-product-grid { grid-template-columns: repeat(var(--bd-rs-cols-tablet), minmax(0, 1fr)); gap: 16px; }
}

@media (max-width: 700px) {
    .bd-rs-category-check-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bd-rs-category-section-fields { grid-template-columns: 1fr; }
    .bd-rs-category-list-card { grid-template-columns: 54px minmax(0, 1fr); }
    .bd-rs-category-list-media { width: 54px; height: 54px; }
    .bd-rs-category-list-actions { grid-column: 1 / -1; justify-content: flex-end; }
    body.bd-rs-custom-storefront .bd-rs-store-container { width: min(100% - 24px, 1280px); }
    body.bd-rs-custom-storefront .bd-rs-featured-categories { padding: 24px 0; }
    body.bd-rs-custom-storefront .bd-rs-featured-category-group { gap: 12px; padding-right: 12px; }
    body.bd-rs-custom-storefront .bd-rs-featured-category-card { width: 118px; min-height: 124px; padding: 12px 8px; border-radius: 17px; }
    body.bd-rs-custom-storefront .bd-rs-featured-category-media { width: 66px; height: 66px; }
    body.bd-rs-custom-storefront .bd-rs-category-product-section { padding: 26px 0; }
    body.bd-rs-custom-storefront .bd-rs-category-section-head { align-items: flex-start; }
    body.bd-rs-custom-storefront .bd-rs-category-section-head h2 { font-size: 20px !important; }
    body.bd-rs-custom-storefront .bd-rs-category-section-head > a { font-size: 11px !important; white-space: nowrap; }
    body.bd-rs-custom-storefront .bd-rs-product-carousel-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
    body.bd-rs-custom-storefront .bd-rs-product-carousel-viewport::-webkit-scrollbar { display: none; }
    body.bd-rs-custom-storefront .bd-rs-product-carousel-track { transform: none !important; gap: 12px; }
    body.bd-rs-custom-storefront .bd-rs-product-carousel-item { min-width: calc((100% - (var(--bd-rs-cols-mobile) - 1) * 12px) / var(--bd-rs-cols-mobile)); scroll-snap-align: start; }
    body.bd-rs-custom-storefront .bd-rs-product-carousel-nav { display: none; }
    body.bd-rs-custom-storefront .bd-rs-category-product-grid { grid-template-columns: repeat(var(--bd-rs-cols-mobile), minmax(0, 1fr)); gap: 12px; }
    body.bd-rs-custom-storefront .bd-rs-category-product-content { padding: 10px; }
    body.bd-rs-custom-storefront .bd-rs-category-product-content h3 { min-height: 38px; font-size: 12px !important; }
    body.bd-rs-custom-storefront .bd-rs-category-product-price { font-size: 13px; }
    body.bd-rs-custom-storefront .bd-rs-category-add-cart { min-height: 36px; font-size: 11px !important; }
}

@media (max-width: 420px) {
    .bd-rs-category-check-grid { grid-template-columns: 1fr; }
}

/* Reseller-native WooCommerce product, cart and checkout pages */
body.bd-rs-custom-storefront .bd-rs-inner-page-heading {
    width: min(100% - 32px, 1280px);
    margin: 28px auto 20px;
    padding: 30px 34px;
    border: 1px solid #e7eaf0;
    border-radius: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f7f9ff 100%);
    box-shadow: 0 14px 38px rgba(25, 38, 70, .07);
}

body.bd-rs-custom-storefront .bd-rs-inner-page-heading a {
    display: inline-flex;
    margin-bottom: 10px;
    color: #526079 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

body.bd-rs-custom-storefront .bd-rs-inner-page-heading h1 {
    margin: 0 0 7px !important;
    color: #18233b !important;
    font-size: clamp(27px, 3vw, 40px) !important;
    font-weight: 800 !important;
    line-height: 1.18 !important;
}

body.bd-rs-custom-storefront .bd-rs-inner-page-heading p {
    margin: 0 !important;
    color: #68738a !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
}

body.bd-rs-custom-storefront .bd-rs-store-system-page {
    width: min(100% - 32px, 1280px);
    margin: 0 auto 46px;
}

body.bd-rs-custom-storefront .bd-rs-store-system-page > .woocommerce {
    width: 100%;
}

body.bd-rs-custom-storefront .bd-rs-native-product {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 44px;
    padding: 34px;
    border: 1px solid #e7eaf0;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 16px 44px rgba(25, 38, 70, .08);
}

body.bd-rs-custom-storefront .woocommerce div.product .bd-rs-native-product-gallery,
body.bd-rs-custom-storefront .woocommerce div.product .bd-rs-native-product-summary,
body.bd-rs-custom-storefront .woocommerce div.product div.images,
body.bd-rs-custom-storefront .woocommerce div.product div.summary {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
}

body.bd-rs-custom-storefront .bd-rs-native-product-gallery .woocommerce-product-gallery {
    width: 100% !important;
}

body.bd-rs-custom-storefront .bd-rs-native-product-gallery .woocommerce-product-gallery__wrapper,
body.bd-rs-custom-storefront .bd-rs-native-product-gallery .woocommerce-product-gallery__image {
    border-radius: 16px;
    overflow: hidden;
}

body.bd-rs-custom-storefront .bd-rs-native-product-gallery img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain;
    background: #f8f9fc;
}

body.bd-rs-custom-storefront .bd-rs-native-product-summary {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

body.bd-rs-custom-storefront .bd-rs-native-product-summary .product_title {
    margin: 0 0 14px !important;
    color: #19243d !important;
    font-size: clamp(26px, 3vw, 38px) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}

body.bd-rs-custom-storefront .bd-rs-native-product-summary .price {
    margin: 0 0 18px !important;
    color: #ef6b20 !important;
    font-size: 25px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
}

body.bd-rs-custom-storefront .bd-rs-native-product-summary .woocommerce-product-details__short-description {
    margin-bottom: 22px;
    color: #59657c;
    font-size: 15px;
    line-height: 1.75;
}

body.bd-rs-custom-storefront .bd-rs-native-product-summary form.cart {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 0 0 20px !important;
}

body.bd-rs-custom-storefront .bd-rs-native-product-summary form.cart .quantity .qty {
    width: 78px !important;
    min-height: 48px;
    border: 1px solid #dfe4ec !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #1e2a43 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-align: center;
}

body.bd-rs-custom-storefront .bd-rs-native-product-summary .single_add_to_cart_button,
body.bd-rs-custom-storefront .bd-rs-store-system-page .button,
body.bd-rs-custom-storefront .bd-rs-store-system-page button.button,
body.bd-rs-custom-storefront .bd-rs-store-system-page input.button {
    min-height: 46px;
    padding: 12px 20px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: #f97316 !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

body.bd-rs-custom-storefront .bd-rs-native-product-summary .single_add_to_cart_button:hover,
body.bd-rs-custom-storefront .bd-rs-store-system-page .button:hover {
    background: #dd5f0e !important;
    color: #fff !important;
}

body.bd-rs-custom-storefront .bd-rs-native-product-summary .product_meta {
    display: grid;
    gap: 7px;
    padding-top: 16px;
    border-top: 1px solid #edf0f4;
    color: #68738a;
    font-size: 13px;
    line-height: 1.55;
}

body.bd-rs-custom-storefront .bd-rs-native-product-description {
    margin-top: 22px;
    padding: 30px 34px;
    border: 1px solid #e7eaf0;
    border-radius: 20px;
    background: #fff;
    color: #4f5c74;
    line-height: 1.8;
    box-shadow: 0 12px 32px rgba(25, 38, 70, .05);
}

body.bd-rs-custom-storefront .bd-rs-native-product-description h2 {
    margin: 0 0 16px !important;
    color: #19243d !important;
    font-size: 23px !important;
    font-weight: 800 !important;
}

body.bd-rs-custom-storefront .bd-rs-store-cart-page .woocommerce,
body.bd-rs-custom-storefront .bd-rs-store-checkout-page .woocommerce,
body.bd-rs-custom-storefront .bd-rs-store-thankyou-page .woocommerce {
    padding: 28px;
    border: 1px solid #e7eaf0;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 15px 42px rgba(25, 38, 70, .07);
}

body.bd-rs-custom-storefront .bd-rs-store-system-page table.shop_table {
    width: 100% !important;
    border: 1px solid #e6e9ef !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-radius: 14px !important;
    overflow: hidden;
    background: #fff;
}

body.bd-rs-custom-storefront .bd-rs-store-system-page table.shop_table th,
body.bd-rs-custom-storefront .bd-rs-store-system-page table.shop_table td {
    padding: 14px 15px !important;
    border-color: #edf0f4 !important;
    color: #344058 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    vertical-align: middle !important;
}

body.bd-rs-custom-storefront .bd-rs-store-system-page table.shop_table th {
    background: #f7f9fc;
    color: #1f2b45 !important;
    font-weight: 800 !important;
}

body.bd-rs-custom-storefront .bd-rs-store-system-page table.shop_table a {
    color: #263b6b !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

body.bd-rs-custom-storefront .bd-rs-store-system-page .cart_totals,
body.bd-rs-custom-storefront .bd-rs-store-system-page #order_review,
body.bd-rs-custom-storefront .bd-rs-store-system-page .woocommerce-checkout-review-order {
    border-radius: 16px;
}

body.bd-rs-custom-storefront .bd-rs-store-system-page .checkout-button,
body.bd-rs-custom-storefront .bd-rs-store-system-page #place_order {
    width: 100%;
    min-height: 50px;
}

body.bd-rs-custom-storefront .bd-rs-store-system-page .form-row label {
    display: block;
    margin-bottom: 7px;
    color: #27344f;
    font-size: 13px;
    font-weight: 800;
}

body.bd-rs-custom-storefront .bd-rs-store-system-page input.input-text,
body.bd-rs-custom-storefront .bd-rs-store-system-page textarea,
body.bd-rs-custom-storefront .bd-rs-store-system-page select,
body.bd-rs-custom-storefront .bd-rs-store-system-page .select2-selection {
    min-height: 46px !important;
    border: 1px solid #dfe4ec !important;
    border-radius: 9px !important;
    background: #fff !important;
    color: #26324a !important;
    font-size: 14px !important;
    box-shadow: none !important;
}

body.bd-rs-custom-storefront .bd-rs-store-system-page textarea {
    min-height: 100px !important;
    padding: 12px !important;
}

body.bd-rs-custom-storefront .bd-rs-store-system-page .woocommerce-info,
body.bd-rs-custom-storefront .bd-rs-store-system-page .woocommerce-message,
body.bd-rs-custom-storefront .bd-rs-store-system-page .woocommerce-error,
body.bd-rs-custom-storefront .bd-rs-store-message {
    margin: 0 0 20px !important;
    padding: 16px 18px !important;
    border: 1px solid #dfe6f2 !important;
    border-top-width: 3px !important;
    border-radius: 12px !important;
    background: #f8faff !important;
    color: #31405c !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

body.bd-rs-custom-storefront .bd-rs-store-message {
    text-align: center;
}

body.bd-rs-custom-storefront .bd-rs-store-message h2 {
    margin-top: 0 !important;
    color: #1b2740 !important;
}

body.bd-rs-custom-storefront .woocommerce-order-overview {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 24px !important;
    padding: 0 !important;
}

body.bd-rs-custom-storefront .woocommerce-order-overview li {
    margin: 0 !important;
    padding: 14px !important;
    border: 1px solid #e6eaf1 !important;
    border-radius: 12px;
    background: #f8faff;
    color: #68738a;
    font-size: 11px !important;
}

body.bd-rs-custom-storefront .woocommerce-order-overview li strong {
    display: block;
    margin-top: 5px;
    color: #1f2b45;
    font-size: 14px !important;
}

@media (max-width: 900px) {
    body.bd-rs-custom-storefront .bd-rs-native-product {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    body.bd-rs-custom-storefront .woocommerce-order-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    body.bd-rs-custom-storefront .bd-rs-inner-page-heading,
    body.bd-rs-custom-storefront .bd-rs-store-system-page {
        width: min(100% - 20px, 1280px);
    }

    body.bd-rs-custom-storefront .bd-rs-inner-page-heading {
        margin-top: 16px;
        padding: 22px 18px;
        border-radius: 15px;
    }

    body.bd-rs-custom-storefront .bd-rs-native-product,
    body.bd-rs-custom-storefront .bd-rs-native-product-description,
    body.bd-rs-custom-storefront .bd-rs-store-cart-page .woocommerce,
    body.bd-rs-custom-storefront .bd-rs-store-checkout-page .woocommerce,
    body.bd-rs-custom-storefront .bd-rs-store-thankyou-page .woocommerce {
        padding: 17px;
        border-radius: 15px;
    }

    body.bd-rs-custom-storefront .bd-rs-native-product-summary form.cart {
        align-items: stretch;
    }

    body.bd-rs-custom-storefront .bd-rs-native-product-summary .single_add_to_cart_button {
        flex: 1;
    }

    body.bd-rs-custom-storefront .bd-rs-store-system-page {
        overflow-x: hidden;
    }

    body.bd-rs-custom-storefront .bd-rs-store-system-page table.shop_table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    body.bd-rs-custom-storefront .woocommerce-order-overview {
        grid-template-columns: 1fr;
    }
}

/* v1.6.0: advanced products, variations and theme-style product details */
.bd-rs-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.bd-rs-product-editor-panel .bd-rs-product-form {
    max-width: none;
}

.bd-rs-advanced-product-form .bd-rs-setting-block {
    margin: 0 0 20px;
    padding: 20px;
    border: 1px solid #e3e8f1;
    border-radius: 15px;
    background: #fff;
}

.bd-rs-product-type-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.bd-rs-product-type-card {
    display: flex !important;
    align-items: flex-start;
    gap: 12px;
    min-height: 86px;
    margin: 0 !important;
    padding: 16px;
    border: 1px solid #dfe5ef;
    border-radius: 13px;
    background: #f9fbff;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.bd-rs-product-type-card.is-selected {
    border-color: #3559df;
    background: #f1f5ff;
    box-shadow: 0 0 0 3px rgba(53, 89, 223, .08);
}

.bd-rs-product-type-card input {
    width: 18px !important;
    height: 18px;
    flex: 0 0 18px;
    margin: 2px 0 0 !important;
}

.bd-rs-product-type-card span,
.bd-rs-product-type-card strong,
.bd-rs-product-type-card small {
    display: block;
}

.bd-rs-product-type-card strong {
    margin-bottom: 5px;
    color: #17243c;
    font-size: 14px;
    line-height: 1.35;
}

.bd-rs-product-type-card small {
    color: #6e7a91;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.55;
}

.bd-rs-product-type-section {
    display: none;
}

.bd-rs-product-type-section.is-active {
    display: block;
}

.bd-rs-variation-attributes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.bd-rs-variation-attribute-card {
    padding: 16px;
    border: 1px solid #e4e9f2;
    border-radius: 13px;
    background: #f8faff;
}

.bd-rs-variation-attribute-card > strong {
    display: block;
    margin-bottom: 12px;
    color: #1c2941;
    font-size: 13px;
}

.bd-rs-variation-defaults {
    margin-bottom: 14px;
}

.bd-rs-variation-toolbar {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 2px 0 14px;
}

.bd-rs-variation-toolbar span {
    color: #738096;
    font-size: 12px;
    line-height: 1.5;
}

.bd-rs-variation-table-wrap {
    width: 100%;
    margin-bottom: 15px;
    overflow-x: auto;
    border: 1px solid #e4e8f0;
    border-radius: 13px;
    background: #fff;
}

.bd-rs-variation-table {
    width: 100%;
    min-width: 780px;
    border-collapse: collapse;
}

.bd-rs-variation-table th,
.bd-rs-variation-table td {
    padding: 11px 10px;
    border-bottom: 1px solid #edf0f5;
    text-align: left;
    vertical-align: middle;
}

.bd-rs-variation-table th {
    background: #f6f8fc;
    color: #526079;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.bd-rs-variation-table td,
.bd-rs-variation-table td strong {
    color: #26334c;
    font-size: 12px;
}

.bd-rs-variation-table input[type="text"],
.bd-rs-variation-table input[type="number"] {
    min-width: 88px;
    margin: 0 !important;
    padding: 9px 10px !important;
    border-radius: 8px !important;
    font-size: 12px !important;
}

.bd-rs-inline-switch {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    margin: 0 !important;
    font-size: 11px;
}

.bd-rs-inline-switch input {
    width: 16px !important;
    margin: 0 !important;
}

.bd-rs-gallery-upload-card {
    margin-top: 16px;
    padding: 17px;
    border: 1px solid #e3e8f1;
    border-radius: 14px;
    background: #f9fbff;
}

.bd-rs-current-gallery,
.bd-rs-new-gallery-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 14px;
}

.bd-rs-current-gallery span,
.bd-rs-new-gallery-preview img {
    display: block;
    width: 70px;
    height: 70px;
    overflow: hidden;
    border: 1px solid #dfe5ee;
    border-radius: 10px;
    background: #fff;
}

.bd-rs-current-gallery img,
.bd-rs-new-gallery-preview img {
    width: 70px !important;
    height: 70px !important;
    object-fit: cover;
}

.bd-rs-new-gallery-preview {
    margin: 12px 0 0;
}

.bd-rs-product-save-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    position: sticky;
    bottom: 10px;
    z-index: 5;
    padding: 13px;
    border: 1px solid #e0e6f0;
    border-radius: 13px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 12px 32px rgba(23, 36, 65, .12);
    backdrop-filter: blur(8px);
}

body.bd-rs-custom-storefront.bd-rs-store-view-product .bd-rs-storefront-main {
    background: #f5f7fb;
}

body.bd-rs-custom-storefront .bd-rs-store-product-page {
    width: min(100% - 32px, 1320px);
    margin: 28px auto 46px;
}

body.bd-rs-custom-storefront .bd-rs-store-product-page > .woocommerce {
    width: 100%;
}

body.bd-rs-custom-storefront .bd-rs-native-product {
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(0, 1.15fr);
    gap: 46px;
    align-items: start;
    padding: 28px;
    border: 1px solid #e8ebf1;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(25, 38, 70, .07);
}

body.bd-rs-custom-storefront .bd-rs-native-product-gallery {
    position: relative;
    min-width: 0;
    padding: 16px;
    border: 1px solid #e7eaf0;
    border-radius: 17px;
    background: #f8fafc;
}

body.bd-rs-custom-storefront .bd-rs-product-sale-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 28px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #ef4b3f;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 7px 18px rgba(239, 75, 63, .25);
}

body.bd-rs-custom-storefront .woocommerce div.product .bd-rs-native-product-gallery,
body.bd-rs-custom-storefront .woocommerce div.product .bd-rs-native-product-summary,
body.bd-rs-custom-storefront .woocommerce div.product div.images,
body.bd-rs-custom-storefront .woocommerce div.product div.summary {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
}

body.bd-rs-custom-storefront .bd-rs-native-product-gallery .woocommerce-product-gallery {
    width: 100% !important;
    margin: 0 !important;
}

body.bd-rs-custom-storefront .bd-rs-native-product-gallery .woocommerce-product-gallery__wrapper {
    overflow: hidden;
    border-radius: 13px;
    background: #f4f6f9;
}

body.bd-rs-custom-storefront .bd-rs-native-product-gallery .woocommerce-product-gallery__image a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 460px;
}

body.bd-rs-custom-storefront .bd-rs-native-product-gallery .woocommerce-product-gallery__image img {
    display: block;
    width: 100% !important;
    height: 460px !important;
    margin: 0 auto;
    object-fit: contain;
    background: #f4f6f9;
}

body.bd-rs-custom-storefront .bd-rs-native-product-gallery .woocommerce-product-gallery__trigger {
    top: 16px !important;
    right: 16px !important;
    z-index: 9 !important;
    width: 40px !important;
    height: 40px !important;
    border: 1px solid #e3e7ef !important;
    border-radius: 50% !important;
    background: #fff !important;
    box-shadow: 0 7px 18px rgba(31, 45, 78, .09);
}

body.bd-rs-custom-storefront .bd-rs-native-product-gallery .flex-control-thumbs {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 13px 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

body.bd-rs-custom-storefront .bd-rs-native-product-gallery .flex-control-thumbs li {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
}

body.bd-rs-custom-storefront .bd-rs-native-product-gallery .flex-control-thumbs img {
    width: 100% !important;
    height: 76px !important;
    padding: 4px;
    border: 1px solid #e2e6ed;
    border-radius: 9px;
    background: #fff;
    object-fit: contain;
    opacity: 1 !important;
}

body.bd-rs-custom-storefront .bd-rs-native-product-gallery .flex-control-thumbs img.flex-active {
    border-color: #2f5cff;
    box-shadow: 0 0 0 2px rgba(47, 92, 255, .12);
}

body.bd-rs-custom-storefront .bd-rs-native-product-summary {
    display: block;
    min-width: 0;
    padding: 6px 0 0;
}

body.bd-rs-custom-storefront .bd-rs-native-product-summary .product_title {
    margin: 0 0 9px !important;
    color: #14213a !important;
    font-size: clamp(24px, 2.5vw, 33px) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}

body.bd-rs-custom-storefront .bd-rs-native-product-summary .woocommerce-product-rating {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 14px !important;
    font-size: 12px !important;
}

body.bd-rs-custom-storefront .bd-rs-native-product-summary .star-rating {
    margin: 0 !important;
    color: #ffb300;
    font-size: 13px !important;
}

body.bd-rs-custom-storefront .bd-rs-native-product-summary .woocommerce-review-link {
    color: #2462dd !important;
    font-size: 11px !important;
    text-decoration: none !important;
}

body.bd-rs-custom-storefront .bd-rs-native-product-summary .price {
    margin: 0 0 14px !important;
    color: #f16622 !important;
    font-size: 23px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
}

body.bd-rs-custom-storefront .bd-rs-native-product-summary .price del {
    margin-right: 8px;
    color: #8993a6 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    opacity: 1 !important;
}

body.bd-rs-custom-storefront .bd-rs-native-product-summary .price ins {
    text-decoration: none !important;
}

body.bd-rs-custom-storefront .bd-rs-native-product-summary .woocommerce-product-details__short-description {
    margin: 0 0 17px;
    color: #5d6980;
    font-size: 13px !important;
    line-height: 1.7 !important;
}

body.bd-rs-custom-storefront .bd-rs-product-info-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    margin: 0 0 18px;
    padding: 0 0 17px;
    border-bottom: 1px solid #e9edf2;
}

body.bd-rs-custom-storefront .bd-rs-product-info-bar > span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 4px 0;
    padding: 0 20px;
    border-right: 1px solid #e3e7ee;
    color: #637088;
    font-size: 11px !important;
    line-height: 1.45;
}

body.bd-rs-custom-storefront .bd-rs-product-info-bar > span:first-child {
    padding-left: 0;
}

body.bd-rs-custom-storefront .bd-rs-product-info-bar > span:last-child {
    border-right: 0;
}

body.bd-rs-custom-storefront .bd-rs-product-info-bar a {
    color: #2760ce !important;
    font-weight: 700;
    text-decoration: none !important;
}

body.bd-rs-custom-storefront .bd-rs-product-stock i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    border: 1px solid #28b968;
    border-radius: 50%;
    color: #1ca158;
    font-size: 10px;
    font-style: normal;
}

body.bd-rs-custom-storefront .bd-rs-product-stock.is-out-of-stock i {
    border-color: #df5353;
    color: #df5353;
}

body.bd-rs-custom-storefront .bd-rs-product-order-area form.cart,
body.bd-rs-custom-storefront .bd-rs-product-order-area .woocommerce-variation-add-to-cart {
    display: grid !important;
    grid-template-columns: 104px minmax(145px, 1fr) minmax(145px, 1fr);
    gap: 11px;
    align-items: stretch;
    margin: 0 !important;
}

body.bd-rs-custom-storefront .bd-rs-product-order-area form.variations_form {
    display: block !important;
}

body.bd-rs-custom-storefront .bd-rs-product-order-area table.variations {
    width: 100% !important;
    margin: 0 0 14px !important;
    border: 0 !important;
}

body.bd-rs-custom-storefront .bd-rs-product-order-area table.variations tr,
body.bd-rs-custom-storefront .bd-rs-product-order-area table.variations th,
body.bd-rs-custom-storefront .bd-rs-product-order-area table.variations td {
    display: block;
    width: 100%;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    text-align: left !important;
}

body.bd-rs-custom-storefront .bd-rs-product-order-area table.variations tr {
    margin-bottom: 12px;
}

body.bd-rs-custom-storefront .bd-rs-product-order-area table.variations th label {
    display: block;
    margin: 0 0 7px;
    color: #24314a;
    font-size: 12px !important;
    font-weight: 800 !important;
}

body.bd-rs-custom-storefront .bd-rs-native-variation-select {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

body.bd-rs-custom-storefront .bd-rs-variation-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.bd-rs-custom-storefront .bd-rs-variation-swatch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 36px;
    padding: 6px 12px;
    border: 1px solid #dfe4ed;
    border-radius: 8px;
    background: #fff;
    color: #35425a;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, color .18s ease;
}

body.bd-rs-custom-storefront .bd-rs-variation-swatch:hover,
body.bd-rs-custom-storefront .bd-rs-variation-swatch.is-selected {
    border-color: #2f65ed;
    color: #1f55d3;
    box-shadow: 0 0 0 2px rgba(47, 101, 237, .1);
}

body.bd-rs-custom-storefront .bd-rs-variation-swatches.is-color .bd-rs-variation-swatch {
    min-width: 34px;
    width: 34px;
    min-height: 34px;
    height: 34px;
    padding: 4px;
    border-radius: 50%;
    background: var(--bd-rs-swatch-color, #d8dce5);
    box-shadow: inset 0 0 0 4px #fff, 0 0 0 1px #dfe4ed;
}

body.bd-rs-custom-storefront .bd-rs-variation-swatches.is-color .bd-rs-variation-swatch.is-selected {
    box-shadow: inset 0 0 0 4px #fff, 0 0 0 2px #2f65ed;
}

body.bd-rs-custom-storefront .bd-rs-product-order-area .reset_variations {
    display: inline-block;
    margin-top: 8px;
    color: #68748b !important;
    font-size: 10px !important;
    text-decoration: underline !important;
}

body.bd-rs-custom-storefront .bd-rs-product-order-area .single_variation {
    margin-bottom: 10px;
}

body.bd-rs-custom-storefront .bd-rs-product-order-area .woocommerce-variation-price .price {
    margin-bottom: 4px !important;
    font-size: 18px !important;
}

body.bd-rs-custom-storefront .bd-rs-product-order-area .quantity {
    float: none !important;
    width: 100%;
    margin: 0 !important;
}

body.bd-rs-custom-storefront .bd-rs-product-order-area .quantity .qty {
    width: 100% !important;
    height: 46px !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 0 8px !important;
    border: 1px solid #dce2eb !important;
    border-radius: 9px !important;
    background: #fff !important;
    color: #17243d !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-align: center;
    box-shadow: none !important;
}

body.bd-rs-custom-storefront .bd-rs-product-order-area .single_add_to_cart_button {
    width: 100% !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: #f97316 !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    box-shadow: none !important;
}

body.bd-rs-custom-storefront .bd-rs-order-methods {
    display: contents;
}

body.bd-rs-custom-storefront .bd-rs-order-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-height: 46px;
    margin: 0 !important;
    padding: 0 13px !important;
    border: 0 !important;
    border-radius: 9px !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    cursor: pointer;
    box-shadow: none !important;
}

body.bd-rs-custom-storefront .bd-rs-buy-now {
    grid-column: 3;
    background: #2458e8 !important;
}

body.bd-rs-custom-storefront .bd-rs-whatsapp-order {
    grid-column: 1 / span 2;
    background: #18ad58 !important;
}

body.bd-rs-custom-storefront .bd-rs-cod-order {
    grid-column: 3;
    background: #ffad0d !important;
    color: #fff !important;
}

body.bd-rs-custom-storefront .bd-rs-order-button:hover {
    filter: brightness(.95);
}

body.bd-rs-custom-storefront .bd-rs-native-product-tabs,
body.bd-rs-custom-storefront .bd-rs-product-related {
    min-width: 0;
    padding: 20px;
    border: 1px solid #e7eaf0;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(25, 38, 70, .05);
}

body.bd-rs-custom-storefront .bd-rs-product-lower-layout {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.25fr);
    gap: 20px;
    align-items: start;
    margin-top: 20px;
}

body.bd-rs-custom-storefront .bd-rs-native-product-tabs .woocommerce-tabs {
    margin: 0 !important;
}

body.bd-rs-custom-storefront .bd-rs-native-product-tabs ul.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin: 0 0 17px !important;
    padding: 0 !important;
    border-bottom: 1px solid #e8ebf1;
}

body.bd-rs-custom-storefront .bd-rs-native-product-tabs ul.tabs::before,
body.bd-rs-custom-storefront .bd-rs-native-product-tabs ul.tabs li::before,
body.bd-rs-custom-storefront .bd-rs-native-product-tabs ul.tabs li::after {
    display: none !important;
}

body.bd-rs-custom-storefront .bd-rs-native-product-tabs ul.tabs li {
    margin: 0 !important;
    padding: 0 0 10px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

body.bd-rs-custom-storefront .bd-rs-native-product-tabs ul.tabs li.active {
    border-bottom: 2px solid #2d61e7 !important;
}

body.bd-rs-custom-storefront .bd-rs-native-product-tabs ul.tabs li a {
    padding: 0 !important;
    color: #3d4960 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

body.bd-rs-custom-storefront .bd-rs-native-product-tabs ul.tabs li.active a {
    color: #2458d6 !important;
}

body.bd-rs-custom-storefront .bd-rs-native-product-tabs .woocommerce-Tabs-panel {
    margin: 0 !important;
    color: #59667d;
    font-size: 12px !important;
    line-height: 1.75 !important;
}

body.bd-rs-custom-storefront .bd-rs-native-product-tabs .woocommerce-Tabs-panel h2 {
    display: none;
}

body.bd-rs-custom-storefront .bd-rs-product-related-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 14px;
}

body.bd-rs-custom-storefront .bd-rs-product-related-head h2 {
    margin: 0 !important;
    color: #17243d !important;
    font-size: 18px !important;
    font-weight: 800 !important;
}

body.bd-rs-custom-storefront .bd-rs-product-related-head a {
    padding: 6px 10px;
    border: 1px solid #e0e5ee;
    border-radius: 7px;
    color: #2459d5 !important;
    font-size: 10px !important;
    font-weight: 700;
    text-decoration: none !important;
}

body.bd-rs-custom-storefront .bd-rs-product-related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

body.bd-rs-custom-storefront .bd-rs-product-related .bd-rs-category-product-card {
    border-radius: 11px;
    box-shadow: none;
}

body.bd-rs-custom-storefront .bd-rs-product-related .bd-rs-category-product-media {
    aspect-ratio: 1 / 1;
}

body.bd-rs-custom-storefront .bd-rs-product-related .bd-rs-category-product-content {
    padding: 9px;
}

body.bd-rs-custom-storefront .bd-rs-product-related .bd-rs-category-product-content h3 {
    min-height: 31px;
    margin-bottom: 5px;
    font-size: 10px !important;
    line-height: 1.45 !important;
}

body.bd-rs-custom-storefront .bd-rs-product-related .bd-rs-category-product-price {
    margin-bottom: 7px;
    font-size: 11px !important;
}

body.bd-rs-custom-storefront .bd-rs-product-related .bd-rs-category-add-cart {
    min-height: 30px;
    padding: 4px 6px;
    font-size: 9px !important;
}

@media (max-width: 1100px) {
    body.bd-rs-custom-storefront .bd-rs-native-product {
        gap: 28px;
        padding: 22px;
    }

    body.bd-rs-custom-storefront .bd-rs-native-product-gallery .woocommerce-product-gallery__image a,
    body.bd-rs-custom-storefront .bd-rs-native-product-gallery .woocommerce-product-gallery__image img {
        min-height: 390px;
        height: 390px !important;
    }

    body.bd-rs-custom-storefront .bd-rs-product-order-area form.cart,
    body.bd-rs-custom-storefront .bd-rs-product-order-area .woocommerce-variation-add-to-cart {
        grid-template-columns: 88px minmax(120px, 1fr) minmax(120px, 1fr);
    }
}

@media (max-width: 900px) {
    .bd-rs-grid-3,
    .bd-rs-variation-attributes {
        grid-template-columns: 1fr;
    }

    body.bd-rs-custom-storefront .bd-rs-native-product {
        grid-template-columns: 1fr;
    }

    body.bd-rs-custom-storefront .bd-rs-native-product-gallery {
        max-width: 660px;
        width: 100%;
        margin: 0 auto;
    }

    body.bd-rs-custom-storefront .bd-rs-product-lower-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .bd-rs-product-type-options,
    .bd-rs-grid-2,
    .bd-rs-grid-3 {
        grid-template-columns: 1fr;
    }

    .bd-rs-advanced-product-form .bd-rs-setting-block {
        padding: 15px;
    }

    .bd-rs-variation-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .bd-rs-product-save-bar {
        bottom: 5px;
        flex-wrap: wrap;
    }

    body.bd-rs-custom-storefront .bd-rs-store-product-page {
        width: min(100% - 18px, 1320px);
        margin: 14px auto 30px;
    }

    body.bd-rs-custom-storefront .bd-rs-native-product {
        gap: 18px;
        padding: 12px;
        border-radius: 15px;
    }

    body.bd-rs-custom-storefront .bd-rs-native-product-gallery {
        padding: 9px;
        border-radius: 13px;
    }

    body.bd-rs-custom-storefront .bd-rs-native-product-gallery .woocommerce-product-gallery__image a,
    body.bd-rs-custom-storefront .bd-rs-native-product-gallery .woocommerce-product-gallery__image img {
        min-height: 300px;
        height: 300px !important;
    }

    body.bd-rs-custom-storefront .bd-rs-native-product-gallery .flex-control-thumbs {
        gap: 7px;
        margin-top: 9px !important;
    }

    body.bd-rs-custom-storefront .bd-rs-native-product-gallery .flex-control-thumbs img {
        height: 58px !important;
    }

    body.bd-rs-custom-storefront .bd-rs-product-sale-badge {
        top: 16px;
        left: 16px;
        min-width: 43px;
        min-height: 25px;
        font-size: 10px;
    }

    body.bd-rs-custom-storefront .bd-rs-native-product-summary {
        padding: 2px 3px 4px;
    }

    body.bd-rs-custom-storefront .bd-rs-native-product-summary .product_title {
        font-size: 23px !important;
    }

    body.bd-rs-custom-storefront .bd-rs-native-product-summary .price {
        font-size: 20px !important;
    }

    body.bd-rs-custom-storefront .bd-rs-product-info-bar > span {
        padding: 0 10px;
        font-size: 10px !important;
    }

    body.bd-rs-custom-storefront .bd-rs-product-info-bar > span:first-child {
        width: 100%;
        padding: 0 0 7px;
        border-right: 0;
    }

    body.bd-rs-custom-storefront .bd-rs-product-order-area form.cart,
    body.bd-rs-custom-storefront .bd-rs-product-order-area .woocommerce-variation-add-to-cart {
        grid-template-columns: 82px 1fr;
        gap: 9px;
    }

    body.bd-rs-custom-storefront .bd-rs-buy-now {
        grid-column: 1 / -1;
    }

    body.bd-rs-custom-storefront .bd-rs-whatsapp-order {
        grid-column: 1;
    }

    body.bd-rs-custom-storefront .bd-rs-cod-order {
        grid-column: 2;
    }

    body.bd-rs-custom-storefront .bd-rs-order-button,
    body.bd-rs-custom-storefront .bd-rs-product-order-area .single_add_to_cart_button {
        min-height: 43px !important;
        font-size: 11px !important;
    }

    body.bd-rs-custom-storefront .bd-rs-native-product-tabs,
    body.bd-rs-custom-storefront .bd-rs-product-related {
        padding: 15px;
        border-radius: 14px;
    }

    body.bd-rs-custom-storefront .bd-rs-native-product-tabs ul.tabs {
        gap: 13px;
        overflow-x: auto;
        flex-wrap: nowrap;
        white-space: nowrap;
    }

    body.bd-rs-custom-storefront .bd-rs-product-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 430px) {
    body.bd-rs-custom-storefront .bd-rs-native-product-gallery .woocommerce-product-gallery__image a,
    body.bd-rs-custom-storefront .bd-rs-native-product-gallery .woocommerce-product-gallery__image img {
        min-height: 250px;
        height: 250px !important;
    }

    body.bd-rs-custom-storefront .bd-rs-whatsapp-order,
    body.bd-rs-custom-storefront .bd-rs-cod-order {
        grid-column: 1 / -1;
    }

    body.bd-rs-custom-storefront .bd-rs-product-related-grid {
        gap: 8px;
    }
}

/* v1.6.1: reliable variation mode selector and quantity controls */
.bd-rs-variation-mode-field {
    display: grid;
    gap: 7px;
    max-width: 440px;
    margin: 0 0 16px;
    color: #17243d;
    font-size: 12px;
    font-weight: 800;
}

.bd-rs-variation-mode-field select {
    width: 100%;
    min-height: 43px;
    padding: 8px 12px;
    border: 1px solid #dce2eb;
    border-radius: 9px;
    background: #fff;
    color: #17243d;
    font-size: 12px;
    font-weight: 700;
}

.bd-rs-variation-mode-field small {
    color: #748096;
    font-size: 10px;
    font-weight: 500;
}

.bd-rs-variation-attribute-card.is-hidden {
    display: none !important;
}

.bd-rs-variation-attribute-card input[readonly] {
    background: #f4f7fb;
    color: #526078;
}

body.bd-rs-custom-storefront .bd-rs-product-order-area .quantity.bd-rs-quantity-control {
    display: grid !important;
    grid-template-columns: 34px minmax(36px, 1fr) 34px;
    align-items: stretch;
    overflow: hidden;
    min-height: 46px;
    border: 1px solid #dce2eb !important;
    border-radius: 9px !important;
    background: #fff !important;
}

body.bd-rs-custom-storefront .bd-rs-product-order-area .quantity.bd-rs-quantity-control .qty {
    min-width: 0 !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 3px !important;
    border: 0 !important;
    border-radius: 0 !important;
    -moz-appearance: textfield;
}

body.bd-rs-custom-storefront .bd-rs-product-order-area .quantity.bd-rs-quantity-control .qty::-webkit-outer-spin-button,
body.bd-rs-custom-storefront .bd-rs-product-order-area .quantity.bd-rs-quantity-control .qty::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

body.bd-rs-custom-storefront .bd-rs-quantity-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 44px;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #f7f9fc !important;
    color: #17243d !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    cursor: pointer;
    box-shadow: none !important;
}

body.bd-rs-custom-storefront .bd-rs-quantity-minus {
    border-right: 1px solid #e6eaf0 !important;
}

body.bd-rs-custom-storefront .bd-rs-quantity-plus {
    border-left: 1px solid #e6eaf0 !important;
}

body.bd-rs-custom-storefront .bd-rs-quantity-button:hover {
    background: #eef3fb !important;
    color: #2458e8 !important;
}

@media (max-width: 700px) {
    .bd-rs-variation-mode-field {
        max-width: none;
    }

    body.bd-rs-custom-storefront .bd-rs-product-order-area .quantity.bd-rs-quantity-control {
        grid-template-columns: 30px minmax(30px, 1fr) 30px;
        min-height: 43px;
    }

    body.bd-rs-custom-storefront .bd-rs-product-order-area .quantity.bd-rs-quantity-control .qty,
    body.bd-rs-custom-storefront .bd-rs-quantity-button {
        height: 41px !important;
        min-height: 41px !important;
    }
}

/* v1.6.2 - reliable custom variation selector and direct reseller checkout */
body.bd-rs-custom-storefront .bd-rs-custom-order-form {
    display: block !important;
    margin: 0 !important;
}

body.bd-rs-custom-storefront .bd-rs-custom-primary-actions {
    display: grid;
    grid-template-columns: 104px minmax(145px, 1fr) minmax(145px, 1fr);
    gap: 11px;
    align-items: stretch;
    margin-top: 14px;
}

body.bd-rs-custom-storefront .bd-rs-custom-primary-actions > button,
body.bd-rs-custom-storefront .bd-rs-order-methods > button {
    min-height: 46px;
}

body.bd-rs-custom-storefront .bd-rs-order-error {
    margin: 0 0 14px;
    padding: 11px 13px;
    border: 1px solid #ffd0d0;
    border-radius: 10px;
    background: #fff4f4;
    color: #b42318;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.5;
}

body.bd-rs-custom-storefront .bd-rs-selected-variation {
    margin-top: 4px;
    color: #69758b;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.45;
}

body.bd-rs-custom-storefront .bd-rs-selected-variation.is-ready {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #14804a;
}

body.bd-rs-custom-storefront .bd-rs-selected-variation.is-ready strong,
body.bd-rs-custom-storefront .bd-rs-selected-variation.is-ready .price {
    color: #f36a1d !important;
    font-size: 14px !important;
}

body.bd-rs-custom-storefront .bd-rs-selected-variation.is-error {
    color: #c33232;
}

body.bd-rs-custom-storefront .bd-rs-custom-order-form button:disabled,
body.bd-rs-custom-storefront .bd-rs-custom-order-form button.is-disabled {
    cursor: not-allowed !important;
    opacity: .48 !important;
    filter: grayscale(.12);
}

body.bd-rs-custom-storefront .bd-rs-custom-order-form table.variations select:not(.bd-rs-native-variation-select) {
    width: 100%;
    min-height: 42px;
    padding: 8px 36px 8px 12px;
    border: 1px solid #dfe4ed;
    border-radius: 9px;
    background: #fff;
    color: #26344d;
    font-size: 12px;
}

@media (max-width: 700px) {
    body.bd-rs-custom-storefront .bd-rs-custom-primary-actions {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 9px;
    }

    body.bd-rs-custom-storefront .bd-rs-custom-primary-actions .bd-rs-buy-now {
        grid-column: 1 / -1;
    }

    body.bd-rs-custom-storefront .bd-rs-selected-variation.is-ready {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* v1.7.0 premium product detail refinements */
body.bd-rs-custom-storefront .bd-rs-selected-variation { display:none !important; }
body.bd-rs-custom-storefront .bd-rs-quantity-row { margin-top:18px; display:flex; flex-direction:column; gap:8px; align-items:flex-start; }
body.bd-rs-custom-storefront .bd-rs-quantity-label { font-size:14px; font-weight:700; color:#17213a; }
body.bd-rs-custom-storefront .bd-rs-custom-primary-actions { margin-top:10px; grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
body.bd-rs-custom-storefront .bd-rs-call-order { background:linear-gradient(135deg,#ffb51b,#ff9d00); color:#fff; text-decoration:none; }
body.bd-rs-custom-storefront .bd-rs-call-order:hover { color:#fff; filter:brightness(.97); }
body.bd-rs-custom-storefront .bd-rs-call-order.is-disabled { opacity:.55; pointer-events:none; }
body.bd-rs-custom-storefront .bd-rs-product-lower-layout { align-items:stretch; }
body.bd-rs-custom-storefront .bd-rs-product-video { background:#fff; border:1px solid #e8edf6; border-radius:18px; padding:18px; box-shadow:0 12px 32px rgba(23,33,58,.06); min-width:0; }
body.bd-rs-custom-storefront .bd-rs-product-video-head h2 { margin:0 0 14px; font-size:18px; color:#17213a; }
body.bd-rs-custom-storefront .bd-rs-product-video-frame { position:relative; overflow:hidden; border-radius:14px; background:#0d1424; aspect-ratio:16/9; }
body.bd-rs-custom-storefront .bd-rs-product-video-frame iframe { width:100% !important; height:100% !important; position:absolute; inset:0; border:0; }
body.bd-rs-custom-storefront .bd-rs-product-video-empty { display:flex; align-items:center; justify-content:center; text-align:center; min-height:260px; color:#667085; }
body.bd-rs-custom-storefront .bd-rs-product-video-empty span { display:inline-flex; width:56px; height:56px; border-radius:50%; align-items:center; justify-content:center; background:#eef3ff; color:#2f5bea; font-size:22px; }
body.bd-rs-custom-storefront .bd-rs-product-video-empty h3 { margin:12px 0 5px; color:#17213a; font-size:18px; }
body.bd-rs-custom-storefront .bd-rs-product-related { margin-top:24px; }
body.bd-rs-custom-storefront .bd-rs-native-product-tabs ul.tabs li a { font-size:15px !important; white-space:normal; line-height:1.35; }
body.bd-rs-custom-storefront .bd-rs-native-product-tabs .woocommerce-Tabs-panel { font-size:15px; line-height:1.8; }
body.bd-rs-custom-storefront .woocommerce-Reviews .comment-reply-title { font-size:18px; font-weight:700; }
body.bd-rs-custom-storefront .woocommerce-Reviews input,
body.bd-rs-custom-storefront .woocommerce-Reviews textarea { width:100%; border:1px solid #dfe5ef; border-radius:10px; padding:11px 12px; }
body.bd-rs-custom-storefront .woocommerce-Reviews .form-submit input { width:auto; background:#2f5bea; color:#fff; border:0; padding:11px 20px; }
@media (max-width:700px) {
 body.bd-rs-custom-storefront .bd-rs-quantity-row { margin-top:16px; }
 body.bd-rs-custom-storefront .bd-rs-custom-primary-actions { grid-template-columns:1fr; }
 body.bd-rs-custom-storefront .bd-rs-order-methods { grid-template-columns:1fr; }
 body.bd-rs-custom-storefront .bd-rs-native-product-tabs ul.tabs { display:grid !important; grid-template-columns:1fr; gap:0; overflow:visible !important; }
 body.bd-rs-custom-storefront .bd-rs-native-product-tabs ul.tabs li { width:100%; margin:0 !important; border-bottom:1px solid #edf0f5 !important; }
 body.bd-rs-custom-storefront .bd-rs-native-product-tabs ul.tabs li a { display:block; width:100%; padding:13px 4px !important; font-size:15px !important; }
 body.bd-rs-custom-storefront .bd-rs-native-product-tabs .woocommerce-Tabs-panel { padding:18px 4px 4px !important; font-size:15px; }
 body.bd-rs-custom-storefront .bd-rs-product-video { padding:14px; }
 body.bd-rs-custom-storefront .bd-rs-product-related-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

/* v1.7.1 - sequential product controls, equal order buttons and working reviews */
body.bd-rs-custom-storefront .bd-rs-product-order-area form.cart.bd-rs-custom-order-form {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
}

body.bd-rs-custom-storefront .bd-rs-product-order-area form.cart.bd-rs-custom-order-form table.variations {
    display: table !important;
    width: 100% !important;
    margin: 0 !important;
}

body.bd-rs-custom-storefront .bd-rs-product-order-area form.cart.bd-rs-custom-order-form table.variations tbody,
body.bd-rs-custom-storefront .bd-rs-product-order-area form.cart.bd-rs-custom-order-form table.variations tr,
body.bd-rs-custom-storefront .bd-rs-product-order-area form.cart.bd-rs-custom-order-form table.variations th,
body.bd-rs-custom-storefront .bd-rs-product-order-area form.cart.bd-rs-custom-order-form table.variations td {
    display: block !important;
    width: 100% !important;
}

body.bd-rs-custom-storefront .bd-rs-product-order-area form.cart.bd-rs-custom-order-form table.variations tr {
    margin: 0 0 16px !important;
}

body.bd-rs-custom-storefront .bd-rs-product-order-area form.cart.bd-rs-custom-order-form table.variations th label,
body.bd-rs-custom-storefront .bd-rs-quantity-label {
    display: block;
    margin: 0 0 8px !important;
    color: #18233b !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
}

body.bd-rs-custom-storefront .bd-rs-product-order-area .bd-rs-quantity-row {
    display: block !important;
    width: 100% !important;
    margin: 0 0 18px !important;
}

body.bd-rs-custom-storefront .bd-rs-product-order-area .bd-rs-quantity-row .quantity.bd-rs-quantity-control {
    width: min(100%, 210px) !important;
}

body.bd-rs-custom-storefront .bd-rs-custom-primary-actions,
body.bd-rs-custom-storefront .bd-rs-order-methods {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
}

body.bd-rs-custom-storefront .bd-rs-custom-primary-actions {
    margin: 0 !important;
}

body.bd-rs-custom-storefront .bd-rs-order-methods {
    margin: 12px 0 0 !important;
}

body.bd-rs-custom-storefront .bd-rs-custom-primary-actions > .bd-rs-add-cart,
body.bd-rs-custom-storefront .bd-rs-custom-primary-actions > .bd-rs-buy-now,
body.bd-rs-custom-storefront .bd-rs-order-methods > .bd-rs-whatsapp-order,
body.bd-rs-custom-storefront .bd-rs-order-methods > .bd-rs-call-order {
    grid-column: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 50px !important;
    height: 50px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    border-radius: 10px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    text-align: center !important;
    white-space: nowrap !important;
    text-decoration: none !important;
}

body.bd-rs-custom-storefront .bd-rs-custom-primary-actions > .bd-rs-add-cart {
    background: #f97316 !important;
    color: #fff !important;
}

body.bd-rs-custom-storefront .bd-rs-custom-primary-actions > .bd-rs-buy-now {
    background: #2458e8 !important;
}

body.bd-rs-custom-storefront .bd-rs-order-methods > .bd-rs-whatsapp-order {
    background: #18ad58 !important;
}

body.bd-rs-custom-storefront .bd-rs-order-methods > .bd-rs-call-order {
    background: linear-gradient(135deg, #ffb51b, #ff9d00) !important;
    color: #fff !important;
}

body.bd-rs-custom-storefront .bd-rs-native-product-tabs ul.tabs {
    display: flex !important;
    align-items: flex-end !important;
    flex-wrap: nowrap !important;
    gap: 22px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
    list-style: none !important;
    scrollbar-width: thin;
}

body.bd-rs-custom-storefront .bd-rs-native-product-tabs ul.tabs li,
body.bd-rs-custom-storefront .bd-rs-native-product-tabs ul.tabs li::marker {
    list-style: none !important;
    content: none !important;
}

body.bd-rs-custom-storefront .bd-rs-native-product-tabs ul.tabs li {
    flex: 0 0 auto !important;
    min-width: max-content !important;
    margin: 0 !important;
    padding: 0 0 11px !important;
}

body.bd-rs-custom-storefront .bd-rs-native-product-tabs ul.tabs li a {
    display: block !important;
    width: auto !important;
    padding: 0 !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
    white-space: nowrap !important;
}

body.bd-rs-custom-storefront .bd-rs-native-product-tabs .woocommerce-Tabs-panel {
    padding: 4px 0 0 !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
}

body.bd-rs-custom-storefront .bd-rs-reviews-panel {
    display: grid;
    gap: 24px;
}

body.bd-rs-custom-storefront .bd-rs-review-list-wrap h3,
body.bd-rs-custom-storefront .bd-rs-review-form-wrap .comment-reply-title {
    margin: 0 0 14px !important;
    color: #17213a !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
}

body.bd-rs-custom-storefront .bd-rs-review-notice {
    padding: 12px 14px;
    border: 1px solid #b8e6cb;
    border-radius: 10px;
    background: #effaf4;
    color: #137548;
    font-size: 13px;
    font-weight: 700;
}

body.bd-rs-custom-storefront .bd-rs-review-list {
    display: grid;
    gap: 12px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

body.bd-rs-custom-storefront .bd-rs-review-item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
    border: 1px solid #e7ebf2;
    border-radius: 12px;
    background: #fbfcfe;
    list-style: none !important;
}

body.bd-rs-custom-storefront .bd-rs-review-avatar img {
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

body.bd-rs-custom-storefront .bd-rs-review-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 5px;
}

body.bd-rs-custom-storefront .bd-rs-review-heading strong {
    color: #17213a;
    font-size: 14px;
}

body.bd-rs-custom-storefront .bd-rs-review-heading time {
    color: #8791a3;
    font-size: 11px;
}

body.bd-rs-custom-storefront .bd-rs-review-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 7px;
    color: #d5dbe5;
    font-size: 15px;
}

body.bd-rs-custom-storefront .bd-rs-review-stars .is-filled {
    color: #ffb000;
}

body.bd-rs-custom-storefront .bd-rs-review-text,
body.bd-rs-custom-storefront .bd-rs-review-text p,
body.bd-rs-custom-storefront .bd-rs-no-reviews {
    margin: 0 !important;
    color: #5d6980;
    font-size: 14px !important;
    line-height: 1.7 !important;
}

body.bd-rs-custom-storefront .bd-rs-review-form-wrap {
    padding-top: 20px;
    border-top: 1px solid #e9edf3;
}

body.bd-rs-custom-storefront .bd-rs-review-form-wrap .comment-notes,
body.bd-rs-custom-storefront .bd-rs-review-form-wrap .must-log-in {
    margin: 0 0 14px !important;
    color: #6c778c;
    font-size: 13px !important;
    line-height: 1.6 !important;
}

body.bd-rs-custom-storefront .bd-rs-review-form-wrap .comment-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

body.bd-rs-custom-storefront .bd-rs-review-form-wrap .comment-form > p,
body.bd-rs-custom-storefront .bd-rs-review-form-wrap .comment-form > div {
    margin: 0 !important;
}

body.bd-rs-custom-storefront .bd-rs-review-form-wrap .comment-notes,
body.bd-rs-custom-storefront .bd-rs-review-form-wrap .comment-form-comment,
body.bd-rs-custom-storefront .bd-rs-review-form-wrap .bd-rs-review-field-grid,
body.bd-rs-custom-storefront .bd-rs-review-form-wrap .form-submit,
body.bd-rs-custom-storefront .bd-rs-review-form-wrap .logged-in-as {
    grid-column: 1 / -1;
}

body.bd-rs-custom-storefront .bd-rs-review-form-wrap label {
    display: block;
    margin: 0 0 7px;
    color: #26334c;
    font-size: 13px;
    font-weight: 750;
}

body.bd-rs-custom-storefront .bd-rs-review-form-wrap input[type="text"],
body.bd-rs-custom-storefront .bd-rs-review-form-wrap input[type="email"],
body.bd-rs-custom-storefront .bd-rs-review-form-wrap select,
body.bd-rs-custom-storefront .bd-rs-review-form-wrap textarea {
    display: block;
    width: 100% !important;
    min-height: 44px;
    padding: 10px 12px !important;
    border: 1px solid #dce3ed !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #1f2b43 !important;
    font-size: 14px !important;
    box-shadow: none !important;
}

body.bd-rs-custom-storefront .bd-rs-review-form-wrap textarea {
    min-height: 130px;
    resize: vertical;
}

body.bd-rs-custom-storefront .bd-rs-review-form-wrap .bd-rs-review-submit {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    min-height: 44px;
    padding: 0 20px !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: #2458e8 !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    cursor: pointer;
}

@media (max-width: 700px) {
    body.bd-rs-custom-storefront .bd-rs-product-order-area .bd-rs-quantity-row .quantity.bd-rs-quantity-control {
        width: 100% !important;
    }

    body.bd-rs-custom-storefront .bd-rs-custom-primary-actions,
    body.bd-rs-custom-storefront .bd-rs-order-methods {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 9px !important;
    }

    body.bd-rs-custom-storefront .bd-rs-custom-primary-actions > .bd-rs-add-cart,
    body.bd-rs-custom-storefront .bd-rs-custom-primary-actions > .bd-rs-buy-now,
    body.bd-rs-custom-storefront .bd-rs-order-methods > .bd-rs-whatsapp-order,
    body.bd-rs-custom-storefront .bd-rs-order-methods > .bd-rs-call-order {
        min-height: 48px !important;
        height: 48px !important;
        padding: 0 8px !important;
        font-size: 11px !important;
        white-space: normal !important;
    }

    body.bd-rs-custom-storefront .bd-rs-native-product-tabs {
        padding: 16px !important;
    }

    body.bd-rs-custom-storefront .bd-rs-native-product-tabs ul.tabs {
        display: flex !important;
        grid-template-columns: none !important;
        gap: 18px !important;
        overflow-x: auto !important;
        padding-bottom: 2px !important;
    }

    body.bd-rs-custom-storefront .bd-rs-native-product-tabs ul.tabs li {
        width: auto !important;
        min-width: max-content !important;
        border-bottom: 0 !important;
    }

    body.bd-rs-custom-storefront .bd-rs-native-product-tabs ul.tabs li a {
        width: auto !important;
        padding: 0 !important;
        font-size: 15px !important;
    }

    body.bd-rs-custom-storefront .bd-rs-native-product-tabs .woocommerce-Tabs-panel {
        padding: 6px 0 0 !important;
        font-size: 15px !important;
    }

    body.bd-rs-custom-storefront .bd-rs-review-form-wrap .comment-form {
        grid-template-columns: 1fr;
    }

    body.bd-rs-custom-storefront .bd-rs-review-form-wrap .comment-form > * {
        grid-column: 1 !important;
    }

    body.bd-rs-custom-storefront .bd-rs-review-item {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 10px;
        padding: 12px;
    }

    body.bd-rs-custom-storefront .bd-rs-review-avatar img {
        width: 40px;
        height: 40px;
    }

    body.bd-rs-custom-storefront .bd-rs-review-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }
}

@media (max-width: 340px) {
    body.bd-rs-custom-storefront .bd-rs-custom-primary-actions,
    body.bd-rs-custom-storefront .bd-rs-order-methods {
        grid-template-columns: 1fr !important;
    }
}


/* v1.7.2 - unified premium product cards and centered quantity value */
body.bd-rs-custom-storefront .bd-rs-store-grid.bd-rs-unified-product-grid {
    align-items: stretch;
}

body.bd-rs-custom-storefront .bd-rs-unified-product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #e2e6ec;
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
}

body.bd-rs-custom-storefront .bd-rs-unified-product-card .bd-rs-category-product-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 10px 9px 9px;
}

body.bd-rs-custom-storefront .bd-rs-unified-product-card .bd-rs-category-product-content h3 {
    min-height: 0;
    margin: 0 0 8px !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 15px !important;
    font-style: italic;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    letter-spacing: .1px;
}

body.bd-rs-custom-storefront .bd-rs-unified-product-card .bd-rs-category-product-content h3 a {
    color: #18202d !important;
}

body.bd-rs-custom-storefront .bd-rs-card-price-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 7px;
    min-height: 26px;
    margin: 0 0 10px;
    line-height: 1.1;
}

body.bd-rs-custom-storefront .bd-rs-card-current-price,
body.bd-rs-custom-storefront .bd-rs-card-current-price .woocommerce-Price-amount {
    color: #111827 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

body.bd-rs-custom-storefront .bd-rs-card-regular-price,
body.bd-rs-custom-storefront .bd-rs-card-regular-price .woocommerce-Price-amount {
    color: #a1a8b3 !important;
    font-size: 11px !important;
    font-weight: 500 !important;
}

body.bd-rs-custom-storefront .bd-rs-card-discount {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 21px;
    padding: 2px 6px;
    border-radius: 3px;
    background: #f04b55;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

body.bd-rs-custom-storefront .bd-rs-card-order-form {
    display: grid !important;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 8px;
    width: 100%;
    margin: auto 0 0 !important;
}

body.bd-rs-custom-storefront .bd-rs-card-order-form input[type="hidden"] {
    display: none !important;
}

body.bd-rs-custom-storefront .bd-rs-card-cart-button,
body.bd-rs-custom-storefront .bd-rs-card-buy-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 38px !important;
    height: 38px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #111827 !important;
    border-radius: 4px !important;
    background: #fff !important;
    color: #111827 !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    text-align: center !important;
    text-decoration: none !important;
    box-shadow: none !important;
    cursor: pointer;
}

body.bd-rs-custom-storefront .bd-rs-card-cart-button {
    grid-column: 1;
}

body.bd-rs-custom-storefront .bd-rs-card-buy-button {
    grid-column: 2;
    gap: 7px;
}

body.bd-rs-custom-storefront .bd-rs-card-cart-button svg {
    width: 18px !important;
    height: 18px !important;
    color: #111827 !important;
    fill: none !important;
    stroke: currentColor !important;
}

body.bd-rs-custom-storefront .bd-rs-card-cart-button:hover,
body.bd-rs-custom-storefront .bd-rs-card-buy-button:hover {
    border-color: #2458e8 !important;
    color: #2458e8 !important;
    background: #f7f9ff !important;
}

body.bd-rs-custom-storefront .bd-rs-card-order-form.is-unavailable {
    opacity: .72;
}

body.bd-rs-custom-storefront .bd-rs-product-order-area .quantity.bd-rs-quantity-control {
    grid-template-columns: 34px minmax(0, 1fr) 34px !important;
}

body.bd-rs-custom-storefront .bd-rs-product-order-area .quantity.bd-rs-quantity-control input.qty {
    grid-column: 2 !important;
    justify-self: stretch !important;
    align-self: stretch !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    text-indent: 0 !important;
}

@media (max-width: 700px) {
    body.bd-rs-custom-storefront .bd-rs-unified-product-card .bd-rs-category-product-content {
        padding: 8px 7px 7px;
    }

    body.bd-rs-custom-storefront .bd-rs-unified-product-card .bd-rs-category-product-content h3 {
        margin-bottom: 6px !important;
        font-size: 12px !important;
        line-height: 1.25 !important;
    }

    body.bd-rs-custom-storefront .bd-rs-card-price-line {
        gap: 4px 5px;
        min-height: 22px;
        margin-bottom: 8px;
    }

    body.bd-rs-custom-storefront .bd-rs-card-current-price,
    body.bd-rs-custom-storefront .bd-rs-card-current-price .woocommerce-Price-amount {
        font-size: 12px !important;
    }

    body.bd-rs-custom-storefront .bd-rs-card-regular-price,
    body.bd-rs-custom-storefront .bd-rs-card-regular-price .woocommerce-Price-amount {
        font-size: 9px !important;
    }

    body.bd-rs-custom-storefront .bd-rs-card-discount {
        min-height: 18px;
        padding: 2px 4px;
        font-size: 8px;
    }

    body.bd-rs-custom-storefront .bd-rs-card-order-form {
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 6px;
    }

    body.bd-rs-custom-storefront .bd-rs-card-cart-button,
    body.bd-rs-custom-storefront .bd-rs-card-buy-button {
        min-height: 34px !important;
        height: 34px !important;
        font-size: 11px !important;
    }

    body.bd-rs-custom-storefront .bd-rs-card-cart-button svg {
        width: 16px !important;
        height: 16px !important;
    }

    body.bd-rs-custom-storefront .bd-rs-product-order-area .quantity.bd-rs-quantity-control {
        grid-template-columns: 30px minmax(0, 1fr) 30px !important;
    }
}


/* v1.7.4 - reseller order details and independent status workflow */
.bd-rs-badge.pending {
    background: #fff7df;
    color: #9a6500;
}

.bd-rs-badge.confirmed {
    background: #e7f7ec;
    color: #17843d;
}

.bd-rs-badge.cancelled {
    background: #ffe9e9;
    color: #bd2424;
}

.bd-rs-badge.wc-status {
    background: #eef2ff;
    color: #3348a3;
}

.bd-rs-large-badge {
    padding: 9px 14px;
    border-radius: 999px;
    font-weight: 700;
    white-space: nowrap;
}

.bd-rs-order-detail-panel {
    padding: 28px;
}

.bd-rs-order-detail-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.bd-rs-order-detail-head h2 {
    margin: 8px 0 5px;
    font-size: 25px;
}

.bd-rs-order-detail-head p,
.bd-rs-order-status-box p {
    margin: 0;
    color: var(--bd-rs-muted);
}

.bd-rs-order-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #3155c9;
    font-weight: 700;
    text-decoration: none;
}

.bd-rs-order-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 20px 0;
}

.bd-rs-order-summary-card {
    padding: 17px;
    border: 1px solid #e6eaf1;
    border-radius: 13px;
    background: #fafbfe;
}

.bd-rs-order-summary-card span {
    display: block;
    color: var(--bd-rs-muted);
    font-size: 12px;
    margin-bottom: 7px;
}

.bd-rs-order-summary-card strong {
    display: block;
    font-size: 15px;
    color: #11203b;
    overflow-wrap: anywhere;
}

.bd-rs-order-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 20px 0;
}

.bd-rs-order-info-card,
.bd-rs-order-products,
.bd-rs-order-status-box {
    border: 1px solid #e6eaf1;
    border-radius: 15px;
    background: #fff;
}

.bd-rs-order-info-card {
    padding: 20px;
}

.bd-rs-order-info-card h3,
.bd-rs-order-products h3,
.bd-rs-order-status-box h3 {
    margin: 0 0 15px;
    font-size: 17px;
}

.bd-rs-order-info-card dl {
    margin: 0;
}

.bd-rs-order-info-card dl > div {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #eef1f5;
}

.bd-rs-order-info-card dl > div:last-child {
    border-bottom: 0;
}

.bd-rs-order-info-card dt {
    color: var(--bd-rs-muted);
    font-size: 13px;
}

.bd-rs-order-info-card dd {
    margin: 0;
    color: #17233a;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.bd-rs-order-products {
    padding: 20px;
    margin: 20px 0;
}

.bd-rs-order-product-cell {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 230px;
}

.bd-rs-order-product-cell img {
    width: 58px !important;
    height: 58px !important;
    object-fit: cover;
    border-radius: 9px;
    border: 1px solid #e4e8ef;
    background: #f7f8fb;
}

.bd-rs-order-product-cell strong,
.bd-rs-order-product-cell small {
    display: block;
}

.bd-rs-order-product-cell small {
    margin-top: 5px;
    color: var(--bd-rs-muted);
}

.bd-rs-order-item-meta p,
.bd-rs-order-item-meta ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.bd-rs-order-status-box {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    padding: 22px;
    background: linear-gradient(135deg, #f8faff, #f4f7ff);
}

.bd-rs-order-status-form {
    display: grid;
    grid-template-columns: minmax(160px, 210px) auto;
    align-items: end;
    gap: 10px;
    flex: 0 0 auto;
}

.bd-rs-order-status-form label {
    grid-column: 1 / -1;
    margin: 0;
    font-weight: 700;
    color: #17233a;
}

.bd-rs-order-status-form select {
    width: 100%;
    min-height: 44px;
    border: 1px solid #d9e0ec;
    border-radius: 9px;
    padding: 8px 36px 8px 12px;
    background: #fff;
}

.bd-rs-order-status-form .bd-rs-btn {
    min-height: 44px;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .bd-rs-order-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bd-rs-order-status-box {
        align-items: stretch;
        flex-direction: column;
    }

    .bd-rs-order-status-form {
        width: 100%;
        grid-template-columns: minmax(0, 1fr) auto;
    }
}

@media (max-width: 640px) {
    .bd-rs-order-detail-panel {
        padding: 18px;
    }

    .bd-rs-order-detail-head {
        flex-direction: column;
        gap: 12px;
    }

    .bd-rs-order-summary-grid,
    .bd-rs-order-info-grid {
        grid-template-columns: 1fr;
    }

    .bd-rs-order-info-card dl > div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .bd-rs-order-products {
        padding: 14px;
    }

    .bd-rs-order-status-form {
        grid-template-columns: 1fr;
    }

    .bd-rs-order-status-form label {
        grid-column: auto;
    }

    .bd-rs-order-status-form .bd-rs-btn {
        width: 100%;
    }
}

/* v1.7.5 order detail stability and printable copy controls */
.bd-rs-order-head-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.bd-rs-order-info-card dl,
.bd-rs-order-info-card dl > div,
.bd-rs-order-info-card dt,
.bd-rs-order-info-card dd {
    min-width: 0;
}

.bd-rs-order-info-card dl > div {
    align-items: start;
    line-height: 1.45;
}

.bd-rs-order-info-card dt,
.bd-rs-order-info-card dd {
    float: none !important;
    clear: none !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    position: static !important;
}

.bd-rs-order-info-card dd {
    display: block !important;
    line-height: 1.55 !important;
    white-space: normal !important;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.bd-rs-address-lines {
    display: block;
    width: 100%;
}

.bd-rs-address-lines > span {
    display: block;
    margin: 0;
    padding: 0;
    line-height: 1.65;
    white-space: normal;
    overflow-wrap: anywhere;
}

.bd-rs-empty-value {
    color: var(--bd-rs-muted);
    font-weight: 500;
}

@media (max-width: 640px) {
    .bd-rs-order-head-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .bd-rs-order-head-actions .bd-rs-btn {
        flex: 1 1 auto;
        text-align: center;
    }
}

/* v1.8.0 automatic phone customer accounts */
.bd-rs-custom-header-inner {
    grid-template-columns: minmax(220px, auto) 1fr auto auto;
}

.bd-rs-store-account-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    min-height: 54px;
    border: 1px solid #e1e7f1;
    border-radius: 14px;
    background: #fff;
    color: #18284a;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(31, 48, 90, .05);
}

.bd-rs-store-account-link:hover {
    color: var(--bd-rs-primary);
    border-color: #cfd8ff;
}

.bd-rs-store-account-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 10px;
    background: #eef3ff;
    font-size: 17px;
}

.bd-rs-store-account-link small,
.bd-rs-store-account-link strong {
    display: block;
    line-height: 1.15;
}

.bd-rs-store-account-link small {
    color: #7a879e;
    font-size: 10px;
    margin-bottom: 3px;
}

.bd-rs-store-account-link strong {
    color: inherit;
    font-size: 13px;
    white-space: nowrap;
}

.bd-rs-auto-account-checkout-note {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 18px;
    padding: 15px 17px;
    border: 1px solid #dbe5ff;
    border-radius: 13px;
    background: #f4f7ff;
    color: #21335f;
}

.bd-rs-auto-account-checkout-note strong {
    flex: 0 0 auto;
    color: var(--bd-rs-primary);
}

.bd-rs-auto-account-checkout-note span {
    color: #5f6d87;
    font-size: 13px;
}

.bd-rs-customer-created-notice {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 22px 0;
    padding: 20px;
    border: 1px solid #cfe9da;
    border-radius: 14px;
    background: #f1fbf5;
}

.bd-rs-account-check {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #19a85b;
    color: #fff;
    font-weight: 900;
}

.bd-rs-customer-created-notice h3 {
    margin: 0 0 6px;
    font-size: 18px;
}

.bd-rs-customer-created-notice p {
    margin: 0 0 10px;
    color: #53627b;
}

.bd-rs-account-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 0 0 14px;
    font-size: 13px;
}

.bd-rs-customer-account-page,
.bd-rs-customer-order-page {
    padding-top: 6px;
}

.bd-rs-customer-login-card {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    overflow: hidden;
    border: 1px solid #e3e8f1;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 55px rgba(23, 40, 79, .08);
}

.bd-rs-customer-login-copy {
    padding: 48px;
    background: linear-gradient(135deg, #132959, #2f55d8);
    color: #fff;
}

.bd-rs-customer-login-copy > span,
.bd-rs-customer-account-head > div > span {
    display: inline-block;
    margin-bottom: 10px;
    color: #bfcdf8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.bd-rs-customer-login-copy h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 32px;
    line-height: 1.2;
}

.bd-rs-customer-login-copy p {
    margin: 0;
    color: #dce5ff;
}

.bd-rs-customer-login-copy ul {
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.bd-rs-customer-login-copy li {
    position: relative;
    margin: 11px 0;
    padding-left: 25px;
    color: #fff;
}

.bd-rs-customer-login-copy li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #7ff0ad;
    font-weight: 900;
}

.bd-rs-customer-login-form {
    padding: 44px;
}

.bd-rs-customer-login-form h3 {
    margin: 0 0 22px;
    font-size: 24px;
}

.bd-rs-customer-login-form label {
    display: block;
    margin-bottom: 15px;
    color: #24324d;
    font-size: 13px;
    font-weight: 700;
}

.bd-rs-customer-login-form input[type="text"],
.bd-rs-customer-login-form input[type="password"] {
    width: 100%;
    height: 48px;
    margin-top: 7px;
    padding: 0 14px;
    border: 1px solid #dce3ed;
    border-radius: 10px;
    background: #fff;
    font: inherit;
}

.bd-rs-customer-remember {
    display: flex !important;
    align-items: center;
    gap: 8px;
    font-weight: 500 !important;
}

.bd-rs-customer-login-form .bd-rs-btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
}

.bd-rs-customer-account-shell,
.bd-rs-customer-order-detail {
    border: 1px solid #e3e8f1;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 16px 45px rgba(23, 40, 79, .07);
    padding: 28px;
}

.bd-rs-customer-account-head,
.bd-rs-customer-order-detail-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.bd-rs-customer-account-head h2,
.bd-rs-customer-order-detail-head h2 {
    margin: 0 0 5px;
    font-size: 27px;
}

.bd-rs-customer-account-head p,
.bd-rs-customer-order-detail-head p {
    margin: 0;
    color: #68758d;
}

.bd-rs-customer-order-detail-head > div > a {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--bd-rs-primary);
    text-decoration: none;
    font-weight: 700;
}

.bd-rs-customer-stats,
.bd-rs-customer-order-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.bd-rs-customer-stats > div,
.bd-rs-customer-order-summary > div {
    padding: 18px;
    border: 1px solid #e4e9f2;
    border-radius: 13px;
    background: #fafbfe;
}

.bd-rs-customer-stats span,
.bd-rs-customer-order-summary span {
    display: block;
    margin-bottom: 6px;
    color: #758198;
    font-size: 12px;
}

.bd-rs-customer-stats strong,
.bd-rs-customer-order-summary strong {
    display: block;
    color: #182642;
    font-size: 20px;
}

.bd-rs-customer-orders-card,
.bd-rs-customer-order-items {
    overflow: hidden;
    border: 1px solid #e3e8f1;
    border-radius: 14px;
}

.bd-rs-customer-card-head,
.bd-rs-customer-order-items > h3 {
    margin: 0;
    padding: 17px 19px;
    border-bottom: 1px solid #e8ecf3;
}

.bd-rs-customer-card-head h3 {
    margin: 0 0 3px;
}

.bd-rs-customer-card-head p {
    margin: 0;
    color: #728097;
    font-size: 13px;
}

.bd-rs-customer-orders-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.bd-rs-customer-orders-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

.bd-rs-customer-orders-table th,
.bd-rs-customer-orders-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #edf0f5;
    text-align: left;
    vertical-align: middle;
}

.bd-rs-customer-orders-table th {
    background: #fafbfe;
    color: #657289;
    font-size: 12px;
    font-weight: 800;
}

.bd-rs-customer-orders-table tbody tr:last-child td {
    border-bottom: 0;
}

.bd-rs-customer-order-status {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    background: #edf2ff;
    color: #2b4cc3;
    font-size: 11px;
    font-weight: 800;
}

.bd-rs-customer-order-status.status-completed {
    background: #e9f8ef;
    color: #16713c;
}

.bd-rs-customer-order-status.status-cancelled,
.bd-rs-customer-order-status.status-failed {
    background: #ffe9eb;
    color: #a3222c;
}

.bd-rs-customer-order-actions {
    display: flex;
    gap: 8px;
    white-space: nowrap;
}

.bd-rs-customer-order-actions a {
    display: inline-flex;
    padding: 7px 10px;
    border: 1px solid #dce3ed;
    border-radius: 8px;
    color: #263752;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}

.bd-rs-customer-order-actions a:last-child {
    border-color: var(--bd-rs-primary);
    background: var(--bd-rs-primary);
    color: #fff;
}

.bd-rs-customer-empty {
    padding: 28px;
    text-align: center;
    color: #6e7a91;
}

.bd-rs-customer-product-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bd-rs-customer-product-cell img {
    width: 52px;
    height: 52px;
    border: 1px solid #e2e7ef;
    border-radius: 9px;
    object-fit: cover;
}

@media (max-width: 1100px) {
    .bd-rs-custom-header-inner {
        grid-template-columns: minmax(170px, auto) 1fr auto auto;
        gap: 12px;
    }

    .bd-rs-store-account-link {
        padding: 8px;
        min-width: 52px;
    }

    .bd-rs-store-account-link > span:last-child {
        display: none;
    }
}

@media (max-width: 980px) {
    .bd-rs-custom-header-inner {
        grid-template-columns: 1fr auto auto auto;
    }

    .bd-rs-store-account-link {
        order: 3;
    }

    .bd-rs-store-cart {
        order: 4;
    }

    .bd-rs-customer-login-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .bd-rs-store-account-link {
        width: 44px;
        height: 44px;
        min-height: 44px;
        min-width: 44px;
        padding: 4px;
        justify-content: center;
        border-radius: 11px;
    }

    .bd-rs-store-account-icon {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .bd-rs-customer-login-copy,
    .bd-rs-customer-login-form {
        padding: 28px;
    }

    .bd-rs-customer-login-copy h2 {
        font-size: 26px;
    }

    .bd-rs-customer-account-shell,
    .bd-rs-customer-order-detail {
        padding: 18px;
        border-radius: 16px;
    }

    .bd-rs-customer-account-head,
    .bd-rs-customer-order-detail-head {
        flex-direction: column;
    }

    .bd-rs-customer-account-head .bd-rs-btn,
    .bd-rs-customer-order-detail-head .bd-rs-btn {
        width: 100%;
        justify-content: center;
    }

    .bd-rs-customer-stats,
    .bd-rs-customer-order-summary {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .bd-rs-auto-account-checkout-note,
    .bd-rs-customer-created-notice {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .bd-rs-custom-header-inner {
        padding: 0 10px;
        gap: 7px;
    }

    .bd-rs-header-brand img {
        width: 72px;
        height: 42px;
    }

    .bd-rs-mobile-menu-toggle,
    .bd-rs-store-account-link {
        width: 42px;
        height: 42px;
        min-width: 42px;
    }

    .bd-rs-store-cart-icon {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .bd-rs-account-credentials {
        flex-direction: column;
        gap: 4px;
    }
}

/* v1.8.1 - fully independent reseller checkout and phone account flow */
body.bd-rs-custom-storefront .bd-rs-store-checkout-page .bdco-account-bar,
body.bd-rs-custom-storefront .bd-rs-store-checkout-page .woocommerce-form-login-toggle,
body.bd-rs-custom-storefront .bd-rs-store-checkout-page .woocommerce-form-login,
body.bd-rs-custom-storefront .bd-rs-store-checkout-page .create-account,
body.bd-rs-custom-storefront .bd-rs-store-checkout-page #ship-to-different-address {
    display: none !important;
}

.bd-rs-native-checkout-form {
    margin: 0;
}

.bd-rs-native-checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
    gap: 22px;
    align-items: start;
}

.bd-rs-native-checkout-card {
    min-width: 0;
    padding: 24px;
    border: 1px solid #e1e7f0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(15, 36, 74, .06);
}

.bd-rs-native-checkout-title {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 18px;
    margin-bottom: 20px;
    border-bottom: 1px solid #edf0f5;
}

.bd-rs-native-checkout-title > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 10px;
    background: #2d58e9;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.bd-rs-native-checkout-title h2 {
    margin: 0 0 4px;
    color: #0d1f42;
    font-size: 20px;
    line-height: 1.25;
}

.bd-rs-native-checkout-title p {
    margin: 0;
    color: #6d7890;
    font-size: 13px;
    line-height: 1.55;
}

.bd-rs-native-customer-details .form-row {
    float: none !important;
    width: 100% !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
}

.bd-rs-native-customer-details label {
    display: block;
    margin: 0 0 7px;
    color: #17233f;
    font-size: 13px;
    font-weight: 750;
}

.bd-rs-native-customer-details .required {
    color: #ef4444;
}

.bd-rs-native-customer-details input.input-text,
.bd-rs-native-customer-details textarea,
.bd-rs-native-customer-details select {
    width: 100% !important;
    min-height: 48px;
    padding: 12px 14px !important;
    border: 1px solid #d8e0ec !important;
    border-radius: 11px !important;
    background: #f8faff !important;
    color: #17233f !important;
    box-shadow: none !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
}

.bd-rs-native-customer-details textarea {
    min-height: 104px;
    resize: vertical;
}

.bd-rs-native-customer-details input:focus,
.bd-rs-native-customer-details textarea:focus,
.bd-rs-native-customer-details select:focus {
    border-color: #2d58e9 !important;
    background: #fff !important;
    outline: 0 !important;
    box-shadow: 0 0 0 3px rgba(45, 88, 233, .12) !important;
}

.bd-rs-phone-account-explainer {
    margin-top: 6px;
    padding: 14px 16px;
    border: 1px solid #ccebd9;
    border-radius: 12px;
    background: #f0fbf5;
}

.bd-rs-phone-account-explainer strong {
    display: block;
    margin-bottom: 3px;
    color: #087a43;
    font-size: 13px;
}

.bd-rs-phone-account-explainer p {
    margin: 0;
    color: #39705a;
    font-size: 12px;
    line-height: 1.55;
}

.bd-rs-native-checkout-summary #order_review_heading {
    display: none;
}

.bd-rs-native-checkout-summary .woocommerce-checkout-review-order-table {
    width: 100%;
    margin: 0 0 18px;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #e5eaf2;
    border-radius: 12px;
    overflow: hidden;
}

.bd-rs-native-checkout-summary .woocommerce-checkout-review-order-table th,
.bd-rs-native-checkout-summary .woocommerce-checkout-review-order-table td {
    padding: 12px 11px !important;
    border: 0 !important;
    border-bottom: 1px solid #edf0f5 !important;
    color: #24314e;
    font-size: 13px;
    vertical-align: middle;
}

.bd-rs-native-checkout-summary .woocommerce-checkout-review-order-table tr:last-child th,
.bd-rs-native-checkout-summary .woocommerce-checkout-review-order-table tr:last-child td {
    border-bottom: 0 !important;
}

.bd-rs-native-checkout-summary #payment {
    border: 1px solid #e5eaf2;
    border-radius: 12px;
    background: #f8faff;
}

.bd-rs-native-checkout-summary #payment ul.payment_methods {
    padding: 15px !important;
    border-bottom: 1px solid #e5eaf2 !important;
}

.bd-rs-native-checkout-summary #payment .place-order {
    padding: 16px !important;
}

.bd-rs-native-checkout-summary #place_order {
    width: 100% !important;
    min-height: 50px;
    border: 0 !important;
    border-radius: 11px !important;
    background: #ff6b16 !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    box-shadow: none !important;
}

.bd-rs-native-checkout-summary #place_order:hover {
    background: #e85b0d !important;
}

@media (max-width: 900px) {
    .bd-rs-native-checkout-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .bd-rs-native-checkout-grid {
        gap: 14px;
    }

    .bd-rs-native-checkout-card {
        padding: 16px;
        border-radius: 14px;
    }

    .bd-rs-native-checkout-title {
        gap: 10px;
        margin-bottom: 16px;
        padding-bottom: 14px;
    }

    .bd-rs-native-checkout-title h2 {
        font-size: 17px;
    }

    .bd-rs-native-checkout-title p {
        font-size: 12px;
    }
}

.bd-rs-native-place-order {
    margin-top: 14px;
    padding: 16px;
    border: 1px solid #e5eaf2;
    border-radius: 12px;
    background: #fff;
}

.bd-rs-native-place-order .woocommerce-terms-and-conditions-wrapper {
    margin-bottom: 12px;
}

.bd-rs-native-place-order #place_order {
    width: 100% !important;
    min-height: 50px;
    border: 0 !important;
    border-radius: 11px !important;
    background: #ff6b16 !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    box-shadow: none !important;
}

.bd-rs-native-place-order #place_order:hover {
    background: #e85b0d !important;
}

/* v1.8.2: fully responsive reseller cart page */
body.bd-rs-custom-storefront.bd-rs-store-view-cart,
body.bd-rs-custom-storefront.bd-rs-store-view-cart * {
    box-sizing: border-box;
}

body.bd-rs-custom-storefront.bd-rs-store-view-cart {
    max-width: 100%;
    overflow-x: hidden;
}

body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-rs-storefront-main,
body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-rs-store-system-page,
body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-rs-store-system-page > .woocommerce,
body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-page-shell,
body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-page-container,
body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-form,
body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-layout,
body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-items-card,
body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-summary-card,
body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-item,
body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-item-body,
body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-item-meta,
body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-item-controls,
body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-bottom-bar,
body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-cross-sells-wrap {
    min-width: 0 !important;
    max-width: 100% !important;
}

body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-page-container {
    width: 100% !important;
}

body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-layout {
    width: 100%;
}

body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-item-media a,
body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-item-media img {
    max-width: 100% !important;
}

body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-item-title,
body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-item-title a,
body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-item-extra,
body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-summary-line,
body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-summary-meta-item {
    overflow-wrap: anywhere;
    word-break: normal;
}

body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-coupon-input,
body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-action-button,
body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-proceed-to-checkout-wrap,
body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-proceed-to-checkout-wrap .checkout-button {
    max-width: 100% !important;
}

@media (max-width: 1199px) {
    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-layout {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-summary-card {
        position: static !important;
        top: auto !important;
        width: 100% !important;
    }
}

@media (max-width: 767px) {
    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-rs-inner-page-heading,
    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-rs-store-system-page {
        width: calc(100% - 16px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-rs-inner-page-heading {
        margin-top: 12px !important;
        margin-bottom: 12px !important;
        padding: 18px 15px !important;
        border-radius: 14px !important;
    }

    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-rs-inner-page-heading h1 {
        font-size: 26px !important;
        line-height: 1.2 !important;
    }

    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-rs-inner-page-heading p {
        font-size: 13px !important;
        line-height: 1.55 !important;
    }

    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-rs-store-cart-page .woocommerce {
        padding: 8px !important;
        border-radius: 14px !important;
    }

    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-container.bd-cart-page-container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }

    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-page-head {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        margin-bottom: 14px !important;
    }

    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-page-title {
        margin-top: 9px !important;
        font-size: 27px !important;
        line-height: 1.15 !important;
    }

    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-page-subtitle {
        font-size: 13px !important;
        line-height: 1.55 !important;
    }

    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-page-pill {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;
        padding: 12px 14px !important;
        flex-direction: row !important;
        justify-content: flex-start !important;
        gap: 8px !important;
        border-radius: 14px !important;
    }

    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-page-pill strong {
        font-size: 23px !important;
    }

    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-page-pill span {
        margin: 0 !important;
        font-size: 12px !important;
    }

    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-layout {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 14px !important;
    }

    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-items-card,
    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-summary-card,
    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-cross-sells-wrap .cross-sells {
        width: 100% !important;
        padding: 12px !important;
        border-radius: 15px !important;
    }

    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-card-header {
        align-items: flex-start !important;
        gap: 8px !important;
        padding: 5px 2px 13px !important;
    }

    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-card-header h2,
    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-summary-head h2,
    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-cross-sells-wrap .cross-sells > h2 {
        font-size: 20px !important;
        line-height: 1.25 !important;
    }

    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-card-header span {
        font-size: 12px !important;
        text-align: right;
    }

    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-item {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 14px !important;
        width: 100% !important;
        padding: 16px 2px !important;
    }

    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-item-media {
        width: 100% !important;
        min-height: 150px !important;
        max-height: none !important;
        padding: 12px !important;
        border-radius: 14px !important;
    }

    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-item-media img {
        width: 100% !important;
        height: 170px !important;
        max-height: 170px !important;
        object-fit: contain !important;
    }

    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-item-body {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 15px !important;
        width: 100% !important;
    }

    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-item-title {
        font-size: 19px !important;
        line-height: 1.35 !important;
    }

    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-item-extra,
    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-item-extra p,
    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-item-extra dl,
    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-stock,
    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-item-extra .variation {
        font-size: 13px !important;
        line-height: 1.55 !important;
    }

    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-item-controls {
        width: 100% !important;
        max-width: none !important;
        gap: 13px !important;
    }

    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-price-group {
        width: 100% !important;
        padding: 14px !important;
        border-radius: 13px !important;
    }

    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-price-line {
        min-width: 0 !important;
        gap: 10px !important;
    }

    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-price-value {
        min-width: 0 !important;
        font-size: 15px !important;
        overflow-wrap: anywhere;
    }

    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-qty-control {
        width: 100% !important;
        max-width: 100% !important;
        grid-template-columns: 46px minmax(0, 1fr) 46px !important;
        gap: 7px !important;
    }

    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-qty-btn {
        width: 46px !important;
        min-width: 46px !important;
        height: 46px !important;
        padding: 0 !important;
        font-size: 23px !important;
    }

    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-qty-input-wrap,
    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-qty-input-wrap .quantity,
    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-qty-input-wrap input.qty {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-qty-input-wrap input.qty {
        height: 46px !important;
        min-height: 46px !important;
        padding: 0 6px !important;
        font-size: 16px !important;
        text-align: center !important;
    }

    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-bottom-bar {
        width: 100% !important;
        gap: 12px !important;
        padding: 16px 2px 2px !important;
    }

    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-coupon-row,
    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-action-row {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 9px !important;
        width: 100% !important;
    }

    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-coupon-input,
    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-action-button,
    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-coupon-row .button,
    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-action-row .button {
        display: flex !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        min-height: 48px !important;
        height: auto !important;
        margin: 0 !important;
        padding: 12px 14px !important;
        justify-content: center !important;
        white-space: normal !important;
        text-align: center !important;
    }

    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-summary-card {
        position: static !important;
        top: auto !important;
    }

    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-summary-line {
        gap: 12px !important;
        padding: 13px 0 !important;
    }

    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-summary-line strong,
    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-summary-line .amount {
        min-width: 0 !important;
        max-width: 55% !important;
        font-size: 15px !important;
        overflow-wrap: anywhere;
    }

    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-summary-meta {
        padding: 14px !important;
        border-radius: 13px !important;
    }

    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-proceed-to-checkout-wrap,
    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-proceed-to-checkout-wrap .checkout-button {
        width: 100% !important;
    }

    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-cross-sells-wrap {
        margin-top: 14px !important;
    }

    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-cross-sells-wrap ul.products,
    body.bd-rs-custom-storefront.bd-rs-store-view-cart ul.products {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px !important;
    }

    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-cross-sells-wrap ul.products li.product,
    body.bd-rs-custom-storefront.bd-rs-store-view-cart ul.products li.product {
        width: 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 420px) {
    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-rs-inner-page-heading,
    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-rs-store-system-page {
        width: calc(100% - 10px) !important;
    }

    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-rs-store-cart-page .woocommerce {
        padding: 5px !important;
    }

    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-items-card,
    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-summary-card {
        padding: 10px !important;
    }

    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-item-media img {
        height: 145px !important;
        max-height: 145px !important;
    }

    body.bd-rs-custom-storefront.bd-rs-store-view-cart .bd-cart-remove {
        width: 36px !important;
        height: 36px !important;
        font-size: 23px !important;
    }
}

/* v1.8.3: reliable product-video fallback and global order contacts */
body.bd-rs-custom-storefront .bd-rs-product-video-invalid {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px;
    text-align: center;
    color: #e8edf8;
    background: linear-gradient(145deg, #111a2d, #0b1220);
}
body.bd-rs-custom-storefront .bd-rs-product-video-invalid span {
    font-size: 28px;
    line-height: 1;
}
body.bd-rs-custom-storefront .bd-rs-product-video-invalid p {
    max-width: 520px;
    margin: 0;
    color: #d5dceb;
    font-size: 14px;
    line-height: 1.65;
}
body.bd-rs-custom-storefront .bd-rs-product-video-invalid a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 16px;
    border-radius: 9px;
    background: #fff;
    color: #17213a;
    font-weight: 700;
    text-decoration: none;
}

/* v1.8.4 - dedicated reseller category archive */
body.bd-rs-custom-storefront.bd-rs-store-view-category .bd-rs-category-archive {
    padding: 0 0 54px;
}

body.bd-rs-custom-storefront.bd-rs-store-view-category .bd-rs-category-archive .bd-rs-store-container {
    width: min(100% - 32px, 1280px);
}

body.bd-rs-custom-storefront.bd-rs-store-view-category .bd-rs-category-archive .bd-rs-store-grid {
    align-items: stretch;
}

@media (max-width: 700px) {
    body.bd-rs-custom-storefront.bd-rs-store-view-category .bd-rs-category-archive {
        padding-bottom: 34px;
    }

    body.bd-rs-custom-storefront.bd-rs-store-view-category .bd-rs-category-archive .bd-rs-store-container {
        width: min(100% - 20px, 1280px);
    }
}


/* v1.9.0 - reseller content pages, all categories and fixed header links */
.bd-rs-content-settings-panel .wp-editor-wrap {
    margin-top: 10px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #dfe5ef;
    background: #fff;
}

.bd-rs-content-settings-panel .wp-editor-container {
    border: 0;
}

.bd-rs-content-settings-panel .mce-toolbar-grp,
.bd-rs-content-settings-panel .quicktags-toolbar {
    background: #f8faff;
    border-color: #e4e9f2;
}

.bd-rs-rich-editor-field > label {
    display: block;
    margin-top: 18px;
    font-size: 14px;
    font-weight: 800;
    color: #14223d;
}

body.bd-rs-custom-storefront .bd-rs-custom-nav {
    gap: clamp(12px, 1.35vw, 24px);
}

body.bd-rs-custom-storefront .bd-rs-custom-nav a {
    font-size: 14px;
    white-space: nowrap;
}

body.bd-rs-custom-storefront .bd-rs-all-categories-page,
body.bd-rs-custom-storefront .bd-rs-store-content-page,
body.bd-rs-custom-storefront .bd-rs-store-contact-page {
    padding: 0 0 28px;
}

body.bd-rs-custom-storefront .bd-rs-store-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
}

body.bd-rs-custom-storefront .bd-rs-all-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

body.bd-rs-custom-storefront .bd-rs-all-category-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    min-height: 146px;
    padding: 16px;
    border: 1px solid #e2e7f0;
    border-radius: 20px;
    background: #fff;
    color: #14223d;
    text-decoration: none;
    box-shadow: 0 14px 34px rgba(25, 42, 77, .06);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

body.bd-rs-custom-storefront .bd-rs-all-category-card:hover {
    transform: translateY(-4px);
    border-color: rgba(47, 82, 235, .35);
    box-shadow: 0 20px 44px rgba(25, 42, 77, .12);
}

body.bd-rs-custom-storefront .bd-rs-all-category-media {
    width: 112px;
    height: 112px;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #f0f4ff, #fff6eb);
}

body.bd-rs-custom-storefront .bd-rs-all-category-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.bd-rs-custom-storefront .bd-rs-all-category-media b {
    font-size: 34px;
    color: var(--bd-rs-primary);
}

body.bd-rs-custom-storefront .bd-rs-all-category-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

body.bd-rs-custom-storefront .bd-rs-all-category-copy strong {
    font-size: 18px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

body.bd-rs-custom-storefront .bd-rs-all-category-copy small {
    color: #71809a;
    font-size: 13px;
}

body.bd-rs-custom-storefront .bd-rs-all-category-copy em {
    color: var(--bd-rs-primary);
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
}

body.bd-rs-custom-storefront .bd-rs-store-rich-content,
body.bd-rs-custom-storefront .bd-rs-contact-details-card {
    border: 1px solid #e2e7f0;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(25, 42, 77, .07);
}

body.bd-rs-custom-storefront .bd-rs-store-rich-content {
    padding: clamp(24px, 4vw, 54px);
    color: #37445d;
    font-size: 16px;
    line-height: 1.85;
    overflow: hidden;
}

body.bd-rs-custom-storefront .bd-rs-store-rich-content > :first-child {
    margin-top: 0;
}

body.bd-rs-custom-storefront .bd-rs-store-rich-content > :last-child {
    margin-bottom: 0;
}

body.bd-rs-custom-storefront .bd-rs-store-rich-content h1,
body.bd-rs-custom-storefront .bd-rs-store-rich-content h2,
body.bd-rs-custom-storefront .bd-rs-store-rich-content h3,
body.bd-rs-custom-storefront .bd-rs-store-rich-content h4 {
    color: #10203f;
    line-height: 1.3;
}

body.bd-rs-custom-storefront .bd-rs-store-rich-content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
}

body.bd-rs-custom-storefront .bd-rs-store-rich-content a {
    color: var(--bd-rs-primary);
}

body.bd-rs-custom-storefront .bd-rs-empty-content {
    padding: 30px;
    text-align: center;
    border: 1px dashed #d8dfeb;
    border-radius: 16px;
    background: #f9fbff;
}

body.bd-rs-custom-storefront .bd-rs-empty-content h3 {
    margin: 0 0 8px;
}

body.bd-rs-custom-storefront .bd-rs-contact-page-grid {
    display: grid;
    grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
    gap: 22px;
    align-items: start;
}

body.bd-rs-custom-storefront .bd-rs-contact-details-card {
    padding: 30px;
    position: sticky;
    top: 112px;
}

body.bd-rs-custom-storefront .bd-rs-contact-eyebrow {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 999px;
    background: #eef3ff;
    color: var(--bd-rs-primary);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

body.bd-rs-custom-storefront .bd-rs-contact-details-card h2 {
    margin: 16px 0 8px;
    color: #10203f;
    font-size: 28px;
}

body.bd-rs-custom-storefront .bd-rs-contact-details-card > p {
    margin: 0 0 22px;
    color: #6b7890;
    line-height: 1.65;
}

body.bd-rs-custom-storefront .bd-rs-contact-detail-list {
    display: grid;
    gap: 12px;
}

body.bd-rs-custom-storefront .bd-rs-contact-detail-list > a,
body.bd-rs-custom-storefront .bd-rs-contact-detail-list > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 15px;
    border: 1px solid #e5eaf2;
    border-radius: 14px;
    background: #fafcff;
    text-decoration: none;
    color: #283750;
    overflow-wrap: anywhere;
}

body.bd-rs-custom-storefront .bd-rs-contact-detail-list b {
    color: #172640;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

body.bd-rs-custom-storefront .bd-rs-contact-detail-list span {
    font-size: 14px;
    line-height: 1.55;
}

@media (max-width: 1180px) {
    body.bd-rs-custom-storefront .bd-rs-all-categories-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    body.bd-rs-custom-storefront .bd-rs-all-categories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.bd-rs-custom-storefront .bd-rs-contact-page-grid {
        grid-template-columns: 1fr;
    }

    body.bd-rs-custom-storefront .bd-rs-contact-details-card {
        position: static;
    }
}

@media (max-width: 620px) {
    body.bd-rs-custom-storefront .bd-rs-all-categories-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    body.bd-rs-custom-storefront .bd-rs-all-category-card {
        grid-template-columns: 88px minmax(0, 1fr);
        min-height: 116px;
        padding: 13px;
        border-radius: 16px;
    }

    body.bd-rs-custom-storefront .bd-rs-all-category-media {
        width: 88px;
        height: 88px;
        border-radius: 13px;
    }

    body.bd-rs-custom-storefront .bd-rs-all-category-copy strong {
        font-size: 16px;
    }

    body.bd-rs-custom-storefront .bd-rs-store-rich-content,
    body.bd-rs-custom-storefront .bd-rs-contact-details-card {
        padding: 20px;
        border-radius: 17px;
    }

    body.bd-rs-custom-storefront .bd-rs-store-rich-content {
        font-size: 15px;
        line-height: 1.75;
    }
}


/* v1.9.1 - dedicated all-products archive */
body.bd-rs-custom-storefront.bd-rs-store-view-products .bd-rs-all-products-page {
    padding: 0 0 54px;
}

body.bd-rs-custom-storefront.bd-rs-store-view-products .bd-rs-all-products-page .bd-rs-store-container {
    width: min(100% - 32px, 1280px);
}

body.bd-rs-custom-storefront .bd-rs-products-toolbar-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: end;
    margin-bottom: 18px;
    padding: 18px;
    border: 1px solid #e2e7f0;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(25, 42, 77, .07);
}

body.bd-rs-custom-storefront .bd-rs-products-filter-form {
    display: grid;
    grid-template-columns: minmax(220px, 1.45fr) minmax(170px, .8fr) minmax(175px, .8fr) auto auto;
    gap: 12px;
    align-items: end;
    min-width: 0;
}

body.bd-rs-custom-storefront .bd-rs-products-filter-form label {
    min-width: 0;
    margin: 0;
}

body.bd-rs-custom-storefront .bd-rs-products-filter-form label > span {
    display: block;
    margin: 0 0 7px;
    color: #53617b;
    font-size: 12px;
    font-weight: 800;
}

body.bd-rs-custom-storefront .bd-rs-products-filter-form input,
body.bd-rs-custom-storefront .bd-rs-products-filter-form select {
    width: 100%;
    height: 46px;
    margin: 0;
    padding: 0 13px;
    border: 1px solid #dce3ef;
    border-radius: 11px;
    outline: 0;
    background: #f9fbff;
    color: #14223d;
    font-size: 14px;
    box-shadow: none;
}

body.bd-rs-custom-storefront .bd-rs-products-filter-form input:focus,
body.bd-rs-custom-storefront .bd-rs-products-filter-form select:focus {
    border-color: var(--bd-rs-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(47, 82, 235, .1);
}

body.bd-rs-custom-storefront .bd-rs-products-filter-button,
body.bd-rs-custom-storefront a.bd-rs-products-filter-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 17px;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--bd-rs-primary), #2446ca);
    color: #fff;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

body.bd-rs-custom-storefront .bd-rs-products-reset-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 8px 8px;
    color: #5f6d86;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

body.bd-rs-custom-storefront .bd-rs-products-toolbar-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    padding-bottom: 4px;
    white-space: nowrap;
}

body.bd-rs-custom-storefront .bd-rs-products-toolbar-meta strong {
    color: #14223d;
    font-size: 17px;
}

body.bd-rs-custom-storefront .bd-rs-products-toolbar-meta span {
    color: #7b879c;
    font-size: 12px;
}

body.bd-rs-custom-storefront .bd-rs-product-category-chips {
    display: flex;
    gap: 9px;
    margin: 0 0 22px;
    padding: 2px 0 7px;
    overflow-x: auto;
    scrollbar-width: thin;
}

body.bd-rs-custom-storefront .bd-rs-product-category-chips a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 15px;
    border: 1px solid #dfe5ef;
    border-radius: 999px;
    background: #fff;
    color: #45536c;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 7px 18px rgba(25, 42, 77, .04);
}

body.bd-rs-custom-storefront .bd-rs-product-category-chips a:hover,
body.bd-rs-custom-storefront .bd-rs-product-category-chips a.is-active {
    border-color: var(--bd-rs-primary);
    background: var(--bd-rs-primary);
    color: #fff;
}

body.bd-rs-custom-storefront .bd-rs-all-products-grid {
    align-items: stretch;
}

body.bd-rs-custom-storefront .bd-rs-products-pagination {
    margin-top: 30px;
}

body.bd-rs-custom-storefront .bd-rs-products-pagination ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.bd-rs-custom-storefront .bd-rs-products-pagination li {
    margin: 0;
}

body.bd-rs-custom-storefront .bd-rs-products-pagination a,
body.bd-rs-custom-storefront .bd-rs-products-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid #dfe5ef;
    border-radius: 11px;
    background: #fff;
    color: #35435d;
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
}

body.bd-rs-custom-storefront .bd-rs-products-pagination .current,
body.bd-rs-custom-storefront .bd-rs-products-pagination a:hover {
    border-color: var(--bd-rs-primary);
    background: var(--bd-rs-primary);
    color: #fff;
}

body.bd-rs-custom-storefront .bd-rs-products-empty-state {
    padding: 54px 24px;
}

@media (max-width: 1100px) {
    body.bd-rs-custom-storefront .bd-rs-products-toolbar-card {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    body.bd-rs-custom-storefront .bd-rs-products-filter-form {
        grid-template-columns: minmax(200px, 1.2fr) minmax(150px, .8fr) minmax(165px, .8fr) auto;
    }

    body.bd-rs-custom-storefront .bd-rs-products-reset-link {
        grid-column: 1 / -1;
        justify-content: flex-start;
        min-height: 30px;
    }

    body.bd-rs-custom-storefront .bd-rs-products-toolbar-meta {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

@media (max-width: 760px) {
    body.bd-rs-custom-storefront.bd-rs-store-view-products .bd-rs-all-products-page {
        padding-bottom: 34px;
    }

    body.bd-rs-custom-storefront.bd-rs-store-view-products .bd-rs-all-products-page .bd-rs-store-container {
        width: min(100% - 20px, 1280px);
    }

    body.bd-rs-custom-storefront .bd-rs-products-toolbar-card {
        gap: 14px;
        padding: 14px;
        border-radius: 16px;
    }

    body.bd-rs-custom-storefront .bd-rs-products-filter-form {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    body.bd-rs-custom-storefront .bd-rs-products-search-field,
    body.bd-rs-custom-storefront .bd-rs-products-filter-button,
    body.bd-rs-custom-storefront .bd-rs-products-reset-link {
        grid-column: 1 / -1;
    }

    body.bd-rs-custom-storefront .bd-rs-products-filter-button {
        width: 100%;
    }

    body.bd-rs-custom-storefront .bd-rs-products-toolbar-meta {
        align-items: flex-start;
        gap: 8px;
        white-space: normal;
    }
}

@media (max-width: 480px) {
    body.bd-rs-custom-storefront .bd-rs-products-filter-form {
        grid-template-columns: 1fr;
    }

    body.bd-rs-custom-storefront .bd-rs-products-filter-form > * {
        grid-column: 1 !important;
    }

    body.bd-rs-custom-storefront .bd-rs-products-toolbar-meta {
        flex-direction: column;
    }

    body.bd-rs-custom-storefront .bd-rs-product-category-chips a {
        min-height: 36px;
        padding: 7px 13px;
        font-size: 12px;
    }
}


.bd-rs-auth-form-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.bd-rs-auth-subtitle {
    margin: 8px 0 0;
    color: var(--bd-rs-muted);
    line-height: 1.6;
}

.bd-rs-login-action {
    min-width: 160px;
    min-height: 46px;
    border-radius: 14px;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(11, 26, 66, .08);
}

.bd-rs-login-required {
    background: linear-gradient(135deg, #eef4ff, #f7faff);
    border: 1px solid #d9e5ff;
}

.bd-rs-login-required-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bd-rs-login-required h3 {
    margin: 0;
    font-size: 28px;
    color: var(--bd-rs-dark);
}

.bd-rs-login-required p {
    margin: 0;
    color: var(--bd-rs-muted);
    line-height: 1.7;
}

.bd-rs-login-required-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 6px;
}

@media (max-width: 767px) {
    .bd-rs-auth-form-head {
        flex-direction: column;
        align-items: stretch;
    }

    .bd-rs-login-action {
        width: 100%;
    }

    .bd-rs-login-required h3 {
        font-size: 22px;
    }

    .bd-rs-login-required-actions .bd-rs-btn {
        width: 100%;
    }
}


.bd-rs-registration-instruction {
    margin: 30px 0 0;
    padding: 32px;
    background: #fff;
    border: 1px solid var(--bd-rs-border);
    border-radius: 22px;
    box-shadow: 0 16px 40px rgba(25,45,90,.08);
    overflow: hidden;
}

.bd-rs-registration-instruction h2,
.bd-rs-registration-instruction h3,
.bd-rs-registration-instruction h4 {
    color: var(--bd-rs-dark);
    line-height: 1.3;
}

.bd-rs-registration-instruction p,
.bd-rs-registration-instruction li {
    color: #4f5d73;
    line-height: 1.8;
}

.bd-rs-registration-instruction img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
}

.bd-rs-registration-instruction iframe,
.bd-rs-registration-instruction video {
    max-width: 100%;
}

@media (max-width: 767px) {
    .bd-rs-registration-instruction {
        margin-top: 22px;
        padding: 20px 16px;
        border-radius: 16px;
    }
}


/* Registration page collision fixes v1.9.4 */
.bd-rs-auth-wrap,
.bd-rs-auth-wrap * {
    box-sizing: border-box;
}

.bd-rs-auth-card {
    isolation: isolate;
}

.bd-rs-auth-intro h1,
.bd-rs-auth-form h2,
.bd-rs-auth-subtitle,
.bd-rs-registration-form label,
.bd-rs-registration-form .bd-rs-check {
    position: static !important;
    transform: none !important;
    float: none !important;
    text-indent: 0 !important;
    letter-spacing: normal !important;
    text-shadow: none !important;
}

.bd-rs-auth-intro h1 {
    display: block !important;
    margin: 14px 0 18px !important;
    padding: 0 !important;
    font-size: clamp(34px, 4vw, 46px) !important;
    line-height: 1.12 !important;
    font-weight: 800 !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
}

.bd-rs-auth-intro p {
    margin: 0 0 22px !important;
    font-size: 16px !important;
    line-height: 1.75 !important;
}

.bd-rs-auth-intro ul {
    margin: 0 !important;
    padding-left: 22px !important;
}

.bd-rs-auth-intro li {
    margin: 8px 0 !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
}

.bd-rs-auth-form-head {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 18px !important;
    margin: 0 0 24px !important;
}

.bd-rs-auth-form h2 {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 30px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    white-space: normal !important;
}

.bd-rs-auth-subtitle {
    display: block !important;
    margin: 8px 0 0 !important;
    padding: 0 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: var(--bd-rs-muted) !important;
    white-space: normal !important;
}

.bd-rs-login-action {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 170px !important;
    min-height: 48px !important;
    margin: 0 !important;
    padding: 12px 20px !important;
    border: 1px solid #cad5f5 !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #ffffff, #f4f7ff) !important;
    color: #2542d8 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    box-shadow: 0 10px 24px rgba(37,66,216,.12) !important;
}

.bd-rs-login-action:hover,
.bd-rs-login-action:focus-visible {
    background: linear-gradient(135deg, #2542d8, #3459ef) !important;
    color: #fff !important;
}

.bd-rs-registration-form {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.bd-rs-registration-form label {
    display: block !important;
    width: 100% !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
    color: var(--bd-rs-text) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    white-space: normal !important;
}

.bd-rs-registration-form input[type="text"],
.bd-rs-registration-form input[type="email"],
.bd-rs-registration-form input[type="password"] {
    display: block !important;
    width: 100% !important;
    min-height: 52px !important;
    margin: 8px 0 0 !important;
    padding: 12px 14px !important;
    border: 1px solid #dce3ef !important;
    border-radius: 13px !important;
    background: #fff !important;
    color: var(--bd-rs-text) !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
}

.bd-rs-registration-form .bd-rs-check {
    display: grid !important;
    grid-template-columns: 22px minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 10px !important;
    margin: 4px 0 22px !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    font-weight: 500 !important;
}

.bd-rs-registration-form .bd-rs-check input[type="checkbox"] {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    min-height: 0 !important;
    margin: 1px 0 0 !important;
    padding: 0 !important;
}

.bd-rs-registration-form .bd-rs-btn-primary {
    min-height: 50px !important;
    padding: 13px 24px !important;
    font-size: 15px !important;
    line-height: 1 !important;
}

@media (max-width: 767px) {
    .bd-rs-auth-wrap {
        margin: 24px auto !important;
        padding: 12px !important;
    }

    .bd-rs-auth-card {
        grid-template-columns: 1fr !important;
        border-radius: 20px !important;
    }

    .bd-rs-auth-intro {
        padding: 30px 24px !important;
    }

    .bd-rs-auth-intro h1 {
        font-size: 34px !important;
        line-height: 1.12 !important;
    }

    .bd-rs-auth-intro p {
        font-size: 15px !important;
        line-height: 1.7 !important;
    }

    .bd-rs-auth-form {
        padding: 28px 24px 32px !important;
    }

    .bd-rs-auth-form-head {
        grid-template-columns: 1fr !important;
        align-items: stretch !important;
        gap: 16px !important;
        margin-bottom: 24px !important;
    }

    .bd-rs-auth-form h2 {
        font-size: 28px !important;
        line-height: 1.2 !important;
    }

    .bd-rs-auth-subtitle {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }

    .bd-rs-login-action {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 50px !important;
        background: linear-gradient(135deg, #2542d8, #3459ef) !important;
        color: #fff !important;
    }

    .bd-rs-grid-2 {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    .bd-rs-registration-form label {
        margin-bottom: 17px !important;
        font-size: 14px !important;
    }

    .bd-rs-registration-form input[type="text"],
    .bd-rs-registration-form input[type="email"],
    .bd-rs-registration-form input[type="password"] {
        min-height: 50px !important;
        font-size: 16px !important;
    }

    .bd-rs-registration-form .bd-rs-btn-primary {
        width: 100% !important;
    }
}


/* v1.9.5 mobile reseller dashboard refresh */
.bd-rs-sidebar nav {
    margin-top: 8px;
    border-top: 1px solid rgba(255,255,255,.09);
}

.bd-rs-sidebar nav a {
    position: relative;
    padding: 13px 14px;
    border-bottom: 1px solid rgba(255,255,255,.09);
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.bd-rs-sidebar nav a:last-child {
    border-bottom: 0;
}

.bd-rs-sidebar nav a.active,
.bd-rs-sidebar nav a:hover {
    transform: translateX(2px);
}

.bd-rs-orders-table td strong,
.bd-rs-orders-table td small {
    display: block;
    line-height: 1.45;
}

.bd-rs-orders-table td small {
    margin-top: 4px;
    color: var(--bd-rs-muted);
    white-space: normal;
    overflow-wrap: anywhere;
}

@media (max-width: 768px) {
    .bd-rs-dashboard {
        margin: 16px 12px;
        border-radius: 22px;
        overflow: visible;
        box-shadow: 0 16px 36px rgba(17, 32, 59, .10);
    }

    .bd-rs-sidebar {
        padding: 22px 16px 18px;
        border-radius: 22px 22px 0 0;
        background: linear-gradient(180deg, #071b39 0%, #08162e 100%);
    }

    .bd-rs-brand {
        font-size: 24px;
        padding: 0 8px 18px;
        letter-spacing: -.02em;
    }

    .bd-rs-user {
        padding: 16px 10px 18px;
        margin-bottom: 4px;
        border-radius: 16px;
        background: rgba(255,255,255,.04);
        border: 1px solid rgba(255,255,255,.05);
    }

    .bd-rs-sidebar nav {
        background: rgba(255,255,255,.03);
        border: 1px solid rgba(255,255,255,.05);
        border-radius: 16px;
        overflow: hidden;
    }

    .bd-rs-sidebar nav a {
        margin: 0;
        padding: 13px 16px;
        border-radius: 0;
        font-size: 15px;
        font-weight: 600;
    }

    .bd-rs-sidebar nav a.active,
    .bd-rs-sidebar nav a:hover {
        transform: none;
        background: linear-gradient(90deg, #3b5bff 0%, #3050e5 100%);
        box-shadow: inset 3px 0 0 rgba(255,255,255,.55);
    }

    .bd-rs-main {
        padding: 18px 14px 22px;
        background: #f6f8fc;
        border-radius: 0 0 22px 22px;
    }

    .bd-rs-topbar {
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 16px;
        padding: 0 2px;
    }

    .bd-rs-topbar h1 {
        font-size: 31px !important;
        line-height: 1.1 !important;
        margin-bottom: 4px !important;
    }

    .bd-rs-topbar p {
        font-size: 13px !important;
        line-height: 1.55 !important;
    }

    .bd-rs-topbar .bd-rs-btn {
        min-height: 42px;
        padding: 10px 14px;
        font-size: 13px;
        align-self: flex-start;
        border-radius: 12px;
        box-shadow: 0 8px 18px rgba(42, 80, 229, .12);
    }

    .bd-rs-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin-bottom: 16px;
    }

    .bd-rs-cards article {
        padding: 16px 14px;
        border-radius: 16px;
        box-shadow: 0 12px 26px rgba(17, 32, 59, .06);
    }

    .bd-rs-cards span {
        display: block;
        font-size: 12px;
        margin-bottom: 8px;
    }

    .bd-rs-cards strong {
        font-size: 28px;
        line-height: 1.15;
        margin-top: 0;
        overflow-wrap: anywhere;
    }

    .bd-rs-panel {
        padding: 18px 14px;
        border-radius: 18px;
        box-shadow: 0 14px 30px rgba(17, 32, 59, .05);
    }

    .bd-rs-panel-head {
        flex-direction: row;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 14px;
        padding-bottom: 12px;
        border-bottom: 1px solid #edf1f7;
    }

    .bd-rs-panel-head h2 {
        font-size: 21px !important;
        line-height: 1.2 !important;
    }

    .bd-rs-panel-head a {
        font-size: 13px;
        font-weight: 700;
        white-space: nowrap;
    }

    .bd-rs-table-wrap {
        overflow: visible;
    }

    .bd-rs-orders-table,
    .bd-rs-orders-table thead,
    .bd-rs-orders-table tbody,
    .bd-rs-orders-table th,
    .bd-rs-orders-table td,
    .bd-rs-orders-table tr {
        display: block;
        width: 100%;
    }

    .bd-rs-orders-table thead {
        display: none;
    }

    .bd-rs-orders-table tbody {
        display: grid;
        gap: 14px;
    }

    .bd-rs-orders-table tr {
        padding: 14px;
        border: 1px solid #e9edf5;
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 8px 22px rgba(17, 32, 59, .05);
    }

    .bd-rs-orders-table td {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 10px;
        padding: 8px 0;
        border: 0;
        font-size: 14px;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .bd-rs-orders-table td::before {
        flex: 0 0 104px;
        max-width: 104px;
        content: '';
        color: #6f7b90;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: .02em;
        text-transform: uppercase;
        line-height: 1.5;
    }

    .bd-rs-orders-table td:nth-child(1)::before { content: 'Order'; }
    .bd-rs-orders-table td:nth-child(2)::before { content: 'Customer'; }
    .bd-rs-orders-table td:nth-child(3)::before { content: 'Amount'; }
    .bd-rs-orders-table td:nth-child(4)::before { content: 'Reseller status'; }
    .bd-rs-orders-table td:nth-child(5)::before { content: 'Woo status'; }
    .bd-rs-orders-table td:nth-child(6)::before { content: 'Action'; }

    .bd-rs-orders-table td:last-child {
        padding-top: 10px;
        margin-top: 2px;
        border-top: 1px dashed #e6ebf3;
    }

    .bd-rs-orders-table td:last-child .bd-rs-btn {
        width: auto;
        min-width: 112px;
        justify-content: center;
        border-radius: 11px;
        padding: 10px 14px;
    }
}

@media (max-width: 520px) {
    .bd-rs-dashboard {
        margin: 14px 10px;
    }

    .bd-rs-brand {
        font-size: 22px;
    }

    .bd-rs-topbar {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .bd-rs-topbar > div {
        flex: 1 1 100%;
    }

    .bd-rs-topbar .bd-rs-btn {
        width: auto;
    }

    .bd-rs-cards {
        grid-template-columns: 1fr;
    }

    .bd-rs-cards strong {
        font-size: 26px;
    }

    .bd-rs-panel-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .bd-rs-orders-table tr {
        padding: 12px;
    }

    .bd-rs-orders-table td {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .bd-rs-orders-table td::before {
        flex: none;
        max-width: none;
    }

    .bd-rs-orders-table td:last-child .bd-rs-btn {
        width: 100%;
    }
}

/* v1.9.6 premium Laravel-style reseller dashboard */
.bd-rs-brand {
    display:flex;
    align-items:center;
    gap:12px;
}
.bd-rs-brand > span:last-child {
    display:flex;
    flex-direction:column;
    min-width:0;
}
.bd-rs-brand strong {
    color:#fff;
    font-size:20px;
    line-height:1.15;
}
.bd-rs-brand small {
    margin-top:4px;
    color:rgba(255,255,255,.58);
    font-size:11px;
    font-weight:600;
    letter-spacing:.03em;
}
.bd-rs-brand-mark {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    border-radius:13px;
    background:linear-gradient(135deg,#4866ff,#2f49d9);
    color:#fff;
    font-size:13px;
    font-weight:900;
    box-shadow:0 10px 24px rgba(59,91,255,.28);
    flex:0 0 42px;
}
.bd-rs-user span i {
    display:inline-block;
    width:7px;
    height:7px;
    margin-right:5px;
    border-radius:50%;
    background:#37d67a;
    box-shadow:0 0 0 3px rgba(55,214,122,.14);
    vertical-align:1px;
}
.bd-rs-sidebar-nav .bd-rs-nav-link {
    display:grid;
    grid-template-columns:34px minmax(0,1fr) 18px;
    align-items:center;
    gap:10px;
}
.bd-rs-nav-icon {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:32px;
    height:32px;
    border-radius:9px;
    color:#aebfe0;
    background:rgba(255,255,255,.04);
}
.bd-rs-nav-icon svg {
    width:18px;
    height:18px;
    display:block;
}
.bd-rs-nav-label {
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.bd-rs-nav-chevron {
    color:rgba(255,255,255,.28);
    font-size:21px;
    line-height:1;
    text-align:right;
}
.bd-rs-sidebar nav a.active .bd-rs-nav-icon,
.bd-rs-sidebar nav a:hover .bd-rs-nav-icon {
    color:#fff;
    background:rgba(255,255,255,.16);
}
.bd-rs-sidebar nav a.active .bd-rs-nav-chevron,
.bd-rs-sidebar nav a:hover .bd-rs-nav-chevron {
    color:#fff;
}
.bd-rs-nav-logout {
    margin-top:8px !important;
    border-top:1px solid rgba(255,255,255,.09) !important;
    color:#ffb7b7 !important;
}
.bd-rs-nav-logout .bd-rs-nav-icon {
    color:#ff9f9f;
    background:rgba(255,99,99,.08);
}

.bd-rs-topbar {
    padding:18px 20px;
    border:1px solid #e8edf6;
    border-radius:18px;
    background:#fff;
    box-shadow:0 12px 28px rgba(15,31,63,.05);
}
.bd-rs-topbar h1 {
    letter-spacing:-.03em;
}
.bd-rs-topbar .bd-rs-btn-light {
    background:#f7f9ff;
    border-color:#dfe6ff;
}
.bd-rs-cards article {
    position:relative;
    overflow:hidden;
    box-shadow:0 14px 30px rgba(15,31,63,.06);
}
.bd-rs-cards article::after {
    content:'';
    position:absolute;
    width:90px;
    height:90px;
    right:-28px;
    top:-30px;
    border-radius:50%;
    background:linear-gradient(135deg,rgba(68,99,255,.12),rgba(68,99,255,0));
}
.bd-rs-cards article:nth-child(2)::after { background:linear-gradient(135deg,rgba(38,190,126,.13),rgba(38,190,126,0)); }
.bd-rs-cards article:nth-child(3)::after { background:linear-gradient(135deg,rgba(255,168,44,.15),rgba(255,168,44,0)); }
.bd-rs-cards article:nth-child(4)::after { background:linear-gradient(135deg,rgba(155,89,255,.14),rgba(155,89,255,0)); }
.bd-rs-cards strong {
    position:relative;
    z-index:1;
}

@media (max-width:768px) {
    .bd-rs-dashboard {
        background:#eef2f8;
    }
    .bd-rs-sidebar {
        padding:18px 14px 16px;
        box-shadow:0 18px 40px rgba(4,18,43,.22);
    }
    .bd-rs-brand {
        padding:0 4px 16px;
    }
    .bd-rs-brand strong { font-size:18px; }
    .bd-rs-brand small { font-size:10px; }
    .bd-rs-brand-mark {
        width:40px;
        height:40px;
        flex-basis:40px;
        border-radius:12px;
    }
    .bd-rs-user {
        gap:12px;
    }
    .bd-rs-user img {
        width:46px !important;
        height:46px !important;
        border:2px solid rgba(255,255,255,.16);
    }
    .bd-rs-sidebar-nav .bd-rs-nav-link {
        grid-template-columns:32px minmax(0,1fr) 16px;
        gap:9px;
        min-height:50px;
        padding:9px 12px;
        font-size:14px;
    }
    .bd-rs-nav-icon {
        width:31px;
        height:31px;
        border-radius:9px;
    }
    .bd-rs-nav-icon svg {
        width:17px;
        height:17px;
    }
    .bd-rs-main {
        padding:14px 12px 20px;
    }
    .bd-rs-topbar {
        padding:16px;
        border-radius:16px;
        margin-bottom:14px;
    }
    .bd-rs-topbar h1 {
        font-size:26px !important;
    }
    .bd-rs-topbar .bd-rs-btn {
        border-radius:11px;
        font-weight:800;
    }
    .bd-rs-cards article {
        border-radius:17px;
        border-color:#e7ecf4;
        background:linear-gradient(180deg,#fff,#fbfcff);
    }
    .bd-rs-panel {
        border-color:#e7ecf4;
        background:#fff;
    }
    .bd-rs-orders-table tr {
        border-color:#e6ebf3;
        box-shadow:0 10px 24px rgba(15,31,63,.055);
    }
    .bd-rs-orders-table td::before {
        color:#8090a8;
        font-size:11px;
    }
    .bd-rs-orders-table td {
        color:#17233a;
        line-height:1.55;
    }
}

@media (max-width:520px) {
    .bd-rs-dashboard {
        margin:10px 8px;
        border-radius:20px;
    }
    .bd-rs-sidebar {
        border-radius:20px 20px 0 0;
    }
    .bd-rs-main {
        border-radius:0 0 20px 20px;
    }
    .bd-rs-topbar {
        gap:10px;
    }
    .bd-rs-topbar .bd-rs-btn {
        width:100%;
    }
    .bd-rs-cards article {
        padding:17px 15px;
    }
    .bd-rs-orders-table td {
        padding:7px 0;
    }
}

/* v1.9.7 compact orders, responsive order details and email settings */
.bd-rs-overview-action {
    display:flex;
    justify-content:flex-end;
    margin-top:4px;
}

.bd-rs-orders-panel {
    overflow:hidden;
}

.bd-rs-order-count {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:34px;
    padding:7px 12px;
    border-radius:999px;
    background:#eef3ff;
    color:#2d4dd7;
    font-size:12px;
    font-weight:800;
    white-space:nowrap;
}

.bd-rs-order-list {
    width:100%;
    border:1px solid #e8edf5;
    border-radius:14px;
    overflow:hidden;
    background:#fff;
}

.bd-rs-order-list-head,
.bd-rs-order-list-row {
    display:grid;
    grid-template-columns:minmax(95px,.8fr) minmax(170px,1.4fr) minmax(105px,.8fr) minmax(120px,.9fr) minmax(120px,.9fr) 92px;
    align-items:center;
    gap:12px;
}

.bd-rs-order-list-head {
    padding:12px 14px;
    background:#f6f8fc;
    color:#748199;
    font-size:12px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.03em;
}

.bd-rs-order-list-row {
    padding:12px 14px;
    border-top:1px solid #edf1f6;
    min-width:0;
}

.bd-rs-order-list-row:first-of-type {
    border-top:0;
}

.bd-rs-order-list-row > div {
    min-width:0;
}

.bd-rs-order-list-row strong,
.bd-rs-order-list-row small {
    display:block;
    line-height:1.35;
}

.bd-rs-order-list-row small {
    margin-top:3px;
    color:#7a879d;
    font-size:12px;
    white-space:normal;
    overflow-wrap:anywhere;
}

.bd-rs-order-list-customer strong,
.bd-rs-order-list-order strong {
    white-space:normal;
    overflow-wrap:anywhere;
}

.bd-rs-order-list-amount {
    font-weight:800;
    color:#17233a;
}

.bd-rs-order-list-action {
    text-align:right;
}

.bd-rs-order-list-action .bd-rs-btn {
    width:100%;
    min-width:0;
    padding:9px 10px;
}

.bd-rs-order-list-empty {
    padding:28px 18px;
    text-align:center;
    color:#76839a;
}

.bd-rs-order-pagination {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    justify-content:center;
    margin-top:18px;
}

.bd-rs-order-pagination a {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:38px;
    height:38px;
    padding:0 10px;
    border:1px solid #dfe5ef;
    border-radius:10px;
    background:#fff;
    color:#22324e;
    text-decoration:none;
    font-weight:800;
}

.bd-rs-order-pagination a.active,
.bd-rs-order-pagination a:hover {
    background:#2f4de0;
    border-color:#2f4de0;
    color:#fff;
}

.bd-rs-order-detail-panel,
.bd-rs-order-products,
.bd-rs-order-products .bd-rs-table-wrap,
.bd-rs-order-items-table {
    width:100%;
    max-width:100%;
    min-width:0;
}

@media (max-width: 980px) {
    .bd-rs-order-list-head {
        display:none;
    }

    .bd-rs-order-list {
        border-radius:12px;
    }

    .bd-rs-order-list-row {
        grid-template-columns:minmax(92px,.8fr) minmax(140px,1.35fr) minmax(92px,.75fr) minmax(92px,.8fr) 82px;
        gap:9px;
        padding:11px 12px;
    }

    .bd-rs-order-list-row > div:nth-child(5) {
        display:none;
    }

    .bd-rs-order-list-row .bd-rs-badge {
        max-width:100%;
        overflow:hidden;
        text-overflow:ellipsis;
        white-space:nowrap;
    }
}

@media (max-width: 640px) {
    .bd-rs-overview-action .bd-rs-btn {
        width:100%;
    }

    .bd-rs-orders-panel {
        padding:14px 10px !important;
    }

    .bd-rs-orders-panel .bd-rs-panel-head {
        flex-direction:row;
        align-items:center;
        gap:8px;
        padding:0 2px 10px;
        margin-bottom:0;
    }

    .bd-rs-orders-panel .bd-rs-panel-head p {
        display:none;
    }

    .bd-rs-order-list {
        border-left:0;
        border-right:0;
        border-radius:0;
    }

    .bd-rs-order-list-row {
        display:grid !important;
        grid-template-columns:72px minmax(0,1fr) 82px 74px !important;
        align-items:center;
        gap:8px;
        padding:10px 6px;
        border-top:1px solid #e9edf4;
        box-shadow:none !important;
        border-radius:0 !important;
        background:#fff;
    }

    .bd-rs-order-list-row > div {
        display:block !important;
        padding:0 !important;
        margin:0 !important;
        border:0 !important;
    }

    .bd-rs-order-list-row > div:nth-child(5) {
        display:none !important;
    }

    .bd-rs-order-list-row > div::before {
        display:none !important;
        content:none !important;
    }

    .bd-rs-order-list-row strong {
        font-size:13px;
    }

    .bd-rs-order-list-row small {
        font-size:10px;
        margin-top:2px;
    }

    .bd-rs-order-list-customer strong {
        white-space:nowrap;
        overflow:hidden;
        text-overflow:ellipsis;
    }

    .bd-rs-order-list-amount {
        font-size:12px;
        text-align:right;
        white-space:nowrap;
    }

    .bd-rs-order-list-row .bd-rs-badge {
        display:block;
        padding:5px 6px;
        font-size:10px;
        text-align:center;
    }

    .bd-rs-order-list-action .bd-rs-btn {
        width:100% !important;
        min-width:0 !important;
        padding:8px 6px !important;
        font-size:11px !important;
        border-radius:8px !important;
    }

    .bd-rs-order-detail-panel {
        padding:14px 10px !important;
        overflow:hidden;
    }

    .bd-rs-order-products {
        padding:12px !important;
        overflow:hidden;
    }

    .bd-rs-order-products .bd-rs-table-wrap {
        overflow:visible !important;
    }

    .bd-rs-order-items-table,
    .bd-rs-order-items-table thead,
    .bd-rs-order-items-table tbody,
    .bd-rs-order-items-table tr,
    .bd-rs-order-items-table th,
    .bd-rs-order-items-table td {
        display:block;
        width:100%;
        max-width:100%;
    }

    .bd-rs-order-items-table thead {
        display:none;
    }

    .bd-rs-order-items-table tbody {
        display:grid;
        gap:12px;
    }

    .bd-rs-order-items-table tr {
        padding:12px;
        border:1px solid #e7ecf4;
        border-radius:14px;
        background:#fff;
    }

    .bd-rs-order-items-table td {
        display:flex;
        align-items:flex-start;
        justify-content:space-between;
        gap:10px;
        padding:7px 0 !important;
        border:0 !important;
        white-space:normal !important;
        overflow-wrap:anywhere;
    }

    .bd-rs-order-items-table td::before {
        flex:0 0 78px;
        color:#7b8799;
        font-size:11px;
        font-weight:800;
        text-transform:uppercase;
        letter-spacing:.02em;
    }

    .bd-rs-order-items-table td:nth-child(1) {
        display:block;
        padding-bottom:10px !important;
        margin-bottom:4px;
        border-bottom:1px solid #edf1f6 !important;
    }

    .bd-rs-order-items-table td:nth-child(1)::before {
        display:none;
    }

    .bd-rs-order-items-table td:nth-child(2)::before { content:'Options'; }
    .bd-rs-order-items-table td:nth-child(3)::before { content:'Quantity'; }
    .bd-rs-order-items-table td:nth-child(4)::before { content:'Unit Price'; }
    .bd-rs-order-items-table td:nth-child(5)::before { content:'Total'; }

    .bd-rs-order-product-cell {
        min-width:0;
        width:100%;
        align-items:center;
    }

    .bd-rs-order-product-cell > div {
        min-width:0;
    }

    .bd-rs-order-product-cell strong {
        white-space:normal;
        overflow-wrap:anywhere;
    }

    .bd-rs-order-status-box {
        padding:16px 14px;
    }
}

@media (max-width: 640px) {
    .bd-rs-order-list-row > div:nth-child(4),
    .bd-rs-order-list-row > div:nth-child(5) {
        display:none !important;
    }
}

/* Customer account login redesign v1.9.8 */
.bd-rs-customer-account-page {
    padding-top: 12px;
}

.bd-rs-customer-login-card {
    display: grid;
    grid-template-columns: minmax(320px, 1.05fr) minmax(360px, .95fr);
    align-items: stretch;
    border: 1px solid #e4eaf4;
    border-radius: 26px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(19, 41, 89, 0.10);
}

.bd-rs-customer-login-copy {
    position: relative;
    background: linear-gradient(135deg, #0f2450 0%, #1d3f96 45%, #2f55d8 100%);
    color: #fff;
    min-height: 100%;
}

.bd-rs-customer-login-copy::after {
    content: "";
    position: absolute;
    inset: auto -80px -80px auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    filter: blur(2px);
}

.bd-rs-customer-login-copy-inner {
    position: relative;
    z-index: 1;
    max-width: 520px;
    padding: 52px 48px;
}

.bd-rs-customer-login-copy > span,
.bd-rs-customer-login-copy-inner > span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #dce7ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.bd-rs-customer-login-copy h2 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 32px;
    line-height: 1.18;
    font-weight: 800;
}

.bd-rs-customer-login-copy p {
    margin: 0;
    color: #e3ebff;
    font-size: 16px;
    line-height: 1.75;
}

.bd-rs-customer-login-copy ul {
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.bd-rs-customer-login-copy li {
    position: relative;
    margin: 12px 0;
    padding-left: 28px;
    color: #fff;
    font-size: 16px;
    line-height: 1.6;
}

.bd-rs-customer-login-copy li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #7ff0ad;
    font-weight: 900;
}

.bd-rs-customer-login-note {
    margin-top: 28px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    color: #f4f7ff;
    font-size: 14px;
    line-height: 1.75;
}

.bd-rs-customer-login-form {
    padding: 36px;
    background: #f8fbff;
}

.bd-rs-customer-form-shell {
    height: 100%;
    padding: 14px;
    border: 1px solid #e3eaf4;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.65);
}

.bd-rs-customer-form-head {
    margin-bottom: 18px;
}

.bd-rs-customer-form-head > span {
    display: inline-block;
    margin-bottom: 8px;
    color: #2f55d8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.bd-rs-customer-login-form h3 {
    margin: 0 0 10px;
    color: #0f2450;
    font-size: 34px;
    line-height: 1.2;
    font-weight: 800;
}

.bd-rs-customer-form-head p {
    margin: 0;
    color: #5f6f86;
    font-size: 15px;
    line-height: 1.75;
}

.bd-rs-customer-login-notices {
    display: grid;
    gap: 12px;
    margin-bottom: 16px;
}

.bd-rs-customer-login-form .bd-rs-alert {
    margin: 0;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.7;
}

.bd-rs-customer-login-form-fields {
    display: grid;
    gap: 16px;
}

.bd-rs-customer-login-form label {
    display: block;
    margin: 0;
    color: #24324d;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
}

.bd-rs-customer-login-form label > span {
    display: block;
    margin-bottom: 7px;
}

.bd-rs-customer-login-form input[type="text"],
.bd-rs-customer-login-form input[type="password"] {
    width: 100%;
    height: 56px;
    margin: 0;
    padding: 0 16px;
    border: 1px solid #d7e1ef;
    border-radius: 14px;
    background: #fff;
    color: #15223a;
    font-size: 15px;
    line-height: 56px;
    box-shadow: 0 8px 18px rgba(10, 37, 64, .04);
}

.bd-rs-customer-login-form input[type="text"]:focus,
.bd-rs-customer-login-form input[type="password"]:focus {
    outline: none;
    border-color: #2f55d8;
    box-shadow: 0 0 0 4px rgba(47, 85, 216, 0.12);
}

.bd-rs-customer-remember {
    display: flex !important;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #5f6f86 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.6 !important;
}

.bd-rs-customer-remember input[type="checkbox"] {
    margin: 0;
    flex: 0 0 auto;
}

.bd-rs-customer-login-form .bd-rs-btn {
    width: 100%;
    min-height: 54px;
    border-radius: 14px;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 16px 28px rgba(47, 85, 216, 0.18);
}

@media (max-width: 991px) {
    .bd-rs-customer-login-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .bd-rs-customer-login-form {
        padding: 16px;
    }

    .bd-rs-customer-login-copy-inner,
    .bd-rs-customer-login-form .bd-rs-customer-form-shell {
        padding: 26px 20px;
    }

    .bd-rs-customer-login-copy h2 {
        font-size: 28px;
    }

    .bd-rs-customer-login-form h3 {
        font-size: 26px;
    }

    .bd-rs-customer-login-copy p,
    .bd-rs-customer-login-copy li,
    .bd-rs-customer-form-head p,
    .bd-rs-customer-login-form .bd-rs-alert {
        font-size: 14px;
        line-height: 1.7;
    }

    .bd-rs-customer-login-card {
        border-radius: 20px;
    }

    .bd-rs-customer-login-copy,
    .bd-rs-customer-login-form {
        padding: 0;
    }
}

/* v1.9.9 checkout product removal and live total refresh */
.bd-rs-native-checkout-summary .bd-rs-checkout-product-name {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
}

.bd-rs-native-checkout-summary .bd-rs-checkout-product-title {
    min-width: 0;
    flex: 1 1 auto;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.bd-rs-checkout-remove-item {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 30px;
    margin: 0;
    padding: 5px 9px;
    border: 1px solid #fecaca;
    border-radius: 9px;
    background: #fff5f5;
    color: #c62828;
    font-family: inherit;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
    transition: background .18s ease, border-color .18s ease, opacity .18s ease;
}

.bd-rs-checkout-remove-item > span {
    font-size: 17px;
    font-style: normal;
    line-height: .8;
}

.bd-rs-checkout-remove-item > em {
    font-style: normal;
}

.bd-rs-checkout-remove-item:hover,
.bd-rs-checkout-remove-item:focus-visible {
    border-color: #ef4444;
    background: #fee2e2;
    color: #991b1b;
    outline: none;
}

.bd-rs-checkout-remove-item.is-loading {
    opacity: .62;
    cursor: wait;
}

.bd-rs-checkout-remove-toast {
    position: fixed;
    z-index: 999999;
    right: 22px;
    top: 22px;
    max-width: min(390px, calc(100vw - 32px));
    padding: 14px 17px;
    border: 1px solid #bbf7d0;
    border-radius: 13px;
    background: #f0fdf4;
    color: #166534;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.55;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .16);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity .22s ease, transform .22s ease;
}

.bd-rs-checkout-remove-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.bd-rs-checkout-remove-toast.is-error {
    border-color: #fecaca;
    background: #fff1f2;
    color: #9f1239;
}

@media (max-width: 700px) {
    .bd-rs-native-checkout-summary .bd-rs-checkout-product-name {
        gap: 8px;
    }

    .bd-rs-checkout-remove-item {
        min-width: 31px;
        width: 31px;
        height: 31px;
        padding: 0;
        border-radius: 50%;
    }

    .bd-rs-checkout-remove-item > em {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0,0,0,0);
        white-space: nowrap;
        border: 0;
    }

    .bd-rs-checkout-remove-toast {
        right: 16px;
        top: 16px;
    }
}

/* v1.9.10 force visible checkout remove controls in custom theme summary */
.bd-rs-removable-order-summary .bdco-summary-title-wrap {
    min-width: 0;
    width: 100%;
}

.bd-rs-removable-order-summary .bd-rs-checkout-product-name {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 12px !important;
    width: 100% !important;
    min-width: 0 !important;
}

.bd-rs-removable-order-summary .bd-rs-checkout-product-title {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.bd-rs-removable-order-summary .bd-rs-checkout-remove-item {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    z-index: 2 !important;
    flex: 0 0 auto !important;
}

@media (max-width: 700px) {
    .bd-rs-removable-order-summary .bdco-summary-topline {
        align-items: flex-start !important;
    }

    .bd-rs-removable-order-summary .bd-rs-checkout-product-name {
        gap: 8px !important;
    }
}


/* v1.9.11 professional mobile checkout item layout */
.bd-rs-removable-order-summary .bdco-summary-item,
.bd-rs-removable-order-summary .bdco-summary-content,
.bd-rs-removable-order-summary .bdco-summary-topline,
.bd-rs-removable-order-summary .bdco-summary-title-wrap,
.bd-rs-removable-order-summary .bd-rs-checkout-product-name,
.bd-rs-removable-order-summary .bd-rs-checkout-product-title,
.bd-rs-removable-order-summary .bdco-summary-title,
.bd-rs-removable-order-summary .bdco-summary-title a {
    min-width: 0 !important;
    max-width: 100% !important;
}

.bd-rs-removable-order-summary .bdco-summary-title,
.bd-rs-removable-order-summary .bdco-summary-title a {
    word-break: normal !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    hyphens: none !important;
}

@media (max-width: 700px) {
    .bd-rs-removable-order-summary .bdco-summary-items {
        gap: 12px !important;
    }

    .bd-rs-removable-order-summary .bdco-summary-item {
        position: relative !important;
        display: grid !important;
        grid-template-columns: 74px minmax(0, 1fr) !important;
        align-items: start !important;
        gap: 12px !important;
        width: 100% !important;
        padding: 12px !important;
        border: 1px solid #e7ebf2 !important;
        border-radius: 16px !important;
        background: #ffffff !important;
        box-shadow: 0 8px 22px rgba(15, 23, 42, .05) !important;
        box-sizing: border-box !important;
    }

    .bd-rs-removable-order-summary .bdco-summary-thumb-wrap {
        width: 74px !important;
        min-width: 74px !important;
        max-width: 74px !important;
        flex: 0 0 74px !important;
    }

    .bd-rs-removable-order-summary .bdco-summary-thumb {
        width: 74px !important;
        height: 74px !important;
        border-radius: 13px !important;
    }

    .bd-rs-removable-order-summary .bdco-summary-content {
        width: 100% !important;
        min-width: 0 !important;
        padding-right: 0 !important;
    }

    .bd-rs-removable-order-summary .bdco-summary-topline {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .bd-rs-removable-order-summary .bdco-summary-title-wrap,
    .bd-rs-removable-order-summary .bd-rs-checkout-product-name {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .bd-rs-removable-order-summary .bd-rs-checkout-product-title {
        display: block !important;
        width: 100% !important;
        padding-right: 42px !important;
        box-sizing: border-box !important;
    }

    .bd-rs-removable-order-summary .bdco-summary-title {
        display: block !important;
        margin: 0 !important;
        color: #111827 !important;
        font-size: 16px !important;
        font-weight: 800 !important;
        line-height: 1.45 !important;
        letter-spacing: normal !important;
        text-align: left !important;
    }

    .bd-rs-removable-order-summary .bdco-summary-title a {
        display: block !important;
        width: 100% !important;
        color: inherit !important;
        font-size: inherit !important;
        font-weight: inherit !important;
        line-height: inherit !important;
        text-decoration: none !important;
    }

    .bd-rs-removable-order-summary .bd-rs-checkout-remove-item {
        position: absolute !important;
        top: 10px !important;
        right: 10px !important;
        z-index: 5 !important;
        width: 32px !important;
        min-width: 32px !important;
        height: 32px !important;
        min-height: 32px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        box-shadow: 0 5px 14px rgba(198, 40, 40, .10) !important;
    }

    .bd-rs-removable-order-summary .bdco-summary-meta,
    .bd-rs-removable-order-summary .bdco-summary-weight {
        margin-top: 6px !important;
        color: #64748b !important;
        font-size: 12px !important;
        line-height: 1.55 !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
    }

    .bd-rs-removable-order-summary .bdco-summary-price,
    .bd-rs-removable-order-summary .bdco-summary-price .amount,
    .bd-rs-removable-order-summary .bdco-summary-price .woocommerce-Price-amount {
        display: block !important;
        width: 100% !important;
        margin-top: 8px !important;
        color: #0f172a !important;
        font-size: 16px !important;
        font-weight: 800 !important;
        line-height: 1.3 !important;
        text-align: left !important;
        white-space: nowrap !important;
    }

    .bd-rs-removable-order-summary .bdco-summary-qty-badge {
        top: -6px !important;
        right: -6px !important;
        min-width: 25px !important;
        height: 25px !important;
        font-size: 11px !important;
    }
}

@media (max-width: 380px) {
    .bd-rs-removable-order-summary .bdco-summary-item {
        grid-template-columns: 64px minmax(0, 1fr) !important;
        gap: 10px !important;
        padding: 10px !important;
    }

    .bd-rs-removable-order-summary .bdco-summary-thumb-wrap,
    .bd-rs-removable-order-summary .bdco-summary-thumb {
        width: 64px !important;
        min-width: 64px !important;
        max-width: 64px !important;
        height: 64px !important;
    }

    .bd-rs-removable-order-summary .bdco-summary-title {
        font-size: 15px !important;
    }
}


/* v2.0.0 shared WooCommerce catalog */
.bd-rs-catalog-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 20px;
    padding: 16px 18px;
    border: 1px solid #cfe0ff;
    border-radius: 14px;
    background: linear-gradient(135deg, #f3f7ff, #eef4ff);
    color: #31415e;
}
.bd-rs-catalog-notice strong { color: #163b8f; white-space: nowrap; }
.bd-rs-catalog-notice span { line-height: 1.65; }
.bd-rs-shared-products-table td { vertical-align: middle; }
@media (max-width: 700px) {
    .bd-rs-catalog-notice { flex-direction: column; gap: 5px; }
    .bd-rs-catalog-notice strong { white-space: normal; }
    .bd-rs-shared-products-table,
    .bd-rs-shared-products-table thead,
    .bd-rs-shared-products-table tbody,
    .bd-rs-shared-products-table tr,
    .bd-rs-shared-products-table th,
    .bd-rs-shared-products-table td { display: block; width: 100%; }
    .bd-rs-shared-products-table thead { display: none; }
    .bd-rs-shared-products-table tr { margin-bottom: 14px; padding: 14px; border: 1px solid #e7ecf4; border-radius: 14px; background: #fff; }
    .bd-rs-shared-products-table td { padding: 7px 0; border: 0; white-space: normal; overflow-wrap: anywhere; }
}

/* v2.1.0 commission and accounts system */
.bd-rs-overview-actions{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 22px}
.bd-rs-account-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}
.bd-rs-account-summary-grid article{position:relative;overflow:hidden;padding:20px;border:1px solid #e5eaf2;border-radius:16px;background:#fff;box-shadow:0 12px 28px rgba(17,32,59,.06)}
.bd-rs-account-summary-grid article::after{content:"";position:absolute;right:-30px;bottom:-35px;width:90px;height:90px;border-radius:50%;background:rgba(47,77,224,.07)}
.bd-rs-account-summary-grid span{display:block;color:#6f7b8f;font-size:12px;font-weight:600;margin-bottom:9px}
.bd-rs-account-summary-grid strong{position:relative;z-index:1;display:block;color:#10213f;font-size:24px;line-height:1.25;overflow-wrap:anywhere}
.bd-rs-account-ledger .bd-rs-table td{white-space:normal;vertical-align:top}
.bd-rs-account-credit{color:#087443;font-weight:800}
.bd-rs-account-debit{color:#b42318;font-weight:800}
.bd-rs-commission-badge{background:#ecfdf3;color:#067647;text-transform:none}
.bd-rs-profit-value{color:#067647;white-space:nowrap}
.bd-rs-order-summary-grid-six{grid-template-columns:repeat(3,minmax(0,1fr))}
.bd-rs-shared-products-table th,.bd-rs-shared-products-table td{vertical-align:middle}
.bd-rs-order-items-table th,.bd-rs-order-items-table td{vertical-align:middle}

@media(max-width:1100px){
  .bd-rs-account-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bd-rs-order-summary-grid-six{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:700px){
  .bd-rs-account-summary-grid{grid-template-columns:1fr;gap:12px}
  .bd-rs-account-summary-grid article{padding:17px}
  .bd-rs-account-summary-grid strong{font-size:22px}
  .bd-rs-order-summary-grid-six{grid-template-columns:1fr}
  .bd-rs-account-ledger .bd-rs-table-wrap{overflow-x:auto}
  .bd-rs-account-ledger .bd-rs-table{min-width:760px}
  .bd-rs-shared-products-table{min-width:980px}
  .bd-rs-order-items-table{min-width:940px}
}


/* v2.1.3: order-received billing/shipping address mobile stability */
body.bd-rs-custom-storefront .bd-rs-store-thankyou-page .woocommerce-customer-details,
body.bd-rs-custom-storefront .bd-rs-store-thankyou-page .woocommerce-columns--addresses,
body.bd-rs-custom-storefront .bd-rs-store-thankyou-page .woocommerce-column,
body.bd-rs-custom-storefront .bd-rs-store-thankyou-page .woocommerce-column--billing-address,
body.bd-rs-custom-storefront .bd-rs-store-thankyou-page .woocommerce-column--shipping-address {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

body.bd-rs-custom-storefront .bd-rs-store-thankyou-page .woocommerce-columns--addresses {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
    margin: 24px 0 0 !important;
}

body.bd-rs-custom-storefront .bd-rs-store-thankyou-page .woocommerce-column {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.bd-rs-custom-storefront .bd-rs-store-thankyou-page .woocommerce-column__title {
    position: static !important;
    float: none !important;
    width: auto !important;
    height: auto !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    color: #18233b !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    letter-spacing: normal !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    transform: none !important;
}

body.bd-rs-custom-storefront .bd-rs-store-thankyou-page .woocommerce-column address {
    position: static !important;
    display: block !important;
    float: none !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 18px 20px !important;
    border: 1px solid #e4e9f1 !important;
    border-radius: 14px !important;
    background: #fff !important;
    color: #26324a !important;
    font-size: 15px !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: 1.75 !important;
    letter-spacing: normal !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    box-shadow: 0 8px 24px rgba(24, 35, 59, .04) !important;
    transform: none !important;
    box-sizing: border-box !important;
}

body.bd-rs-custom-storefront .bd-rs-store-thankyou-page .woocommerce-column address br {
    display: block !important;
    content: "" !important;
    margin-top: 5px !important;
}

body.bd-rs-custom-storefront .bd-rs-store-thankyou-page .woocommerce-column address p,
body.bd-rs-custom-storefront .bd-rs-store-thankyou-page .woocommerce-customer-details--phone,
body.bd-rs-custom-storefront .bd-rs-store-thankyou-page .woocommerce-customer-details--email {
    position: static !important;
    display: block !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 12px 0 0 !important;
    padding: 12px 0 0 34px !important;
    border-top: 1px solid #edf0f5 !important;
    color: #26324a !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.6 !important;
    letter-spacing: normal !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
    transform: none !important;
    box-sizing: border-box !important;
}

body.bd-rs-custom-storefront .bd-rs-store-thankyou-page .woocommerce-customer-details--phone::before,
body.bd-rs-custom-storefront .bd-rs-store-thankyou-page .woocommerce-customer-details--email::before {
    position: absolute !important;
    left: 0 !important;
    top: 12px !important;
    margin: 0 !important;
    line-height: 1 !important;
}

@media (max-width: 700px) {
    body.bd-rs-custom-storefront .bd-rs-store-thankyou-page .woocommerce-columns--addresses {
        grid-template-columns: 1fr !important;
        gap: 22px !important;
    }

    body.bd-rs-custom-storefront .bd-rs-store-thankyou-page .woocommerce-column__title {
        font-size: 22px !important;
        line-height: 1.3 !important;
    }

    body.bd-rs-custom-storefront .bd-rs-store-thankyou-page .woocommerce-column address {
        padding: 16px !important;
        font-size: 14px !important;
        line-height: 1.75 !important;
    }

    body.bd-rs-custom-storefront .bd-rs-store-thankyou-page .woocommerce-customer-details--phone,
    body.bd-rs-custom-storefront .bd-rs-store-thankyou-page .woocommerce-customer-details--email {
        padding-left: 30px !important;
        font-size: 14px !important;
        line-height: 1.6 !important;
    }
}

/* v2.2.0 subscription and unpaid branding */
body.bd-rs-unpaid-branding .bd-rs-custom-header.bd-rs-unpaid-header {
    background: var(--bd-unpaid-header-bg, #fff);
    border-bottom-color: color-mix(in srgb, var(--bd-unpaid-header-text, #15233b) 14%, transparent);
    box-shadow: 0 10px 32px rgba(15, 32, 64, .10);
}

body.bd-rs-unpaid-branding .bd-rs-unpaid-header .bd-rs-header-brand,
body.bd-rs-unpaid-branding .bd-rs-unpaid-header .bd-rs-custom-nav a {
    color: var(--bd-unpaid-header-text, #15233b);
}

body.bd-rs-unpaid-branding .bd-rs-unpaid-header .bd-rs-custom-nav a::after {
    background: var(--bd-unpaid-header-accent, #2542d8);
}

body.bd-rs-unpaid-branding .bd-rs-unpaid-header .bd-rs-custom-nav a:hover {
    color: var(--bd-unpaid-header-accent, #2542d8);
}

body.bd-rs-unpaid-branding .bd-rs-unpaid-header .bd-rs-logo-fallback,
body.bd-rs-unpaid-branding .bd-rs-unpaid-header .bd-rs-store-cart-icon {
    background: var(--bd-unpaid-header-accent, #2542d8);
}

body.bd-rs-unpaid-branding .bd-rs-unpaid-header .bd-rs-store-cart,
body.bd-rs-unpaid-branding .bd-rs-unpaid-header .bd-rs-store-account-link {
    color: var(--bd-unpaid-header-accent, #2542d8);
    border-color: color-mix(in srgb, var(--bd-unpaid-header-accent, #2542d8) 24%, #fff);
    background: color-mix(in srgb, var(--bd-unpaid-header-accent, #2542d8) 8%, #fff);
}

.bd-rs-unpaid-footer {
    margin-top: 60px;
    color: var(--bd-unpaid-footer-text, #dbe5f4);
    background: var(--bd-unpaid-footer-bg, #071b35);
    border-top: 4px solid var(--bd-unpaid-footer-accent, #f3a63b);
}

.bd-rs-unpaid-footer-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 34px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.bd-rs-unpaid-footer-brand {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.bd-rs-unpaid-footer-brand img {
    width: 92px;
    height: 64px;
    object-fit: contain;
    padding: 6px;
    border-radius: 14px;
    background: #fff;
}

.bd-rs-unpaid-footer-brand strong {
    display: block;
    color: #fff;
    font-size: 20px;
    line-height: 1.3;
}

.bd-rs-unpaid-footer-brand p {
    margin: 8px 0 0;
    max-width: 560px;
    color: var(--bd-unpaid-footer-text, #dbe5f4);
    font-size: 14px;
    line-height: 1.7;
}

.bd-rs-unpaid-footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.bd-rs-unpaid-footer-contact a {
    color: var(--bd-unpaid-footer-text, #dbe5f4);
    text-decoration: none;
    font-weight: 700;
}

.bd-rs-unpaid-footer-contact a:hover,
.bd-rs-unpaid-powered a:hover {
    color: var(--bd-unpaid-footer-accent, #f3a63b);
}

.bd-rs-unpaid-footer-bottom {
    min-height: 62px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-top: 1px solid rgba(255,255,255,.10);
    background: rgba(0,0,0,.16);
    color: var(--bd-unpaid-footer-text, #dbe5f4);
    font-size: 13px;
}

.bd-rs-unpaid-footer-bottom > * {
    max-width: 620px;
}

.bd-rs-unpaid-powered a {
    color: var(--bd-unpaid-footer-accent, #f3a63b);
    font-weight: 800;
    text-decoration: none;
}

.bd-rs-subscription-panel {
    overflow: hidden;
}

.bd-rs-subscription-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #eef2f7;
    color: #344054;
    font-size: 13px;
    font-weight: 800;
}

.bd-rs-subscription-badge.status-paid { background: #dcfae6; color: #067647; }
.bd-rs-subscription-badge.status-grace { background: #fef0c7; color: #93370d; }
.bd-rs-subscription-badge.status-unpaid,
.bd-rs-subscription-badge.status-suspended { background: #fee4e2; color: #b42318; }

.bd-rs-subscription-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 14px;
    margin: 18px 0;
}

.bd-rs-subscription-cards article {
    min-width: 0;
    padding: 18px;
    border: 1px solid #e6eaf1;
    border-radius: 15px;
    background: linear-gradient(180deg, #fff, #f8faff);
}

.bd-rs-subscription-cards span {
    display: block;
    margin-bottom: 8px;
    color: var(--bd-rs-muted);
    font-size: 12px;
}

.bd-rs-subscription-cards strong {
    display: block;
    color: var(--bd-rs-text);
    font-size: 18px;
    overflow-wrap: anywhere;
}

@media (max-width: 900px) {
    .bd-rs-subscription-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 700px) {
    .bd-rs-unpaid-footer-inner,
    .bd-rs-unpaid-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    .bd-rs-unpaid-footer-contact { align-items: flex-start; }
    .bd-rs-unpaid-footer-brand { align-items: flex-start; }
    .bd-rs-unpaid-footer-brand img { width: 74px; height: 56px; }
    .bd-rs-subscription-cards { grid-template-columns: 1fr; }
    body.bd-rs-unpaid-branding .bd-rs-unpaid-header .bd-rs-header-store-name {
        max-width: 150px;
    }
}


/* v2.2.2 unpaid header controls and premium contact footer */
body.bd-rs-unpaid-branding .bd-rs-unpaid-header .bd-rs-header-store-name {
    color: var(--bd-unpaid-header-text, #15233b) !important;
}

body.bd-rs-unpaid-branding .bd-rs-unpaid-header .bd-rs-custom-nav a {
    color: var(--bd-unpaid-header-menu-text, #243047) !important;
}

body.bd-rs-unpaid-branding .bd-rs-unpaid-header .bd-rs-custom-nav a:hover,
body.bd-rs-unpaid-branding .bd-rs-unpaid-header .bd-rs-custom-nav a:focus-visible {
    color: var(--bd-unpaid-header-accent, #2542d8) !important;
}

.bd-rs-unpaid-footer {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 15%, color-mix(in srgb, var(--bd-unpaid-footer-accent, #f3a63b) 12%, transparent), transparent 34%),
        var(--bd-unpaid-footer-bg, #071b35);
}

.bd-rs-unpaid-footer::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--bd-unpaid-footer-accent, #f3a63b) 10%, transparent);
    pointer-events: none;
}

.bd-rs-unpaid-footer-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
    align-items: stretch;
    gap: 46px;
    padding-top: 44px;
    padding-bottom: 44px;
}

.bd-rs-unpaid-footer-brand {
    align-items: center;
    padding: 24px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 20px;
    background: rgba(255,255,255,.045);
}

.bd-rs-unpaid-footer-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 104px;
    height: 84px;
    flex: 0 0 104px;
    padding: 8px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(0,0,0,.18);
}

.bd-rs-unpaid-footer-brand img {
    width: 100%;
    height: 100%;
    padding: 0;
    border-radius: 12px;
    background: transparent;
    object-fit: contain;
}

.bd-rs-unpaid-footer-brand-copy {
    min-width: 0;
}

.bd-rs-unpaid-footer-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-bottom: 9px;
    padding: 0 11px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--bd-unpaid-footer-accent, #f3a63b) 18%, transparent);
    color: var(--bd-unpaid-footer-accent, #f3a63b);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.bd-rs-unpaid-footer-brand-copy strong {
    display: block;
    color: #fff;
    font-size: 26px;
    line-height: 1.25;
}

.bd-rs-unpaid-footer-brand-copy p {
    margin: 10px 0 0;
    color: var(--bd-unpaid-footer-text, #dbe5f4);
    font-size: 14px;
    line-height: 1.75;
}

.bd-rs-unpaid-footer-contact-card {
    padding: 24px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 20px;
    background: rgba(0,0,0,.14);
}

.bd-rs-unpaid-footer-contact-card h3 {
    margin: 0 0 18px;
    color: #fff;
    font-size: 18px;
    line-height: 1.3;
}

.bd-rs-unpaid-footer-contact {
    display: grid;
    gap: 12px;
    align-items: stretch;
}

.bd-rs-unpaid-footer-contact-row {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    gap: 13px;
    min-height: 62px;
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 15px;
    background: rgba(255,255,255,.045);
    color: var(--bd-unpaid-footer-text, #dbe5f4);
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.bd-rs-unpaid-footer-contact-row:hover {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--bd-unpaid-footer-accent, #f3a63b) 40%, transparent);
    background: rgba(255,255,255,.075);
}

.bd-rs-unpaid-footer-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: color-mix(in srgb, var(--bd-unpaid-footer-accent, #f3a63b) 18%, transparent);
    color: var(--bd-unpaid-footer-accent, #f3a63b);
}

.bd-rs-unpaid-footer-contact-icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

.bd-rs-unpaid-footer-contact-row small,
.bd-rs-unpaid-footer-contact-row span {
    display: block;
}

.bd-rs-unpaid-footer-contact-row small {
    margin-bottom: 3px;
    color: color-mix(in srgb, var(--bd-unpaid-footer-text, #dbe5f4) 72%, transparent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.bd-rs-unpaid-footer-contact-row > div > span {
    color: var(--bd-unpaid-footer-text, #dbe5f4);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.bd-rs-unpaid-footer-bottom {
    position: relative;
    z-index: 1;
    max-width: none;
}

@media (max-width: 900px) {
    .bd-rs-unpaid-footer-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 700px) {
    .bd-rs-unpaid-footer-inner {
        padding: 28px 16px;
    }

    .bd-rs-unpaid-footer-brand {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .bd-rs-unpaid-footer-logo {
        width: 88px;
        height: 72px;
        flex-basis: 88px;
    }

    .bd-rs-unpaid-footer-brand-copy strong {
        font-size: 22px;
    }

    .bd-rs-unpaid-footer-contact-card {
        padding: 18px;
    }

    .bd-rs-unpaid-footer-bottom {
        padding-left: 16px;
        padding-right: 16px;
    }
}
