.harper-product-hero,
.harper-product-grid,
.harper-selector-widget {
    color: #1f1f1f;
    font-family: "Raleway", Arial, sans-serif;
}

.harper-product-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
    gap: 32px;
    align-items: center;
    padding: 34px 0 38px;
    border-bottom: 1px solid #e5e5e5;
}

.harper-product-eyebrow,
.harper-product-card .harper-product-link,
.harper-product-card a,
.harper-product-detail a {
    color: #177d77;
}

.harper-product-hero h1 {
    margin: 0 0 14px;
    color: #111;
    font-family: "Muli", Arial, sans-serif;
    font-weight: 300;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.05;
}

.harper-product-summary {
    color: #444;
    font-size: 1.08rem;
    line-height: 1.65;
}

.harper-catalog-button,
.harper-selector-widget .submit-btn,
.harper-selector-widget .view-product-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #36b3a8;
    color: #fff !important;
    border: 0;
    border-radius: 2px;
    padding: 12px 18px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.harper-product-image img {
    max-width: 100%;
    height: auto;
    background: #fff;
    border: 1px solid #e2e8e7;
    padding: 16px;
}

.harper-product-section {
    margin: 28px 0;
}

.harper-product-configuration-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.harper-product-configuration-card {
    border: 1px solid var(--harper-line-soft);
    border-top: 4px solid var(--harper-teal);
    background: #fff;
    padding: 22px;
}

.harper-product-configuration-card h3 {
    margin: 0 0 10px;
    color: var(--harper-ink);
}

.harper-product-configuration-card p {
    margin: 0;
}

.harper-buying-modules {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(230px, 0.85fr) minmax(230px, 0.85fr);
    gap: 18px;
    align-items: stretch;
}

.harper-automatic-modules {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.harper-buying-module {
    background: #fff;
    border: 1px solid #dde2e2;
    border-top: 5px solid #36b3a8;
    padding: 22px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
}

.harper-buying-module-primary {
    background: #f5f7f7;
}

.harper-module-kicker {
    margin: 0 0 8px;
    color: #21988e;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.harper-buying-module h2,
.harper-buying-module h3 {
    margin: 0 0 10px;
    color: #111;
    font-family: "Muli", Arial, sans-serif;
    font-weight: 300;
    letter-spacing: 0;
}

.harper-buying-module h2 {
    font-size: clamp(1.45rem, 2.8vw, 2.15rem);
}

.harper-buying-module h3 {
    font-size: 1.28rem;
}

.harper-buying-module p,
.harper-buying-module li {
    color: #333;
    line-height: 1.62;
}

.harper-buying-module ul {
    margin: 10px 0 0;
    padding-left: 20px;
}

.harper-range-list {
    margin: 14px 0 0;
}

.harper-range-list div {
    padding: 12px 0;
    border-top: 1px solid #e5e9e9;
}

.harper-range-list dt {
    color: #60686b;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.harper-range-list dd {
    margin: 4px 0 0;
    color: #111;
    font-size: 1.1rem;
    font-weight: 700;
}

.harper-detail-snapshot {
    display: grid;
    grid-template-columns: minmax(220px, 0.8fr) minmax(220px, 1fr) minmax(220px, 1fr);
    gap: 16px;
}

.harper-detail-snapshot article {
    padding: 20px;
    background: #f5f7f7;
    border: 1px solid #dde2e2;
    border-top: 4px solid #36b3a8;
}

.harper-detail-snapshot h2 {
    margin: 0;
    color: #111;
    font-family: "Muli", Arial, sans-serif;
    font-size: clamp(1.35rem, 2.4vw, 1.9rem);
    font-weight: 300;
    letter-spacing: 0;
    line-height: 1.15;
}

.harper-detail-snapshot p {
    margin: 0;
    color: #333;
    line-height: 1.62;
}

.harper-spec-table {
    width: 100%;
    border-collapse: collapse;
}

.harper-spec-table th,
.harper-spec-table td {
    border-bottom: 1px solid #e8e8e8;
    padding: 12px;
    text-align: left;
    vertical-align: top;
}

.harper-resource-callout {
    padding: 22px;
    background: #f5f7f7;
    border: 1px solid #dde2e2;
    border-left: 5px solid #36b3a8;
}

.harper-resource-callout h2 {
    margin: 0 0 10px;
    color: #111;
    font-family: "Muli", Arial, sans-serif;
    font-size: clamp(1.35rem, 2.6vw, 2rem);
    font-weight: 300;
    letter-spacing: 0;
}

.harper-resource-callout p {
    max-width: 820px;
    margin: 0 0 16px;
    color: #333;
}

.harper-download-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.harper-download-list li {
    margin: 0;
}

.harper-download-list a {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    background: #f5f7f7;
    border: 1px solid #dde2e2;
    border-left: 4px solid #36b3a8;
    color: #177d77;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
}

.harper-download-label {
    min-width: 0;
}

.harper-download-file-icon {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    width: 28px;
    height: 33px;
    align-items: flex-end;
    justify-content: center;
    color: #b42318;
}

.harper-download-file-icon svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    fill: #fff;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
}

.harper-download-file-icon span {
    position: relative;
    z-index: 1;
    margin: 0 0 4px;
    color: currentColor;
    font-family: Arial, sans-serif;
    font-size: 0.52rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1;
}

.harper-download-list a:hover,
.harper-download-list a:focus {
    background: #fff;
    border-color: #36b3a8;
    color: #111;
}

.harper-catalog-prototype {
    font-family: "Raleway", Arial, sans-serif;
    color: #1f1f1f;
}

.harper-catalog-prototype__hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 28px;
    align-items: stretch;
    padding: 36px 0 30px;
    border-bottom: 1px solid #e2e7e7;
}

.harper-catalog-prototype__hero h1,
.harper-catalog-section-heading h2,
.harper-catalog-prototype__routing h2 {
    margin: 0 0 14px;
    color: #111;
    font-family: "Muli", Arial, sans-serif;
    font-weight: 300;
    letter-spacing: 0;
    line-height: 1.08;
}

.harper-catalog-prototype__hero h1 {
    font-size: clamp(2.15rem, 4.5vw, 4rem);
}

.harper-catalog-prototype__hero p {
    max-width: 760px;
    color: #333;
    font-size: 1.08rem;
    line-height: 1.65;
}

.harper-catalog-prototype__admin,
.harper-catalog-prototype__routing {
    background: #f5f7f7;
    border: 1px solid #dde2e2;
    border-top: 5px solid #36b3a8;
    padding: 24px;
}

.harper-catalog-prototype__admin ul {
    margin: 12px 0 0;
    padding-left: 20px;
}

.harper-catalog-prototype__admin li {
    margin: 8px 0;
    color: #333;
    line-height: 1.5;
}

.harper-catalog-section-heading {
    max-width: 820px;
    margin-bottom: 18px;
}

.harper-catalog-section-heading h2 {
    font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.harper-catalog-fit-board {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.harper-catalog-fit-card,
.harper-catalog-mini-card {
    background: #fff;
    border: 1px solid #dde2e2;
    border-top: 4px solid #36b3a8;
    padding: 20px;
}

.harper-catalog-fit-card h3,
.harper-catalog-mini-card h3 {
    margin: 0 0 10px;
    font-family: "Muli", Arial, sans-serif;
    font-size: 1.35rem;
    font-weight: 300;
    line-height: 1.18;
}

.harper-catalog-fit-card p,
.harper-catalog-mini-card p {
    color: #333;
    line-height: 1.58;
}

.harper-catalog-fit-card dl {
    margin: 14px 0;
}

.harper-catalog-fit-card dl div {
    padding: 10px 0;
    border-top: 1px solid #e5e9e9;
}

.harper-catalog-fit-card dt {
    color: #60686b;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.harper-catalog-fit-card dd {
    margin: 3px 0 0;
    color: #111;
    font-weight: 700;
}

.harper-catalog-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.harper-catalog-prototype__routing {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
    gap: 22px;
    align-items: center;
}

.harper-catalog-prototype__routing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.harper-catalog-prototype__routing-grid a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #dde2e2;
    color: #177d77;
    font-weight: 700;
    text-decoration: none;
}

.harper-catalog-prototype__routing-grid a:hover,
.harper-catalog-prototype__routing-grid a:focus {
    border-color: #36b3a8;
    color: #111;
}

.harper-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.harper-product-card,
.harper-selector-widget .selector-card,
.harper-selector-widget .product-card {
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 2px;
    padding: 20px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
}

.harper-selector-widget {
    max-width: 920px;
    margin: 0 auto;
    padding: 24px;
    background: #f5f7f7;
    border: 1px solid #dde2e2;
    border-top: 5px solid #36b3a8;
}

.harper-selector-widget h2,
.harper-selector-widget h3,
.harper-product-card h3 {
    font-family: "Muli", Arial, sans-serif;
    font-weight: 300;
    letter-spacing: 0;
}

.harper-selector-widget .input-method-tabs,
.harper-selector-widget .input-row,
.harper-selector-widget .products-container {
    display: flex;
    gap: 12px;
}

.harper-selector-widget .input-method-tabs,
.harper-selector-widget .products-container {
    flex-direction: column;
}

.harper-selector-widget .input-method-tabs {
    flex-direction: row;
    margin: 0 0 18px;
    padding: 4px;
    background: #edf2f2;
    border: 1px solid #d9e2e2;
}

.harper-selector-widget .tab-btn {
    flex: 1 1 0;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: 2px;
    background: transparent;
    color: #1f1f1f;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.harper-selector-widget .tab-btn.active {
    background: #36b3a8;
    border-color: #36b3a8;
    color: #fff;
}

.harper-selector-widget .tab-content,
.harper-selector-widget .result-section {
    display: none;
}

.harper-selector-widget .tab-content.active,
.harper-selector-widget .result-section.visible {
    display: block;
}

.harper-selector-widget .tab-content.active {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 220px);
    gap: 12px 18px;
    align-items: end;
}

