
/*
Theme Name: Flatsome Child
Author: SURAJ RAJU
Template: flatsome
Version: 3.20.2
*/

/* =============================================================================
   A. CSS Custom Properties (brand tokens)
   ============================================================================= */
:root {
    --hd-red: #E50914;
    --hd-red-hover: #c30812;
    --hd-dark: #1a1a1a;
    --hd-light: #f8f8f8;
}

/* === Wholesale Staff Console === */
.hd-staff-console {
    background: #fff;
    padding: 28px 0 48px;
    font-feature-settings: "cv02", "cv03", "cv04", "cv11";
    -webkit-font-smoothing: antialiased;
}

.hd-staff-console .container {
    max-width: 100%;
    padding-left: 40px;
    padding-right: 40px;
}

.hd-staff-console--customer-mode {
    background: #ffffff;
    padding-top: 20px;
}

.hd-staff-console--customer-mode .container {
    max-width: 100%;
    padding-left: 40px;
    padding-right: 40px;
}

.hd-staff-console__customer-workspace {
    padding-top: 0;
}

.hd-staff-console__customer-workspace.page-wrapper.my-account .row.vertical-tabs > .large-3.col.col-border {
    flex: 0 0 160px !important;
    max-width: 160px !important;
    width: 160px !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.hd-staff-console__customer-workspace.page-wrapper.my-account .row.vertical-tabs > .large-9.col {
    flex: 1 1 0 !important;
    max-width: calc(100% - 160px) !important;
    width: calc(100% - 160px) !important;
    padding-left: 20px !important;
}

.hd-staff-console__workspace-content {
    min-height: 480px;
}

.hd-staff-console__workspace-nav {
    margin-top: 0;
}

.hd-staff-console__workspace-nav .woocommerce-MyAccount-navigation-link a,
.hd-staff-console__workspace-nav .woocommerce-MyAccount-navigation-link.is-active a {
    display: block;
    font-size: 13px;
    padding: 8px 0;
}

.hd-staff-console__account-user .image {
    display: none;
}

.hd-staff-console__account-user .user-name {
    font-size: 14px;
}

.hd-staff-console__account-user .user-id {
    font-size: 11px;
}

.hd-staff-console__workspace-utility {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 0 0 16px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
}

.hd-staff-console__workspace-context {
    display: grid;
    gap: 4px;
}

.hd-staff-console__workspace-context strong {
    color: #1a1a1a;
    font-size: 18px;
    line-height: 1.2;
}

.hd-staff-console__workspace-context small {
    color: #6b7280;
    font-size: 13px;
    line-height: 1.5;
}

.hd-staff-console__account-company {
    display: block;
    margin-top: 4px;
    color: #9ca3af;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.4;
}

.hd-staff-console__content-header {
    margin-bottom: 20px;
}

.hd-staff-console__content-header h2 {
    margin: 0;
    color: #1a1a1a;
    font-size: 32px;
    line-height: 1.1;
}

.hd-staff-console__panel--mirror {
    margin-bottom: 0;
    border-radius: 0;
    border: 0;
    padding: 0;
    background: transparent;
}

.hd-staff-console__support-subnav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hd-staff-console__support-subnav .button.is-selected {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #ffffff;
}

.hd-staff-console__mirror-note {
    margin-bottom: 0;
}

.hd-staff-console__mirror-form {
    margin-bottom: 24px;
}

.hd-staff-console__order-overview {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin: 0 0 24px;
    padding: 0;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #e5e7eb;
    overflow: hidden;
}

.hd-staff-console__order-overview div {
    padding: 14px 16px;
    background: #f9fafb;
}

.hd-staff-console__order-overview div {
    color: #374151;
    font-size: 14px;
    line-height: 1.5;
}

@media only screen and (max-width: 48em) {
    .hd-staff-console__workspace-utility {
        flex-direction: column;
        align-items: flex-start;
    }

    .hd-staff-console__content-header h2 {
        font-size: 26px;
    }

    .hd-staff-console__order-overview {
        grid-template-columns: 1fr 1fr;
    }
}

.hd-staff-console__hero {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-end;
    background: #111827;
    border: none;
    border-radius: 8px;
    padding: 32px 36px;
    margin-bottom: 20px;
    color: #fff;
}

.hd-staff-console__hero--notice {
    align-items: flex-start;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #111827;
}

.hd-staff-console__kicker {
    display: inline-block;
    margin-bottom: 8px;
    color: #6b7280;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.hd-staff-console__hero .hd-staff-console__kicker {
    color: #9ca3af;
}

.hd-staff-console__hero h1,
.hd-staff-console__panel-head h3 {
    margin: 0;
    color: #111827;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
}

.hd-staff-console__hero h1 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}

.hd-staff-console__hero p,
.hd-staff-console__panel-head p {
    margin: 8px 0 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}

.hd-staff-console__hero p {
    color: #9ca3af;
    font-size: 14px;
}

.hd-staff-console__hero-side {
    min-width: 260px;
    padding: 20px 22px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    background: rgba(255,255,255,0.06);
}

.hd-staff-console__hero-side-label {
    color: #9ca3af;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.hd-staff-console__hero-side-value {
    margin-top: 8px;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.hd-staff-console__hero-side-meta {
    margin-top: 6px;
    color: #9ca3af;
    font-size: 13px;
    line-height: 1.5;
}

.hd-staff-console__hero-actions,
.hd-staff-console__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.hd-staff-console__stats,
.hd-staff-console__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: #e5e7eb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 20px;
}

.hd-staff-console__stats > *,
.hd-staff-console__grid > * {
    background: #fff;
}

.hd-staff-console__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hd-staff-console__stat-card,
.hd-staff-console__panel,
.hd-staff-console__result-card,
.hd-staff-console__address-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
}

.hd-staff-console__stat-card {
    padding: 18px 20px;
    border: none;
    border-radius: 0;
}

.hd-staff-console__stat-card span {
    display: block;
    color: #6b7280;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.hd-staff-console__stat-card strong {
    display: block;
    margin-top: 6px;
    color: #111827;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.hd-staff-console__stat-card small {
    display: block;
    margin-top: 6px;
    color: #6b7280;
    font-size: 12px;
    line-height: 1.5;
}

.hd-staff-console__panel {
    padding: 22px 24px;
    margin-bottom: 20px;
    border-radius: 6px;
}

.hd-staff-console__panel--notice {
    max-width: 760px;
}

.hd-staff-console__panel-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.hd-staff-console__panel-head p {
    max-width: 380px;
    text-align: right;
}

.hd-staff-console__search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
}

.hd-staff-console__search-shell {
    position: relative;
}

.hd-staff-console__search--hero {
    margin-top: 18px;
}

.hd-staff-console__search-suggestions {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 20;
    display: grid;
    gap: 1px;
    padding: 4px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #e5e7eb;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
}

.hd-staff-console__suggestion {
    display: block;
    padding: 10px 12px;
    border: none;
    border-radius: 4px;
    color: #111827;
    text-decoration: none;
    background: #fff;
    transition: background .15s ease;
}

.hd-staff-console__suggestion:hover {
    background: #f3f4f6;
    color: #111827;
}

.hd-staff-console__suggestion strong {
    display: block;
    color: #1a1a1a;
    font-size: 15px;
    line-height: 1.35;
}

.hd-staff-console__suggestion small {
    display: block;
    margin-top: 4px;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.5;
}

.hd-staff-console__search input,
.hd-staff-console__form input,
.hd-staff-console__form select,
.hd-staff-console__form textarea,
.hd-staff-console__product-row select,
.hd-staff-console__product-row input {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    background: #ffffff;
    color: #111827;
    font-size: 14px;
    line-height: 1.4;
    padding: 10px 12px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    height: auto !important;
    min-height: 44px;
    overflow: visible !important;
    text-overflow: unset !important;
    white-space: normal !important;
}

.hd-staff-console__search input {
    min-height: 48px;
    font-size: 15px;
    border-radius: 6px;
}

.hd-staff-console__hero .hd-staff-console__search input {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.15);
    color: #fff;
}

.hd-staff-console__hero .hd-staff-console__search input::placeholder {
    color: #9ca3af;
}

.hd-staff-console__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 20px;
    padding: 0;
    border-bottom: 2px solid #e5e7eb;
    background: transparent;
    box-shadow: none;
}

.hd-staff-console__tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    border-radius: 0;
    background: transparent;
    color: #6b7280;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1;
    transition: color .15s, border-color .15s;
}

.hd-staff-console__tab.is-active,
.hd-staff-console__tab:hover {
    color: #111827;
    border-bottom-color: #E50914;
    background: transparent;
    box-shadow: none;
}

.hd-staff-console__customer-dashboard {
    margin-bottom: 18px;
}

.hd-staff-console .hd-wholesale-dashboard--embedded {
    margin: 0 0 18px;
    padding: 0;
}

.hd-staff-console .hd-wholesale-dashboard--embedded .hd-wholesale-dashboard__shell {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.hd-staff-console .hd-wholesale-dashboard--embedded .hd-wholesale-dashboard__hero,
.hd-staff-console .hd-wholesale-dashboard--embedded .hd-wholesale-dashboard__panel {
    border-radius: 6px;
}

.hd-staff-console__result-list,
.hd-staff-console__address-list {
    display: grid;
    gap: 14px;
}

.hd-staff-console__focus-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: #e5e7eb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 20px;
}

.hd-staff-console__focus-card {
    padding: 20px 22px;
    border: none;
    border-radius: 0;
    background: #ffffff;
}

.hd-staff-console__focus-kicker {
    color: #6b7280;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.hd-staff-console__focus-card h3 {
    margin: 8px 0 12px;
    color: #111827;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
}

.hd-staff-console__focus-card strong {
    display: block;
    color: #111827;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
}

.hd-staff-console__focus-card p {
    margin: 6px 0 14px;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.5;
}

.hd-staff-console__queue-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.hd-staff-console__queue-list {
    display: grid;
    gap: 12px;
}

.hd-staff-console__queue-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid #f3f4f6;
    border-radius: 0;
    background: transparent;
}

.hd-staff-console__queue-item:last-child {
    border-bottom: none;
}

.hd-staff-console__queue-item strong {
    display: block;
    color: #1a1a1a;
    font-size: 15px;
    line-height: 1.35;
}

.hd-staff-console__queue-item small {
    display: block;
    margin-top: 4px;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.5;
}

.hd-staff-console__result-card,
.hd-staff-console__address-card {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    padding: 16px 18px;
    border-radius: 6px;
}

.hd-staff-console__result-card strong,
.hd-staff-console__address-card strong {
    display: block;
    color: #1a1a1a;
    font-size: 16px;
    line-height: 1.25;
}

.hd-staff-console__result-card small,
.hd-staff-console__address-card small,
.hd-staff-console__list small,
.hd-staff-console__timeline small {
    display: block;
    margin-top: 4px;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.5;
}

.hd-staff-console__list {
    display: grid;
    gap: 14px;
}

.hd-staff-console__list strong,
.hd-staff-console__timeline strong {
    color: #1a1a1a;
    font-size: 15px;
    line-height: 1.35;
}

.hd-staff-console__action-list,
.hd-staff-console__note-list {
    display: grid;
    gap: 12px;
}

.hd-staff-console__action-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    background: #fff;
    color: #111827;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s, border-color .15s;
}

.hd-staff-console__action-link::after {
    content: "→";
    color: #E50914;
    font-size: 16px;
    line-height: 1;
}

.hd-staff-console__action-link:hover {
    border-color: #d1d5db;
    background: #f9fafb;
    color: #111827;
}

.hd-staff-console__note-card {
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    background: #f9fafb;
}

.hd-staff-console__note-card--accent {
    margin-bottom: 18px;
    border-left: 3px solid #E50914;
    background: #fff;
}

.hd-staff-console__note-card p,
.hd-staff-console__timeline-note {
    margin: 0 0 8px;
    color: #1a1a1a;
    font-size: 14px;
    line-height: 1.6;
}

.hd-staff-console__note-card small {
    display: block;
    color: #6b7280;
    font-size: 12px;
    line-height: 1.5;
}

.hd-staff-console__meta-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.hd-staff-console__meta-pill {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 8px;
    border-radius: 4px;
    background: #f3f4f6;
    color: #4b5563;
    font-size: 11px;
    font-weight: 600;
}

.hd-staff-console__meta-pill--match {
    background: #fee2e2;
    color: #991b1b;
}

.hd-staff-console__match-line {
    color: #E50914 !important;
    font-weight: 600;
}

.hd-staff-console__note-form {
    margin-bottom: 20px;
}

.hd-staff-console__table-wrap {
    overflow-x: auto;
}

.hd-staff-console__table {
    width: 100%;
    border-collapse: collapse;
}

.hd-staff-console__table th,
.hd-staff-console__table td {
    padding: 10px 12px;
    border-bottom: 1px solid #f3f4f6;
    text-align: left;
    vertical-align: top;
}

.hd-staff-console__table th {
    color: #6b7280;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    background: #f9fafb;
    border-bottom: 2px solid #e5e7eb;
}

.hd-staff-console__table td {
    color: #111827;
    font-size: 13px;
    line-height: 1.5;
    font-variant-numeric: tabular-nums;
}

.hd-staff-console__table tbody tr:hover {
    background: #f9fafb;
}

.hd-staff-console__table tbody tr {
    transition: background .1s;
}

.hd-staff-console__inline-form {
    display: inline;
}

.hd-staff-console__inline-form > summary {
    cursor: pointer;
    list-style: none;
}

.hd-staff-console__inline-form > summary::-webkit-details-marker {
    display: none;
}

.hd-staff-console__payment-form {
    position: absolute;
    z-index: 20;
    right: 0;
    margin-top: 6px;
    padding: 14px;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    display: grid;
    gap: 10px;
    min-width: 240px;
}

.hd-staff-console__payment-form label {
    display: grid;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #374151;
}

.hd-staff-console__payment-form input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 13px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
}

.hd-staff-console__table td .hd-staff-console__actions {
    justify-content: flex-start;
}

.hd-staff-console__table td small {
    color: #6b7280;
}

.hd-staff-console__form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
    min-width: 0;
}

.hd-staff-console__form-grid-span-2 {
    grid-column: span 2;
}

.hd-staff-console__form label,
.hd-staff-console__checkbox {
    display: grid;
    gap: 6px;
    color: #111827;
    font-size: 13px;
    font-weight: 600;
    min-width: 0;
}

.hd-staff-console__form select,
.hd-staff-console__form input {
    min-width: 0;
}

.hd-staff-console__checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hd-staff-console__checkbox input {
    width: auto;
    margin: 0;
}

.hd-staff-console__order-type-toggle {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
    width: fit-content;
}

.hd-staff-console__order-type-btn {
    padding: 10px 20px;
    border: none;
    background: #fff;
    color: #6b7280;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.hd-staff-console__order-type-btn + .hd-staff-console__order-type-btn {
    border-left: 1px solid #e5e7eb;
}

.hd-staff-console__order-type-btn.is-active {
    background: #111827;
    color: #fff;
}

.hd-staff-console__order-type-btn:hover:not(.is-active) {
    background: #f9fafb;
}

.hd-staff-console__factory-fields {
    margin-bottom: 20px;
    padding: 20px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
}

.hd-staff-console__factory-fields .hd-staff-console__form-grid {
    margin-bottom: 12px;
}

.hd-staff-console__factory-fields .hd-staff-console__form-grid:last-child {
    margin-bottom: 0;
}

.hd-staff-console__deposit-pills {
    display: flex;
    gap: 0;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    overflow: hidden;
    width: fit-content;
    margin-top: 4px;
}

.hd-staff-console__deposit-pill {
    padding: 8px 14px;
    border: none;
    border-right: 1px solid #d1d5db;
    background: #fff;
    color: #374151;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.hd-staff-console__deposit-pill:last-child {
    border-right: none;
}

.hd-staff-console__deposit-pill.is-active {
    background: #111827;
    color: #fff;
}

.hd-staff-console__deposit-pill:hover:not(.is-active) {
    background: #f3f4f6;
}

.hd-staff-console__product-builder {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
}

.hd-staff-console__invoice-estimate {
    position: sticky;
    top: 12px;
    z-index: 8;
    display: grid;
    grid-template-columns: minmax(240px, .8fr) minmax(0, 1.2fr);
    gap: 1px;
    margin: 0 0 18px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
    background: #e5e7eb;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .08);
}

.hd-staff-console__invoice-estimate-main,
.hd-staff-console__invoice-estimate-breakdown > div {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    background: #ffffff;
}

.hd-staff-console__invoice-estimate-main {
    background: #111827;
    color: #ffffff;
}

.hd-staff-console__invoice-estimate-main > span,
.hd-staff-console__invoice-estimate-breakdown > div > span {
    color: inherit;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.hd-staff-console__invoice-estimate strong {
    color: inherit;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.hd-staff-console__invoice-estimate small {
    color: rgba(255, 255, 255, .7);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
}

.hd-staff-console__invoice-estimate small.is-error {
    color: #fecaca;
}

.hd-staff-console__invoice-estimate-breakdown {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
}

.hd-staff-console__invoice-estimate-breakdown > div[hidden] {
    display: none;
}

.hd-staff-console__invoice-estimate-breakdown > div > span {
    color: #6b7280;
}

.hd-staff-console__invoice-estimate-breakdown strong {
    color: #111827;
    font-size: 18px;
}

.hd-staff-console__product-rows {
    display: grid;
    gap: 14px;
}

.hd-staff-console__product-builder-head,
.hd-staff-console__product-row {
    display: grid;
    gap: 12px;
}

.hd-staff-console__product-builder-head {
    grid-template-columns: minmax(0, 1fr) 300px;
    color: #8a9099;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hd-staff-console__product-builder-head span:last-child {
    text-align: right;
}

.hd-staff-console__product-row {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
}

.hd-staff-console__product-choice {
    display: grid;
    gap: 12px;
}

.hd-staff-console__product-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 120px;
    gap: 12px;
    align-items: start;
}

.hd-staff-console__product-field {
    position: relative;
}

.hd-staff-console__product-field span {
    display: block;
    margin-bottom: 8px;
    color: #1a1a1a;
    font-size: 13px;
    font-weight: 600;
}

.hd-staff-console__product-field--qty span {
    margin-bottom: 8px;
}

.hd-staff-console__product-help {
    display: block;
    margin-top: 6px;
    color: #6b7280;
    font-size: 11px;
    line-height: 1.4;
}

.hd-staff-console__product-field--price input,
.hd-staff-console__product-field--qty input {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.hd-staff-console__unit-price-note {
    display: block;
    min-height: 18px;
    margin-top: 6px;
    color: #6b7280;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.35;
}

.hd-staff-console__unit-price-note.is-manual {
    color: #b91c1c;
}

.hd-staff-console__product-field--price input {
    background: #fffbeb;
    border-color: #f59e0b;
}

.hd-staff-console__line-estimate {
    display: block;
    min-height: 18px;
    margin-top: 6px;
    color: #4b5563;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.hd-staff-console__line-estimate.is-error {
    color: #b91c1c;
    text-align: left;
}

.hd-staff-console__product-suggestions {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 15;
    display: grid;
    gap: 1px;
    padding: 4px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #e5e7eb;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
}

.hd-staff-console__product-suggestion {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: none;
    border-radius: 4px;
    background: #fff;
    text-align: left;
    cursor: pointer;
    transition: background .15s;
}

.hd-staff-console__product-suggestion:hover {
    background: #f3f4f6;
}

.hd-staff-console__product-suggestion strong {
    display: block;
    color: #1a1a1a;
    font-size: 14px;
    line-height: 1.35;
}

.hd-staff-console__product-suggestion small {
    display: block;
    margin-top: 4px;
    color: #6b7280;
    font-size: 12px;
    line-height: 1.45;
}

.hd-staff-console__address-card {
    align-items: flex-start;
}

.hd-staff-console__address-card-head {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
}

.hd-staff-console__address-card-head span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 20px;
    padding: 0 6px;
    border-radius: 4px;
    background: #fee2e2;
    color: #991b1b;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.hd-staff-console__address-lines {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.6;
}

.hd-staff-console__subsection {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #eef0f3;
}

.hd-staff-console__subsection h4 {
    margin: 0 0 12px;
    color: #1a1a1a;
    font-size: 16px;
}

.hd-staff-console__panel--nested {
    padding: 0;
    border: 1px solid #eef0f3;
    box-shadow: none;
}

.hd-staff-console__staff-section {
    margin-top: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #f9fafb;
}

.hd-staff-console__staff-section-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    cursor: pointer;
    list-style: none;
}