.harper-selector-widget .tab-content label {
    grid-column: 1 / -1;
}

.harper-selector-widget .input-row {
    align-items: stretch;
}

.harper-selector-widget .input-row input {
    flex: 1 1 auto;
    min-width: 0;
}

.harper-selector-widget .input-row select {
    flex: 0 0 150px;
}

.harper-selector-widget .submit-btn {
    width: 100%;
    min-height: 46px;
}

.harper-selector-widget input,
.harper-selector-widget select {
    min-height: 46px;
    border: 1px solid #d8d8d8;
    border-radius: 2px;
    padding: 0 12px;
}

/* Selector result cards mirror the established production selector pattern:
   product imagery on the left and a clean, dark reading hierarchy on the right. */
.harper-selector-widget .product-card {
    display: block;
    overflow: hidden;
    padding: 0;
    color: #2d2d2d;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.harper-selector-widget .product-card:hover,
.harper-selector-widget .product-card:focus {
    color: #2d2d2d;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.harper-selector-widget .product-card-inner {
    display: flex;
    flex-direction: column;
}

.harper-selector-widget .product-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
    padding: 28px;
    background: linear-gradient(135deg, #f8f8f8 0%, #eeeeee 100%);
}

.harper-selector-widget .product-image img {
    display: block;
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
    transition: transform 160ms ease;
}

.harper-selector-widget .product-card:hover .product-image img {
    transform: scale(1.03);
}

.harper-selector-widget .product-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    padding: 28px;
}

.harper-selector-widget .product-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    gap: 6px;
    margin: 0 0 14px;
    padding: 6px 12px;
    border-radius: 4px;
    background: rgba(54, 179, 168, 0.12);
    color: #36b3a8;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.harper-selector-widget .product-badge svg {
    width: 14px;
    height: 14px;
}

.harper-selector-widget .product-info h4 {
    margin: 0 0 12px;
    color: #2d2d2d;
    font-family: "Muli", Arial, sans-serif;
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 1.18;
}

.harper-selector-widget .product-description {
    margin: 0 0 18px;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.65;
}

.harper-selector-widget .product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 0 0 20px;
}

.harper-selector-widget .spec-item {
    display: flex;
    flex-direction: column;
}

.harper-selector-widget .spec-label {
    margin-bottom: 4px;
    color: #777;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.harper-selector-widget .spec-value {
    color: #2d2d2d;
    font-size: 1rem;
    font-weight: 700;
}

.harper-selector-widget .view-product-btn {
    width: fit-content;
    gap: 10px;
}

.harper-selector-widget .view-product-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 160ms ease;
}

.harper-selector-widget .product-card:hover .view-product-btn svg {
    transform: translateX(3px);
}

/* Match the established selector visual system used on the live site. */
.harper-selector-widget {
    --harper-primary: #2d2d2d;
    --harper-accent: #36b3a8;
    --harper-accent-hover: #2a9d93;
    --harper-bg-light: #f5f5f5;
    --harper-bg-white: #fff;
    --harper-text-dark: #2d2d2d;
    --harper-text-medium: #555;
    --harper-text-light: #777;
    --harper-border: #e0e0e0;
    --harper-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --harper-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --harper-radius: 8px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    max-width: 900px;
    padding: 40px 20px;
    background: transparent;
    border: 0;
    border-top: 0;
    line-height: 1.6;
}

.harper-selector-widget .selector-header {
    margin-bottom: 40px;
    text-align: center;
}

.harper-selector-widget .selector-header h2 {
    margin: 0 0 12px;
    color: var(--harper-text-dark);
    font-family: inherit;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.harper-selector-widget .selector-header > p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--harper-text-medium);
    font-size: 1.1rem;
}

.harper-selector-widget .selector-card,
.harper-selector-widget .product-card {
    overflow: hidden;
    border: 1px solid var(--harper-border);
    border-radius: var(--harper-radius);
    box-shadow: var(--harper-shadow-lg);
}

.harper-selector-widget .card-header {
    padding: 24px 28px;
    background: var(--harper-primary);
    color: #fff;
}

.harper-selector-widget .card-header h3 {
    margin: 0 0 6px;
    color: #fff;
    font-family: inherit;
    font-size: 1.35rem;
    font-weight: 600;
}

.harper-selector-widget .card-header p {
    margin: 0;
    color: #fff;
    font-size: 0.95rem;
    opacity: 0.85;
}

.harper-selector-widget .card-body {
    padding: 28px;
}

.harper-selector-widget .input-method-tabs {
    gap: 8px;
    margin-bottom: 28px;
    padding: 0;
    border: 0;
    border-bottom: 2px solid var(--harper-border);
    background: transparent;
}

.harper-selector-widget .tab-btn {
    position: relative;
    min-height: 0;
    padding: 14px 20px;
    border: 0;
    border-radius: 6px 6px 0 0;
    background: transparent;
    color: var(--harper-text-light);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
}

.harper-selector-widget .tab-btn:hover {
    background: var(--harper-bg-light);
    color: var(--harper-text-dark);
}

.harper-selector-widget .tab-btn.active {
    border-color: transparent;
    background: rgba(54, 179, 168, 0.08);
    color: var(--harper-accent);
}

.harper-selector-widget .tab-btn.active::after {
    position: absolute;
    right: 0;
    bottom: -2px;
    left: 0;
    height: 3px;
    background: var(--harper-accent);
    content: "";
}

.harper-selector-widget .tab-content.active {
    display: block;
}

.harper-selector-widget .tab-content label {
    display: block;
    margin-bottom: 10px;
    color: var(--harper-text-dark);
    font-size: 0.95rem;
    font-weight: 600;
}

.harper-selector-widget .input-row {
    gap: 12px;
}

.harper-selector-widget input,
.harper-selector-widget select {
    height: 52px;
    min-height: 52px;
    border: 2px solid var(--harper-border);
    border-radius: 6px;
    background-color: var(--harper-bg-white);
    color: var(--harper-text-dark);
    font-family: inherit;
    font-size: 1rem;
}

.harper-selector-widget .input-row select {
    flex: 0 0 130px;
}

.harper-selector-widget .submit-btn {
    width: 100%;
    margin-top: 8px;
    border-radius: 6px;
    background: var(--harper-accent);
    color: #fff !important;
}

.harper-selector-widget .submit-btn:hover,
.harper-selector-widget .product-card:hover .view-product-btn {
    background: var(--harper-accent-hover);
}

.harper-selector-widget .result-section {
    margin-top: 40px;
}

.harper-selector-widget .result-header {
    margin-bottom: 24px;
    text-align: center;
}

.harper-selector-widget .result-header h3 {
    margin: 0 0 8px;
    color: var(--harper-text-dark);
    font-family: inherit;
    font-size: 1.4rem;
    font-weight: 700;
}

.harper-selector-widget .result-header p {
    margin: 0;
    color: var(--harper-text-medium);
    font-size: 1rem;
}

@media (max-width: 640px) {
    .harper-selector-widget {
        padding: 24px 16px;
    }

    .harper-selector-widget .selector-header h2 {
        font-size: 1.6rem;
    }

    .harper-selector-widget .card-body,
    .harper-selector-widget .card-header,
    .harper-selector-widget .product-info {
        padding: 20px;
    }
}

@media (min-width: 640px) {
    .harper-selector-widget .product-card-inner {
        flex-direction: row;
    }

    .harper-selector-widget .product-image {
        flex: 0 0 42%;
        min-height: 280px;
    }

    .harper-selector-widget .product-info {
        flex: 0 0 58%;
    }
}

@media (max-width: 760px) {
    .harper-product-hero,
    .harper-selector-widget .input-row {
        grid-template-columns: 1fr;
        display: block;
    }

    .harper-selector-widget .tab-content.active {
        display: block;
    }

    .harper-selector-widget input,
    .harper-selector-widget select,
    .harper-selector-widget .submit-btn {
        width: 100%;
        margin-top: 10px;
    }

    .harper-selector-widget .input-method-tabs {
        gap: 6px;
    }

    .harper-selector-widget .tab-btn {
        min-width: 0;
        font-size: 0.9rem;
        line-height: 1.2;
    }

    .harper-buying-modules {
        grid-template-columns: 1fr;
    }

    .harper-detail-snapshot {
        grid-template-columns: 1fr;
    }

    .harper-catalog-prototype__hero,
    .harper-catalog-fit-board,
    .harper-catalog-mini-grid,
    .harper-catalog-prototype__routing,
    .harper-catalog-prototype__routing-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 761px) and (max-width: 1180px) {
    .harper-automatic-modules {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.harper-product-detail {
    --harper-ink: #141719;
    --harper-muted: #5f686c;
    --harper-line-soft: #e6eceb;
    --harper-surface-soft: #f6f8f8;
    --harper-teal-deep: #0d7f78;
    --harper-teal: #36b3a8;
    width: 100%;
    max-width: 100%;
    color: var(--harper-ink);
    font-family: "Raleway", Arial, sans-serif;
}

.harper-product-detail,
.harper-product-detail * {
    box-sizing: border-box;
}

.harper-product-detail > .harper-product-hero,
.harper-product-detail > .harper-guide-panel,
.harper-product-detail > .harper-product-section,
.harper-product-detail > .harper-resource-callout {
    width: 100%;
    max-width: 100%;
}

.harper-product-detail .harper-product-hero {
    position: relative;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.78fr);
    gap: clamp(28px, 5vw, 64px);
    padding: clamp(72px, 8vw, 118px) 0 clamp(38px, 6vw, 76px);
    border-bottom: 1px solid var(--harper-line-soft);
}

/* Optional category-level header treatment. The image is managed on the
   category, then inherited by its product pages. */
.harper-product-detail .harper-product-hero--category-background {
    display: block;
    width: 100vw;
    max-width: none;
    min-height: clamp(300px, 33vw, 490px);
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: clamp(76px, 10vw, 144px) max(24px, calc((100vw - 1160px) / 2));
    border: 0;
    position: relative;
    isolation: isolate;
    background: #102d33;
    overflow: hidden;
}

.harper-product-detail .harper-product-hero--category-background::before,
.harper-catalog-category__header--hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    background: var(--harper-category-hero-overlay, #102d33);
    opacity: var(--harper-category-hero-opacity, .52);
}

.harper-catalog-category__header--hero {
    width: 100vw;
    max-width: none;
    min-height: clamp(300px, 33vw, 490px);
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: clamp(76px, 10vw, 144px) max(24px, calc((100vw - 1160px) / 2));
    position: relative;
    isolation: isolate;
    color: #fff;
    background: #102d33;
    overflow: hidden;
}

/* Use the Denali Epic Thumb structure instead of a parallel custom hero.
   The category selects the image, while Denali owns the full-width image
   treatment and title placement. */
.harper-product-detail .epic-thumb.fw .harper-category-hero-image,
.harper-catalog-category__header.epic-thumb.fw .harper-category-hero-image {
    display: block;
    width: 100%;
    height: clamp(340px, 37vw, 520px);
    margin: 0;
    object-fit: cover;
    object-position: center;
}

.harper-product-detail .epic-thumb.fw .harper-product-hero__title,
.harper-catalog-category__header.epic-thumb.fw .harper-catalog-category__hero-content {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: min(100%, 1160px);
    height: 100%;
    margin: 0 auto;
    padding: clamp(30px, 6vw, 80px) 24px;
    text-align: center;
}

.harper-catalog-category__header.epic-thumb.fw .harper-catalog-category__hero-content {
    align-items: flex-start;
    text-align: left;
}

.harper-product-detail .epic-thumb.fw::before,
.harper-catalog-category__header.epic-thumb.fw::before {
    z-index: 1;
}

.harper-product-detail .epic-thumb.fw.harper-catalog-hero--parallax .harper-category-hero-image,
.harper-catalog-category__header.epic-thumb.fw.harper-catalog-hero--parallax .harper-category-hero-image {
    will-change: transform;
}

/* Native Denali catalog heroes use the viewport as their canvas. Theme
   heading rules are deliberately overridden here so image overlays retain
   adequate contrast regardless of the page's global typography settings. */
body .harper-product-detail .harper-product-hero--category-background.epic-thumb.fw,
body .harper-catalog-category__header.epic-thumb.fw {
    height: calc(100svh - 80px);
    min-height: 420px;
    padding: 0 !important;
}

/* Denali places shortcodes inside a padded .site-main > .wrap. Catalog heroes
   deliberately escape that wrapper so the assigned category image owns the
   entire viewport rather than a narrowed content panel. */
body.harper-catalog-surface #main.site-main {
    padding-top: 0 !important;
}

body.harper-catalog-surface {
    overflow-x: hidden;
}

body .harper-product-detail .harper-product-hero--category-background.epic-thumb.fw,
body .harper-catalog-category__header.epic-thumb.fw {
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}

/* Fill exactly the area below Denali's header. The admin bar is part of the
   logged-in viewport, so account for it without leaving a white spacer. */
body:not(.admin-bar) .harper-product-detail .harper-product-hero--category-background.epic-thumb.fw,
body:not(.admin-bar) .harper-catalog-category__header.epic-thumb.fw {
    height: calc(100svh - 64px) !important;
    min-height: 0 !important;
}

body.admin-bar .harper-product-detail .harper-product-hero--category-background.epic-thumb.fw,
body.admin-bar .harper-catalog-category__header.epic-thumb.fw {
    height: calc(100svh - 96px) !important;
    min-height: 0 !important;
}

/* On product pages, the category image is the background for the existing
   product hero. The machine image, title, copy, quote action, and reviews
   remain in their familiar positions above it. */
body .harper-product-detail .harper-product-hero--category-background.epic-thumb.fw {
    display: flex !important;
    align-items: center !important;
}

body .harper-product-detail .harper-product-hero--category-background.epic-thumb.fw .harper-category-hero-image {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
}

body .harper-product-detail .harper-product-hero--category-background.epic-thumb.fw .harper-product-hero__content {
    position: relative !important;
    z-index: 2 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, .78fr) !important;
    align-items: center !important;
    gap: clamp(28px, 5vw, 64px) !important;
    width: min(calc(100% - 48px), 1160px) !important;
    margin: 0 auto !important;
}

body .harper-product-detail .harper-product-hero--category-background.epic-thumb.fw .harper-product-copy,
body .harper-product-detail .harper-product-hero--category-background.epic-thumb.fw .harper-product-copy h1,
body .harper-product-detail .harper-product-hero--category-background.epic-thumb.fw .harper-product-summary {
    color: #fff !important;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .48) !important;
}

body .harper-product-detail .harper-product-hero--category-background.epic-thumb.fw .harper-product-breadcrumbs a {
    color: #bcece7 !important;
}

/* The review action sits on the dark category image, so it must use the
   product-hero contrast palette rather than the standard white-page palette. */
body .harper-product-detail .harper-product-hero--category-background .harper-product-review-cta,
body .harper-product-detail .harper-product-hero--category-background .harper-product-review-cta .glsr-tag-value,
body .harper-product-detail .harper-product-hero--category-background .harper-product-review-cta__link {
    color: #fff !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .54);
}

body .harper-product-detail .harper-product-hero--category-background .harper-product-review-cta__link:hover,
body .harper-product-detail .harper-product-hero--category-background .harper-product-review-cta__link:focus-visible {
    color: #bcece7 !important;
}

/* Denali's Epic Thumb image opacity must never dim the actual product key
   image. Only the category-background image receives the overlay. */
body .harper-product-detail .harper-product-hero--category-background .harper-product-media,
body .harper-product-detail .harper-product-hero--category-background .harper-product-media__main img,
body .harper-product-detail .harper-product-hero--category-background .harper-product-image img {
    position: relative;
    z-index: 3;
    opacity: 1 !important;
    filter: none !important;
}