.hd-staff-console__staff-section-toggle::-webkit-details-marker {
    display: none;
}

.hd-staff-console__staff-section-toggle span {
    color: #111827;
    font-size: 14px;
    font-weight: 600;
}

.hd-staff-console__staff-section-toggle small {
    color: #6b7280;
    font-size: 12px;
}

.hd-staff-console__staff-section-toggle::after {
    content: '+';
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    color: #6b7280;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
}

.hd-staff-console__staff-section[open] > .hd-staff-console__staff-section-toggle {
    border-bottom: 1px solid #e5e7eb;
}

.hd-staff-console__staff-section[open] > .hd-staff-console__staff-section-toggle::after {
    content: '−';
}

.hd-staff-console__staff-section-body {
    padding: 18px;
}

.hd-staff-console__order-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.hd-staff-console__order-meta strong,
.hd-staff-console__contact-line {
    display: block;
}

.hd-staff-console__order-meta small,
.hd-staff-console__contact-line {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.6;
}

.hd-staff-console__totals-list {
    display: grid;
    gap: 10px;
}

.hd-staff-console__totals-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid #eef0f3;
}

.hd-staff-console__totals-row:last-child {
    border-bottom: 0;
}

.hd-staff-console__totals-row span {
    color: #6b7280;
    font-size: 14px;
}

.hd-staff-console__totals-row strong {
    color: #1a1a1a;
    font-size: 15px;
}

.hd-staff-console__actions--stack-sm {
    margin-bottom: 20px;
}

.hd-staff-console__meta-list,
.hd-staff-console__timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.hd-staff-console__timeline li {
    padding-bottom: 14px;
    border-bottom: 1px solid #eef0f3;
}

.hd-staff-console__timeline li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.hd-staff-console__empty {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}

.hd-staff-console-page .button.primary,
.hd-staff-console-page .button.alt,
.hd-staff-console-page button.button.primary {
    background: #E50914;
    border-color: #E50914;
    color: #ffffff;
}

.hd-staff-console-page .button.primary:hover,
.hd-staff-console-page .button.alt:hover,
.hd-staff-console-page button.button.primary:hover {
    background: #c30812;
    border-color: #c30812;
}

@media only screen and (max-width: 64em) {
    .hd-staff-console__stats,
    .hd-staff-console__grid,
    .hd-staff-console__focus-grid,
    .hd-staff-console__queue-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 48em) {
    .hd-staff-console {
        padding: 20px 0 36px;
    }

    .hd-staff-console__hero,
    .hd-staff-console__panel-head,
    .hd-staff-console__result-card,
    .hd-staff-console__address-card,
    .hd-staff-console__queue-item,
    .hd-staff-console__search,
    .hd-staff-console__product-builder-head,
    .hd-staff-console__product-row {
        grid-template-columns: 1fr;
        display: grid;
    }

    .hd-staff-console__product-controls {
        grid-template-columns: 1fr 1fr;
    }

    .hd-staff-console__hero {
        padding: 22px 20px;
    }

    .hd-staff-console__hero h1 {
        font-size: 30px;
    }

    .hd-staff-console__stats,
    .hd-staff-console__grid,
    .hd-staff-console__form-grid,
    .hd-staff-console__focus-grid,
    .hd-staff-console__queue-grid,
    .hd-staff-console__invoice-estimate,
    .hd-staff-console__invoice-estimate-breakdown {
        grid-template-columns: 1fr;
    }

    .hd-staff-console__panel {
        padding: 18px;
    }

    .hd-staff-console__panel-head p {
        text-align: left;
        max-width: none;
    }

    .hd-staff-console__form-grid-span-2 {
        grid-column: auto;
    }

    .hd-staff-console__order-meta {
        grid-template-columns: 1fr;
    }

    .hd-staff-console__actions {
        width: 100%;
    }

    .hd-staff-console__actions .button,
    .hd-staff-console__search .button {
        width: 100%;
        justify-content: center;
    }

    .hd-staff-console__search-suggestions {
        position: static;
        margin-top: 10px;
    }

    .hd-staff-console__product-builder-head,
    .hd-staff-console__product-row {
        grid-template-columns: 1fr;
    }

    .hd-staff-console__product-controls {
        grid-template-columns: 1fr;
    }

    .hd-staff-console__product-suggestions {
        position: static;
        margin-top: 10px;
    }

    .hd-staff-console__invoice-estimate {
        position: static;
    }

    .hd-staff-console__line-estimate {
        text-align: left;
    }
}

/* =============================================================================
   B. HD Utility Classes — for SEO page content (Flatsome shortcode pages)
   Prefixed hd- to avoid Flatsome/WooCommerce conflicts
   ============================================================================= */

/* ── Typography ── */
.hd-overline {
    color: #E50914;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.hd-overline-hero {
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #E50914;
    font-weight: 600;
    margin-bottom: 0;
}
.hd-overline-card {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #E50914;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 8px;
}
.hd-subtitle {
    font-size: 17px;
    max-width: 700px;
    margin: 0 auto 40px;
}
.hd-subtitle-cta {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 25px;
}
.hd-step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #E50914;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    line-height: 60px;
    margin: 0 auto 15px;
}
.hd-card-heading-white {
    margin-bottom: 12px;
}
.hd-body-relaxed {
    line-height: 1.7;
}
.hd-page-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}
.hd-hero-sub {
    font-size: 18px;
    color: #aaa;
    max-width: 700px;
    line-height: 1.7;
}
.hd-section-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 16px;
}
.hd-section-title-sm {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
}
.hd-body {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    max-width: 800px;
}
.hd-body-dark {
    font-size: 15px;
    line-height: 1.8;
    color: #ccc;
    max-width: 800px;
}
.hd-card-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
}
.hd-card-body {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}
.hd-card-body-dark {
    font-size: 13px;
    color: #999;
    line-height: 1.6;
}
.hd-stat-lg {
    font-size: 32px;
    font-weight: 800;
    color: #E50914;
    margin-bottom: 4px;
}
.hd-stat-md {
    font-size: 28px;
    font-weight: 800;
    color: #E50914;
    margin-bottom: 4px;
}
.hd-stat-sm {
    font-size: 24px;
    font-weight: 800;
    color: #E50914;
    margin-bottom: 4px;
}
.hd-cta-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}
.hd-cta-sub {
    font-size: 15px;
    color: #aaa;
    margin-bottom: 20px;
}
.hd-link-red {
    color: #E50914;
    font-weight: 600;
}

/* ── Tech page specific ── */
.hd-spec-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 4px;
}
.hd-spec-value {
    font-size: 16px;
    font-weight: 700;
}
.hd-card-detail {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 6px;
}
.hd-card-detail-last {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}
.hd-note-muted {
    font-size: 11px;
    color: #999;
}
.hd-sub-muted {
    font-size: 15px;
    color: #666;
    margin-bottom: 24px;
}
.hd-compat-note {
    font-size: 14px;
    color: #aaa;
    margin-top: 16px;
}
.hd-compat-note-light {
    font-size: 14px;
    color: #666;
    margin-top: 16px;
}
.hd-h2-md {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
}
.hd-h3-card {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}
.hd-h3-card-sm {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}
.hd-h4-card {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
}
.hd-faq-body {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}
.hd-emoji-lg {
    font-size: 32px;
    margin-bottom: 6px;
}
.hd-emoji-sm {
    font-size: 24px;
    margin-bottom: 4px;
}

/* ── Utility ── */
.hd-anchor-offset {
    margin-top: -80px;
    padding-top: 80px;
}
.hd-img-full {
    width: 100%;
    height: auto;
}
.hd-img-card {
    max-width: 420px;
    width: 100%;
    height: auto;
    border-radius: 12px;
}
.hd-img-hero {
    max-width: 280px;
    width: 100%;
    height: auto;
}
.hd-text-red {
    color: #E50914;
}
.hd-text-green {
    color: #22c55e;
}
.hd-text-yellow {
    color: #eab308;
}
.hd-label-muted {
    font-size: 12px;
    color: #999;
}
.hd-mt-12 {
    margin-top: 12px;
}
.hd-faq-box {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    margin-bottom: 12px;
    padding: 20px 24px;
}
.hd-faq-box-last {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    margin-bottom: 0;
    padding: 20px 24px;
}
.hd-product-card-img {
    max-width: 240px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 16px;
}
.hd-product-card-img-sm {
    max-width: 160px;
    width: 100%;
    height: auto;
    margin-bottom: 16px;
}

/* ── Mega Menu Panel — full width, centered ── */
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > ul.mega-sub-menu {
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    box-sizing: border-box;
    padding-left: 5vw !important;
    padding-right: 5vw !important;
}

/* ── Mega Menu Tier 2 (legacy/secondary items) ── */
/* All links stay in the DOM for SEO — just visually de-emphasized */
.mega-menu-item.hd-tier2 > a.mega-menu-link {
    font-size: 12px !important;
    color: #aaa !important;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
}
.mega-menu-item.hd-tier2 > a.mega-menu-link:hover {
    color: #E50914 !important;
}
/* Subtle separator before the first tier-2 item in each column */
.mega-menu-item.hd-tier2-first {
    margin-top: 6px !important;
    padding-top: 6px !important;
    border-top: 1px solid #e8e8e8 !important;
}

/* ── Mega Menu Quick-Nav Cards (Tech-Selector Style) ── */
.mega-quicknav {
    padding: 20px 24px 16px;
    border-bottom: 1px solid #eee;
}
.mega-quicknav-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #999;
    margin: 0 0 14px;
}
.mega-quicknav-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
/* (secondary grid removed — only CCELL cards shown) */
/* Card container */
.mega-quicknav-card {
    display: block;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none !important;
    color: inherit !important;
    border: 2px solid #eee;
    transition: all 0.25s ease;
    text-align: center;
}
.mega-quicknav-card:hover {
    border-color: #E50914;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
/* Image area — multi-product layout */
.mega-quicknav-card .qn-img {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 14px;
    background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
    padding: 18px 14px 10px;
}
.mega-quicknav-card .qn-product {
    flex: 1;
    text-align: center;
}
.mega-quicknav-card .qn-product img {
    max-height: 140px;
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}
.mega-quicknav-card .qn-product-name {
    display: block;
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-top: 6px;
    font-weight: 600;
}
/* Content area */
.mega-quicknav-card .qn-content {
    padding: 12px 16px 16px;
    border-top: 1px solid #f0f0f0;
}
.mega-quicknav-card .qn-content h4 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 5px;
    color: #1a1a1a;
}
.mega-quicknav-card .qn-content p {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    margin: 0 0 10px;
}
/* Spec tags */
.mega-quicknav-card .qn-tags {
    display: flex;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.mega-quicknav-card .qn-tag {
    background: #f5f5f5;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 13px;
    color: #444;
    font-weight: 500;
}
/* CTA */
.mega-quicknav-card .qn-cta {
    color: #E50914;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
@media (max-width: 768px) {
    .mega-quicknav-grid { grid-template-columns: repeat(2, 1fr); }
    .mega-quicknav-card .qn-product img { max-height: 100px; }
}

/* ── Header cleanup: keep one desktop Wholesale Login link only ── */
#top-bar .html.custom.html_top_right_text,
#masthead .header-nav.nav-right > .html.custom.html_top_right_text,
#mega-menu-item-238329 {
    display: none !important;
}
.hd-header-wholesale-login {
    display: flex;
    align-items: center;
    margin-right: 18px;
}
.hd-header-wholesale-login > a {
    color: #E50914 !important;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    padding: 0;
}
.hd-header-wholesale-login > a:hover,
.hd-header-wholesale-login > a:focus {
    color: #c30812 !important;
}

/* ── Capabilities Section — normalize image heights ── */
.hd-capabilities-row .col-inner .img-inner {
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hd-capabilities-row .col-inner .img-inner img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
@media only screen and (max-width: 48em) {
    .hd-capabilities-row .col-inner .img-inner {
        height: 250px;
    }
}

/* ── Equal-Height Card Rows (solid-style columns) ── */
.col.is-border-box > .col-inner {
    height: 100%;
}
/* Equal-height columns in row-solid rows.
   Flatsome custom CSS has .col { float:left !important } which breaks flex.
   Must override float to let flex stretch work. */
.row.row-solid {
    display: flex !important;
    flex-wrap: wrap !important;
}
.row.row-solid > .col {
    float: none !important;
    display: flex !important;
}
.row.row-solid > .col > .col-inner {
    flex: 1 !important;
    width: 100% !important;
}

/* =============================================================================
   C. Component CSS — Category Hero Banners
   (from functions.php wp_head hook for cartridge/disposable categories)
   ============================================================================= */

/* Override the Flatsome hero background — hide the stretched product thumbnail */
.shop-page-title.featured-title .title-bg {
    background-image: none !important;
}
.shop-page-title.featured-title .title-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #b00810 0%, #d50912 30%, #E50914 60%, #c00810 100%);
    z-index: 0;
}
/* Subtle light accent for depth */
.shop-page-title.featured-title .title-bg::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -5%;
    width: 55%;
    height: 160%;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.06) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}
/* Subtle overlay for depth */
.shop-page-title.featured-title .title-overlay {
    background-color: rgba(0,0,0,0.05) !important;
}
/* Bigger, bolder title */
.shop-page-title h1.shop-page-title.is-xlarge,
.shop-page-title h1.is-xlarge {
    font-size: 42px !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
    text-shadow: 0 2px 15px rgba(0,0,0,0.2);
}
/* Add subtitle styling */
.shop-page-title .hero-subtitle {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    font-weight: 400;
    margin-top: 10px;
    line-height: 1.6;
    max-width: 550px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.15);
}
.page-title-inner .flex-col.flex-center { max-width: 700px; }
/* Give the hero more breathing room */
.shop-page-title.featured-title .page-title-inner {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
}

/* =============================================================================
   C. Component CSS — Cartridge Tech Selector
   (from functions.php woocommerce_before_shop_loop for cartridge category)
   ============================================================================= */