body .harper-product-detail .harper-product-hero--category-background .harper-product-media__main,
body .harper-product-detail .harper-product-hero--category-background .harper-product-image {
    overflow: hidden;
    border-radius: 14px;
}

body .harper-product-detail .harper-product-hero--category-background .harper-product-media__main img,
body .harper-product-detail .harper-product-hero--category-background .harper-product-image img {
    border-radius: 14px !important;
}

/* Top-level category pages are landing pages, not breadcrumb destinations. */
@media (min-width: 961px) {
    body .harper-catalog-category__header.epic-thumb.fw .harper-catalog-category__hero-content {
        top: 0 !important;
        right: auto !important;
        bottom: 0 !important;
        left: 50% !important;
        width: min(50vw, 720px) !important;
        margin: 0 !important;
        padding-inline: 24px !important;
        transform: translateX(-50%) !important;
        text-align: center !important;
    }

    body .harper-catalog-category__header.epic-thumb.fw .harper-catalog-category__hero-content > p {
        max-width: 100% !important;
        margin-inline: auto !important;
    }
}

/* A narrow crop exposes brighter portions of the source image. Keep the
   configured overlay intact and match the desktop visual density on phones. */
@media (max-width: 760px) {
    body .harper-catalog-category__header.epic-thumb.fw::before {
        z-index: 1 !important;
        background-color: var(--harper-category-hero-overlay, #102d33) !important;
        opacity: var(--harper-category-hero-opacity, .52) !important;
    }

    body .harper-catalog-category__header.epic-thumb.fw .harper-category-hero-image {
        filter: brightness(.82);
    }
}

@media (max-width: 760px) {
    body .harper-product-detail .harper-product-hero--category-background.epic-thumb.fw {
        height: auto !important;
        min-height: calc(100svh - 80px) !important;
        padding: 52px 0 !important;
    }

    body .harper-product-detail .harper-product-hero--category-background.epic-thumb.fw .harper-product-hero__content {
        grid-template-columns: 1fr !important;
    }
}

body .harper-product-detail .epic-thumb.fw .harper-category-hero-image,
body .harper-catalog-category__header.epic-thumb.fw .harper-category-hero-image {
    height: 100%;
    min-height: 0;
}

body .harper-product-detail .epic-thumb.fw .entry-title,
body .harper-catalog-category__header.epic-thumb.fw h1,
body .harper-catalog-category__header.epic-thumb.fw .harper-module-kicker,
body .harper-catalog-category__header.epic-thumb.fw p,
body .harper-catalog-category__header.epic-thumb.fw .harper-product-breadcrumbs a {
    color: #fff !important;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .48);
}

body .harper-catalog-category__header.epic-thumb.fw .harper-module-kicker a {
    color: inherit !important;
    text-decoration: none;
}

body .harper-catalog-category__header.epic-thumb.fw .harper-module-kicker a:hover,
body .harper-catalog-category__header.epic-thumb.fw .harper-module-kicker a:focus-visible {
    color: #bcece7 !important;
    text-decoration: underline;
    text-underline-offset: 4px;
}

body .harper-product-detail .harper-product-hero--category-background.epic-thumb.fw .harper-product-hero__title,
body .harper-catalog-category__header.epic-thumb.fw .harper-catalog-category__hero-content {
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: clamp(30px, 6vw, 80px) 24px !important;
    transform: none !important;
}

@media (min-width: 961px) {
    body .harper-catalog-category__header.epic-thumb.fw .harper-catalog-category__hero-content {
        top: 0 !important;
        right: auto !important;
        bottom: 0 !important;
        left: 50% !important;
        width: min(50vw, 720px) !important;
        margin: 0 !important;
        padding-inline: 24px !important;
        transform: translateX(-50%) !important;
        text-align: center !important;
    }
}

.harper-catalog-category__header--hero h1,
.harper-catalog-category__header--hero p,
.harper-catalog-category__header--hero .harper-product-breadcrumbs a {
    color: #fff;
}

.harper-product-detail .harper-product-hero--category-background .harper-product-copy {
    max-width: 820px;
}

.harper-product-detail .harper-product-hero--category-background .harper-product-eyebrow,
.harper-product-detail .harper-product-hero--category-background .harper-product-breadcrumbs a,
.harper-product-detail .harper-product-hero--category-background .harper-product-summary {
    color: #fff;
}

.harper-product-detail .harper-product-hero--category-background .harper-product-breadcrumbs a:hover,
.harper-product-detail .harper-product-hero--category-background .harper-product-breadcrumbs a:focus {
    color: #bcece7;
}

.harper-product-detail .harper-product-hero--category-background h1 {
    color: #fff;
}

/* Category heroes are visual headers, not product cards. Keep the image
   unobstructed and use a centered title, then place product information and
   the key product image in a normal two-column introduction below. */
.harper-product-detail .harper-product-hero--category-background {
    min-height: clamp(340px, 37vw, 520px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(52px, 8vw, 112px) 24px;
}

.harper-product-detail .harper-product-hero--category-background .harper-product-hero__title {
    width: min(100%, 980px);
    text-align: center;
}

.harper-product-detail .harper-product-hero--category-background .harper-product-hero__title h1 {
    max-width: none;
    margin: 0;
    color: #fff;
    font-size: clamp(2.55rem, 5vw, 4.75rem);
    line-height: 1.05;
    text-shadow: 0 2px 16px rgba(0, 0, 0, .26);
}

.harper-product-detail .harper-product-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, .78fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
    padding: clamp(52px, 7vw, 94px) 0;
    border-bottom: 1px solid var(--harper-line-soft);
}

.harper-product-detail .harper-product-intro .harper-product-media,
.harper-product-detail .harper-product-intro .harper-product-image {
    margin: 0;
}

.harper-product-detail .harper-product-eyebrow {
    margin: 0 0 14px;
    color: var(--harper-teal-deep);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.harper-product-detail .harper-product-breadcrumbs,
.harper-catalog-category .harper-product-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
}

/* Catalog pages provide their own accurate trail. Hide the theme's generic post trail. */
.single-harper_product #breadcrumbs {
    display: none !important;
}

.harper-product-detail .harper-product-breadcrumbs a,
.harper-catalog-category .harper-product-breadcrumbs a {
    color: var(--harper-teal-deep);
    text-decoration: none;
}

.harper-product-detail .harper-product-breadcrumbs a:hover,
.harper-product-detail .harper-product-breadcrumbs a:focus,
.harper-catalog-category .harper-product-breadcrumbs a:hover,
.harper-catalog-category .harper-product-breadcrumbs a:focus {
    color: var(--harper-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.harper-product-detail .harper-product-hero h1 {
    max-width: 720px;
    margin-bottom: 18px;
    color: var(--harper-ink);
    font-family: "Muli", Arial, sans-serif;
    font-size: clamp(2.45rem, 5vw, 4.6rem);
    font-weight: 300;
    line-height: 0.98;
}

.harper-product-detail .harper-product-summary {
    max-width: 680px;
    color: #343b3e;
    font-size: clamp(1.05rem, 1.5vw, 1.22rem);
    line-height: 1.68;
}

/* Quote + reviews follow the legacy product-page pattern without making a
   second competing CTA.  The review summary remains product-ID scoped. */
.harper-product-detail .harper-product-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 24px;
    margin-top: 28px;
}

.harper-product-detail .harper-product-actions .harper-catalog-button {
    margin: 0;
    flex: 0 0 auto;
}

.harper-product-detail .harper-product-review-cta {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    gap: 10px;
    color: var(--harper-ink);
}

.harper-product-detail .harper-product-review-cta .glsr-summary {
    margin: 0;
    white-space: nowrap;
}

.harper-product-detail .harper-product-review-cta .glsr-summary-text {
    display: none;
}

.harper-product-detail .harper-product-review-cta__link {
    color: var(--harper-teal-deep);
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .02em;
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
}

.harper-product-detail .harper-product-review-cta__link:hover,
.harper-product-detail .harper-product-review-cta__link:focus-visible {
    color: var(--harper-ink);
}

.harper-product-detail .harper-product-image,
.harper-product-detail .harper-product-media {
    margin: -42px 0 0;
    align-self: center;
    justify-self: end;
    width: min(100%, 496px);
}

.harper-product-detail .harper-product-image img,
.harper-product-detail .harper-product-media__main img {
    display: block;
    width: 100%;
    max-height: 470px;
    object-fit: contain;
    background: linear-gradient(180deg, #fff 0%, #f7faf9 100%);
    border: 1px solid var(--harper-line-soft);
    border-radius: 0;
    padding: clamp(18px, 3vw, 34px);
    box-shadow: 0 22px 55px rgba(20, 23, 25, 0.08);
}

.harper-product-detail .harper-product-media {
    display: grid;
    gap: 14px;
}

.harper-product-detail .harper-product-media__main {
    width: 100%;
}

.harper-product-detail .harper-product-media__trigger,
.harper-product-detail .harper-product-media__thumb {
    appearance: none;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    text-decoration: none;
}

.harper-product-detail .harper-product-media__trigger {
    display: block;
    width: 100%;
    cursor: zoom-in;
}

.harper-product-detail .harper-product-media__thumb {
    cursor: pointer;
}

.harper-product-detail .harper-product-media__trigger:focus-visible,
.harper-product-detail .harper-product-media__thumb:focus-visible {
    outline: 3px solid #1d5f8a;
    outline-offset: 3px;
}

.harper-product-detail .harper-product-media__thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.harper-product-detail .harper-product-media__thumb {
    display: flex;
    min-height: 88px;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--harper-line-soft);
    overflow: hidden;
}

.harper-product-detail .harper-product-media__thumb.is-active {
    border-color: #1d5f8a;
    box-shadow: inset 0 0 0 1px #1d5f8a;
}

.harper-product-detail .harper-product-media__thumb img {
    display: block;
    width: 100%;
    height: 88px;
    object-fit: contain;
    padding: 8px;
}

.harper-product-detail .harper-product-specifications-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
    margin: clamp(44px, 7vw, 84px) 0;
}

.harper-product-detail .harper-product-gallery-panel h2,
.harper-product-detail .harper-product-specifications-panel h2,
.harper-product-detail .harper-product-reviews h2 {
    margin: 0 0 18px;
    color: var(--harper-ink);
    font-family: "Muli", Arial, sans-serif;
    font-size: clamp(1.55rem, 2.8vw, 2.35rem);
    font-weight: 300;
    letter-spacing: 0;
}

.harper-product-detail .harper-product-gallery-panel .harper-product-media--gallery {
    width: 100%;
    margin: 0;
    justify-self: stretch;
    align-self: start;
}

.harper-product-detail .harper-product-gallery-panel .harper-product-media--gallery .harper-product-media__main img {
    max-height: 520px;
}

.harper-product-detail .harper-product-specifications-panel .harper-product-section {
    margin: 0;
}

.harper-product-detail .harper-catalog-button,
.harper-product-detail .harper-guide-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 0;
    padding: 13px 18px;
    background: var(--harper-teal);
    box-shadow: none;
    transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.harper-product-detail .harper-guide-button.secondary {
    background: #fff;
    border: 1px solid var(--harper-teal);
    color: var(--harper-teal-deep) !important;
}

.harper-product-detail .harper-catalog-button:hover,
.harper-product-detail .harper-guide-button:hover,
.harper-product-detail .harper-catalog-button:focus,
.harper-product-detail .harper-guide-button:focus {
    background: #111;
    border-color: #111;
    color: #fff !important;
}

.harper-product-detail .harper-guide-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(260px, 0.55fr);
    gap: 26px;
    align-items: center;
    margin: clamp(30px, 5vw, 58px) 0;
    padding: clamp(26px, 4vw, 42px);
    background: #111;
    color: #fff;
}

.harper-product-detail .harper-guide-panel h2 {
    margin: 0 0 12px;
    color: #fff;
    font-family: "Muli", Arial, sans-serif;
    font-size: clamp(1.65rem, 3vw, 2.6rem);
    font-weight: 300;
    line-height: 1.08;
}

.harper-product-detail .harper-guide-panel p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.65;
}

.harper-product-detail .harper-buying-modules {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(180px, 0.7fr));
    gap: 0;
    width: 100%;
    margin: clamp(34px, 5vw, 64px) 0;
    border-top: 1px solid var(--harper-line-soft);
    border-bottom: 1px solid var(--harper-line-soft);
}

.harper-product-detail .harper-automatic-modules {
    grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
    align-items: center;
}

.harper-product-detail .harper-buying-module {
    min-height: 100%;
    padding: clamp(22px, 3vw, 34px);
    background: transparent;
    border: 0;
    border-right: 1px solid var(--harper-line-soft);
    box-shadow: none;
}

.harper-product-detail .harper-automatic-modules .harper-buying-module {
    padding: clamp(16px, 2vw, 22px);
}

.harper-product-detail .harper-selector-showcase-wrap {
    position: relative;
    min-height: 0;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 12px 0;
}

.harper-product-detail .harper-selector-showcase {
    position: static;
    min-height: 184px;
    border: 3px solid #1aa89b;
    border-radius: 19px;
    background: #fff;
    width: 100%;
}

.harper-product-detail .harper-selector-showcase-wrap--mid {
    width: 100%;
}

.harper-product-detail .harper-selector-showcase-wrap--large {
    width: 100%;
    min-width: 0;
}

.harper-product-detail .harper-selector-showcase-wrap--mid .harper-selector-showcase {
    width: 100%;
}

.harper-product-detail .harper-selector-showcase-wrap--large .harper-selector-showcase {
    width: 100%;
}

.harper-product-detail .harper-selector-range-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(210px, 1.05fr);
    align-items: center;
    gap: clamp(14px, 2vw, 30px);
    width: 100%;
    padding: 17px 18px;
}

.harper-product-detail .harper-selector-capacity-bracket,
.harper-product-detail .harper-selector-capacity-bracket {
    display: none;
}

.harper-product-detail .harper-selector-capacity-scale {
    position: relative;
    isolation: isolate;
    min-width: 0;
    pointer-events: none;
}

.harper-product-detail .harper-selector-capacity-label {
    display: block;
    margin: 0 0 8px;
    color: var(--harper-muted);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.harper-product-detail .harper-selector-canisters {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
    gap: 12px;
    height: 112px;
    width: 100%;
}

.harper-product-detail .harper-selector-canisters::before {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 0;
    width: calc(var(--harper-use-case-arrow-width, 100%) - 24px);
    height: 34px;
    transform: translateY(-50%);
    background: linear-gradient(90deg, rgba(26, 168, 155, .30), rgba(26, 168, 155, .68));
    pointer-events: none;
    content: "";
}

.harper-product-detail .harper-selector-canisters::after {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: calc(var(--harper-use-case-arrow-width, 100%) - 24px);
    width: 0;
    height: 0;
    transform: translateY(-50%);
    border-top: 17px solid transparent;
    border-bottom: 17px solid transparent;
    border-left: 24px solid rgba(26, 168, 155, .68);
    pointer-events: none;
    content: "";
}

.harper-product-detail .harper-selector-canister {
    display: block;
    position: relative;
    z-index: 1;
    justify-self: center;
    width: 112px;
    height: 112px;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.harper-product-detail .harper-selector-capacity-size-labels {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    margin-top: 4px;
    color: var(--harper-text);
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    text-align: center;
}

.harper-product-detail .harper-selector-showcase-wrap--entry .harper-selector-capacity-scale {
    --harper-use-case-arrow-width: calc((100% - 24px) / 3);
}

.harper-product-detail .harper-selector-showcase-wrap--mid .harper-selector-capacity-scale {
    --harper-use-case-arrow-width: calc(((100% - 24px) / 3) * 2 + 12px);
}

.harper-product-detail .harper-buying-module:last-child {
    border-right: 0;
}

.harper-product-detail .harper-buying-module-primary {
    background: var(--harper-surface-soft);
}

.harper-product-detail .harper-buying-module h2,
.harper-product-detail .harper-buying-module h3 {
    color: var(--harper-ink);
    font-family: "Muli", Arial, sans-serif;
    font-weight: 300;
    line-height: 1.12;
}

.harper-product-detail .harper-automatic-modules .harper-buying-module h2 {
    margin-bottom: 8px;
    font-size: clamp(1.25rem, 1.75vw, 1.62rem);
    line-height: 1.08;
}

.harper-product-detail .harper-automatic-modules .harper-buying-module h3 {
    margin-bottom: 8px;
    font-size: clamp(1rem, 1.4vw, 1.22rem);
    line-height: 1.16;
}

.harper-product-detail .harper-buying-module p,
.harper-product-detail .harper-buying-module li {
    color: #3c4448;
    line-height: 1.62;
}

.harper-product-detail .harper-automatic-modules .harper-buying-module p,
.harper-product-detail .harper-automatic-modules .harper-buying-module li {
    font-size: 0.94rem;
    line-height: 1.42;
}

.harper-product-detail .harper-automatic-modules .harper-buying-module-primary > p:not(.harper-module-kicker) {
    display: block;
    overflow: visible;
}

.harper-product-detail .harper-automatic-modules .harper-module-kicker {
    margin-bottom: 6px;
    font-size: 0.72rem;
}

.harper-product-detail .harper-automatic-modules .harper-guide-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
    margin-top: 14px;
    margin-right: auto;
    margin-left: auto;
    max-width: 360px;
}

.harper-product-detail .harper-automatic-modules .harper-guide-button {
    flex: 1 1 168px;
    min-width: 168px;
    max-width: 176px;
    min-height: 34px;
    padding: 7px 10px;
    font-size: 0.82rem;
    text-align: center;
    white-space: nowrap;
}

.harper-product-detail .harper-range-list div {
    padding: 10px 0;
    border-top: 1px solid var(--harper-line-soft);
}

.harper-product-detail .harper-range-list dt {
    color: var(--harper-muted);
    font-size: 0.72rem;
}

.harper-product-detail .harper-range-list dd {
    color: var(--harper-ink);
    font-size: 0.98rem;
    white-space: nowrap;
}

.harper-product-detail .harper-detail-snapshot {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 18px 0 28px;
    background: var(--harper-surface-soft);
}

.harper-product-detail .harper-detail-snapshot--fit {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(180px, 0.58fr);
}

.harper-product-detail .harper-detail-snapshot article {
    padding: 18px 24px 20px;
    background: transparent;
    border: 0;
    border-right: 1px solid var(--harper-line-soft);
}

.harper-product-detail .harper-detail-snapshot article:last-child {
    border-right: 0;
}

.harper-product-detail .harper-detail-snapshot h2 {
    margin-bottom: 6px;
    color: var(--harper-ink);
    font-size: clamp(1rem, 1.25vw, 1.18rem);
    font-weight: 400;
    line-height: 1.25;
}

.harper-product-detail .harper-detail-snapshot p {
    color: #3c4448;
    font-size: 0.94rem;
    line-height: 1.45;
}

.harper-product-detail .harper-detail-snapshot__next {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    justify-content: center;
}

.harper-product-detail .harper-detail-snapshot__next a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 184px);
    min-height: 38px;
    margin-top: 10px;
    padding: 9px 12px;
    background: var(--harper-ink);
    color: #fff !important;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