/* Hide sidebar on cartridge page, make content full-width */
.tax-product_cat.term-cartridge .shop-sidebar { display:none !important; }
.tax-product_cat.term-cartridge .content-area { width:100% !important; max-width:100% !important; flex:0 0 100% !important; }
.tax-product_cat.term-cartridge .row.category-page-row > .col:first-child { display:none !important; }
.tax-product_cat.term-cartridge .row.category-page-row > .large-9 { width:100% !important; max-width:100% !important; flex:0 0 100% !important; }
/* Hide sidebar on EVO MAX category — full-width layout like parent cartridge page */
.tax-product_cat.term-ccell-evo-max .shop-sidebar { display:none !important; }
.tax-product_cat.term-ccell-evo-max .content-area { width:100% !important; max-width:100% !important; flex:0 0 100% !important; }
.tax-product_cat.term-ccell-evo-max .row.category-page-row > .col:first-child { display:none !important; }
.tax-product_cat.term-ccell-evo-max .row.category-page-row > .large-9 { width:100% !important; max-width:100% !important; flex:0 0 100% !important; }
.tax-product_cat.term-ccell-evo-max #shop-sidebar { display:none !important; }
.tax-product_cat.term-ccell-evo-max .large-3 { display:none !important; }
.tax-product_cat.term-ccell-evo-max .large-9 { width:100% !important; max-width:100% !important; flex:0 0 100% !important; }
.cart-selector-wrap { max-width:1400px; margin:0 auto 40px; padding:0 15px; }
.cart-selector-title { text-align:center; margin-bottom:25px; padding-top:10px; }
.cart-selector-title h2 { font-size:36px; font-weight:800; color:#1a1a1a; margin:0 0 12px; }
.cart-selector-title p { font-size:17px; color:#555; max-width:700px; margin:0 auto; line-height:1.6; }
.cart-tech-grid { display:grid; grid-template-columns:repeat(4, 1fr); gap:14px; margin-bottom:18px; }
.cart-tech-grid.closure-grid { grid-template-columns:repeat(2, 1fr); max-width:100%; margin-left:auto; margin-right:auto; }
.cart-selector-wrap .cart-selector-title { clear:both; }
@media (max-width:768px) { .cart-tech-grid { grid-template-columns:repeat(2, 1fr); } .cart-tech-grid.closure-grid { grid-template-columns:1fr; max-width:420px; } }
.cart-tech-card {
    background:#fff; border-radius:10px; overflow:hidden; text-align:center;
    box-shadow:0 2px 12px rgba(0,0,0,0.05); border:2px solid transparent;
    transition:all 0.3s ease; text-decoration:none !important; display:block; color:inherit;
}
.cart-tech-card:hover {
    border-color:#E50914; box-shadow:0 6px 25px rgba(0,0,0,0.1);
    transform:translateY(-3px); text-decoration:none !important; color:inherit;
}
.cart-tech-card .card-badge {
    display:inline-block; padding:0; border-radius:0; background:none;
    font-size:11px; font-weight:600; text-transform:uppercase; letter-spacing:0.8px; margin-top:14px;
    color:#888;
}
.cart-tech-card .card-type-label, .aio-tech-card .card-type-label { font-size:22px; font-weight:700; color:#1a1a1a; padding:0 15px 4px; }
.cart-tech-card .card-img-area {
    padding:15px 15px 10px; background:linear-gradient(180deg, #fafafa 0%, #fff 100%);
    min-height:340px; display:flex; align-items:center; justify-content:center;
}
.cart-tech-card .card-img-area img { max-height:320px; max-width:85%; object-fit:contain; }
.card-img-duo { display:flex; align-items:flex-end; justify-content:center; gap:12px; width:100%; }
.card-img-duo .duo-item { text-align:center; flex:1; }
.card-img-duo .duo-item img { max-height:300px; max-width:100%; object-fit:contain; }
.closure-grid .cart-tech-card .card-img-area { min-height:420px; padding:40px 30px 15px; }
.closure-grid .card-img-duo .duo-item img { max-height:380px; }
.card-img-duo .duo-label { font-size:10px; color:#999; text-transform:uppercase; letter-spacing:0.5px; margin-top:6px; font-weight:600; }
.cart-tech-card .card-content { padding:12px 15px 18px; border-top:1px solid #f0f0f0; }
.cart-tech-card .card-content h3 { font-size:15px; font-weight:700; margin:0 0 3px; color:#1a1a1a; }
.cart-tech-card .coil-name { font-size:11px; color:#999; margin:0 0 6px; text-transform:uppercase; letter-spacing:0.5px; }
.cart-tech-card .card-content p { font-size:12.5px; color:#666; line-height:1.5; margin:0 0 8px; }
.cart-tech-card .oil-compat { font-size:12px; color:#444; margin:0 0 10px; }
.cart-tech-card .oil-compat strong, .aio-tech-card .oil-compat strong { color:#E50914 !important; }
.cart-tech-card .card-specs { display:flex; justify-content:center; gap:5px; flex-wrap:wrap; }
.cart-tech-card .spec-tag { background:#f5f5f5; padding:2px 7px; border-radius:3px; font-size:10px; color:#555; font-weight:500; }
.card-img-cta { color:#E50914; font-size:12px; font-weight:600; text-transform:uppercase; letter-spacing:0.3px; padding:10px 15px 0; text-align:center; }
/* Clickable duo images — hover scale effect */
a.duo-link { text-decoration:none; color:inherit; display:block; transition:transform 0.2s ease; }
a.duo-link:hover { transform:scale(1.08); }
a.duo-link:hover .duo-label { color:#E50914; }
/* Card content link — inherits all text styling */
.card-content-link { text-decoration:none; color:inherit; display:block; }
.cart-tech-card .card-cta { color:#E50914; font-size:12px; font-weight:600; text-transform:uppercase; letter-spacing:0.3px; margin-top:10px; display:inline-block; }
.cart-compare-bar {
    background:#f8f8f8; border-radius:8px; padding:15px 22px;
    display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px;
}
.cart-compare-bar p { margin:0; font-size:13px; color:#555; }
.cart-compare-bar p strong { color:#333; }
.cart-compare-bar .cta-btn {
    background:#E50914; color:#fff !important; padding:9px 22px; border-radius:4px;
    font-weight:600; font-size:13px; text-decoration:none !important; transition:background 0.2s; white-space:nowrap;
}
.cart-compare-bar .cta-btn:hover { background:#c30812; }

/* =============================================================================
   C. Component CSS — CCELL Hub Selector
   (from functions.php woocommerce_archive_description for ccell category)
   ============================================================================= */

/* Match the cartridge/disposable landing-page layout on the parent CCELL hub */
.tax-product_cat.term-ccell .shop-sidebar,
.tax-product_cat.term-ccell #shop-sidebar,
.tax-product_cat.term-ccell .row.category-page-row > .col:first-child,
.tax-product_cat.term-ccell .row.category-page-row > .large-3 { display:none !important; }
.tax-product_cat.term-ccell .row.category-page-row > .col.large-3.hide-for-medium {
    display:none !important;
    width:0 !important;
    max-width:0 !important;
    flex:0 0 0 !important;
    padding:0 !important;
    margin:0 !important;
    overflow:hidden !important;
}
.tax-product_cat.term-ccell .content-area,
.tax-product_cat.term-ccell .row.category-page-row > .large-9,
.tax-product_cat.term-ccell .row.category-page-row > .col.large-9,
.tax-product_cat.term-ccell .shop-container {
    width:100% !important;
    max-width:100% !important;
    flex:0 0 100% !important;
}
.tax-product_cat.term-ccell .row.category-page-row {
    display:flex !important;
    flex-wrap:nowrap !important;
}
.tax-product_cat.term-ccell .shop-page-title.featured-title { margin-bottom:0 !important; }
.tax-product_cat.term-ccell .flex-row.medium-flex-wrap.container {
    justify-content:center;
    margin-bottom:0;
}
.tax-product_cat.term-ccell .filter-button,
.tax-product_cat.term-ccell .woocommerce-result-count,
.tax-product_cat.term-ccell form.woocommerce-ordering { display:none !important; }

.ccell-selector-wrap {
    width:100%;
    max-width:100% !important;
    margin:0 auto 40px;
    padding:0 10px;
}
.ccell-tech-grid { align-items:stretch; }
.ccell-selector-wrap .ccell-tech-card {
    display:flex;
    flex-direction:column;
    min-height:100%;
}
.ccell-selector-wrap .card-badge { margin-top:16px; }
.ccell-selector-wrap .card-type-label {
    min-height:58px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0 18px 6px;
    line-height:1.15;
}
.ccell-selector-wrap .card-img-area {
    min-height:300px;
    padding:18px 18px 10px;
}
.ccell-selector-wrap .card-img-duo { gap:10px; }
.ccell-selector-wrap .card-img-duo .duo-item img { max-height:250px; }
.ccell-selector-wrap .card-img-cta { padding-top:12px; }
.ccell-selector-wrap .card-content {
    display:flex;
    flex:1;
    flex-direction:column;
}
.ccell-selector-wrap .card-content h3 { font-size:17px; }
.ccell-selector-wrap .coil-name { margin-bottom:8px; }
.ccell-selector-wrap .card-content p { font-size:12.5px; }
.ccell-selector-wrap .oil-compat { margin-bottom:12px; }
.ccell-selector-wrap .card-specs {
    margin-top:auto;
    padding-top:8px;
}
.tax-product_cat.term-ccell .term-description {
    max-width:1180px;
    margin:0 auto 34px;
    padding:0 15px;
}
.tax-product_cat.term-ccell .products.row.row-small.large-columns-3.medium-columns-3.small-columns-2 {
    width:100% !important;
    max-width:100% !important;
}
.tax-product_cat.term-ccell .products.row.row-small.large-columns-3.medium-columns-3.small-columns-2 > .product-small.col {
    padding-left:10px;
    padding-right:10px;
}
.tax-product_cat.term-ccell .products .product-small .box-image {
    min-height:280px !important;
}
.tax-product_cat.term-ccell .products .product-small .box-image img {
    max-width:88% !important;
}
.tax-product_cat.term-ccell .term-description p {
    font-size:14px;
    line-height:1.7;
    color:#555;
}
.tax-product_cat.term-ccell .term-description p strong { color:#1a1a1a; }

@media (min-width:1024px) {
    .tax-product_cat.term-ccell .row.category-page-row,
    .tax-product_cat.term-ccell .products.row.row-small.large-columns-3.medium-columns-3.small-columns-2 {
        width:calc(100vw - 28px) !important;
        max-width:none !important;
        margin-left:auto !important;
        margin-right:auto !important;
    }

    .tax-product_cat.term-ccell .row.category-page-row > .col.large-9 {
        padding-left:12px;
        padding-right:12px;
    }

    .ccell-selector-wrap { padding:0 !important; }
    .ccell-tech-grid { gap:20px; }
    .ccell-selector-wrap .card-badge {
        font-size:12px;
        margin-top:18px;
    }
    .ccell-selector-wrap .card-type-label {
        font-size:clamp(24px, 1.9vw, 34px);
        min-height:88px;
        padding:0 24px 10px;
    }
    .ccell-selector-wrap .card-img-area {
        min-height:clamp(300px, 24vw, 430px);
        padding:24px 24px 14px;
    }
    .ccell-selector-wrap .card-img-duo { gap:14px; }
    .ccell-selector-wrap .card-img-duo .duo-item img { max-height:clamp(250px, 17vw, 360px); }
    .ccell-selector-wrap .card-img-cta {
        font-size:13px;
        padding-top:14px;
    }
    .ccell-selector-wrap .card-content {
        padding:16px 18px 22px;
    }
    .ccell-selector-wrap .card-content h3 { font-size:clamp(18px, 1.1vw, 22px); }
    .ccell-selector-wrap .coil-name { font-size:12px; }
    .ccell-selector-wrap .card-content p {
        font-size:clamp(13.5px, 0.9vw, 15px);
        line-height:1.6;
    }
    .ccell-selector-wrap .oil-compat { font-size:clamp(13px, 0.9vw, 14px); }
    .ccell-selector-wrap .spec-tag {
        font-size:11px;
        padding:3px 8px;
    }

    .tax-product_cat.term-ccell .products .product-small .box-image {
        min-height:320px !important;
    }
}

@media (min-width:1800px) {
    .tax-product_cat.term-ccell .products.row.row-small.large-columns-3.medium-columns-3.small-columns-2 > .product-small.col {
        width:25% !important;
        max-width:25% !important;
        flex:0 0 25% !important;
    }
}

@media (max-width:1100px) {
    .ccell-tech-grid { grid-template-columns:repeat(2, 1fr); }
}

@media (max-width:768px) {
    .ccell-tech-grid { grid-template-columns:1fr; }
    .ccell-selector-wrap .card-type-label {
        min-height:0;
        font-size:20px;
    }
    .ccell-selector-wrap .card-img-area { min-height:240px; }
    .tax-product_cat.term-ccell .row.category-page-row { display:block !important; }
    .tax-product_cat.term-ccell .term-description { margin-bottom:24px; }
}

/* =============================================================================
   C. Component CSS — Disposable AIO Selector
   (from functions.php woocommerce_before_shop_loop for disposable category)
   ============================================================================= */

/* Hide sidebar on disposables page, make content full-width */
.tax-product_cat.term-disposable .shop-sidebar { display:none !important; }
.tax-product_cat.term-disposable .content-area { width:100% !important; max-width:100% !important; flex:0 0 100% !important; }
.tax-product_cat.term-disposable .row.category-page-row > .col:first-child { display:none !important; }
.tax-product_cat.term-disposable .row.category-page-row > .large-9 { width:100% !important; max-width:100% !important; flex:0 0 100% !important; }
/* Hide the red hero bar on disposables and cartridge pages + family subpages */
.tax-product_cat.term-disposable .shop-page-title,
.tax-product_cat.term-cartridge .shop-page-title { display:none !important; }
/* Hide hero bar on all family subcategory pages */
[class*="term-aio-"] .shop-page-title,
[class*="term-cart-"] .shop-page-title { display:none !important; }
.aio-selector-wrap { max-width:1570px; margin:0 auto 40px; padding:0 15px; }
.aio-selector-title { text-align:center; margin-bottom:30px; padding-top:10px; }
.aio-selector-title h2 { font-size:36px; font-weight:800; color:#1a1a1a; margin:0 0 12px; }
.aio-selector-title p { font-size:17px; color:#555; max-width:700px; margin:0 auto; line-height:1.6; }
.aio-tech-grid { display:grid; grid-template-columns:repeat(4, 1fr); gap:12px; margin-bottom:18px; align-items:stretch; }
@media (max-width:1100px) { .aio-tech-grid { grid-template-columns:repeat(2, 1fr); } }
@media (max-width:768px) { .aio-tech-grid { grid-template-columns:1fr; } }
.aio-tech-card {
    background:#fff; border-radius:10px; overflow:hidden; text-align:center;
    box-shadow:0 2px 12px rgba(0,0,0,0.05); border:2px solid transparent;
    transition:all 0.3s ease; text-decoration:none !important; display:flex; flex-direction:column; color:inherit;
}
.aio-tech-card:hover {
    border-color:#E50914; box-shadow:0 6px 25px rgba(0,0,0,0.1);
    transform:translateY(-3px); text-decoration:none !important; color:inherit;
}
.aio-tech-card .card-badge {
    display:inline-block; padding:0; border-radius:0; background:none;
    font-size:10px; font-weight:600; text-transform:uppercase; letter-spacing:0.8px; margin-top:12px;
    color:#888;
}
.aio-tech-card .card-type-label { font-size:19px; }
.aio-tech-card .card-img-area {
    padding:10px 10px 5px; background:linear-gradient(180deg, #fafafa 0%, #fff 100%);
    min-height:320px; display:flex; align-items:center; justify-content:center;
}
.aio-tech-card .card-img-area img { max-height:300px; max-width:80%; object-fit:contain; }
.aio-tech-card .card-img-duo { display:flex; align-items:flex-end; justify-content:center; gap:8px; width:100%; }
.aio-tech-card .card-img-duo .duo-item { text-align:center; flex:1; }
.aio-tech-card .card-img-duo .duo-item img { max-height:290px; max-width:100%; object-fit:contain; }
.aio-tech-card-hero .card-img-area { padding:14px 18px 8px; overflow:visible; }
.aio-tech-card-hero .card-img-duo { align-items:flex-end; justify-content:center; gap:18px; }
.aio-tech-card-hero .hero-vision-box,
.aio-tech-card-hero .hero-rosin-bar { display:flex; justify-content:center; }
.aio-tech-card-hero .hero-vision-box { flex:0 0 40%; }
.aio-tech-card-hero .hero-rosin-bar { flex:0 0 23%; }
.aio-tech-card-hero .hero-vision-box img { max-height:168px !important; max-width:100% !important; width:auto !important; object-fit:contain !important; }
.aio-tech-card-hero .hero-rosin-bar img { max-height:176px !important; max-width:100% !important; width:auto !important; object-fit:contain !important; }
.aio-tech-card .card-img-duo .duo-label { font-size:9px; color:#999; text-transform:uppercase; letter-spacing:0.3px; margin-top:4px; font-weight:600; }
.aio-tech-card .card-content { padding:12px 14px 18px; border-top:1px solid #f0f0f0; flex:1; display:flex; flex-direction:column; }
.aio-tech-card .card-content h3 { font-size:16px; font-weight:700; margin:0 0 3px; color:#1a1a1a; }
.aio-tech-card .coil-name { font-size:10px; color:#999; margin:0 0 8px; text-transform:uppercase; letter-spacing:0.5px; }
.aio-tech-card .card-content p { font-size:12px; color:#666; line-height:1.5; margin:0 0 10px; }
.aio-tech-card .oil-compat { font-size:11.5px; color:#444; margin:0 0 10px; }
.aio-tech-card .oil-compat strong { color:#E50914 !important; }
.aio-tech-card .card-specs { display:flex; justify-content:center; gap:5px; flex-wrap:wrap; margin-top:auto; padding-top:10px; }
.aio-tech-card .spec-tag { background:#f5f5f5; padding:2px 6px; border-radius:3px; font-size:9px; color:#555; font-weight:500; }
.aio-tech-card .card-cta { color:#E50914; font-size:11px; font-weight:600; text-transform:uppercase; letter-spacing:0.3px; margin-top:10px; display:inline-block; }
.aio-compare-bar {
    background:#f8f8f8; border-radius:8px; padding:15px 22px;
    display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px;
}
.aio-compare-bar p { margin:0; font-size:13px; color:#555; }
.aio-compare-bar p strong { color:#333; }
.aio-compare-bar .cta-btn {
    background:#E50914; color:#fff !important; padding:9px 22px; border-radius:4px;
    font-weight:600; font-size:13px; text-decoration:none !important; transition:background 0.2s; white-space:nowrap;
}
.aio-compare-bar .cta-btn:hover { background:#c30812; }

/* === Product Family Cards — use native Flatsome product grid, no custom card styles needed === */

/* === Family Subcategory Page Header === */
.hd-family-header {
    text-align: center;
    max-width: 1400px;
    margin: 0 auto 30px;
    padding: 10px 15px 0;
}
.hd-family-back {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #E50914;
    text-decoration: none !important;
    margin-bottom: 10px;
}
.hd-family-back:hover { color: #c30812; text-decoration: underline !important; }
.hd-family-title {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 6px;
}
.hd-family-subtitle {
    font-size: 15px;
    color: #666;
    margin: 0;
}

/* === Family subpages — full width, no sidebar === */
[class*="term-aio-"] .shop-sidebar,
[class*="term-cart-"] .shop-sidebar { display:none !important; }
[class*="term-aio-"] .row.category-page-row > .large-9,
[class*="term-cart-"] .row.category-page-row > .large-9 { width:100% !important; max-width:100% !important; flex:0 0 100% !important; }
[class*="term-aio-"] .row.category-page-row > .large-3,
[class*="term-cart-"] .row.category-page-row > .large-3 { display:none !important; }
[class*="term-aio-"] .row.category-page-row > .large-9,
[class*="term-cart-"] .row.category-page-row > .large-9,
[class*="term-aio-"] .shop-container,
[class*="term-cart-"] .shop-container { width:100% !important; max-width:100% !important; flex:0 0 100% !important; }

/* =============================================================================
   C. Component CSS — CCELL Heating Technology Page (fallback)
   (from functions.php the_content filter for ccell-heating-technology)
   ============================================================================= */

.tech-page-wrap { max-width:1200px; margin:0 auto; }
.tech-hero { text-align:center; padding:0 20px 50px; }
.tech-hero h1 { font-size:36px; font-weight:800; color:#1a1a1a; margin:0 0 15px; }
.tech-hero .hero-sub { font-size:17px; color:#555; max-width:700px; margin:0 auto 25px; line-height:1.7; }
.tech-hero .hero-note { font-size:14px; color:#888; max-width:600px; margin:0 auto; line-height:1.6; }

.tech-jump-nav { display:flex; justify-content:center; gap:10px; flex-wrap:wrap; margin-bottom:50px; }
.tech-jump-nav a {
    padding:10px 20px; border-radius:6px; font-size:13px; font-weight:600; text-transform:uppercase;
    letter-spacing:0.5px; text-decoration:none; border:2px solid #e0e0e0; color:#555; transition:all 0.2s;
}
.tech-jump-nav a:hover { border-color:#E50914; color:#E50914; }

.tech-section {
    display:grid; grid-template-columns:1fr 1fr; gap:50px; align-items:center;
    padding:50px 0; border-top:1px solid #eee;
}
.tech-section:nth-child(even) .tech-img-col { order:-1; }
@media (max-width:768px) {
    .tech-section { grid-template-columns:1fr; gap:30px; padding:35px 0; }
    .tech-section:nth-child(even) .tech-img-col { order:0; }
}
.tech-img-col { text-align:center; }
.tech-img-col img { max-width:85%; max-height:350px; object-fit:contain; }
.tech-text-col .tech-tier {
    display:inline-block; font-size:11px; font-weight:600; text-transform:uppercase;
    letter-spacing:0.8px; color:#888; margin-bottom:8px;
}
.tech-text-col h2 { font-size:28px; font-weight:800; color:#1a1a1a; margin:0 0 5px; }
.tech-text-col .tech-tagline { font-size:16px; color:#E50914; font-weight:600; margin:0 0 15px; }
.tech-text-col p { font-size:14.5px; color:#555; line-height:1.7; margin:0 0 18px; }

.tech-specs { display:grid; grid-template-columns:1fr 1fr; gap:10px 20px; margin-bottom:20px; }
.tech-spec-item { display:flex; align-items:flex-start; gap:8px; }
.tech-spec-item .spec-icon { color:#E50914; font-weight:700; font-size:14px; margin-top:1px; flex-shrink:0; }
.tech-spec-item .spec-text { font-size:13px; color:#444; line-height:1.4; }
.tech-spec-item .spec-label { font-weight:600; display:block; font-size:11px; text-transform:uppercase; letter-spacing:0.3px; color:#999; }

.tech-oil-compat { margin-bottom:20px; }
.tech-oil-compat h4 { font-size:12px; font-weight:600; text-transform:uppercase; letter-spacing:0.5px; color:#999; margin:0 0 8px; }
.tech-oil-tags { display:flex; gap:6px; flex-wrap:wrap; }
.tech-oil-tags .oil-tag { padding:4px 10px; border-radius:4px; font-size:11px; font-weight:600; }
.tech-oil-tags .oil-tag.primary { background:#e8f5e9; color:#2e7d32; }
.tech-oil-tags .oil-tag.secondary { background:#fff3e0; color:#e65100; }
.tech-oil-tags .oil-tag.neutral { background:#f5f5f5; color:#666; }

.tech-cta-row { display:flex; gap:10px; flex-wrap:wrap; margin-top:5px; }
.tech-cta-row a {
    padding:10px 22px; border-radius:5px; font-size:13px; font-weight:600;
    text-decoration:none; transition:all 0.2s;
}
.tech-cta-row .btn-primary { background:#E50914; color:#fff; }
.tech-cta-row .btn-primary:hover { background:#c30812; }
.tech-cta-row .btn-secondary { background:#f5f5f5; color:#333; border:1px solid #ddd; }
.tech-cta-row .btn-secondary:hover { background:#eee; }

.tech-compare-section { padding:60px 0 40px; border-top:1px solid #eee; }
.tech-compare-section h2 { text-align:center; font-size:26px; font-weight:800; color:#1a1a1a; margin:0 0 8px; }
.tech-compare-section > p { text-align:center; font-size:16px; color:#888; margin:0 0 30px; }
.tech-compare-table { width:100%; border-collapse:collapse; font-size:15px; }
.tech-compare-table thead th {
    background:#1a1a1a; color:#fff; padding:14px 18px; text-align:center; font-weight:600;
    font-size:14px; text-transform:uppercase; letter-spacing:0.5px;
}
.tech-compare-table thead th:first-child { text-align:left; border-radius:6px 0 0 0; }
.tech-compare-table thead th:last-child { border-radius:0 6px 0 0; }
.tech-compare-table tbody td { padding:14px 18px; border-bottom:1px solid #eee; text-align:center; color:#444; }
.tech-compare-table tbody td:first-child { text-align:left; font-weight:600; color:#333; }
.tech-compare-table tbody tr:hover { background:#fafafa; }
.tech-compare-table .check { color:#2e7d32; font-weight:700; }
.tech-compare-table .dash { color:#ccc; }
@media (max-width:768px) {
    .tech-compare-table { font-size:11px; }
    .tech-compare-table thead th, .tech-compare-table tbody td { padding:8px 6px; }
}

.tech-bottom-cta {
    text-align:center; background:#f8f8f8; border-radius:10px;
    padding:40px 30px; margin:40px 0 0;
}
.tech-bottom-cta h3 { font-size:22px; font-weight:700; color:#1a1a1a; margin:0 0 10px; }
.tech-bottom-cta p { font-size:14px; color:#666; max-width:500px; margin:0 auto 20px; line-height:1.6; }
.tech-bottom-cta a {
    display:inline-block; background:#E50914; color:#fff; padding:12px 30px; border-radius:5px;
    font-weight:600; font-size:14px; text-decoration:none; transition:background 0.2s;
}
.tech-bottom-cta a:hover { background:#c30812; }

/* =============================================================================
   C. Component CSS — Product Catalog Page
   (from functions.php the_content filter for shop-hamilton)
   ============================================================================= */

.pc-wrap{max-width:1200px;margin:0 auto;padding:0 20px}
.pc-header{text-align:center;padding:0 0 45px}
.pc-header h1{font-size:36px;font-weight:800;color:#1a1a1a;margin:0 0 12px}
.pc-header p{font-size:17px;color:#555;max-width:680px;margin:0 auto;line-height:1.7}
.pc-hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:24px}
.pc-hero-card{position:relative;display:flex;flex-direction:column;border:2px solid #e8e8e8;border-radius:12px;overflow:hidden;text-decoration:none;color:inherit;transition:border-color .25s,box-shadow .25s,transform .25s;background:#fff}
.pc-hero-card:hover{border-color:#E50914;transform:translateY(-4px);box-shadow:0 12px 35px rgba(0,0,0,.12)}
.pc-hero-img{height:280px;display:flex;align-items:center;justify-content:center;background:#f8f8f8;padding:25px}
.pc-hero-img img{max-height:230px;max-width:90%;object-fit:contain}
.pc-hero-body{padding:28px 28px 24px;flex:1;display:flex;flex-direction:column}
.pc-label{display:inline-block;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.8px;color:#E50914;background:rgba(229,9,20,.08);padding:4px 10px;border-radius:4px;margin-bottom:12px;width:fit-content}
.pc-hero-body h2{font-size:24px;font-weight:700;color:#1a1a1a;margin:0 0 10px}
.pc-hero-body .pc-desc{font-size:14.5px;color:#555;line-height:1.65;margin:0 0 15px;flex:1}
.pc-count{font-size:13px;color:#888;margin:0 0 18px}
.pc-btn{display:inline-block;background:#E50914;color:#fff;font-size:14px;font-weight:600;padding:12px 28px;border-radius:6px;text-decoration:none;text-align:center;transition:background .2s;width:fit-content}
.pc-btn:hover{background:#c30812;color:#fff}
.pc-mid-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:45px}
.pc-mid-card{display:flex;align-items:center;gap:24px;border:2px solid #e8e8e8;border-radius:12px;padding:24px;text-decoration:none;color:inherit;transition:border-color .25s,box-shadow .25s,transform .25s;background:#fff}
.pc-mid-card:hover{border-color:#E50914;transform:translateY(-3px);box-shadow:0 8px 25px rgba(0,0,0,.1)}
.pc-mid-img{width:120px;height:120px;flex-shrink:0;display:flex;align-items:center;justify-content:center;background:#f8f8f8;border-radius:8px;overflow:hidden}
.pc-mid-img img{max-width:100%;max-height:100%;object-fit:contain}
.pc-mid-body h3{font-size:20px;font-weight:700;color:#1a1a1a;margin:0 0 8px}
.pc-mid-body .pc-desc{font-size:14px;color:#555;line-height:1.6;margin:0 0 8px}
.pc-mid-body .pc-count{margin:0}
.pc-tech-bar{display:flex;align-items:center;justify-content:space-between;background:linear-gradient(135deg,#1a1a1a,#2d2d2d);border-radius:12px;padding:28px 35px;margin-bottom:50px;color:#fff;flex-wrap:wrap;gap:15px}
.pc-tech-bar p{font-size:16px;font-weight:600;margin:0;flex:1}
.pc-tech-bar a{display:inline-block;background:#E50914;color:#fff;font-size:14px;font-weight:600;padding:12px 28px;border-radius:6px;text-decoration:none;transition:background .2s;white-space:nowrap}
.pc-tech-bar a:hover{background:#c30812;color:#fff}
.pc-divider{border:0;border-top:2px solid #eee;margin:0 0 40px}
.pc-section-title{text-align:center;margin-bottom:30px}
.pc-section-title h2{font-size:26px;font-weight:800;color:#1a1a1a;margin:0 0 8px}
.pc-section-title p{font-size:15px;color:#888;margin:0}
.pc-add-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:20px;margin-bottom:50px}
.pc-add-card{display:flex;flex-direction:column;align-items:center;border:2px solid #e8e8e8;border-radius:10px;padding:20px 15px;text-decoration:none;color:inherit;transition:border-color .25s,box-shadow .25s,transform .25s;background:#fff;text-align:center}
.pc-add-card:hover{border-color:#E50914;transform:translateY(-3px);box-shadow:0 8px 25px rgba(0,0,0,.1)}
.pc-add-img{width:90px;height:90px;display:flex;align-items:center;justify-content:center;background:#f8f8f8;border-radius:8px;margin-bottom:14px;overflow:hidden}
.pc-add-img img{max-width:100%;max-height:100%;object-fit:contain}
.pc-add-card h4{font-size:15px;font-weight:700;color:#1a1a1a;margin:0 0 5px}
.pc-add-card .pc-count{font-size:12px;margin:0}
.pc-bottom-cta{text-align:center;background:#f9f9f9;border-radius:12px;padding:45px 30px;margin-bottom:20px}
.pc-bottom-cta h3{font-size:24px;font-weight:800;color:#1a1a1a;margin:0 0 10px}
.pc-bottom-cta p{font-size:15px;color:#555;margin:0 0 22px;max-width:550px;margin-left:auto;margin-right:auto}
.pc-bottom-cta .pc-btn{font-size:15px;padding:14px 35px}
@media(max-width:1024px){
    .pc-add-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:768px){
    .pc-hero-grid{grid-template-columns:1fr}
    .pc-mid-grid{grid-template-columns:1fr}
    .pc-tech-bar{flex-direction:column;text-align:center}
    .pc-add-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:480px){
    .pc-header h1{font-size:28px}
    .pc-hero-img{height:200px}
    .pc-mid-card{flex-direction:column;text-align:center}
    .pc-mid-img{width:100px;height:100px}
    .pc-add-grid{grid-template-columns:1fr 1fr}
    .pc-add-img{width:70px;height:70px}
}

/* =============================================================================
   C. Component CSS — Sidebar Navigation
   (from functions.php widget_display_callback filter)
   ============================================================================= */

.ccell-sidebar-nav { list-style:none; margin:0; padding:0; }
.ccell-sidebar-nav .ccell-nav-group { margin-bottom:18px; }
.ccell-sidebar-nav .ccell-nav-group-title a {
    font-size:14px; font-weight:700; color:#1a1a1a; text-decoration:none;
    display:block; padding:6px 0; transition:color .2s;
}
.ccell-sidebar-nav .ccell-nav-group-title a:hover { color:#E50914; }
.ccell-sidebar-nav .ccell-nav-group-title a.active { color:#E50914; }
.ccell-sidebar-nav .ccell-nav-sub { list-style:none; margin:0; padding:0 0 0 14px; }
.ccell-sidebar-nav .ccell-nav-sub li a {
    font-size:13px; font-weight:400; color:#555; text-decoration:none;
    display:block; padding:5px 0; border-left:2px solid transparent;
    padding-left:12px; transition:all .2s;
}
.ccell-sidebar-nav .ccell-nav-sub li a:hover { color:#E50914; border-left-color:#E50914; }
.ccell-sidebar-nav .ccell-nav-sub li a.active {
    color:#E50914; font-weight:600; border-left-color:#E50914;
}

/* =============================================================================
   C. Component CSS — PDP Informational Sections
   (from inc/pdp-sections.php render_pdp_sections_css())
   ============================================================================= */

/* ── PDP Informational Sections ── */
.pdp-evomax-wrap{max-width:1200px;margin:0 auto;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif}
.pdp-evomax-wrap *{box-sizing:border-box}

/* Section rhythm: alternating backgrounds */
.pdp-section{padding:60px 30px}
.pdp-section-dark{background:#1a1a1a;color:#fff}
.pdp-section-light{background:#f8f8f8;color:#1a1a1a}
.pdp-section-white{background:#fff;color:#1a1a1a}

/* ── a. Technology Overview ── */
.pdp-tech{display:flex;gap:50px;align-items:center;flex-wrap:wrap}
.pdp-tech-text{flex:1;min-width:300px}
.pdp-tech-text .pdp-badge{display:inline-block;background:#E50914;color:#fff;font-size:11px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;padding:5px 14px;border-radius:3px;margin-bottom:16px}
.pdp-tech-text h2{font-size:30px;font-weight:800;margin:0 0 8px;line-height:1.2}
.pdp-tech-text .pdp-tagline{font-size:16px;margin:0 0 20px;font-weight:500}
.pdp-section-dark .pdp-tech-text .pdp-tagline{color:#aaa}
.pdp-section-light .pdp-tech-text .pdp-tagline{color:#666}
.pdp-tech-text p{font-size:15px;line-height:1.7;margin:0 0 14px}
.pdp-section-dark .pdp-tech-text p{color:#ccc}
.pdp-section-light .pdp-tech-text p{color:#444}
.pdp-tech-stats{display:flex;gap:30px;margin-top:24px;flex-wrap:wrap}
.pdp-stat{text-align:center}
.pdp-stat-value{display:block;font-size:22px;font-weight:800;color:#E50914}
.pdp-stat-label{font-size:12px;color:#999;text-transform:uppercase;letter-spacing:0.5px;margin-top:4px}
.pdp-tech-img{flex:0 0 280px;text-align:center}
.pdp-tech-img img{max-width:100%;height:auto;filter:drop-shadow(0 10px 30px rgba(0,0,0,0.3))}

/* ── b. Specifications Table ── */
.pdp-specs-header{text-align:center;margin-bottom:35px}
.pdp-specs-header h2{font-size:26px;font-weight:800;margin:0 0 8px}
.pdp-specs-header p{font-size:14px;color:#888;margin:0}
.pdp-specs-table{width:100%;max-width:700px;margin:0 auto;border-collapse:collapse}
.pdp-specs-table tr{border-bottom:1px solid #eee}
.pdp-specs-table td{padding:14px 16px;font-size:14px;vertical-align:top}
.pdp-specs-table td:first-child{font-weight:600;color:#1a1a1a;width:40%;white-space:nowrap}
.pdp-specs-table td:last-child{color:#555}

/* ── c. Oil Compatibility ── */
.pdp-oil-header{text-align:center;margin-bottom:35px}
.pdp-oil-header h2{font-size:26px;font-weight:800;margin:0 0 8px;color:#fff}
.pdp-oil-header p{font-size:14px;color:#aaa;margin:0}
.pdp-oil-grid{display:flex;gap:20px;justify-content:center;flex-wrap:wrap;margin-bottom:30px}
.pdp-oil-card{background:#222;border:1px solid #333;border-radius:10px;padding:28px 24px;text-align:center;min-width:160px;flex:1;max-width:220px}
.pdp-oil-icon{font-size:32px;margin-bottom:10px}
.pdp-oil-name{font-size:16px;font-weight:700;margin:0 0 6px;color:#fff}
.pdp-oil-check{color:#22c55e;font-weight:700;font-size:14px}
.pdp-oil-card .pdp-oil-check-limited{color:#eab308}
.pdp-oil-card .pdp-oil-check-no{color:#ef4444}
.pdp-oil-qualifier{color:#E50914;font-size:11px;font-weight:600;margin-top:4px;letter-spacing:0.3px}
.pdp-oil-card-link{text-decoration:none;color:inherit;flex:1;min-width:160px;max-width:220px;display:flex}
.pdp-oil-card-link .pdp-oil-card{width:100%;cursor:pointer;transition:border-color .2s,box-shadow .2s}
.pdp-oil-card-link:hover .pdp-oil-card{border-color:#E50914;box-shadow:0 0 12px rgba(229,9,20,0.25)}
.pdp-oil-card-link:hover .pdp-oil-name,
.pdp-oil-card-link:hover .pdp-oil-check{color:inherit}
.pdp-oil-learn{font-size:11px;color:#888;margin-top:8px;letter-spacing:0.3px;transition:color .2s}
.pdp-oil-card-link:hover .pdp-oil-learn{color:#E50914}
.pdp-oil-note{max-width:700px;margin:0 auto;text-align:center;font-size:14px;line-height:1.7;color:#aaa}

/* ── d. Materials & Compliance ── */
.pdp-compliance-header{text-align:center;margin-bottom:35px}
.pdp-compliance-header h2{font-size:26px;font-weight:800;margin:0 0 8px}
.pdp-compliance-header p{font-size:14px;color:#888;margin:0}
.pdp-compliance-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;max-width:900px;margin:0 auto}
.pdp-compliance-card{background:#f0f0f0;border-radius:10px;padding:28px 22px;text-align:center}
.pdp-compliance-icon{font-size:28px;margin-bottom:12px;color:#E50914}
.pdp-compliance-card h4{font-size:15px;font-weight:700;margin:0 0 8px;color:#1a1a1a}
.pdp-compliance-card p{font-size:13px;color:#555;line-height:1.6;margin:0}

/* ── e. Compare CTA ── */
.pdp-compare-bar{display:flex;align-items:center;justify-content:space-between;background:linear-gradient(135deg,#1a1a1a,#2d2d2d);border-radius:12px;padding:28px 35px;max-width:900px;margin:0 auto;color:#fff;flex-wrap:wrap;gap:15px}
.pdp-compare-bar p{font-size:16px;font-weight:600;margin:0;flex:1}
.pdp-compare-bar a{display:inline-block;background:#E50914;color:#fff;font-size:14px;font-weight:600;padding:12px 28px;border-radius:6px;text-decoration:none;transition:background .2s;white-space:nowrap}
.pdp-compare-bar a:hover{background:#c30812;color:#fff}
.pdp-compare-bar .pdp-btn-outline{background:transparent;border:2px solid #fff;color:#fff}
.pdp-compare-bar .pdp-btn-outline:hover{background:#fff;color:#1a1a1a}

/* ── Sales rep button (add-to-cart area) ── */
.pdp-sales-cta{margin-top:14px}
.pdp-sales-cta a{display:inline-block;background:transparent;color:#1a1a1a;border:2px solid #1a1a1a;font-size:14px;font-weight:600;padding:11px 24px;border-radius:6px;text-decoration:none;transition:all .2s;text-align:center;width:100%}
.pdp-sales-cta a:hover{background:#1a1a1a;color:#fff}

/* ── PDP Responsive ── */
@media(max-width:768px){
    .pdp-section{padding:40px 20px}
    .pdp-tech{flex-direction:column;text-align:center}
    .pdp-tech-img{flex:0 0 auto;order:-1}
    .pdp-tech-stats{justify-content:center}
    .pdp-compliance-grid{grid-template-columns:1fr}
    .pdp-compare-bar{flex-direction:column;text-align:center}
    .pdp-specs-table td:first-child{width:45%}
}
@media(max-width:480px){
    .pdp-tech-text h2{font-size:24px}
    .pdp-oil-grid{flex-direction:column;align-items:center}
    .pdp-oil-card{max-width:100%;width:100%}
    .pdp-oil-card-link{max-width:100%;width:100%}
    .pdp-specs-header h2,
    .pdp-oil-header h2,
    .pdp-compliance-header h2{font-size:22px}
}

/* ── Heating Tech page — inline style replacements ── */
.hd-text-red-x {
    color: #ef4444;
}
.hd-body-dark-mt {
    font-size: 15px;
    line-height: 1.8;
    color: #ccc;
    max-width: 800px;
    margin-top: 16px;
}
.hd-link-sm {
    font-size: 12px;
}

/* ── Technology deep-dive pages — shortcode class replacements ── */
.hd-hero-title {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}
.hd-hero-desc {
    font-size: 19px;
    color: #ccc;
    max-width: 640px;
    line-height: 1.7;
}
.hd-card-subtitle {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.hd-card-link {
    font-size: 12px;
    margin-top: 8px;
}
.hd-spec-caption {
    font-size: 13px;
    color: #666;
}
.hd-compare-tier {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.hd-compare-tier-active {
    font-size: 11px;
    color: #E50914;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}
.hd-compare-name {
    font-size: 16px;
    font-weight: 700;
}
.hd-compare-name a {
    color: #666;
    text-decoration: none;
}
.hd-compare-name a:hover {
    color: #E50914;
}
.hd-compare-name-active {
    font-size: 16px;
    font-weight: 700;
    color: #E50914;
}
.hd-compare-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 0;
}
.hd-faq-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 24px;
}
.hd-img-rounded {
    max-width: 500px;
    width: 100%;
    height: auto;
    border-radius: 12px;
}
.hd-img-full-rounded {
    width: 100%;
    height: auto;
    border-radius: 12px;
}
.hd-img-full {
    width: 100%;
    height: auto;
}
.hd-img-centered {
    max-width: 900px;
    width: 100%;
    height: auto;
    margin: 0 auto;
}
.hd-img-sm {
    max-width: 300px;
    width: 100%;
    height: auto;
}
@media only screen and (max-width: 48em) {
    .hd-hero-title {
        font-size: 34px;
    }
    .hd-hero-desc {
        font-size: 16px;
    }
}

/* ── Oil Guide pages — inline style replacements ── */
.hd-body-narrow {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    max-width: 700px;
}
.hd-body-dark-narrow {
    font-size: 15px;
    line-height: 1.8;
    color: #ccc;
    max-width: 700px;
}
.hd-section-title-h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 16px;
}
.hd-body-mb {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    max-width: 800px;
    margin-bottom: 24px;
}
.hd-card-red-title {
    font-size: 14px;
    font-weight: 700;
    color: #E50914;
    margin-bottom: 8px;
}
.hd-card-body-light {
    font-size: 13px;
    color: #444;
    line-height: 1.7;
}
.hd-spec-stat {
    font-size: 22px;
    font-weight: 800;
    color: #E50914;
    margin-bottom: 4px;
}
.hd-spec-desc {
    font-size: 12px;
    color: #666;
}
.hd-list {
    font-size: 15px;
    line-height: 2;
    color: #444;
    max-width: 700px;
    padding-left: 20px;
}
.hd-platform-label {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.hd-platform-name {
    font-size: 16px;
    font-weight: 700;
}
.hd-platform-desc {
    font-size: 12px;
    color: #aaa;
    margin-bottom: 0;
}
.hd-platform-link-yellow {
    color: #eab308;
    text-decoration: none;
}
.hd-platform-link-green {
    color: #22c55e;
    text-decoration: none;
}
.hd-strong-light {
    color: #ddd;
}
.hd-strong-white {
    color: #eee;
}
.hd-oil-img {
    width: 100%;
    border-radius: 10px;
}
.hd-spec-label-oil {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.hd-substep-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}
.hd-list-dark {
    font-size: 15px;
    line-height: 2;
    color: #ccc;
    max-width: 700px;
    padding-left: 20px;
}
.hd-list-dark strong {
    color: #eee;
}
.hd-oil-img-mb {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}
.hd-platform-link-green {
    color: #22c55e;
    text-decoration: none;
}
.hd-platform-link-green:hover {
    color: #16a34a;
}

/* =============================================================================
   Responsive overrides
   ============================================================================= */
@media only screen and (max-width: 48em) {
    .hd-page-title {
        font-size: 32px;
    }
    .hd-h2-md {
        font-size: 26px;
    }
    .hd-hero-sub {
        font-size: 16px;
    }
    .hd-section-title,
    .hd-section-title-sm {
        font-size: 24px;
    }
    .hd-section-title-h3 {
        font-size: 20px;
    }
}

/* =============================================================================
   Category Hero Banner (AIO 3.0 Bio-Heating etc.)
   ============================================================================= */
/* Force the category hero text-box to top-left */
.hd-cat-hero-wrap .text-box.banner-layer {
    left: 40px !important;
    top: 40px !important;
    transform: none !important;
    text-align: left;
}
@media only screen and (max-width: 48em) {
    .hd-cat-hero-wrap .text-box.banner-layer {
        left: 20px !important;
        top: 20px !important;
    }
}

/* === OEM Capabilities Grid (Custom Branding section) === */
.hd-oem-grid-col .row-inner {
    margin-bottom: 0 !important;
}
.hd-oem-grid-col .row-inner .col-inner {
    margin-bottom: 0 !important;
}
.hd-oem-grid-col .box-shadow-1,
.hd-oem-grid-col .box-shadow-2,
.hd-oem-grid-col .box-shadow-3 {
    box-shadow: none !important;
}
.hd-oem-grid-col img {
    border-radius: 4px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hd-oem-grid-col img:hover {
    transform: scale(1.04);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    z-index: 2;
    position: relative;
}

/* === CTA Section (Start Your Partnership) === */
.hd-cta-buttons {
    display: flex !important;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}
.hd-cta-primary {
    display: inline-block !important;
    background: #E50914 !important;
    color: #fff !important;
    padding: 14px 36px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: background 0.2s;
}
.hd-cta-primary:hover {
    background: #c30812 !important;
    color: #fff !important;
}
.hd-cta-outline {
    display: inline-block !important;
    background: transparent !important;
    color: #fff !important;
    padding: 14px 36px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 4px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: border-color 0.2s;
}
.hd-cta-outline:hover {
    border-color: #fff;
    color: #fff !important;
}

/* === Product Short Description — specs bold labels in black === */
.product .product_meta + .product-short-description strong,
.product .woocommerce-product-details__short-description strong,
.product .product-short-description strong {
    color: #1a1a1a !important;
}

/* === Product Grid Cards — make images bigger, less wasted space === */
.product-small.box .box-image img,
.xzfd .product-small.box img {
    width: 80% !important;
    max-width: 80% !important;
    height: auto !important;
    margin: 4px auto !important;
    display: block !important;
}
.product-small.box .box-image,
.xzfd .product-small.box .box-image {
    min-height: 220px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* =============================================================================
   Metallic Anodized Red — brushed metal effect
   ============================================================================= */

/* Topbar — metallic anodized red
   Flatsome injects .header-top{background-color:#E50914!important} in <style id="custom-css">.
   We must override via wp_head hook in functions.php at priority 999 to load AFTER Flatsome. */

/* =============================================================================
   Wholesale Dashboard
   ============================================================================= */
.hd-wholesale-dashboard {
    max-width: 1400px;
    margin: 0;
    padding: 0;
    font-feature-settings: "cv02", "cv03", "cv04", "cv11";
    -webkit-font-smoothing: antialiased;
}

.hd-wholesale-dashboard__shell {
    background: #fff;
    padding: 0;
    display: grid;
    gap: 1px;
    background: #e5e7eb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.hd-wholesale-dashboard__shell > * {
    background: #fff;
}

.hd-panel-kicker,
.hd-stat-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: #6b7280;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hd-wholesale-dashboard__hero {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 1px;
    background: #e5e7eb;
}

.hd-wholesale-dashboard__hero > * {
    background: #fff;
}

.hd-wholesale-dashboard__hero-main {
    background: #111827;
    color: #fff;
    padding: 28px 32px;
    border: none;
}

.hd-wholesale-dashboard__hero-main .hd-stat-label {
    color: #9ca3af;
}

.hd-wholesale-dashboard__hero-main strong {
    display: block;
    margin-top: 8px;
    font-size: 40px;
    line-height: 1;
    letter-spacing: -0.03em;
    font-weight: 700;
    color: #fff;
}

.hd-wholesale-dashboard__hero-main small {
    display: block;
    margin-top: 12px;
    color: #9ca3af;
    font-size: 13px;
    line-height: 1.5;
}

.hd-wholesale-dashboard__hero-stats {
    display: contents;
}

.hd-wholesale-dashboard__mini-stat {
    background: #fff;
    padding: 28px 24px;
}

.hd-wholesale-dashboard__mini-stat strong {
    display: block;
    margin-top: 8px;
    font-size: 28px;
    line-height: 1;
    letter-spacing: -0.02em;
    font-weight: 700;
    color: #111827;
}

.hd-wholesale-dashboard__mini-stat small {
    display: block;
    margin-top: 10px;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.4;
}

.hd-wholesale-dashboard__range {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin-right: auto;
}

.hd-wholesale-dashboard__range button {
    min-height: 40px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: #5f6772;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.02em;
    padding: 0 10px;
    border-radius: 0;
    transition: all 0.2s ease;
}

.hd-wholesale-dashboard__range button:hover,
.hd-wholesale-dashboard__range button.is-active {
    color: #1a1a1a;
    border-bottom-color: #E50914;
}

.hd-control-label {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 11px;
    font-weight: 700;
    color: #8a8f98;
}

.hd-wholesale-dashboard__workspace-controls {
    margin-bottom: 8px;
}

.hd-wholesale-dashboard__toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 12px;
    padding: 0 0 12px;
    border-bottom: 1px solid #e5e7eb;
}

.hd-wholesale-dashboard__toolbar-primary,
.hd-wholesale-dashboard__toolbar-secondary {
    display: flex;
    align-items: center;
    gap: 8px 10px;
    min-width: 0;
}

.hd-wholesale-dashboard__toolbar-primary {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    align-items: center;
    flex: 0 0 auto;
    gap: 8px;
}

.hd-wholesale-dashboard__toolbar-secondary {
    flex: 1 1 auto;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.hd-wholesale-dashboard__toolbar-field {
    display: block;
    flex: 0 0 auto;
    margin: 0;
}

.hd-wholesale-dashboard__toolbar-select-wrap {
    position: relative;
    display: inline-block;
    min-width: 0;
}

.hd-wholesale-dashboard__toolbar-field--time .hd-wholesale-dashboard__toolbar-select-wrap {
    width: 104px;
}

.hd-wholesale-dashboard__toolbar-field--metric .hd-wholesale-dashboard__toolbar-select-wrap {
    width: 96px;
}

.hd-wholesale-dashboard__toolbar-field--product .hd-wholesale-dashboard__toolbar-select-wrap {
    width: 230px;
}

.hd-wholesale-dashboard__toolbar-select-wrap::after {
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid #6b7280;
    border-bottom: 1.5px solid #6b7280;
    transform: translateY(-65%) rotate(45deg);
    pointer-events: none;
}

.hd-wholesale-dashboard__toolbar-select-wrap select {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    min-height: 32px;
    margin: 0;
    padding: 0 28px 0 8px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    background: #fff;
    color: #111827;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.hd-wholesale-dashboard__menu {
    position: relative;
}

.hd-wholesale-dashboard__menu > summary {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 0 10px;
    border: 1px solid rgba(17, 24, 39, 0.14);
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    list-style: none;
}

.hd-wholesale-dashboard__menu > summary::-webkit-details-marker {
    display: none;
}

.hd-wholesale-dashboard__menu > summary span {
    color: #6b7280;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.hd-wholesale-dashboard__menu > summary strong {
    max-width: 150px;
    overflow: hidden;
    color: #1a1a1a;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hd-wholesale-dashboard__menu > summary::after {
    content: "";
    margin-left: auto;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid #6b7280;
    border-bottom: 1.5px solid #6b7280;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.hd-wholesale-dashboard__menu[open] > summary::after {
    transform: rotate(225deg);
}

.hd-wholesale-dashboard__menu[open] > summary {
    border-color: rgba(17, 24, 39, 0.22);
}

.hd-wholesale-dashboard__menu-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 20;
    min-width: 320px;
    max-width: min(620px, 82vw);
    padding: 12px;
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: 10px;
    box-shadow: 0 14px 32px rgba(17, 24, 39, 0.12);
}

.hd-wholesale-dashboard__menu--products .hd-wholesale-dashboard__menu-panel {
    width: min(620px, 82vw);
}

.hd-wholesale-dashboard__menu--dates .hd-wholesale-dashboard__menu-panel {
    width: min(360px, 82vw);
}

.hd-wholesale-dashboard__dates {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.hd-wholesale-dashboard__dates label {
    margin: 0;
}

.hd-wholesale-dashboard__dates span {
    display: block;
    margin-bottom: 4px;
    color: #5f6772;
    font-size: 12px;
    font-weight: 600;
}

.hd-wholesale-dashboard__dates input {
    width: 100%;
    margin: 0;
    height: 40px;
    border-radius: 8px;
    border: 1px solid rgba(17, 24, 39, 0.14);
    background: #fff;
    box-shadow: none;
}

.hd-wholesale-dashboard__control-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.hd-wholesale-dashboard__control-actions button {
    border: 1px solid rgba(17, 24, 39, 0.14);
    background: #fff;
    color: #1a1a1a;
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
    padding: 9px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.hd-wholesale-dashboard__control-actions button:hover {
    background: #E50914;
    border-color: #E50914;
    color: #fff;
}

.hd-wholesale-dashboard__product-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hd-wholesale-dashboard__product-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 9px 12px;
    border-radius: 8px;
    border: 1px solid rgba(17, 24, 39, 0.12);
    background: #fff;
    margin: 0;
}

.hd-wholesale-dashboard__product-option input {
    margin: 0;
}

.hd-wholesale-dashboard__product-option span {
    color: #1a1a1a;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}

.hd-wholesale-dashboard__product-option em {
    color: #8a8f98;
    font-size: 12px;
    font-style: normal;
    white-space: nowrap;
}

.hd-wholesale-dashboard__product-empty {
    color: #8a8f98;
    font-size: 13px;
}

.hd-wholesale-dashboard__active-scope {
    margin-bottom: 12px;
    padding: 8px 12px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
}

.hd-wholesale-dashboard__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: #e5e7eb;
}

.hd-wholesale-dashboard__grid > * {
    background: #fff;
}

.hd-wholesale-dashboard__panel {
    background: #fff;
    border: none;
    border-radius: 0;
    padding: 24px 28px;
    box-shadow: none;
}

.hd-wholesale-dashboard__panel--workspace {
    padding: 24px 28px;
}

.hd-wholesale-dashboard__panel--forward {
    background: #f9fafb;
}

.hd-wholesale-dashboard__panel--forecast {
    border: none;
}

.hd-wholesale-dashboard__panel--table {
    padding-bottom: 0;
}

.hd-wholesale-dashboard__panel-head {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.hd-wholesale-dashboard__panel-head--workspace {
    margin-bottom: 16px;
}

.hd-wholesale-dashboard__panel-head h3 {
    margin: 4px 0 0;
    color: #111827;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.hd-wholesale-dashboard__panel-head p {
    margin: 0;
    color: #9ca3af;
    font-size: 12px;
    line-height: 1.5;
    max-width: 260px;
    text-align: right;
}

.hd-wholesale-dashboard__chart-wrap {
    height: 300px;
}

.hd-wholesale-dashboard__chart-wrap--hero {
    height: 380px;
}

.hd-wholesale-dashboard__chart-wrap--compact {
    height: 240px;
}

.hd-wholesale-dashboard__table-wrap {
    overflow-x: auto;
}

.hd-wholesale-dashboard__table thead th {
    background: #f9fafb;
    border-bottom: 2px solid #e5e7eb;
}

.hd-wholesale-dashboard__table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 0;
}

.hd-wholesale-dashboard__table th,
.hd-wholesale-dashboard__table td {
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #f3f4f6;
}

.hd-wholesale-dashboard__table th {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
    font-weight: 600;
}

.hd-wholesale-dashboard__table td {
    font-size: 13px;
    color: #111827;
    font-variant-numeric: tabular-nums;
}

.hd-wholesale-dashboard__table tbody tr:hover {
    background: #f9fafb;
}

.hd-wholesale-dashboard__table tbody tr {
    transition: background 0.1s;
}

.hd-wholesale-dashboard__order-number {
    display: block;
    font-weight: 700;
}

.hd-wholesale-dashboard__order-status {
    display: block;
    margin-top: 4px;
    color: #5f6772;
    font-size: 12px;
}

.hd-wholesale-dashboard__product-line {
    margin-bottom: 6px;
    color: #1a1a1a;
}

.hd-wholesale-dashboard__product-line:last-child {
    margin-bottom: 0;
}

.hd-wholesale-dashboard__sku {
    color: #8a8f98;
    font-size: 12px;
    font-weight: 600;
}

.hd-wholesale-dashboard__company {
    display: grid;
    gap: 1px;
    background: #e5e7eb;
}

.hd-wholesale-dashboard__company > * {
    background: #fff;
}

.hd-wholesale-dashboard__grid--insights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hd-wholesale-dashboard__grid--charts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hd-wholesale-dashboard__panel--company {
    padding: 18px 20px;
}

.hd-wholesale-dashboard__company-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hd-wholesale-dashboard__company-chip {
    min-width: 140px;
    padding: 12px 16px;
    border-radius: 4px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}

.hd-wholesale-dashboard__company-chip strong {
    display: block;
    color: #111827;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.hd-wholesale-dashboard__company-chip span {
    display: block;
    margin-top: 4px;
    color: #6b7280;
    font-size: 12px;
    line-height: 1.4;
}

.hd-wholesale-dashboard__forecast-list,
.hd-wholesale-dashboard__simple-table {
    display: grid;
    gap: 10px;
}

.hd-wholesale-dashboard__forecast-row,
.hd-wholesale-dashboard__simple-table-row {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-radius: 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid #f3f4f6;
}

.hd-wholesale-dashboard__simple-table-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hd-wholesale-dashboard__forecast-row:last-child,
.hd-wholesale-dashboard__simple-table-row:last-child {
    border-bottom: none;
}

.hd-wholesale-dashboard__forecast-row strong,
.hd-wholesale-dashboard__simple-table-row strong {
    display: block;
    color: #111827;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}

.hd-wholesale-dashboard__forecast-row span,
.hd-wholesale-dashboard__simple-table-row small {
    display: block;
    margin-top: 2px;
    color: #6b7280;
    font-size: 12px;
    line-height: 1.4;
}

.hd-wholesale-dashboard__simple-table-head {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 0 0 8px;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 2px;
}

.hd-wholesale-dashboard__simple-table-head span {
    color: #6b7280;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hd-wholesale-dashboard__forecast-meta {
    text-align: right;
}

.hd-wholesale-dashboard__status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 22px;
    padding: 0 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: capitalize;
    font-style: normal;
}

.hd-wholesale-dashboard__status-pill--on-track {
    color: #065f46;
    background: #d1fae5;
}

.hd-wholesale-dashboard__status-pill--due-soon {
    color: #92400e;
    background: #fef3c7;
}

.hd-wholesale-dashboard__status-pill--overdue {
    color: #991b1b;
    background: #fee2e2;
}

.hd-wholesale-dashboard__lead-summary {
    margin-bottom: 16px;
    padding: 16px 20px;
    border-radius: 4px;
    background: #111827;
}

.hd-wholesale-dashboard__lead-summary strong {
    display: block;
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.hd-wholesale-dashboard__lead-summary span {
    display: block;
    margin-top: 6px;
    color: #9ca3af;
    font-size: 12px;
    line-height: 1.4;
}

/* Lead time severity variants */
.hd-wholesale-dashboard__lead-summary--moderate {
    background: #78350f;
}

.hd-wholesale-dashboard__lead-summary--slow {
    background: #7f1d1d;
}

/* Forward plan primary card — dark callout */
.hd-wholesale-dashboard__forecast-card--primary {
    background: #111827;
    border-color: #111827;
}

.hd-wholesale-dashboard__forecast-card--primary .hd-stat-label {
    color: #9ca3af;
}

.hd-wholesale-dashboard__forecast-card--primary strong {
    color: #fff;
    font-size: 18px;
    line-height: 1.3;
}

.hd-wholesale-dashboard__forecast-card--primary small {
    color: #9ca3af;
}

/* Accent left-border variants for forecast cards */
.hd-wholesale-dashboard__forecast-card--accent-green {
    border-left: 3px solid #059669;
}

.hd-wholesale-dashboard__forecast-card--accent-blue {
    border-left: 3px solid #3b82f6;
}

.hd-wholesale-dashboard__forecast-card--accent-amber {
    border-left: 3px solid #d97706;
}

.hd-wholesale-dashboard__forecast-card--accent-red {
    border-left: 3px solid #dc2626;
}

/* Status dots for forecast rows */
.hd-wholesale-dashboard__status-dot {
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 5px;
}

.hd-wholesale-dashboard__status-dot--on-track {
    background: #059669;
}

.hd-wholesale-dashboard__status-dot--due-soon {
    background: #d97706;
}

.hd-wholesale-dashboard__status-dot--overdue {
    background: #dc2626;
}

.hd-wholesale-dashboard__forecast-row-main {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

/* Forecast row left-border by status */
.hd-wholesale-dashboard__forecast-row--overdue {
    border-left: 3px solid #dc2626;
    padding-left: 10px;
}

.hd-wholesale-dashboard__forecast-row--due-soon {
    border-left: 3px solid #d97706;
    padding-left: 10px;
}

.hd-wholesale-dashboard__forecast-row--on-track {
    border-left: 3px solid #059669;
    padding-left: 10px;
}

/* Savings highlight in tier opportunity */
.hd-wholesale-dashboard__savings-gap {
    color: #059669 !important;
}

.hd-wholesale-dashboard__savings-amount {
    color: #059669 !important;
    font-weight: 600 !important;
}

/* Open order row accent borders */
.hd-wholesale-dashboard__simple-table-row--awaiting-payment {
    border-left: 3px solid #d97706;
    padding-left: 10px;
}

.hd-wholesale-dashboard__simple-table-row--paid,
.hd-wholesale-dashboard__simple-table-row--cleared {
    border-left: 3px solid #059669;
    padding-left: 10px;
}

.hd-wholesale-dashboard__simple-table-row--on-hold {
    border-left: 3px solid #dc2626;
    padding-left: 10px;
}

/* Order number links */
.hd-wholesale-dashboard__order-link {
    color: #111827;
    text-decoration: none;
    border-bottom: 1px solid #d1d5db;
    transition: color 0.15s, border-color 0.15s;
}

.hd-wholesale-dashboard__order-link:hover {
    color: #E50914;
    border-bottom-color: #E50914;
}

.hd-wholesale-dashboard__forecast-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: #e5e7eb;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.hd-wholesale-dashboard__forecast-card {
    padding: 16px 18px;
    border-radius: 0;
    border: none;
    background: #fff;
}

.hd-wholesale-dashboard__panel--forward .hd-wholesale-dashboard__forecast-card {
    background: #fff;
}

.hd-wholesale-dashboard__forecast-card strong {
    display: block;
    margin-top: 6px;
    color: #111827;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.hd-wholesale-dashboard__forecast-card small {
    display: block;
    margin-top: 6px;
    color: #6b7280;
    font-size: 12px;
    line-height: 1.5;
}

.hd-wholesale-dashboard__empty {
    margin: 0;
    color: #5f6772;
    font-size: 13px;
    line-height: 1.6;
}

/* === Status pill variants for payment/shipment === */
.hd-wholesale-dashboard__status-pill--paid,
.hd-wholesale-dashboard__status-pill--cleared {
    color: #0f5132;
    background: #e8f7ef;
}

.hd-wholesale-dashboard__status-pill--pending,
.hd-wholesale-dashboard__status-pill--awaiting-payment {
    color: #8a5300;
    background: #fff4dd;
}

.hd-wholesale-dashboard__status-pill--shipped,
.hd-wholesale-dashboard__status-pill--delivered {
    color: #0f5132;
    background: #e8f7ef;
}

.hd-wholesale-dashboard__status-pill--processing,
.hd-wholesale-dashboard__status-pill--packing {
    color: #1e40af;
    background: #e0e7ff;
}

.hd-wholesale-dashboard__status-pill--on-hold {
    color: #991b1b;
    background: #fee2e2;
}

.hd-wholesale-dashboard__status-pill--not-shipped {
    color: #5f6772;
    background: #f1f3f5;
}

/* === Dashboard mobile === */
@media only screen and (max-width: 48em) {
    .hd-wholesale-dashboard__hero {
        grid-template-columns: 1fr;
    }

    .hd-wholesale-dashboard__hero-stats {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1px;
        background: #e5e7eb;
    }

    .hd-wholesale-dashboard__hero-main strong {
        font-size: 32px;
    }

    .hd-wholesale-dashboard__grid,
    .hd-wholesale-dashboard__grid--insights,
    .hd-wholesale-dashboard__grid--charts {
        grid-template-columns: 1fr;
    }

    .hd-wholesale-dashboard__forecast-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hd-wholesale-dashboard__panel {
        padding: 18px 16px;
    }

    .hd-wholesale-dashboard__panel-head {
        flex-direction: column;
        gap: 6px;
    }

    .hd-wholesale-dashboard__panel-head p {
        text-align: left;
        max-width: none;
    }

    .hd-wholesale-dashboard__chart-wrap--hero {
        height: 260px;
    }

    .hd-wholesale-dashboard__chart-wrap--compact {
        height: 200px;
    }

    .hd-wholesale-dashboard__simple-table-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .hd-wholesale-dashboard__simple-table-head {
        display: none;
    }

    .hd-wholesale-dashboard__forecast-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .hd-wholesale-dashboard__forecast-meta {
        text-align: left;
    }

    .hd-wholesale-dashboard__company-metrics {
        flex-direction: column;
    }

    .hd-wholesale-dashboard__lead-summary strong {
        font-size: 24px;
    }
}

@media only screen and (max-width: 30em) {
    .hd-wholesale-dashboard__forecast-summary {
        grid-template-columns: 1fr;
    }

    .hd-wholesale-dashboard__hero-main {
        padding: 20px 16px;
    }
}

.hd-company-account {
    display: grid;
    gap: 18px;
}

.hd-company-account__hero,
.hd-company-account__panel {
    padding: 20px 22px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.1);
    box-shadow: 0 4px 14px rgba(17, 24, 39, 0.035);
}

.hd-company-account__hero {
    display: flex;
    justify-content: space-between;
    gap: 18px;
}

.hd-company-account__kicker {
    display: inline-block;
    color: #8a8f98;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hd-company-account__hero h2,
.hd-company-account__panel h3,
.hd-company-account__subhead h4 {
    margin: 8px 0 0;
    color: #1a1a1a;
}

.hd-company-account__hero p,
.hd-company-account__panel-head p,
.hd-company-account__subhead p {
    margin: 8px 0 0;
    color: #5f6772;
    font-size: 13px;
    line-height: 1.6;
}

.hd-company-account__hero-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(110px, 1fr));
    gap: 10px;
}

.hd-company-account__hero-meta div {
    padding: 12px 14px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid rgba(17, 24, 39, 0.08);
}

.hd-company-account__hero-meta strong {
    display: block;
    color: #1a1a1a;
    font-size: 20px;
}

.hd-company-account__hero-meta span {
    display: block;
    margin-top: 4px;
    color: #5f6772;
    font-size: 12px;
}

.hd-company-account__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

@media only screen and (max-width: 48em) {
    .hd-company-account__grid {
        grid-template-columns: 1fr;
    }
    .hd-company-account__hero {
        flex-direction: column;
    }
    .hd-company-account__hero-meta {
        grid-template-columns: 1fr;
    }
}

.hd-company-account__panel-head,
.hd-company-account__subhead {
    margin-bottom: 14px;
}

.hd-company-account__member-list,
.hd-company-account__invite-list,
.hd-company-account__address-grid {
    display: grid;
    gap: 10px;
}

.hd-company-account__member,
.hd-company-account__invite,
.hd-company-account__address-card {
    padding: 12px 14px;
    border-radius: 10px;
    background: #fafbfc;
    border: 1px solid rgba(17, 24, 39, 0.08);
}

.hd-company-account__member,
.hd-company-account__invite {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}

.hd-company-account__member strong,
.hd-company-account__invite strong,
.hd-company-account__address-card strong {
    display: block;
    color: #1a1a1a;
    font-size: 14px;
}

.hd-company-account__member span,
.hd-company-account__invite span,
.hd-company-account__address-lines {
    display: block;
    margin-top: 4px;
    color: #5f6772;
    font-size: 12px;
    line-height: 1.55;
}

.hd-company-account__member em {
    color: #E50914;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
}

.hd-company-account__address-card-head,
.hd-company-account__address-actions,
.hd-company-account__form-row {
    display: flex;
    gap: 10px;
}

.hd-company-account__address-card-head {
    justify-content: space-between;
    align-items: center;
}

.hd-company-account__address-card-head span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(229, 9, 20, 0.08);
    color: #E50914;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.hd-company-account__address-actions {
    margin-top: 12px;
    align-items: center;
}

.hd-company-account__address-actions form {
    margin: 0;
}

.hd-company-account__form {
    display: grid;
    gap: 12px;
}

.hd-company-account__form-row {
    align-items: flex-end;
}

.hd-company-account__form-row--single {
    display: block;
}

.hd-company-account__form label {
    flex: 1 1 0;
    margin: 0;
}

.hd-company-account__form label span {
    display: block;
    margin-bottom: 6px;
    color: #5f6772;
    font-size: 12px;
    font-weight: 600;
}

.hd-company-account__form input,
.hd-company-account__form select {
    margin: 0;
    min-height: 42px;
    border-radius: 8px;
    border: 1px solid rgba(17, 24, 39, 0.14);
    box-shadow: none;
}

.hd-company-account__checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
}

.hd-company-account__checkbox span {
    margin: 0;
}

.page-wrapper.my-account .row.vertical-tabs {
    align-items: flex-start;
}

.page-wrapper.my-account .row.vertical-tabs > .large-3.col.col-border {
    flex: 0 0 250px;
    max-width: 250px;
    width: 250px;
}

.page-wrapper.my-account .row.vertical-tabs > .large-9.col {
    flex: 1 1 auto;
    max-width: calc(100% - 250px);
    width: calc(100% - 250px);
}

.page-wrapper.my-account .account-user {
    padding-right: 10px;
}

.page-wrapper.my-account .account-nav > li > a {
    font-size: 15px;
}

.my-account-header.featured-title .page-title-inner {
    min-height: 72px;
}

.my-account-header .page-title-subtitle {
    display: none;
}

.woocommerce-account .woocommerce-MyAccount-content .hd-wholesale-dashboard {
    max-width: none;
    margin: 0;
    padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-content .hd-wholesale-dashboard__shell {
    border-radius: 12px;
    padding: 22px;
}

@media only screen and (max-width: 64em) {
    .hd-wholesale-dashboard__hero {
        grid-template-columns: 1fr;
    }

    .hd-wholesale-dashboard__hero-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hd-wholesale-dashboard__grid {
        grid-template-columns: 1fr;
    }

    .hd-wholesale-dashboard__grid--insights,
    .hd-wholesale-dashboard__forecast-summary,
    .hd-company-account__grid,
    .hd-company-account__hero {
        grid-template-columns: 1fr;
        display: grid;
    }

    .hd-wholesale-dashboard__secondary > summary {
        flex-direction: column;
        align-items: flex-start;
    }

    .hd-wholesale-dashboard__secondary > summary p {
        max-width: none;
        text-align: left;
    }

    .hd-company-account__hero-meta {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .page-wrapper.my-account .row.vertical-tabs > .large-3.col.col-border {
        flex-basis: 220px;
        max-width: 220px;
        width: 220px;
    }

    .page-wrapper.my-account .row.vertical-tabs > .large-9.col {
        max-width: calc(100% - 220px);
        width: calc(100% - 220px);
    }
}

@media only screen and (max-width: 48em) {
    .hd-wholesale-dashboard__shell {
        padding: 20px;
        border-radius: 22px;
    }

    .hd-wholesale-dashboard__hero-stats {
        grid-template-columns: 1fr;
    }

    .hd-wholesale-dashboard__hero-main strong,
    .hd-wholesale-dashboard__mini-stat strong {
        font-size: 30px;
    }

    .hd-wholesale-dashboard__toolbar {
        align-items: stretch;
    }

    .hd-wholesale-dashboard__toolbar-primary,
    .hd-wholesale-dashboard__toolbar-secondary {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .hd-wholesale-dashboard__toolbar-field {
        width: 100%;
    }

    .hd-wholesale-dashboard__toolbar-select-wrap,
    .hd-wholesale-dashboard__menu {
        width: 100%;
    }

    .hd-wholesale-dashboard__dates {
        grid-template-columns: 1fr;
    }

    .hd-wholesale-dashboard__menu-panel {
        position: static;
        min-width: 0;
        width: 100% !important;
        max-width: none;
        margin-top: 8px;
        box-shadow: none;
    }

    .hd-wholesale-dashboard__panel {
        padding: 18px;
    }

    .hd-wholesale-dashboard__panel-head,
    .hd-wholesale-dashboard__panel-head--workspace {
        flex-direction: column;
    }

    .hd-wholesale-dashboard__panel-head p {
        text-align: left;
        max-width: none;
    }

    .hd-wholesale-dashboard__chart-wrap,
    .hd-wholesale-dashboard__chart-wrap--hero,
    .hd-wholesale-dashboard__chart-wrap--compact {
        height: 260px;
    }

    .hd-wholesale-dashboard__forecast-row,
    .hd-wholesale-dashboard__simple-table-row,
    .hd-wholesale-dashboard__simple-table-head,
    .hd-company-account__form-row,
    .hd-company-account__address-actions {
        grid-template-columns: 1fr;
        display: grid;
    }

    .hd-company-account__hero-meta {
        grid-template-columns: 1fr;
    }

    .page-wrapper.my-account .row.vertical-tabs > .large-3.col.col-border,
    .page-wrapper.my-account .row.vertical-tabs > .large-9.col {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }

    .hd-wholesale-dashboard__table th,
    .hd-wholesale-dashboard__table td {
        min-width: 120px;
        padding: 14px 8px;
    }
}

/* === Wholesale Purchase Orders === */
.hd-po-console__hero .hd-staff-console__actions {
    margin-top: 18px;
    align-items: center;
}

.hd-po-console__hero .hd-po-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    min-height: 40px;
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
    line-height: 1.1;
}

.hd-po-cancel-form {
    display: none;
    margin: 0;
    padding: 0;
}

.hd-po-form .hd-staff-console__panel {
    overflow: visible;
}

.hd-po-address-grid,
.hd-po-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 20px;
}

.hd-po-detail-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

.hd-po-address-card {
    display: grid;
    gap: 6px;
    min-width: 0;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #f9fafb;
}

.hd-po-detail-card {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    padding: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #f9fafb;
}

.hd-po-address-card strong,
.hd-po-detail-card__title {
    color: #111827;
    font-size: 16px;
    line-height: 1.3;
}

.hd-po-address-card small {
    color: #6b7280;
    font-size: 13px;
    line-height: 1.5;
}

.hd-po-detail-card__line,
.hd-po-detail-card__address {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.hd-po-detail-card__line span,
.hd-po-detail-card__address span {
    color: #98a2b3;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .05em;
    line-height: 1.2;
    text-transform: uppercase;
}

.hd-po-detail-card__line strong,
.hd-po-detail-card__address p {
    margin: 0;
    color: #667085;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
}

.hd-po-line-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.hd-po-line-table {
    width: 100%;
    min-width: 1260px;
    border-collapse: collapse;
}

.hd-po-line-table th,
.hd-po-line-table td {
    padding: 9px 8px;
    border-bottom: 1px solid #eef0f3;
    vertical-align: top;
}

.hd-po-line-table th {
    color: #6b7280;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    text-align: left;
    text-transform: uppercase;
    background: #f9fafb;
}

.hd-po-line-table td:nth-child(1) {
    width: 380px;
}

.hd-po-line-table td:nth-child(2) {
    width: 125px;
}

.hd-po-line-table td:nth-child(3) {
    width: 330px;
}

.hd-po-line-table td:nth-child(4),
.hd-po-line-table td:nth-child(5) {
    width: 105px;
}

.hd-po-line-table textarea,
.hd-po-line-table select,
.hd-po-line-table input {
    width: 100%;
    margin: 0;
}

.hd-po-product-picker {
    position: relative;
    display: grid;
    gap: 7px;
    min-width: 350px;
}

.hd-po-product-picker select,
.hd-po-product-picker input {
    min-height: 38px;
    font-size: 14px;
    line-height: 1.35;
}

.hd-po-product-results {
    width: 520px;
    max-width: min(520px, 72vw);
    max-height: 280px;
    overflow-y: auto;
    border: 1px solid #d5dbe6;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 14px 35px rgba(15, 23, 42, .18);
}

.hd-po-product-results[hidden] {
    display: none;
}

.hd-po-product-group {
    padding: 8px 12px 6px;
    color: #98a2b3;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.2;
    text-transform: uppercase;
    background: #f9fafb;
    border-top: 1px solid #eef0f3;
}

.hd-po-product-group:first-child {
    border-top: 0;
}

.hd-po-product-option {
    appearance: none;
    -webkit-appearance: none;
    display: grid;
    gap: 3px;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 10px 12px;
    border: 0;
    border-top: 1px solid #eef0f3;
    border-radius: 0;
    background: #ffffff;
    color: #111827;
    font: inherit;
    line-height: 1.35;
    text-align: left;
    text-transform: none;
    letter-spacing: 0;
    white-space: normal;
    box-shadow: none;
    text-shadow: none;
    cursor: pointer;
}

.hd-po-product-option:hover,
.hd-po-product-option:focus {
    background: #fff5f5;
    outline: none;
}

.hd-po-product-option__title {
    color: #111827;
    font-size: 13px;
    font-weight: 700;
}

.hd-po-product-option__desc,
.hd-po-product-empty {
    color: #667085;
    font-size: 12px;
    line-height: 1.4;
}

.hd-po-product-empty {
    padding: 12px;
}

.hd-po-line-table textarea {
    min-height: 44px;
    resize: vertical;
}

.hd-po-line-table [data-hd-po-amount] {
    display: block;
    min-width: 92px;
    padding-top: 11px;
    color: #111827;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.hd-po-builder-actions,
.hd-po-submit-actions {
    margin-top: 14px;
}

.hd-po-totals {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin-top: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
    background: #e5e7eb;
}

.hd-po-totals > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    padding: 14px 16px;
    background: #fff;
}

.hd-po-totals span {
    color: #6b7280;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.hd-po-totals strong {
    flex: 0 0 auto;
    color: #111827;
    font-size: 16px;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.hd-po-totals--detail {
    max-width: 560px;
    margin-left: auto;
}

.hd-po-notes {
    display: grid;
    gap: 6px;
    margin-top: 18px;
    color: #111827;
    font-size: 13px;
    font-weight: 600;
}

@media only screen and (max-width: 48em) {
    .hd-po-address-grid,
    .hd-po-detail-grid,
    .hd-po-totals {
        grid-template-columns: 1fr;
    }

    .hd-po-totals--detail {
        max-width: none;
        margin-left: 0;
    }

    .hd-po-product-results {
        width: 100%;
        max-width: 100%;
    }

    .hd-po-cancel-form,
    .hd-po-cancel-form .button {
        width: 100%;
    }
}

/* === Product Box & Case Pricing Table === */
.hd-packaged-pricing {
    display: flow-root;
    clear: both;
    width: min(100%, 640px);
    margin: 22px 0 14px;
    padding-top: 14px;
    font-family: var(--hd-font-family, 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
}

.hd-packaged-pricing__title {
    margin-bottom: 8px;
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
}

.hd-package-table,
.hd-case-tier-card {
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.hd-package-table__row {
    display: grid;
    grid-template-columns: minmax(72px, .8fr) minmax(72px, .8fr) minmax(128px, 1.4fr) minmax(76px, .8fr) 112px;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 10px 12px;
    border-top: 1px solid #eeeeee;
    color: #1a1a1a;
    font-size: 14px;
    line-height: 1.25;
}

.hd-package-table__row:first-child {
    border-top: 0;
}

.hd-package-table__row--head {
    min-height: 38px;
    background: #fafafa;
    color: #777;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.hd-package-table__price {
    color: #E50914;
    font-weight: 800;
}

.hd-package-table__price small {
    display: block;
    margin-top: 3px;
    color: #777;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.3;
}

.hd-package-table__total {
    color: #1a1a1a;
    font-weight: 800;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.hd-package-table__action form {
    justify-content: flex-start !important;
}

.hd-case-tier-card {
    margin-top: 10px;
    padding: 12px;
    background: #fbfbfb;
}

.hd-case-tier-card__title {
    margin-bottom: 8px;
    color: #1a1a1a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.hd-case-tier-card__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: 1px;
    overflow: hidden;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    background: #eeeeee;
}

.hd-case-tier-card__grid > span,
.hd-case-tier-card__grid > strong {
    padding: 9px 10px;
    background: #fff;
    font-size: 12px;
    line-height: 1.25;
}

.hd-case-tier-card__grid > span {
    color: #777;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.hd-case-tier-card__grid > strong {
    color: #1a1a1a;
    font-weight: 700;
}

.hd-case-tier-card__grid > strong:nth-child(3n + 5) {
    color: #E50914;
}

.hd-packaged-pricing__note {
    margin: 8px 0 0;
    color: #777;
    font-size: 12px;
    line-height: 1.45;
}

/* === Package Piece Totals === */
.hd-package-total-pieces {
    display: block;
    margin-top: 8px;
    color: #1a1a1a;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}

.hd-package-total-pieces strong {
    color: #666;
    font-weight: 800;
}

.hd-package-total-pieces__divider {
    display: inline-block;
    margin: 0 6px;
    color: #b7b7b7;
    font-weight: 600;
}

/* === My Account Order Item Meta === */
.woocommerce-account .woocommerce-table--order-details .wc-item-meta li {
    display: block;
}

.woocommerce-account .woocommerce-table--order-details .wc-item-meta .wc-item-meta-label {
    display: inline;
    float: none;
    margin-right: 4px;
}

.woocommerce-account .woocommerce-table--order-details .wc-item-meta p {
    display: inline;
    margin: 0;
    color: inherit;
    visibility: visible;
    opacity: 1;
}

@media only screen and (max-width: 48em) {
    .hd-package-table__row {
        grid-template-columns: 1fr 1fr;
        gap: 6px 12px;
    }

    .hd-package-table__row--head {
        display: none;
    }

    .hd-package-table__total {
        text-align: left;
    }

    .hd-package-table__action {
        grid-column: 1 / -1;
    }

    .hd-case-tier-card__grid {
        grid-template-columns: 1fr;
    }
}
/* ============================================================================
 * V5 PREVIEW-FLOW (2026-04-26)
 * Wholesale Staff Console — Draft Invoice Preview Panel
 * ----------------------------------------------------------------------------
 * Append these rules to the existing wholesale-staff stylesheet that already
 * contains the `.hd-staff-console__*` BEM classes. Do NOT create a new file
 * on Live — the stylesheet location depends on plugin/theme structure.
 *
 * On Dev 2 / Live deploy, add these rules to whichever file currently styles
 * `.hd-staff-console__panel`, `.hd-staff-console__actions`,
 * `.hd-staff-console__form`, etc. Most likely candidates:
 *   - wp-content/plugins/<wholesale-staff-plugin>/assets/css/<file>.css
 *   - wp-content/themes/<flatsome-child>/style.css
 *
 * No existing classes are modified. New classes only:
 *   - .hd-staff-console__preview-frame      (the iframe wrapper)
 *   - .hd-staff-console__actions--preview   (action-bar modifier)
 *   - .hd-staff-console__action-form        (inline form wrapper inside the bar)
 * ========================================================================= */

/* Wrapper around the iframe — gives it a guaranteed box size that survives
 * Flatsome's `iframe { max-height: ... }` and similar responsive overrides. */
.hd-staff-console__preview-frame-wrap {
    width: 100% !important;
    height: 90vh !important;
    min-height: 1100px !important;
    margin: 16px 0 20px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    background: #fff !important;
    display: block !important;
    box-sizing: border-box !important;
}
.hd-staff-console__preview-frame-wrap iframe.hd-staff-console__preview-frame {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: none !important;
    border: 0 !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
}
/* Legacy class kept in case any inline iframe still uses it without the wrapper */
iframe.hd-staff-console__preview-frame {
    width: 100% !important;
    min-height: 1100px !important;
    height: 90vh !important;
    max-height: none !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 6px !important;
    background: #fff !important;
    margin: 16px 0 20px !important;
    display: block !important;
}

.hd-staff-console__actions--preview {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 12px;
}

.hd-staff-console__actions--preview .hd-staff-console__action-form {
    display: inline-block;
    margin: 0;
}

.hd-staff-console__actions--preview .hd-staff-console__action-form button,
.hd-staff-console__actions--preview a.button {
    margin: 0; /* override Flatsome default button margin so the row stays tight */
}

/* Discard pushed to the far right of the action bar — clearer hierarchy:
 * primary action (Send) on the left, destructive action (Discard) on the right. */
.hd-staff-console__actions--preview .hd-staff-console__action-form[data-confirm-discard] {
    margin-left: auto;
}

@media only screen and (max-width: 48em) {
    .hd-staff-console__preview-frame-wrap,
    iframe.hd-staff-console__preview-frame {
        min-height: 700px !important;
        height: 80vh !important;
    }
    .hd-staff-console__actions--preview {
        gap: 8px;
    }
    .hd-staff-console__actions--preview .hd-staff-console__action-form[data-confirm-discard] {
        margin-left: 0;
        order: 99; /* Discard always at the bottom on mobile */
        width: 100%;
    }
    .hd-staff-console__actions--preview .hd-staff-console__action-form[data-confirm-discard] button {
        width: 100%;
    }
}


/* Wholesale mobile account styles from Master Dev */
@media only screen and (min-width: 64.01em) {
	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation-link--account {
		display: none !important;
	}
}

@media only screen and (max-width: 64em) {
	body.woocommerce-account.wholesale_customer .page-wrapper.my-account {
		background: #f6f8fb;
	}

	body.woocommerce-account.wholesale_customer .page-wrapper.my-account .row.vertical-tabs {
		gap: 12px;
	}

	body.woocommerce-account.wholesale_customer .page-wrapper.my-account .row.vertical-tabs > .large-3.col.col-border {
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 0 12px !important;
		padding: 10px !important;
		border: 1px solid #e5eaf1 !important;
		border-radius: 16px;
		background: #ffffff;
		box-shadow: 0 12px 30px rgba(15, 23, 42, 0.055);
	}

	body.woocommerce-account.wholesale_customer .page-wrapper.my-account .row.vertical-tabs > .large-9.col {
		width: 100% !important;
		max-width: 100% !important;
		padding: 0 10px !important;
	}

	body.woocommerce-account.wholesale_customer .account-user {
		position: relative;
		display: grid !important;
		grid-template-columns: 42px minmax(0, 1fr) 14px;
		align-items: center;
		gap: 10px;
		margin: 0 0 10px;
		padding: 10px 12px;
		border: 1px solid #e8edf3;
		border-radius: 14px;
		background: #ffffff;
		box-shadow: 0 8px 20px rgba(15, 23, 42, 0.035);
	}

	body.woocommerce-account.wholesale_customer .account-user .image {
		display: block !important;
		width: 42px;
		height: 42px;
		margin: 0 !important;
		overflow: hidden;
		border-radius: 999px;
		background: #eef2ff;
	}

	body.woocommerce-account.wholesale_customer .account-user .image img,
	body.woocommerce-account.wholesale_customer .account-user .avatar {
		display: block;
		width: 42px !important;
		height: 42px !important;
		border-radius: 999px;
	}

	body.woocommerce-account.wholesale_customer .account-user .user-name {
		display: block !important;
		min-width: 0;
		margin: 0;
		color: #0f172a;
		font-size: 13px;
		font-weight: 800;
		line-height: 1.15;
	}

	body.woocommerce-account.wholesale_customer .account-user .user-id {
		color: #94a3b8;
		font-size: 10px;
		font-style: normal;
		font-weight: 700;
	}

	body.woocommerce-account.wholesale_customer .account-user::after {
		content: "›";
		color: #94a3b8;
		font-size: 24px;
		line-height: 1;
	}

	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation,
	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation #my-account-nav {
		width: 100% !important;
		max-width: 100% !important;
	}

	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation-link:not(.woocommerce-MyAccount-navigation-link--dashboard):not(.woocommerce-MyAccount-navigation-link--orders):not(.woocommerce-MyAccount-navigation-link--company-account):not(.woocommerce-MyAccount-navigation-link--account) {
		display: none !important;
	}

	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation #my-account-nav {
		display: grid !important;
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
		gap: 8px !important;
		margin: 0 !important;
		padding: 0 !important;
		overflow: visible !important;
	}

	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation-link {
		width: 100% !important;
		min-width: 0 !important;
		margin: 0 !important;
		border: 0 !important;
	}

	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation-link--dashboard {
		order: 1;
	}

	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation-link--orders {
		order: 2;
	}

	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation-link--company-account {
		order: 3;
	}

	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation-link--account {
		order: 4;
	}

	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation-link--store-credit {
		order: 4;
	}

	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation-link--giftcards {
		order: 5;
	}

	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation-link--downloads {
		order: 6;
	}

	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation-link--edit-address {
		order: 7;
	}

	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation-link--documents {
		order: 8;
	}

	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation-link--edit-account {
		order: 9;
	}

	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation-link--my-coupons {
		order: 10;
	}

	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation-link--customer-logout {
		display: none !important;
		grid-column: 1 / -1;
		order: 11;
	}

	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation-link a,
	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation-link.is-active a {
		display: flex !important;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 5px;
		width: 100% !important;
		height: 64px !important;
		min-height: 64px !important;
		min-width: 0;
		padding: 7px 6px !important;
		border: 1px solid #e8edf3 !important;
		border-radius: 9px !important;
		background: #ffffff;
		color: #13233a !important;
		font-size: 9.5px !important;
		font-weight: 800;
		letter-spacing: 0;
		line-height: 1.1;
		text-align: center;
		text-transform: none !important;
		white-space: normal !important;
		box-shadow: none;
	}

	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation-link a::before {
		content: "" !important;
		display: block !important;
		position: static !important;
		flex: 0 0 auto;
		width: 19px;
		height: 19px;
		opacity: 0.86;
		background: transparent var(--hd-customer-account-icon) center / contain no-repeat !important;
	}

	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation-link a::after {
		display: none !important;
		content: none !important;
	}

	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation-link--dashboard a,
	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation-link--dashboard.is-active a,
	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation-link--orders a,
	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation-link--orders.is-active a,
	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation-link--company-account a,
	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation-link--company-account.is-active a,
	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation-link--account a,
	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation-link--account.is-active a {
		flex-direction: column;
		gap: 3px;
		height: 50px !important;
		min-height: 50px !important;
		padding: 6px 4px !important;
		border-color: transparent !important;
		border-radius: 11px !important;
		background: transparent;
		font-size: 9px !important;
	}

	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation-link--dashboard a::before,
	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation-link--orders a::before,
	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation-link--company-account a::before,
	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation-link--account a::before {
		width: 14px;
		height: 14px;
	}

	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation-link.is-active a,
	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation-link.active a {
		border-color: #111827 !important;
		background: #111827 !important;
		color: #ffffff !important;
	}

	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation-link.is-active a::before,
	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation-link.active a::before {
		filter: brightness(0) invert(1);
		opacity: 1;
	}

	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation-link--customer-logout a {
		flex-direction: row;
		height: 38px !important;
		min-height: 38px !important;
		border-radius: 9px !important;
	}

	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation-link--dashboard {
		--hd-customer-account-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 20V10M10 20V4M16 20v-7M22 20V7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
	}

	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation-link--orders {
		--hd-customer-account-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5h2l2 10h9l3-7H7M9 19a1 1 0 1 0 0 .1M17 19a1 1 0 1 0 0 .1' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	}

	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation-link--company-account {
		--hd-customer-account-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 20V8l8-4 8 4v12M9 20v-6h6v6M4 10l8-4 8 4' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
	}

	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation-link--account {
		--hd-customer-account-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM4 21a8 8 0 0 1 16 0' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
	}

	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation-link--store-credit,
	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation-link--giftcards,
	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation-link--my-coupons {
		--hd-customer-account-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 8h16v12H4zM4 12h16M12 8v12M8 8c-2-2 1-5 4 0M16 8c2-2-1-5-4 0' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
	}

	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation-link--downloads,
	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation-link--documents {
		--hd-customer-account-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 3h7l4 4v14H7zM14 3v5h5M9 13h6M9 17h6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	}

	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation-link--edit-address {
		--hd-customer-account-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s7-5.4 7-11a7 7 0 0 0-14 0c0 5.6 7 11 7 11zM12 13a3 3 0 1 0 0-6 3 3 0 0 0 0 6z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
	}

	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation-link--edit-account {
		--hd-customer-account-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM4 21a8 8 0 0 1 16 0' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
	}

	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation-link--customer-logout {
		--hd-customer-account-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4M16 17l5-5-5-5M21 12H9' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	}

	body.woocommerce-account.wholesale_customer .hd-print-pdf-btn {
		display: none !important;
	}
}

body.postid-221042 .hd-pkg__price-unit {
	font-size: 21px !important;
	line-height: 1 !important;
}

body.postid-221042 .hd-pkg__price-total {
	font-size: 12px !important;
	line-height: 1.2 !important;
	margin-top: 2px !important;
}

body.postid-221042 .hd-pkg__cta {
	border-radius: 999px !important;
	font-size: 13px !important;
	min-height: 40px !important;
	padding: 0 18px !important;
	width: 100% !important;
}

body.postid-221042 .hd-pkg__hint {
	border-radius: 9px !important;
	font-size: 12px !important;
	line-height: 1.25 !important;
	margin: 9px 0 0 !important;
	padding: 8px 10px !important;
}

body.postid-221042 .hd-pkg__table {
	border: 1px solid #e5e7eb !important;
	border-radius: 10px !important;
	box-shadow: none !important;
	margin-top: 9px !important;
	overflow: hidden !important;
}

body.postid-221042 .hd-pkg__table::before {
	background: #fff !important;
	color: #111827 !important;
	content: "Bulk Pricing";
	display: block !important;
	font-size: 14px !important;
	font-weight: 800 !important;
	line-height: 1 !important;
	padding: 11px 14px 7px !important;
}

body.postid-221042 .hd-pkg__row {
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	min-height: 0 !important;
	padding: 8px 14px !important;
}

body.postid-221042 .hd-pkg__row--head {
	background: #fff !important;
	color: #6b7280 !important;
	font-size: 12px !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}

body.postid-221042 .hd-pkg__row span,
body.postid-221042 .hd-pkg__row strong {
	font-size: 13px !important;
	line-height: 1.25 !important;
}

body.postid-221042 .hd-pkg__row span:nth-child(3),
body.postid-221042 .hd-pkg__row strong:nth-child(3) {
	display: none !important;
}

body.postid-221042 .hd-pkg__row strong:nth-child(2) {
	color: #E50914 !important;
	font-weight: 800 !important;
}


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/

.tax-product_cat.term-disposable .products.row > .product-small:not(.hd-family-card):not(.hd-selector-shortcut-card) .box-image {
	height: 260px;
	padding: 18px;
}

.tax-product_cat.term-disposable .products.row > .product-small:not(.hd-family-card):not(.hd-selector-shortcut-card) .box-text.box-text-products,
.tax-product_cat.term-disposable .products.row > .product-small:not(.hd-family-card):not(.hd-selector-shortcut-card) .price-wrapper,
.tax-product_cat.term-disposable .products.row > .product-small:not(.hd-family-card):not(.hd-selector-shortcut-card) .title-wrapper {
	min-height: 0;
}

body.postid-221042 .hd-pkg__selector {
	padding: 14px !important;
}

body.postid-221042 .hd-pkg__tabs {
	gap: 8px !important;
}

body.postid-221042 .hd-pkg__tab {
	min-height: 72px !important;
	padding: 10px 6px !important;
}

body.postid-221042 .hd-pkg__tab-label {
	font-size: 13px !important;
}

body.postid-221042 .hd-pkg__tab-sub {
	font-size: 12px !important;
}

body.postid-221042 .hd-pkg__buy {
	grid-template-columns: 1fr !important;
}

body.postid-221042 .hd-pkg__cta {
	width: 100% !important;
}

body.postid-221042 .hd-pkg__row {
	grid-template-columns: 1.2fr 0.8fr !important;
	padding: 9px 12px !important;
}


}

/* === Customer My Account Mobile Icon Override - MasterDev final pass 2026-05-27 === */
@media only screen and (max-width: 64em) {
	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation #my-account-nav .woocommerce-MyAccount-navigation-link a::before,
	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation #my-account-nav .woocommerce-MyAccount-navigation-link.is-active a::before,
	body.woocommerce-account.wholesale_customer .woocommerce-MyAccount-navigation #my-account-nav .woocommerce-MyAccount-navigation-link.active a::before {
		background-color: transparent !important;
		background-image: var(--hd-customer-account-icon) !important;
		background-position: center !important;
		background-repeat: no-repeat !important;
		background-size: contain !important;
	}
}

/* === Customer Dashboard Top Trim - MasterDev trial 2026-05-28 === */
body.hd-wholesale-account-dashboard.wholesale_customer .woocommerce-MyAccount-content > p:first-of-type,
body.hd-wholesale-account-dashboard.wholesale_customer .woocommerce-MyAccount-content > p:nth-of-type(2) {
	display: none !important;
}

body.hd-wholesale-account-dashboard.wholesale_customer .hd-tax-exempt-dashboard-block {
	margin: 0 0 16px !important;
}

body.hd-wholesale-account-dashboard.wholesale_customer .hd-tax-exempt-dashboard-block .hd-tax-exempt-status {
	margin: 0 !important;
	padding: 12px 14px !important;
	border-radius: 12px 12px 0 0 !important;
}

body.hd-wholesale-account-dashboard.wholesale_customer .hd-tax-exempt-dashboard-block .hd-tax-exempt-status strong {
	margin: 0 0 4px !important;
	font-size: 14px !important;
	line-height: 1.2 !important;
}

body.hd-wholesale-account-dashboard.wholesale_customer .hd-tax-exempt-dashboard-block .hd-tax-exempt-status span {
	font-size: 12px !important;
	line-height: 1.42 !important;
}

body.hd-wholesale-account-dashboard.wholesale_customer .hd-tax-exempt-dashboard-block__actions {
	margin-top: 0 !important;
	padding: 10px 14px !important;
	border-color: #edf0f5 !important;
	border-radius: 0 0 12px 12px !important;
}

body.hd-wholesale-account-dashboard.wholesale_customer .hd-tax-exempt-dashboard-block__actions a {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 0 16px !important;
	border-radius: 8px !important;
	font-size: 11px !important;
	line-height: 1 !important;
}

@media only screen and (max-width: 64em) {
	body.hd-wholesale-account-dashboard.wholesale_customer .hd-tax-exempt-dashboard-block {
		margin: 0 14px 14px !important;
	}

	body.hd-wholesale-account-dashboard.wholesale_customer .hd-tax-exempt-dashboard-block__actions a {
		width: 100%;
	}
}

/* === Customer My Account Mobile Order Cards - MasterDev trial 2026-05-27 === */
@media only screen and (max-width: 64em) {
	body.woocommerce-account.wholesale_customer .woocommerce-orders-table {
		display: block !important;
		width: 100% !important;
		border: 0 !important;
		background: transparent !important;
	}

	body.woocommerce-account.wholesale_customer .woocommerce-orders-table thead {
		display: none !important;
	}

	body.woocommerce-account.wholesale_customer .woocommerce-orders-table tbody,
	body.woocommerce-account.wholesale_customer .woocommerce-orders-table tr,
	body.woocommerce-account.wholesale_customer .woocommerce-orders-table th,
	body.woocommerce-account.wholesale_customer .woocommerce-orders-table td {
		display: block !important;
		width: 100% !important;
		box-sizing: border-box;
	}

	body.woocommerce-account.wholesale_customer .woocommerce-orders-table tbody tr {
		margin: 0 0 12px !important;
		padding: 12px 14px !important;
		border: 1px solid #e8edf3 !important;
		border-radius: 14px;
		background: #ffffff;
		box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
	}

	body.woocommerce-account.wholesale_customer .woocommerce-orders-table tbody tr > th,
	body.woocommerce-account.wholesale_customer .woocommerce-orders-table tbody tr > td {
		position: relative;
		min-height: 0 !important;
		padding: 9px 0 !important;
		border: 0 !important;
		border-bottom: 1px solid #eef2f7 !important;
		color: #0f172a;
		font-size: 13px;
		line-height: 1.35;
		text-align: left !important;
	}

	body.woocommerce-account.wholesale_customer .woocommerce-orders-table tbody tr > th::before,
	body.woocommerce-account.wholesale_customer .woocommerce-orders-table tbody tr > td::before {
		content: attr(data-title);
		display: block;
		margin: 0 0 4px;
		color: #94a3b8;
		font-size: 10px;
		font-weight: 800;
		letter-spacing: 0.05em;
		line-height: 1;
		text-transform: uppercase;
	}

	body.woocommerce-account.wholesale_customer .woocommerce-orders-table tbody tr > .woocommerce-orders-table__cell-order-number {
		padding-top: 0 !important;
		font-size: 14px;
		font-weight: 800;
	}

	body.woocommerce-account.wholesale_customer .woocommerce-orders-table tbody tr > .woocommerce-orders-table__cell-order-number a {
		color: #0f172a;
		text-decoration: none;
	}

	body.woocommerce-account.wholesale_customer .woocommerce-orders-table tbody tr > .woocommerce-orders-table__cell-order-total {
		font-weight: 700;
	}

	body.woocommerce-account.wholesale_customer .woocommerce-orders-table tbody tr > .woocommerce-orders-table__cell-order-actions {
		padding-bottom: 0 !important;
		border-bottom: 0 !important;
	}

	body.woocommerce-account.wholesale_customer .woocommerce-orders-table tbody tr > .woocommerce-orders-table__cell-order-actions .button {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		min-height: 34px;
		margin: 0 8px 8px 0 !important;
		padding: 0 14px !important;
		border-radius: 999px !important;
		font-size: 11px !important;
		font-weight: 800;
		line-height: 1 !important;
	}
}

/* === Customer Documents Mobile Cards - MasterDev trial 2026-05-27 === */
@media only screen and (max-width: 64em) {
	body.woocommerce-account.wholesale_customer .hd-tax-permits-card,
	body.woocommerce-account.wholesale_customer .hd-tax-certs-card,
	body.woocommerce-account.wholesale_customer .hd-tax-upload-card {
		width: 100% !important;
		max-width: 100% !important;
		padding: 20px 22px !important;
		box-sizing: border-box;
	}

	body.woocommerce-account.wholesale_customer .hd-tax-permits-card *,
	body.woocommerce-account.wholesale_customer .hd-tax-certs-card *,
	body.woocommerce-account.wholesale_customer .hd-tax-upload-card * {
		max-width: 100% !important;
		box-sizing: border-box;
		overflow-wrap: anywhere;
	}

	body.woocommerce-account.wholesale_customer .hd-tax-permits-card > div > div,
	body.woocommerce-account.wholesale_customer .hd-tax-certs-card .hd-tax-cert-row,
	body.woocommerce-account.wholesale_customer .hd-tax-upload-card form > div {
		grid-template-columns: minmax(0, 1fr) !important;
		flex-direction: column !important;
		align-items: stretch !important;
		gap: 10px !important;
	}

	body.woocommerce-account.wholesale_customer .hd-tax-certs-card .hd-tax-cert-row {
		padding: 18px 0 !important;
	}

	body.woocommerce-account.wholesale_customer .hd-tax-cert-row > div,
	body.woocommerce-account.wholesale_customer .hd-tax-cert-row form,
	body.woocommerce-account.wholesale_customer .hd-tax-permits-card form,
	body.woocommerce-account.wholesale_customer .hd-tax-upload-card form {
		width: 100% !important;
		min-width: 0 !important;
	}

	body.woocommerce-account.wholesale_customer .hd-tax-permits-card form[method="post"],
	body.woocommerce-account.wholesale_customer .hd-tax-upload-card form[method="post"] > div {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) !important;
	}

	body.woocommerce-account.wholesale_customer .hd-tax-permits-card input,
	body.woocommerce-account.wholesale_customer .hd-tax-permits-card select,
	body.woocommerce-account.wholesale_customer .hd-tax-upload-card input,
	body.woocommerce-account.wholesale_customer .hd-tax-upload-card select,
	body.woocommerce-account.wholesale_customer .hd-tax-upload-card textarea {
		width: 100% !important;
	}

	body.woocommerce-account.wholesale_customer .hd-tax-permits-card button,
	body.woocommerce-account.wholesale_customer .hd-tax-certs-card button,
	body.woocommerce-account.wholesale_customer .hd-tax-certs-card .button,
	body.woocommerce-account.wholesale_customer .hd-tax-upload-card button,
	body.woocommerce-account.wholesale_customer .hd-tax-upload-card .button {
		display: flex !important;
		align-items: center;
		justify-content: center;
		width: 100% !important;
		min-height: 40px;
		white-space: normal !important;
	}
}

/* === Customer Account Hub - MasterDev trial 2026-05-27 === */
@media only screen and (max-width: 64em) {
body.woocommerce-account.wholesale_customer .hd-customer-account-hub {
	margin: 0 0 28px;
	padding: 24px;
	border: 1px solid #e8edf3;
	border-radius: 16px;
	background: #ffffff;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.055);
}

body.woocommerce-account.wholesale_customer .hd-customer-account-hub__head {
	margin: 0 0 18px;
}

body.woocommerce-account.wholesale_customer .hd-customer-account-hub__head span {
	display: block;
	margin: 0 0 6px;
	color: #E50914;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	line-height: 1;
	text-transform: uppercase;
}

body.woocommerce-account.wholesale_customer .hd-customer-account-hub__head h2 {
	margin: 0 0 6px;
	color: #0f172a;
	font-size: 24px;
	font-weight: 800;
	line-height: 1.1;
}

body.woocommerce-account.wholesale_customer .hd-customer-account-hub__head p {
	max-width: 680px;
	margin: 0;
	color: #64748b;
	font-size: 14px;
	line-height: 1.5;
}

body.woocommerce-account.wholesale_customer .hd-customer-account-hub__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

body.woocommerce-account.wholesale_customer .hd-customer-account-hub__card {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr);
	gap: 3px 12px;
	align-items: center;
	min-height: 92px;
	padding: 16px;
	border: 1px solid #e8edf3;
	border-radius: 12px;
	background: #ffffff;
	color: #0f172a;
	text-decoration: none;
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.035);
	transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

body.woocommerce-account.wholesale_customer .hd-customer-account-hub__card:hover,
body.woocommerce-account.wholesale_customer .hd-customer-account-hub__card:focus {
	border-color: #cbd5e1;
	box-shadow: 0 12px 26px rgba(15, 23, 42, 0.075);
	color: #0f172a;
	transform: translateY(-1px);
}

body.woocommerce-account.wholesale_customer .hd-customer-account-hub__icon {
	grid-row: 1 / span 2;
	width: 24px;
	height: 24px;
	background: #0f172a;
	-webkit-mask: var(--hd-customer-hub-icon) center / contain no-repeat;
	mask: var(--hd-customer-hub-icon) center / contain no-repeat;
}

body.woocommerce-account.wholesale_customer .hd-customer-account-hub__label {
	display: block;
	color: #0f172a;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.15;
}

body.woocommerce-account.wholesale_customer .hd-customer-account-hub__description {
	display: block;
	color: #64748b;
	font-size: 12px;
	line-height: 1.35;
}

body.woocommerce-account.wholesale_customer .hd-customer-account-hub__card--profile {
	--hd-customer-hub-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E");
}

body.woocommerce-account.wholesale_customer .hd-customer-account-hub__card--addresses {
	--hd-customer-hub-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s7-5.4 7-11a7 7 0 0 0-14 0c0 5.6 7 11 7 11zM12 13a3 3 0 1 0 0-6 3 3 0 0 0 0 6z'/%3E%3C/svg%3E");
}

body.woocommerce-account.wholesale_customer .hd-customer-account-hub__card--documents,
body.woocommerce-account.wholesale_customer .hd-customer-account-hub__card--downloads {
	--hd-customer-hub-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 3h7l4 4v14H7zM14 3v5h5'/%3E%3C/svg%3E");
}

body.woocommerce-account.wholesale_customer .hd-customer-account-hub__card--members {
	--hd-customer-hub-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16 11a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM8 11a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM2 21a6 6 0 0 1 12 0M10 21a6 6 0 0 1 12 0'/%3E%3C/svg%3E");
}

body.woocommerce-account.wholesale_customer .hd-customer-account-hub__card--credits,
body.woocommerce-account.wholesale_customer .hd-customer-account-hub__card--giftcards,
body.woocommerce-account.wholesale_customer .hd-customer-account-hub__card--coupons {
	--hd-customer-hub-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 8h16v12H4zM4 12h16M12 8v12M8 8c-2-2 1-5 4 0M16 8c2-2-1-5-4 0'/%3E%3C/svg%3E");
}

body.woocommerce-account.wholesale_customer .hd-customer-account-hub__card--logout {
	--hd-customer-hub-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4M16 17l5-5-5-5M21 12H9'/%3E%3C/svg%3E");
}

	body.woocommerce-account.wholesale_customer .hd-customer-account-hub {
		margin: 0 10px 24px;
		padding: 18px;
		border-radius: 16px;
	}

	body.woocommerce-account.wholesale_customer .hd-customer-account-hub__head h2 {
		font-size: 22px;
	}

	body.woocommerce-account.wholesale_customer .hd-customer-account-hub__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
	}

	body.woocommerce-account.wholesale_customer .hd-customer-account-hub__card {
		min-height: 78px;
		padding: 14px;
		border-radius: 12px;
	}
}

body.woocommerce-account.logged-in .hd-customer-account-hub {
	margin: 0 0 28px;
	padding: 24px;
	border: 1px solid #e8edf3;
	border-radius: 16px;
	background: #ffffff;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.055);
}

body.woocommerce-account.logged-in .hd-customer-account-hub__head {
	margin: 0 0 18px;
}

body.woocommerce-account.logged-in .hd-customer-account-hub__head span {
	display: block;
	margin: 0 0 6px;
	color: #E50914;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	line-height: 1;
	text-transform: uppercase;
}

body.woocommerce-account.logged-in .hd-customer-account-hub__head h2 {
	margin: 0 0 6px;
	color: #0f172a;
	font-size: 24px;
	font-weight: 800;
	line-height: 1.1;
}

body.woocommerce-account.logged-in .hd-customer-account-hub__head p {
	max-width: 680px;
	margin: 0;
	color: #64748b;
	font-size: 14px;
	line-height: 1.5;
}

body.woocommerce-account.logged-in .hd-customer-account-hub__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

body.woocommerce-account.logged-in .hd-customer-account-hub__card {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr);
	gap: 3px 12px;
	align-items: center;
	min-height: 92px;
	padding: 16px;
	border: 1px solid #e8edf3;
	border-radius: 12px;
	background: #ffffff;
	color: #0f172a;
	text-decoration: none;
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.035);
	transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

body.woocommerce-account.logged-in .hd-customer-account-hub__card:hover,
body.woocommerce-account.logged-in .hd-customer-account-hub__card:focus {
	border-color: #cbd5e1;
	box-shadow: 0 12px 26px rgba(15, 23, 42, 0.075);
	color: #0f172a;
	transform: translateY(-1px);
}

body.woocommerce-account.logged-in .hd-customer-account-hub__icon {
	grid-row: 1 / span 2;
	width: 24px;
	height: 24px;
	background: #0f172a;
	-webkit-mask: var(--hd-customer-hub-icon) center / contain no-repeat;
	mask: var(--hd-customer-hub-icon) center / contain no-repeat;
}

body.woocommerce-account.logged-in .hd-customer-account-hub__label {
	display: block;
	color: #0f172a;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.15;
}

body.woocommerce-account.logged-in .hd-customer-account-hub__description {
	display: block;
	color: #64748b;
	font-size: 12px;
	line-height: 1.35;
}

body.woocommerce-account.logged-in .hd-customer-account-hub__card--profile {
	--hd-customer-hub-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E");
}

body.woocommerce-account.logged-in .hd-customer-account-hub__card--addresses {
	--hd-customer-hub-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s7-5.4 7-11a7 7 0 0 0-14 0c0 5.6 7 11 7 11zM12 13a3 3 0 1 0 0-6 3 3 0 0 0 0 6z'/%3E%3C/svg%3E");
}

body.woocommerce-account.logged-in .hd-customer-account-hub__card--documents,
body.woocommerce-account.logged-in .hd-customer-account-hub__card--downloads {
	--hd-customer-hub-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 3h7l4 4v14H7zM14 3v5h5'/%3E%3C/svg%3E");
}

body.woocommerce-account.logged-in .hd-customer-account-hub__card--members {
	--hd-customer-hub-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16 11a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM8 11a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM2 21a6 6 0 0 1 12 0M10 21a6 6 0 0 1 12 0'/%3E%3C/svg%3E");
}

body.woocommerce-account.logged-in .hd-customer-account-hub__card--credits,
body.woocommerce-account.logged-in .hd-customer-account-hub__card--giftcards,
body.woocommerce-account.logged-in .hd-customer-account-hub__card--coupons {
	--hd-customer-hub-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 8h16v12H4zM4 12h16M12 8v12M8 8c-2-2 1-5 4 0M16 8c2-2-1-5-4 0'/%3E%3C/svg%3E");
}

body.woocommerce-account.logged-in .hd-customer-account-hub__card--logout {
	--hd-customer-hub-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4M16 17l5-5-5-5M21 12H9'/%3E%3C/svg%3E");
}

@media only screen and (min-width: 64.01em) {
	body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation-link--account {
		display: none !important;
	}
}

@media only screen and (max-width: 64em) {
	body.woocommerce-account.logged-in .page-wrapper.my-account {
		background: #f6f8fb;
	}

	body.woocommerce-account.logged-in .page-wrapper.my-account .row.vertical-tabs {
		gap: 12px;
	}

	body.woocommerce-account.logged-in .page-wrapper.my-account .row.vertical-tabs > .large-3.col.col-border {
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 0 12px !important;
		padding: 10px !important;
		border: 1px solid #e5eaf1 !important;
		border-radius: 16px;
		background: #ffffff;
		box-shadow: 0 12px 30px rgba(15, 23, 42, 0.055);
	}

	body.woocommerce-account.logged-in .page-wrapper.my-account .row.vertical-tabs > .large-9.col {
		width: 100% !important;
		max-width: 100% !important;
		padding: 0 10px !important;
	}

	body.woocommerce-account.logged-in .account-user {
		position: relative;
		display: grid !important;
		grid-template-columns: 42px minmax(0, 1fr) 14px;
		align-items: center;
		gap: 10px;
		margin: 0 0 10px;
		padding: 10px 12px;
		border: 1px solid #e8edf3;
		border-radius: 14px;
		background: #ffffff;
		box-shadow: 0 8px 20px rgba(15, 23, 42, 0.035);
	}

	body.woocommerce-account.logged-in .account-user .image {
		display: block !important;
		width: 42px;
		height: 42px;
		margin: 0 !important;
		overflow: hidden;
		border-radius: 999px;
		background: #eef2ff;
	}

	body.woocommerce-account.logged-in .account-user .image img,
	body.woocommerce-account.logged-in .account-user .avatar {
		display: block;
		width: 42px !important;
		height: 42px !important;
		border-radius: 999px;
	}

	body.woocommerce-account.logged-in .account-user .user-name {
		display: block !important;
		min-width: 0;
		margin: 0;
		color: #0f172a;
		font-size: 13px;
		font-weight: 800;
		line-height: 1.15;
	}

	body.woocommerce-account.logged-in .account-user .user-id {
		color: #94a3b8;
		font-size: 10px;
		font-style: normal;
		font-weight: 700;
	}

	body.woocommerce-account.logged-in .account-user::after {
		content: ">";
		color: #94a3b8;
		font-size: 18px;
		line-height: 1;
	}

	body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation,
	body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation #my-account-nav {
		width: 100% !important;
		max-width: 100% !important;
	}

	body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation #my-account-nav {
		display: grid !important;
		gap: 8px !important;
		margin: 0 !important;
		padding: 0 !important;
		overflow: visible !important;
	}

	body.woocommerce-account.logged-in:not(.wholesale_customer) .woocommerce-MyAccount-navigation #my-account-nav {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}

	body.woocommerce-account.logged-in.wholesale_customer .woocommerce-MyAccount-navigation #my-account-nav {
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	}

	body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation-link {
		width: 100% !important;
		min-width: 0 !important;
		margin: 0 !important;
		border: 0 !important;
	}

	body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation-link--dashboard {
		order: 1;
	}

	body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation-link--orders {
		order: 2;
	}

	body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation-link--company-account {
		order: 3;
	}

	body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation-link--account {
		order: 4;
	}

	body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation-link--customer-logout {
		display: none !important;
	}

	body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation-link a,
	body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation-link.is-active a {
		display: flex !important;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 3px;
		width: 100% !important;
		height: 50px !important;
		min-height: 50px !important;
		min-width: 0;
		padding: 6px 4px !important;
		border: 1px solid transparent !important;
		border-radius: 11px !important;
		background: transparent;
		color: #13233a !important;
		font-size: 9px !important;
		font-weight: 800;
		letter-spacing: 0;
		line-height: 1.1;
		text-align: center;
		text-transform: none !important;
		white-space: normal !important;
		box-shadow: none;
	}

	body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation-link a::before {
		content: "" !important;
		display: block !important;
		position: static !important;
		flex: 0 0 auto;
		width: 14px;
		height: 14px;
		opacity: 0.86;
		background: transparent var(--hd-customer-account-icon) center / contain no-repeat !important;
	}

	body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation-link a::after {
		display: none !important;
		content: none !important;
	}

	body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation-link.is-active a,
	body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation-link.active a {
		border-color: #111827 !important;
		background: #111827 !important;
		color: #ffffff !important;
	}

	body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation-link.is-active a::before,
	body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation-link.active a::before {
		filter: brightness(0) invert(1);
		opacity: 1;
	}

	body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation-link--dashboard {
		--hd-customer-account-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 20V10M10 20V4M16 20v-7M22 20V7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
	}

	body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation-link--orders {
		--hd-customer-account-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5h2l2 10h9l3-7H7M9 19a1 1 0 1 0 0 .1M17 19a1 1 0 1 0 0 .1' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	}

	body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation-link--company-account {
		--hd-customer-account-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 20V8l8-4 8 4v12M9 20v-6h6v6M4 10l8-4 8 4' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
	}

	body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation-link--account {
		--hd-customer-account-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM4 21a8 8 0 0 1 16 0' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
	}

	body.woocommerce-account.logged-in .woocommerce-MyAccount-content .dashboard-links {
		display: none !important;
	}

	body.woocommerce-account.logged-in .hd-print-pdf-btn {
		display: none !important;
	}

	body.woocommerce-account.logged-in .hd-customer-account-hub {
		margin: 0 10px 24px;
		padding: 18px;
		border-radius: 16px;
	}

	body.woocommerce-account.logged-in .hd-customer-account-hub__head h2 {
		font-size: 22px;
	}

	body.woocommerce-account.logged-in .hd-customer-account-hub__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
	}

	body.woocommerce-account.logged-in .hd-customer-account-hub__card {
		min-height: 78px;
		padding: 14px;
		border-radius: 12px;
	}
}

@media only screen and (max-width: 64em) {
	body.woocommerce-account.logged-in .woocommerce-MyAccount-content .touch-scroll-table {
		width: 100% !important;
		max-width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		overflow-x: auto;
	}

	body.woocommerce-account.logged-in .woocommerce-MyAccount-content table {
		max-width: 100%;
	}
}