.harper-product-detail .harper-detail-snapshot__next a:hover,
.harper-product-detail .harper-detail-snapshot__next a:focus {
    background: var(--harper-teal-deep);
}

.harper-product-detail .harper-product-body {
    max-width: 860px;
    /* Shared product-copy column: centered in the template, left-aligned for reading. */
    margin: clamp(34px, 5vw, 64px) auto;
    color: #333b3f;
    font-size: 1.04rem;
    line-height: 1.72;
}

.harper-product-detail .harper-product-section > h2 {
    margin: 0 0 18px;
    color: var(--harper-ink);
    font-family: "Muli", Arial, sans-serif;
    font-size: clamp(1.55rem, 2.8vw, 2.35rem);
    font-weight: 300;
    letter-spacing: 0;
}

.harper-product-detail .harper-spec-table {
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-top: 1px solid var(--harper-line-soft);
}

.harper-product-detail .harper-spec-table tr {
    display: grid;
    grid-template-columns: minmax(150px, 0.35fr) minmax(0, 1fr);
    border-bottom: 1px solid var(--harper-line-soft);
}

.harper-product-detail .harper-spec-table th,
.harper-product-detail .harper-spec-table td {
    border: 0;
    padding: 18px 0;
}

.harper-product-detail .harper-spec-table th {
    color: var(--harper-muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.harper-product-detail .harper-spec-table td {
    color: var(--harper-ink);
    font-size: 1.02rem;
    line-height: 1.5;
}

.harper-product-detail .harper-download-list {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.harper-product-detail .harper-download-list a {
    min-height: 64px;
    background: #fff;
    border: 1px solid var(--harper-line-soft);
    border-left: 0;
    color: var(--harper-teal-deep);
    box-shadow: 0 16px 42px rgba(20, 23, 25, 0.06);
}

.harper-product-detail .harper-download-list a::after {
    border-radius: 999px;
}

.harper-product-detail .harper-resource-callout {
    margin: clamp(34px, 5vw, 64px) 0 0;
    padding: clamp(26px, 4vw, 42px);
    background: var(--harper-surface-soft);
    border: 0;
}

.harper-catalog-category {
    --harper-ink: #141719;
    --harper-muted: #5f686c;
    --harper-line-soft: #e6eceb;
    --harper-surface-soft: #f6f8f8;
    --harper-teal-deep: #0d7f78;
    --harper-teal: #36b3a8;
    width: 100%;
    color: var(--harper-ink);
    font-family: "Raleway", Arial, sans-serif;
}

.harper-catalog-category,
.harper-catalog-category * {
    box-sizing: border-box;
}

.harper-catalog-category__header {
    margin: 0 0 clamp(28px, 5vw, 52px);
    padding: clamp(34px, 6vw, 68px) 0 clamp(28px, 5vw, 48px);
    border-bottom: 1px solid var(--harper-line-soft);
}

.harper-catalog-category__header h1 {
    max-width: 820px;
    margin: 0 0 16px;
    color: var(--harper-ink);
    font-family: "Muli", Arial, sans-serif;
    font-size: clamp(2.25rem, 5vw, 4.35rem);
    font-weight: 300;
    letter-spacing: 0;
    line-height: 0.98;
}

.harper-catalog-category__header > p:not(.harper-module-kicker) {
    max-width: 760px;
    margin: 0;
    color: #343b3e;
    font-size: clamp(1.03rem, 1.5vw, 1.2rem);
    line-height: 1.65;
}

.harper-catalog-category .harper-product-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)) !important;
    gap: 24px !important;
    align-items: stretch;
}

.harper-catalog-category .harper-product-card {
    display: flex !important;
    min-height: 100%;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--harper-line-soft);
    border-radius: 8px !important;
    box-shadow: 0 8px 24px rgba(20, 23, 25, 0.06) !important;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.harper-catalog-category .harper-product-card:hover {
    border-color: #9eb9b4;
    box-shadow: 0 14px 32px rgba(20, 23, 25, 0.11);
    transform: translateY(-2px);
}

.harper-catalog-category .harper-product-card__media {
    display: grid;
    min-height: 220px;
    place-items: center;
    padding: 18px;
    background: linear-gradient(150deg, #f3f8f7 0%, #fbfcfc 100%);
}

.harper-catalog-category .harper-product-card img {
    display: block;
    width: 100%;
    max-height: 190px;
    object-fit: contain;
    margin: 0;
    background: transparent;
}

.harper-catalog-category .harper-product-card__body {
    display: flex;
    min-height: 220px;
    flex: 1;
    flex-direction: column;
    padding: 22px 22px 20px;
}

.harper-catalog-category .harper-product-card__vendor {
    margin: 0 0 9px !important;
    color: #177d77 !important;
    font-size: 0.74rem !important;
    font-weight: 800;
    letter-spacing: 0.09em;
    line-height: 1.2 !important;
    text-transform: uppercase;
}

.harper-catalog-category .harper-product-card h3 {
    margin: 0 0 10px;
    color: var(--harper-ink);
    font-family: "Muli", Arial, sans-serif;
    font-size: 1.45rem;
    font-weight: 300;
    line-height: 1.15;
}

.harper-catalog-category .harper-product-card p {
    color: #3c4448;
    line-height: 1.58;
}

.harper-catalog-category .harper-product-card .harper-product-link {
    margin-top: auto;
    padding-top: 14px;
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 900px) {
    .harper-product-detail .harper-guide-panel,
    .harper-product-detail .harper-detail-snapshot--fit,
    .harper-product-detail .harper-detail-snapshot {
        grid-template-columns: 1fr;
    }

    .harper-product-detail .harper-buying-modules {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .harper-product-detail .harper-automatic-modules {
        grid-template-columns: minmax(0, 1fr);
    }

    .harper-product-detail .harper-selector-showcase {
        width: 100%;
        min-width: 0;
        max-width: 720px;
    }

    .harper-product-detail .harper-buying-module,
    .harper-product-detail .harper-detail-snapshot article {
        border-right: 0;
        border-bottom: 1px solid var(--harper-line-soft);
    }

    .harper-product-detail .harper-buying-module:last-child,
    .harper-product-detail .harper-detail-snapshot article:last-child {
        border-bottom: 0;
    }

    .harper-product-detail .harper-detail-snapshot__next {
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .harper-product-detail .harper-product-hero,
    .harper-product-detail .harper-product-intro,
    .harper-product-detail .harper-buying-modules,
    .harper-product-detail .harper-automatic-modules,
    .harper-product-detail .harper-product-specifications-layout {
        grid-template-columns: 1fr;
    }

    .harper-product-configuration-grid {
        grid-template-columns: 1fr;
    }

    .harper-product-detail .harper-product-image,
    .harper-product-detail .harper-product-media {
        justify-self: stretch;
        width: 100%;
        margin: 16px 0 0;
    }

    .harper-product-detail .harper-product-media__main img {
        max-height: 430px;
    }

    .harper-product-detail .harper-product-media__thumbs {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        justify-items: center;
        gap: 12px;
        overflow: visible;
        padding: 0;
    }

    .harper-product-detail .harper-product-media__thumb {
        width: 100%;
        min-width: 0;
    }

    .harper-product-detail .harper-product-hero h1 {
        font-size: 2.55rem;
        line-height: 1.04;
    }

    .harper-product-detail .harper-product-summary {
        font-size: 1rem;
    }

    .harper-product-detail .harper-spec-table tr {
        grid-template-columns: 1fr;
        gap: 2px;
        padding: 15px 0;
    }

    .harper-product-detail .harper-spec-table th,
    .harper-product-detail .harper-spec-table td {
        padding: 0;
    }

    .harper-product-detail .harper-selector-showcase-wrap,
    .harper-product-detail .harper-selector-showcase-wrap--mid,
    .harper-product-detail .harper-selector-showcase-wrap--large {
        min-height: 0;
        width: 100%;
        min-width: 0;
        margin: 14px 0;
        padding: 0;
    }

    .harper-product-detail .harper-selector-showcase,
    .harper-product-detail .harper-selector-showcase-wrap--mid .harper-selector-showcase,
    .harper-product-detail .harper-selector-showcase-wrap--large .harper-selector-showcase {
        position: static;
        width: 100%;
        min-height: 0;
    }

    .harper-product-detail .harper-selector-range-card {
        width: 100%;
    }

    .harper-product-detail .harper-selector-capacity-scale {
        margin-top: 16px;
        padding: 0 4px;
    }

    .harper-product-detail .harper-selector-capacity-label {
        display: block;
        margin: 0 0 8px;
        color: var(--harper-muted);
        font-size: 0.68rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .harper-product-detail .harper-selector-canisters {
        position: static;
        justify-content: center;
        width: 100%;
        gap: 12px;
        padding: 0;
        transform: none;
    }

    .harper-product-detail .harper-selector-canister {
        width: min(27vw, 112px);
        height: min(27vw, 112px);
    }

    .harper-product-detail .harper-selector-capacity-bracket {
        display: block;
        position: relative;
        height: 10px;
        margin: 3px auto 0;
        border-bottom: 3px solid #1aa89b;
    }

    .harper-product-detail .harper-selector-capacity-bracket::before,
    .harper-product-detail .harper-selector-capacity-bracket::after {
        position: absolute;
        bottom: -3px;
        width: 3px;
        height: 8px;
        background: #1aa89b;
        content: "";
    }

    .harper-product-detail .harper-selector-capacity-bracket::before {
        left: 0;
    }

    .harper-product-detail .harper-selector-capacity-bracket::after {
        right: 0;
    }

    .harper-product-detail .harper-selector-showcase-wrap--entry .harper-selector-capacity-bracket {
        width: 28%;
    }

    .harper-product-detail .harper-selector-showcase-wrap--mid .harper-selector-capacity-bracket {
        width: 61%;
    }

    .harper-product-detail .harper-selector-showcase-wrap--large .harper-selector-capacity-bracket {
        width: 94%;
    }
}

@media (max-width: 640px) {
    .harper-product-detail .harper-product-hero {
        padding: 54px 0 34px;
    }

    .harper-product-detail .harper-product-hero--category-background {
        /* The mobile menu occupies the top edge of the viewport. Keep the
           product title clear of it even when the hero content is taller
           than the viewport. */
        align-items: flex-start !important;
        min-height: 300px;
        padding: calc(72px + env(safe-area-inset-top)) 24px 44px;
    }

    .harper-product-detail .harper-product-hero--category-background .harper-product-hero__content {
        align-self: flex-start;
    }

    /* A product hero contains real content, including the key machine image.
       Do not let the desktop viewport-height Epic Thumb rule crop that image
       on phones. The category background remains full-bleed, but the hero now
       grows to contain the copy and complete image card. */
    body:not(.admin-bar) .harper-product-detail .harper-product-hero--category-background.epic-thumb.fw,
    body.admin-bar .harper-product-detail .harper-product-hero--category-background.epic-thumb.fw {
        height: auto !important;
        min-height: 0 !important;
        padding: calc(72px + env(safe-area-inset-top)) 24px 44px !important;
    }

    body .harper-product-detail .harper-product-hero--category-background.epic-thumb.fw .harper-product-hero__content {
        align-self: auto !important;
        width: 100% !important;
    }

    body .harper-product-detail .harper-product-hero--category-background .harper-product-media--hero {
        align-self: auto !important;
        justify-self: stretch !important;
        width: 100% !important;
        margin: 16px 0 0 !important;
    }

    .harper-product-detail .harper-product-intro {
        padding: 42px 0 54px;
    }

    .harper-product-detail .harper-product-actions {
        display: grid;
        justify-items: start;
        gap: 12px;
    }

    .harper-product-detail .harper-product-review-cta {
        min-height: auto;
    }
}

/* Catalog products render their own hierarchy. Suppress the theme's generic post trail. */
body.single-harper_product #breadcrumbs,
body.single-harper_product .site-breadcrumbs {
    display: none !important;
}

/* Product-specific Site Reviews integration. */
.harper-product-detail .harper-product-reviews {
    margin: clamp(56px, 8vw, 96px) 0 0;
    padding: clamp(30px, 5vw, 56px);
    background: #f6f8f7;
    border-top: 4px solid var(--harper-teal);
}

.harper-product-detail .harper-product-reviews__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--harper-line-soft);
}

.harper-product-detail .harper-product-reviews h3 {
    margin: 0;
}

.harper-product-detail .harper-product-reviews__summary {
    min-width: 180px;
    text-align: right;
}

.harper-product-detail .harper-product-reviews .glsr-summary {
    margin: 0;
}

.harper-product-detail .harper-product-reviews__list {
    margin-top: 28px;
}

.harper-product-detail .harper-product-reviews .glsr-review {
    padding: 22px 0;
    border-color: var(--harper-line-soft);
}

.harper-product-detail .harper-product-reviews .glsr-review-title,
.harper-product-detail .harper-product-reviews .glsr-review-author {
    color: var(--harper-ink);
}

.harper-product-detail .harper-product-reviews .glsr-review-date,
.harper-product-detail .harper-product-reviews .glsr-review-content {
    color: var(--harper-muted);
}

.harper-product-detail .harper-product-reviews__form {
    margin-top: 36px;
    padding-top: 30px;
    border-top: 1px solid var(--harper-line-soft);
}

.harper-product-detail .harper-product-reviews__form > p {
    max-width: 640px;
    margin: 10px 0 22px;
}

.harper-product-detail .harper-product-reviews .glsr-field input,
.harper-product-detail .harper-product-reviews .glsr-field textarea,
.harper-product-detail .harper-product-reviews .glsr-field select {
    border-radius: 0;
    border-color: #bfc8c3;
}

.harper-product-detail .harper-product-reviews .glsr-button {
    min-height: 46px;
    border-radius: 0;
    background: var(--harper-teal);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

@media (max-width: 640px) {
    .harper-product-detail .harper-product-reviews {
        padding: 28px 22px;
    }

    .harper-product-detail .harper-product-reviews__heading {
        display: block;
    }

    .harper-product-detail .harper-product-reviews__summary {
        min-width: 0;
        margin-top: 18px;
        text-align: left;
    }
}

/* Keep the selector fit panel intact on actual mobile browsers. The theme has
   legacy image rules which otherwise win on some cached mobile sessions. */
@media (max-width: 640px) {
    .harper-product-detail .harper-selector-showcase-wrap {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 14px 0 !important;
        padding: 0 !important;
    }

    .harper-product-detail .harper-selector-showcase {
        display: block !important;
        width: 100% !important;
        min-height: 0 !important;
        overflow: hidden;
        border: 3px solid #1aa89b !important;
        border-radius: 19px !important;
        background: #fff !important;
    }

    .harper-product-detail .harper-selector-range-card {
        display: block !important;
        width: 100% !important;
        padding: 17px 18px !important;
    }

    .harper-product-detail .harper-selector-capacity-scale {
        position: relative;
        isolation: isolate;
        width: 100% !important;
        margin-top: 16px !important;
        padding: 0 4px 10px !important;
    }

    /* A growing teal arrow shows how the machine's recommended use case
       expands from the quart through the full three-canister scale. */
    .harper-product-detail .harper-selector-capacity-scale::before {
        content: none;
    }

    .harper-product-detail .harper-selector-capacity-scale::after {
        content: none;
    }

    .harper-product-detail .harper-selector-canisters::before {
        position: absolute;
        z-index: 2;
        top: 50%;
        left: 0;
        width: calc(var(--harper-use-case-arrow-width, 100%) - 24px);
        height: 34px;
        transform: translateY(-50%);
        background: linear-gradient(90deg, rgba(26, 168, 155, .30), rgba(26, 168, 155, .68));
        pointer-events: none;
        content: "";
    }

    .harper-product-detail .harper-selector-canisters::after {
        position: absolute;
        z-index: 2;
        top: 50%;
        left: calc(var(--harper-use-case-arrow-width, 100%) - 24px);
        width: 0;
        height: 0;
        transform: translateY(-50%);
        border-top: 17px solid transparent;
        border-bottom: 17px solid transparent;
        border-left: 24px solid rgba(26, 168, 155, .68);
        pointer-events: none;
        content: "";
    }

    .harper-product-detail .harper-selector-canisters {
        display: grid !important;
        position: relative !important;
        isolation: isolate;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        align-items: end !important;
        gap: 12px !important;
        width: 100% !important;
        padding: 0 !important;
        transform: none !important;
    }

    .harper-product-detail .harper-selector-canister {
        display: block !important;
        position: relative;
        z-index: 1;
        justify-self: center;
        width: min(100%, 112px) !important;
        height: auto !important;
        max-height: 112px;
        object-fit: contain !important;
    }

    .harper-product-detail .harper-selector-capacity-size-labels {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
        width: 100%;
        margin-top: 4px;
        color: var(--harper-text);
        font-size: 12px;
        font-weight: 600;
        line-height: 16px;
        text-align: center;
    }

    /* Entry-level machines are a quart fit. Each step lengthens the arrow
       by one canister column while the physical cans remain readable above. */
    .harper-product-detail .harper-selector-showcase-wrap--entry .harper-selector-capacity-bracket {
        display: none !important;
    }

    .harper-product-detail .harper-selector-showcase-wrap--entry .harper-selector-capacity-scale {
        --harper-use-case-arrow-width: calc((100% - 24px) / 3);
    }

    .harper-product-detail .harper-selector-showcase-wrap--mid .harper-selector-capacity-bracket,
    .harper-product-detail .harper-selector-showcase-wrap--large .harper-selector-capacity-bracket {
        display: none !important;
    }

    .harper-product-detail .harper-selector-showcase-wrap--mid .harper-selector-capacity-scale {
        --harper-use-case-arrow-width: calc(((100% - 24px) / 3) * 2 + 12px);
    }
}

/* Landscape phones are wide enough to miss the portrait breakpoint, but too
   short for the desktop scale. Use the same self-contained scale rather than
   letting the absolute desktop canisters extend off screen. */
@media (max-height: 520px) and (orientation: landscape) and (max-width: 950px) {
    body.single-harper_product {
        overflow-x: hidden;
    }

    .harper-product-detail .harper-selector-showcase-wrap {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 14px 0 !important;
        padding: 0 !important;
    }

    .harper-product-detail .harper-selector-showcase {
        display: block !important;
        width: 100% !important;
        min-height: 0 !important;
        overflow: hidden;
        border: 3px solid #1aa89b !important;
        border-radius: 19px !important;
        background: #fff !important;
    }

    .harper-product-detail .harper-selector-range-card {
        display: block !important;
        width: 100% !important;
        padding: 17px 18px !important;
    }

    .harper-product-detail .harper-selector-capacity-scale {
        position: relative;
        isolation: isolate;
        width: 100% !important;
        margin-top: 16px !important;
        padding: 0 4px 8px !important;
    }

    .harper-product-detail .harper-selector-capacity-scale::before {
        content: none;
    }

    .harper-product-detail .harper-selector-capacity-scale::after {
        content: none;
    }

    .harper-product-detail .harper-selector-canisters::before {
        position: absolute;
        z-index: 2;
        top: 50%;
        left: 0;
        width: calc(var(--harper-use-case-arrow-width, 100%) - 20px);
        height: 28px;
        transform: translateY(-50%);
        background: linear-gradient(90deg, rgba(26, 168, 155, .30), rgba(26, 168, 155, .68));
        pointer-events: none;
        content: "";
    }

    .harper-product-detail .harper-selector-canisters::after {
        position: absolute;
        z-index: 2;
        top: 50%;
        left: calc(var(--harper-use-case-arrow-width, 100%) - 20px);
        width: 0;
        height: 0;
        transform: translateY(-50%);
        border-top: 14px solid transparent;
        border-bottom: 14px solid transparent;
        border-left: 20px solid rgba(26, 168, 155, .68);
        pointer-events: none;
        content: "";
    }

    .harper-product-detail .harper-selector-canisters {
        display: grid !important;
        position: relative !important;
        isolation: isolate;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        align-items: end !important;
        gap: 12px !important;
        width: 100% !important;
        padding: 0 !important;
        transform: none !important;
    }

    .harper-product-detail .harper-selector-canister {
        display: block !important;
        position: relative;
        z-index: 1;
        justify-self: center;
        width: min(100%, 96px) !important;
        height: auto !important;
        max-height: 88px;
        object-fit: contain !important;
    }

    .harper-product-detail .harper-selector-capacity-size-labels {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
        width: 100%;
        margin-top: 4px;
        color: var(--harper-text);
        font-size: 12px;
        font-weight: 600;
        line-height: 16px;
        text-align: center;
    }

    .harper-product-detail .harper-selector-capacity-bracket {
        display: none !important;
    }

    .harper-product-detail .harper-selector-showcase-wrap--entry .harper-selector-capacity-scale {
        --harper-use-case-arrow-width: calc((100% - 24px) / 3);
    }

    .harper-product-detail .harper-selector-showcase-wrap--mid .harper-selector-capacity-scale {
        --harper-use-case-arrow-width: calc(((100% - 24px) / 3) * 2 + 12px);
    }
}

/* Automatic-dispenser fit cards use one shared desktop geometry.  The fit
   tier controls only arrow length, never the panel or canister scale. */
@media (min-width: 901px) {
    .harper-product-detail .harper-buying-modules.harper-automatic-modules {
        grid-template-columns: minmax(384px, 0.72fr) minmax(0, 1.28fr) !important;
        column-gap: 18px !important;
    }

    .harper-product-detail .harper-selector-showcase-wrap,
    .harper-product-detail .harper-selector-showcase-wrap--entry,
    .harper-product-detail .harper-selector-showcase-wrap--mid,
    .harper-product-detail .harper-selector-showcase-wrap--large,
    .harper-product-detail .harper-selector-showcase-wrap--entry .harper-selector-showcase,
    .harper-product-detail .harper-selector-showcase-wrap--mid .harper-selector-showcase,
    .harper-product-detail .harper-selector-showcase-wrap--large .harper-selector-showcase {
        width: 100% !important;
        min-width: 0 !important;
    }

    .harper-product-detail .harper-selector-range-card {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 1.05fr) !important;
        min-height: 184px;
    }

    .harper-product-detail .harper-selector-canisters {
        height: 112px !important;
    }

    .harper-product-detail .harper-selector-canister {
        width: 112px !important;
        height: 112px !important;
        max-height: 112px !important;
    }
}

/* Use Case keeps three centered groups, one beneath each canister. */
.harper-product-detail .harper-selector-canisters,
.harper-product-detail .harper-selector-capacity-size-labels {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.harper-product-detail .harper-selector-capacity-size-labels small {
    font: inherit;
    font-weight: 400;
}

.harper-product-detail .harper-selector-showcase-wrap--entry .harper-selector-capacity-scale {
    --harper-use-case-arrow-width: calc((100% - 24px) / 3);
}

.harper-product-detail .harper-selector-showcase-wrap--mid .harper-selector-capacity-scale {
    --harper-use-case-arrow-width: calc(((100% - 24px) / 3) * 2 + 12px);
}

@media (max-width: 900px) {
    .harper-product-detail .harper-selector-capacity-size-labels {
        font-size: 10px;
        line-height: 1.15;
    }
}
