.opt-reference-page {
    --opt-ink: #183f2c;
    --opt-green: #214b36;
    --opt-leaf: #a8c8a0;
    --opt-cream: var(--brand-accent);
    --opt-line: rgba(24, 63, 44, 0.16);
    width: 100%;
    max-width: none;
    padding: 0 0 72px !important;
    background: #ffffff;
    color: var(--opt-ink);
}

.opt-reference-page *,
.opt-reference-page *::before,
.opt-reference-page *::after {
    letter-spacing: 0;
}

.opt-shell {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
}

.opt-reference-intro {
    padding: 24px 0 20px;
    background: #ffffff;
}

.opt-reference-section-head,
.opt-products-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.opt-route-heading {
    max-width: 760px;
    margin-bottom: 22px;
}

.opt-route-heading h1 {
    margin: 10px 0 0;
    color: var(--opt-ink);
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.04;
}

.opt-route-heading p {
    max-width: 680px;
    margin: 12px 0 0;
    color: rgba(24, 63, 44, 0.74);
    font-size: 16px;
    line-height: 1.55;
}

.opt-reference-page .opt-warehouse-switch,
.opt-tier-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 220px;
    min-height: 44px;
    padding: 3px;
    border: 1px solid var(--opt-line);
    border-radius: 8px;
    background: #ffffff;
}

.opt-reference-page .opt-warehouse-switch::before {
    display: none !important;
}

.opt-reference-page .opt-warehouse-switch button,
.opt-tier-switch button {
    position: relative;
    z-index: 1;
    min-width: 0;
    min-height: 38px;
    padding: 8px 14px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--opt-ink);
    font: inherit;
    font-size: 13px;
    font-weight: 900;
}

.opt-reference-page .opt-warehouse-switch button.is-active,
.opt-tier-switch button.is-active {
    background: var(--opt-ink);
    color: #ffffff;
}

.opt-route-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.opt-route-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(150px, 0.72fr) minmax(0, 1.28fr);
    min-height: 176px;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--opt-line);
    border-radius: 8px;
    background: #ffffff;
    color: var(--opt-ink);
    cursor: pointer;
    text-align: left;
    transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.opt-route-card:hover {
    border-color: rgba(24, 63, 44, 0.42);
    transform: translateY(-2px);
}

.opt-route-media {
    display: block;
    min-width: 0;
    overflow: hidden;
    background: var(--opt-cream);
}

.opt-route-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.opt-route-card:hover .opt-route-media img {
    transform: scale(1.035);
}

.opt-route-copy {
    display: flex;
    min-width: 0;
    padding: 22px 50px 22px 24px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
}

.opt-route-copy > small {
    color: rgba(24, 63, 44, 0.58);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.opt-route-title {
    margin-top: 6px;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.12;
}

.opt-route-description {
    margin-top: 8px;
    color: rgba(24, 63, 44, 0.72);
    font-size: 13px;
    line-height: 1.4;
}

.opt-route-facts {
    margin-top: 12px;
    color: var(--opt-ink);
    font-size: 12px;
    font-weight: 700;
}

.opt-route-check {
    position: absolute;
    top: 18px;
    right: 18px;
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border: 1px solid rgba(24, 63, 44, 0.24);
    border-radius: 50%;
    background: #ffffff;
}

.opt-route-check::after {
    width: 5px;
    height: 9px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    content: "";
    opacity: 0;
    transform: translateY(-1px) rotate(45deg);
}

.opt-route-card.is-active {
    border-color: var(--opt-ink);
    box-shadow: 0 12px 28px rgba(24, 63, 44, 0.12);
}

.opt-route-card.is-active .opt-route-check {
    border-color: var(--opt-ink);
    background: var(--opt-ink);
}

.opt-route-card.is-active .opt-route-check::after {
    opacity: 1;
}

.opt-route-hero {
    position: relative;
    min-height: 470px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--opt-ink);
    box-shadow: 0 18px 44px rgba(17, 50, 35, 0.16);
}

.opt-route-background,
.opt-route-image,
.opt-route-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.opt-route-image {
    object-fit: cover;
    opacity: 0;
    transform: scale(1.015);
    transition: opacity 460ms ease, transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.opt-route-image--spb {
    object-position: 66% center;
}

.opt-route-image--china {
    object-position: 68% center;
}

.opt-page[data-opt-catalog="spb"] .opt-route-image--spb,
.opt-page[data-opt-catalog="china"] .opt-route-image--china {
    opacity: 1;
    transform: scale(1);
}

.opt-route-shade {
    background: rgba(8, 29, 19, 0.58);
}

.opt-route-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 470px;
    padding: 42px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-end;
    color: #ffffff;
}

.opt-route-kicker {
    display: inline-flex;
    min-height: 28px;
    padding: 6px 10px;
    align-items: center;
    border-radius: 5px;
    background: var(--opt-leaf);
    color: var(--opt-ink);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.opt-route-hero h1 {
    max-width: 760px;
    margin: 14px 0 0;
    color: #ffffff;
    font-size: clamp(38px, 4.5vw, 60px);
    line-height: 1.02;
}

.opt-route-hero-content > p {
    max-width: 680px;
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 16px;
    line-height: 1.5;
}

.opt-route-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(820px, 100%);
    gap: 8px;
    margin-top: 24px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 8px;
    background: rgba(8, 29, 19, 0.5);
    backdrop-filter: blur(8px);
}

.opt-route-switch button {
    display: flex;
    min-width: 0;
    min-height: 66px;
    padding: 12px 14px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: rgba(8, 29, 19, 0.34);
    color: #ffffff;
    font: inherit;
    text-align: left;
    transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.opt-route-switch button:hover {
    background: rgba(255, 255, 255, 0.12);
}

.opt-route-switch button.is-active {
    border-color: rgba(255, 255, 255, 0.86);
    background: #ffffff;
    color: var(--opt-ink);
    box-shadow: 0 8px 20px rgba(8, 29, 19, 0.18);
}

.opt-route-option-copy {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.opt-route-option-copy strong {
    font-size: 15px;
    line-height: 1.2;
}

.opt-route-option-copy small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
}

.opt-route-switch button.is-active small {
    color: rgba(24, 63, 44, 0.66);
}

.opt-route-option-check {
    display: grid;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
}

.opt-route-option-check::after {
    width: 5px;
    height: 9px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    content: "";
    opacity: 0;
    transform: translateY(-1px) rotate(45deg);
}

.opt-route-switch button.is-active .opt-route-option-check {
    border-color: var(--opt-ink);
    background: var(--opt-ink);
}

.opt-route-switch button.is-active .opt-route-option-check::after {
    opacity: 1;
}

.opt-route-catalog-cta {
    display: inline-flex;
    min-height: 50px;
    margin-top: 16px;
    padding: 12px 18px;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 7px;
    background: var(--opt-leaf);
    box-shadow: 0 10px 24px rgba(8, 29, 19, 0.2);
    color: var(--opt-ink);
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.opt-route-catalog-cta > span:last-child {
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
}

.opt-route-catalog-cta:hover {
    background: #bfd9b8;
    box-shadow: 0 14px 28px rgba(8, 29, 19, 0.26);
    transform: translateY(-2px);
}

.opt-route-catalog-cta:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.86);
    outline-offset: 3px;
}

.opt-floating-route {
    position: fixed;
    top: 158px;
    right: 20px;
    bottom: auto;
    z-index: 110;
    display: grid;
    width: 188px;
    gap: 5px;
    padding: 7px;
    border: 1px solid rgba(24, 63, 44, 0.18);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 32px rgba(17, 50, 35, 0.2);
    backdrop-filter: blur(10px);
}

.opt-floating-route > span {
    padding-left: 4px;
    color: rgba(24, 63, 44, 0.62);
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
}

.opt-floating-route-control {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 38px;
    padding: 3px;
    border-radius: 6px;
    background: #edf1ed;
}

.opt-floating-route-control::before {
    position: absolute;
    top: 3px;
    bottom: 3px;
    left: 3px;
    width: calc(50% - 3px);
    border-radius: 5px;
    background: var(--opt-ink);
    content: "";
    transform: translateX(calc(var(--opt-switch-index) * 100%));
    transition: transform 220ms ease;
}

.opt-floating-route-control button {
    position: relative;
    z-index: 1;
    min-width: 0;
    min-height: 32px;
    border: 0;
    background: transparent;
    color: var(--opt-ink);
    font: inherit;
    font-size: 11px;
    font-weight: 900;
}

.opt-floating-route-control button.is-active {
    color: #ffffff;
}

@media (min-width: 769px) {
    .opt-reference-page .opt-floating-route {
        display: none !important;
    }
}

.opt-promo-section {
    padding: 24px 0 30px;
    background: #ffffff;
}

.opt-promo-slider {
    width: 100%;
    overflow: visible;
}

.opt-promo-pagination {
    display: none;
}

.opt-promo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.opt-promo-card {
    position: relative;
    isolation: isolate;
    min-height: 470px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    background: var(--opt-ink);
    box-shadow: 0 14px 34px rgba(17, 50, 35, 0.13);
    transition: box-shadow 360ms ease, transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.opt-promo-image,
.opt-promo-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.opt-promo-image {
    z-index: -2;
    object-fit: cover;
    object-position: center;
    transition: transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

.opt-promo-card--selection .opt-promo-image {
    object-position: 56% center;
}

.opt-promo-card--marking .opt-promo-image {
    object-position: 55% center;
}

.opt-promo-shade {
    z-index: -1;
    background: rgba(8, 29, 19, 0.56);
    transition: background-color 360ms ease;
}

.opt-promo-content {
    display: flex;
    min-height: 470px;
    padding: 34px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-end;
}

.opt-reference-page .opt-promo-content .opt-eyebrow,
.opt-reference-page .opt-contacts .opt-eyebrow {
    background: var(--opt-leaf);
    color: var(--opt-ink);
}

.opt-promo-content h1,
.opt-promo-content h2 {
    max-width: 620px;
    margin: 16px 0 0;
    color: #ffffff;
    font-size: clamp(34px, 3.35vw, 52px);
    line-height: 1.04;
}

.opt-promo-card--marking .opt-promo-content h2 {
    font-size: clamp(32px, 3vw, 46px);
}

.opt-promo-content p {
    max-width: 540px;
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 15px;
    line-height: 1.5;
}

.opt-promo-link,
.opt-catalog-more,
.opt-price-download,
.opt-section-link,
.opt-map-copy a {
    display: inline-flex;
    min-height: 48px;
    padding: 12px 18px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
}

.opt-promo-link {
    margin-top: 24px;
    gap: 14px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.94);
    color: var(--opt-ink);
    transition: background-color 180ms ease, transform 180ms ease;
}

.opt-promo-link > span {
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
}

.opt-promo-link::after,
.opt-catalog-more::after,
.opt-price-download::after,
.opt-section-link::after,
.opt-map-copy a::after {
    display: none;
}

@media (hover: hover) and (pointer: fine) {
    .opt-promo-card:hover,
    .opt-promo-card:focus-within {
        z-index: 2;
        box-shadow: 0 24px 52px rgba(17, 50, 35, 0.22);
        transform: translateY(-5px) scale(1.012);
    }

    .opt-promo-card:hover .opt-promo-image,
    .opt-promo-card:focus-within .opt-promo-image {
        transform: scale(1.065);
    }

    .opt-promo-card:hover .opt-promo-shade,
    .opt-promo-card:focus-within .opt-promo-shade {
        background: rgba(8, 29, 19, 0.48);
    }

    .opt-promo-link:hover {
        background: #ffffff;
        transform: translateX(3px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .opt-promo-card,
    .opt-promo-image,
    .opt-promo-shade,
    .opt-promo-link {
        transition: none;
    }
}

.opt-reference-section {
    margin: 0 !important;
    padding: 68px 0;
    scroll-margin-top: 88px;
}

.opt-reference-section:nth-of-type(even) {
    background: #ffffff;
}

.opt-reference-kicker,
.opt-reference-page .opt-eyebrow {
    display: inline-flex;
    min-height: 28px;
    padding: 6px 10px;
    align-items: center;
    border-radius: 6px;
    background: var(--opt-leaf);
    color: var(--opt-ink);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.opt-reference-section h2,
.opt-directions h2,
.opt-contacts h2 {
    margin: 12px 0 0;
    color: var(--opt-ink);
    font-size: 36px;
    line-height: 1.1;
}

.opt-condition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.opt-conditions {
    padding-top: 34px;
    padding-bottom: 38px;
    background: #ffffff !important;
}

.opt-conditions .opt-reference-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
}

.opt-condition-card {
    position: relative;
    display: flex;
    min-height: 196px;
    padding: 24px;
    overflow: hidden;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid var(--opt-line);
    border-radius: 8px;
    background: var(--opt-cream);
}

.opt-condition-card[href] {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.opt-condition-card[href]:hover {
    border-color: #1e3a2b;
}

.opt-condition-card[href]:focus-visible {
    outline: 3px solid #1e3a2b;
    outline-offset: 3px;
}

.opt-condition-card:nth-child(even) {
    background: #ffffff;
}

.opt-condition-card .opt-condition-label {
    display: inline-flex;
    min-height: 27px;
    padding: 6px 9px;
    align-items: center;
    border-radius: 6px;
    background: var(--opt-leaf);
    color: var(--opt-ink);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.opt-condition-card strong {
    margin-top: 28px;
    color: var(--opt-ink);
    font-size: 30px;
    line-height: 1;
}

.opt-condition-card small {
    max-width: 230px;
    margin-top: 10px;
    color: rgba(24, 63, 44, 0.72);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

.opt-condition-card b {
    position: absolute;
    right: 18px;
    bottom: 12px;
    color: rgba(24, 63, 44, 0.08);
    font-size: 52px;
    line-height: 1;
}

.opt-conditions-note {
    max-width: 700px;
    margin: 0;
    color: rgba(24, 63, 44, 0.7);
    font-size: 14px;
    font-weight: 750;
    line-height: 1.5;
}

.opt-reference-page .opt-showcase {
    display: block !important;
    padding: 68px 0;
    background: var(--opt-cream);
}

.opt-reference-page .opt-showcase-text {
    margin: 0 0 24px;
}

.opt-reference-page .opt-showcase-text p {
    max-width: 620px;
    margin: 10px 0 0;
    color: rgba(24, 63, 44, 0.72);
    line-height: 1.55;
}

.opt-section-link {
    border: 1px solid var(--opt-line);
    background: #ffffff;
    color: var(--opt-ink);
}

.opt-reference-page .opt-category-tiles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.opt-reference-page .opt-category-tile {
    height: 224px !important;
    min-height: 224px;
    border-radius: 8px;
}

.opt-reference-page .opt-category-tile::after {
    position: absolute;
    inset: 0;
    background: rgba(12, 35, 24, 0.38);
    content: "";
}

.opt-reference-page .opt-category-tile img {
    height: 100% !important;
    min-height: 0;
}

.opt-reference-page .opt-category-tile span,
.opt-reference-page .opt-category-tile small {
    z-index: 2;
}

.opt-reference-page .opt-category-tile span {
    bottom: 40px;
    font-size: 18px;
}

.opt-reference-page .opt-products-section {
    padding: 68px 0;
    background: #ffffff;
}

.opt-products-heading {
    align-items: flex-end;
    margin-bottom: 24px;
}

.opt-reference-page .opt-products-toolbar {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
}

.opt-tier-switch {
    width: 230px;
}

.opt-reference-page .opt-products-grid {
    display: flex;
    gap: 0;
}

.opt-products-swiper {
    width: 100%;
    overflow: hidden;
    padding: 2px 0 34px;
}

.opt-products-swiper .swiper-slide {
    display: flex;
    height: auto;
    min-width: 0;
}

.opt-products-swiper .opt-catalog-product-card {
    width: 100%;
}

.opt-products-pagination.swiper-pagination-custom {
    position: relative;
    bottom: auto;
    min-height: 20px;
    margin-top: 18px;
    color: var(--opt-ink);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.opt-products-pagination.swiper-pagination-bullets.swiper-pagination-horizontal {
    position: relative;
    bottom: auto;
    display: flex;
    min-height: 12px;
    margin-top: 18px;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.opt-products-pagination .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    margin: 0 !important;
    background: var(--opt-leaf);
    opacity: 0.78;
}

.opt-products-pagination .swiper-pagination-bullet-active {
    width: 9px;
    height: 9px;
    background: var(--opt-ink);
    opacity: 1;
}

.opt-reference-page .opt-catalog-product-card {
    display: flex !important;
    min-width: 0;
    min-height: 100%;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid var(--opt-line);
    border-radius: 8px !important;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(24, 63, 44, 0.06) !important;
}

.opt-reference-page .opt-catalog-product-card[hidden] {
    display: none !important;
}

.opt-reference-page .opt-catalog-product-card .product-thumb-link {
    display: block;
    height: auto;
    flex-shrink: 0;
}

.opt-reference-page .opt-catalog-product-card .product-thumb {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    aspect-ratio: 3 / 4 !important;
    background: var(--opt-cream);
}

.opt-reference-page .opt-catalog-product-card .product-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 0 !important;
}

.opt-reference-page .opt-catalog-product-card .product-info {
    display: flex;
    flex: 1 0 auto;
    min-height: 260px;
    padding: 16px !important;
    flex-direction: column;
    gap: 9px !important;
}

.opt-reference-page .opt-catalog-product-card .product-meta {
    display: flex !important;
    color: rgba(24, 63, 44, 0.68);
    font-size: 11px !important;
}

.opt-reference-page .opt-catalog-product-card .product-stock {
    display: none;
}

.opt-reference-page .opt-catalog-product-card .product-title {
    display: -webkit-box;
    min-height: 42px;
    overflow: hidden;
    font-size: 16px !important;
    line-height: 1.28 !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.opt-reference-page .opt-catalog-product-card .product-desc {
    display: -webkit-box !important;
    min-height: 40px;
    overflow: hidden;
    color: rgba(24, 63, 44, 0.68);
    font-size: 12px !important;
    line-height: 1.45 !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.opt-reference-page .opt-catalog-product-card .product-tags {
    display: none !important;
}

.opt-reference-price {
    display: flex;
    min-height: 34px;
    margin-top: auto;
    align-items: baseline;
    gap: 6px;
    color: var(--opt-ink);
}

.opt-reference-price strong {
    font-size: 21px;
    line-height: 1;
}

.opt-reference-price span,
.opt-reference-price small {
    color: rgba(24, 63, 44, 0.64);
    font-size: 11px;
    font-weight: 800;
}

.opt-order-rule {
    display: grid;
    min-height: 58px;
    align-content: end;
    gap: 3px;
}

.opt-order-rule strong {
    font-size: 20px;
}

.opt-reference-page .opt-product-footer {
    display: block;
    margin-top: 0;
}

.opt-reference-page .opt-product-button {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 10px;
    border-radius: 7px;
    background: var(--opt-ink);
    color: #ffffff;
    font-size: 13px;
}

.opt-reference-page .opt-product-button.is-selected {
    background: #A8C8A0;
    color: #173D2B;
}

.opt-reference-page .opt-product-categories .opt-catalog-more,
.opt-reference-page .opt-product-categories .opt-price-download {
    display: flex;
    width: 100%;
    min-height: 64px;
    margin: 18px 0 0;
    padding: 16px 18px;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid #1e3a2b;
    border-radius: 8px;
    background: #1e3a2b;
    color: #ffffff;
    font-size: 24px !important;
    font-weight: 700;
    line-height: 1.2 !important;
    text-align: left;
}

.opt-reference-page .opt-product-categories .opt-price-download {
    margin-top: 12px;
    font-size: 20px !important;
}

.opt-catalog-more svg,
.opt-price-download svg {
    flex: 0 0 24px;
}

.opt-catalog-more:hover,
.opt-price-download:hover {
    background: #315d46 !important;
}

.opt-catalog-more:focus-visible,
.opt-price-download:focus-visible {
    outline: 3px solid #a8c8a0;
    outline-offset: 3px;
}

.opt-map-section {
    background: var(--opt-cream);
}

.opt-map-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.36fr) minmax(0, 0.64fr);
    gap: 20px;
}

.opt-map-copy {
    display: flex;
    padding: 30px;
    justify-content: center;
    flex-direction: column;
    background: #ffffff;
}

.opt-map-copy h2 {
    margin-top: 12px;
}

.opt-map-copy p {
    margin-top: 14px;
    color: rgba(24, 63, 44, 0.72);
    line-height: 1.6;
}

.opt-map-copy a {
    width: fit-content;
    margin-top: 22px;
    background: var(--opt-ink);
    color: #ffffff;
}

.opt-map-frame {
    position: relative;
    isolation: isolate;
    min-height: 420px;
    overflow: hidden;
    border: 1px solid var(--opt-line);
    border-radius: 8px;
    background: var(--opt-leaf);
}

.opt-map-frame iframe {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
}

.opt-reference-page .opt-contacts {
    padding: 72px 0;
    background: var(--opt-ink);
    color: #ffffff;
}

.opt-contacts-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
    gap: 34px;
    align-items: start;
}

.opt-reference-page .opt-contacts h2 {
    color: #ffffff;
    font-size: 40px;
}

.opt-contacts-copy > p {
    max-width: 510px;
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
    line-height: 1.6;
}

.opt-reference-page .opt-contact-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 28px;
    overflow: visible;
    border: 0;
    background: transparent;
    gap: 1px;
}

.opt-reference-page .opt-contact-list div {
    min-height: 92px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
}

.opt-reference-page .opt-contact-list span,
.opt-reference-page .opt-contact-list a,
.opt-reference-page .opt-contact-list strong {
    color: #ffffff;
}

.opt-reference-page .opt-inquiry-form {
    margin: 0;
    padding: 28px;
    border: 0;
    border-radius: 8px;
    background: #ffffff;
    color: var(--opt-ink);
}

.opt-reference-page .opt-form-head h3 {
    font-size: 30px;
}

.opt-reference-page .opt-form-head p {
    margin-top: 8px;
    color: rgba(24, 63, 44, 0.68);
}

.opt-reference-page .opt-form-grid input,
.opt-reference-page .opt-form-grid select,
.opt-reference-page .opt-form-grid textarea {
    border-color: var(--opt-line);
    background: #fbfcfa;
}

.opt-reference-page .opt-form-actions button {
    border: 0;
    background: var(--opt-ink);
    color: #ffffff;
}

.opt-reference-page .opt-form-actions a {
    border-color: var(--opt-line);
    background: #ffffff;
}

.opt-reference-page .opt-directions {
    display: none;
}

@media (max-width: 1100px) {
    .opt-promo-card,
    .opt-promo-content {
        min-height: 430px;
    }

    .opt-promo-content {
        padding: 28px;
    }

    .opt-reference-page .opt-products-grid {
        display: flex;
        gap: 0;
    }

    .opt-reference-page .opt-category-tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .opt-reference-page .opt-category-tile,
    .opt-reference-page .opt-category-tile img {
        height: 190px !important;
        min-height: 190px;
    }

    .opt-products-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 820px) {
    .opt-shell {
        width: min(100% - 32px, 720px);
    }

    .opt-promo-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .opt-promo-card,
    .opt-promo-content {
        min-height: 400px;
    }

    .opt-promo-content h1,
    .opt-promo-content h2,
    .opt-promo-content p {
        max-width: 580px;
    }

    .opt-reference-page .opt-products-grid {
        display: flex;
        gap: 0;
    }

    .opt-map-layout,
    .opt-contacts-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .opt-reference-page {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .opt-shell {
        width: calc(100% - 32px);
    }

    .opt-reference-intro {
        padding: 18px 0 14px;
    }

    .opt-route-heading {
        margin-bottom: 16px;
    }

    .opt-route-heading h1 {
        margin-top: 8px;
        font-size: 29px;
        line-height: 1.08;
    }

    .opt-route-heading p {
        margin-top: 10px;
        font-size: 14px;
        line-height: 1.45;
    }

    .opt-reference-page .opt-warehouse-switch,
    .opt-tier-switch {
        width: 144px;
        min-height: 42px;
    }

    .opt-reference-page .opt-warehouse-switch button,
    .opt-tier-switch button {
        min-height: 36px;
        padding: 7px 9px;
        font-size: 11px;
    }

    .opt-route-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .opt-route-card {
        grid-template-columns: 112px minmax(0, 1fr);
        min-height: 136px;
    }

    .opt-route-copy {
        padding: 16px 42px 16px 16px;
    }

    .opt-route-title {
        font-size: 18px;
    }

    .opt-route-description {
        margin-top: 6px;
        font-size: 12px;
    }

    .opt-route-facts {
        margin-top: 8px;
        font-size: 11px;
    }

    .opt-route-check {
        top: 14px;
        right: 14px;
        width: 22px;
        height: 22px;
    }

    .opt-route-hero,
    .opt-route-hero-content {
        min-height: 520px;
    }

    .opt-route-hero-content {
        padding: 24px 18px;
    }

    .opt-route-image--spb,
    .opt-route-image--china {
        object-position: 72% center;
    }

    .opt-route-shade {
        background: rgba(8, 29, 19, 0.62);
    }

    .opt-route-hero h1 {
        margin-top: 12px;
        font-size: 33px;
        line-height: 1.06;
    }

    .opt-route-hero-content > p {
        margin-top: 10px;
        font-size: 14px;
        line-height: 1.45;
    }

    .opt-route-switch {
        grid-template-columns: 1fr;
        gap: 5px;
        margin-top: 18px;
        padding: 5px;
    }

    .opt-route-switch button {
        min-height: 56px;
        padding: 9px 11px;
    }

    .opt-route-option-copy strong {
        font-size: 14px;
    }

    .opt-route-catalog-cta {
        width: 100%;
        min-height: 48px;
        margin-top: 12px;
        justify-content: space-between;
        padding-inline: 16px;
        font-size: 13px;
    }

    .opt-floating-route {
        top: 112px;
        right: auto;
        bottom: auto;
        left: 50%;
        width: 184px;
        padding: 5px;
        transform: translateX(-50%);
    }

    .opt-floating-route > span {
        display: none;
    }

    .opt-promo-section {
        padding: 12px 0 22px;
    }

    .opt-promo-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .opt-promo-card,
    .opt-promo-content {
        min-height: 360px;
    }

    .opt-promo-content {
        padding: 24px;
    }

    .opt-promo-content h1,
    .opt-promo-content h2,
    .opt-promo-card--marking .opt-promo-content h2 {
        margin-top: 14px;
        font-size: 29px !important;
        line-height: 1.08;
    }

    .opt-promo-content p {
        margin-top: 12px;
        font-size: 14px;
        line-height: 1.5;
    }

    .opt-promo-link {
        min-height: 44px;
        margin-top: 18px;
        padding: 10px 14px;
        font-size: 12px;
    }

    .opt-promo-card--selection .opt-promo-image {
        object-position: 58% center;
    }

    .opt-promo-card--marking .opt-promo-image {
        object-position: 52% center;
    }

    .opt-reference-section,
    .opt-reference-page .opt-showcase,
    .opt-reference-page .opt-products-section,
    .opt-reference-page .opt-contacts {
        padding: 42px 0;
    }

    .opt-reference-section-head {
        align-items: center;
    }

    .opt-reference-section h2,
    .opt-reference-page .opt-showcase h2,
    .opt-reference-page .opt-contacts h2 {
        font-size: 26px !important;
    }

    .opt-condition-grid {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 18px;
    }

    .opt-conditions {
        padding-top: 28px !important;
        padding-bottom: 32px !important;
    }

    .opt-conditions .opt-reference-section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .opt-conditions-note {
        max-width: none;
        font-size: 13px;
    }

    .opt-condition-card {
        min-height: 150px;
        padding: 18px;
    }

    .opt-condition-card strong {
        margin-top: 20px;
        font-size: 25px;
    }

    .opt-condition-card small {
        font-size: 13px;
    }

    .opt-reference-page .opt-showcase-text {
        align-items: flex-start !important;
        flex-direction: row !important;
    }

    .opt-reference-page .opt-showcase-text p {
        display: none;
    }

    .opt-section-link {
        min-height: 44px;
        padding: 10px 12px;
        font-size: 12px;
    }

    .opt-reference-page .opt-category-tiles {
        display: flex;
        margin-right: -16px;
        padding-right: 16px;
        overflow-x: auto;
        gap: 8px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .opt-reference-page .opt-category-tile {
        flex: 0 0 62%;
        height: 190px !important;
        min-height: 190px;
        scroll-snap-align: start;
    }

    .opt-reference-page .opt-category-tile img {
        height: 100% !important;
        min-height: 190px;
    }

    .opt-products-heading {
        gap: 14px;
        margin-bottom: 18px;
    }

    .opt-reference-page .opt-products-toolbar {
        width: 100%;
        gap: 8px;
    }

    .opt-reference-page .opt-products-toolbar > * {
        flex: 1;
        width: auto;
    }

    .opt-reference-page .opt-products-grid {
        display: flex;
        gap: 0;
    }

    .opt-products-swiper {
        padding-bottom: 30px;
    }

    .opt-products-pagination.swiper-pagination-bullets.swiper-pagination-horizontal {
        margin-top: 14px;
    }

    .opt-reference-page .opt-catalog-product-card .product-thumb {
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 3 / 4 !important;
    }

    .opt-reference-page .opt-catalog-product-card .product-info {
        min-height: 242px;
        padding: 11px !important;
        gap: 7px !important;
    }

    .opt-reference-page .opt-catalog-product-card .product-meta {
        font-size: 9px !important;
    }

    .opt-reference-page .opt-catalog-product-card .product-title {
        min-height: 36px;
        font-size: 13px !important;
        line-height: 1.3 !important;
    }

    .opt-reference-page .opt-catalog-product-card .product-desc {
        min-height: 34px;
        font-size: 10px !important;
    }

    .opt-reference-price strong {
        font-size: 18px;
    }

    .opt-reference-page .opt-product-button {
        height: 42px !important;
        min-height: 42px !important;
        flex-basis: 42px !important;
        font-size: 11px;
    }

    .opt-catalog-more {
        width: 100%;
        margin-top: 18px;
    }

    .opt-map-layout {
        gap: 0;
    }

    .opt-map-copy {
        padding: 20px;
    }

    .opt-map-copy h2 {
        font-size: 26px !important;
    }

    .opt-map-copy p {
        font-size: 13px;
    }

    .opt-map-copy a {
        width: 100%;
    }

    .opt-map-frame,
    .opt-map-frame iframe {
        min-height: 310px;
    }

    .opt-contacts-layout {
        gap: 24px;
    }

    .opt-reference-page .opt-contact-list {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    .opt-reference-page .opt-contact-list div {
        min-height: 84px;
        padding: 12px;
    }

    .opt-reference-page .opt-contact-list a,
    .opt-reference-page .opt-contact-list strong {
        font-size: 12px;
    }

    .opt-reference-page .opt-contact-list a[href^="mailto:"] {
        font-size: 10px;
        white-space: nowrap;
    }

    .opt-reference-page .opt-inquiry-form {
        padding: 20px;
    }

    .opt-reference-page .opt-form-head h3 {
        font-size: 24px;
    }

    .opt-reference-page .opt-form-grid {
        grid-template-columns: 1fr;
    }

    .opt-reference-page .opt-form-message {
        grid-column: auto;
    }

    .opt-reference-page .opt-form-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .opt-reference-page .opt-form-actions button,
    .opt-reference-page .opt-form-actions a {
        width: 100%;
    }
}

/* Wholesale categories mirror the main-page slider and stay visible before products. */
.opt-reference-page .opt-product-categories .opt-category-slider {
    display: block !important;
    margin-top: 24px;
    margin-right: -18px;
    padding: 0 18px 34px 0;
    overflow: hidden;
}

.opt-reference-page .opt-product-categories .opt-category-slider .swiper-wrapper {
    display: flex;
    gap: 0;
}

.opt-reference-page .opt-product-categories .opt-category-slider .swiper-slide {
    width: auto;
    height: auto;
}

.opt-reference-page .opt-product-categories .opt-category-tile {
    width: 100%;
    height: 224px !important;
    min-height: 224px;
    cursor: grab;
}

.opt-reference-page .opt-product-categories .opt-category-tile span {
    right: 52px;
    bottom: 20px;
    left: 18px;
    font-size: 18px;
}

.opt-reference-page .opt-product-categories .opt-category-tile small {
    display: none;
}

.opt-reference-page .opt-product-categories .opt-category-tile i {
    position: absolute;
    right: 22px;
    bottom: 25px;
    z-index: 2;
    width: 12px;
    height: 12px;
    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.opt-reference-page .opt-product-categories .opt-category-tile:hover i,
.opt-reference-page .opt-product-categories .opt-category-tile:focus-visible i {
    transform: translateX(3px) rotate(45deg);
}

.opt-category-pagination.swiper-pagination-bullets.swiper-pagination-horizontal {
    position: absolute;
    right: 0;
    bottom: 4px;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.opt-category-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 !important;
    background: #a8c8a0;
    opacity: 1;
}

.opt-category-pagination .swiper-pagination-bullet-active {
    background: #183f2c;
}

@media (max-width: 768px) {
    .opt-reference-page .opt-product-categories .opt-category-slider {
        display: block !important;
        margin-top: 14px;
        margin-right: -16px;
        padding: 0 16px 28px 0;
        overflow: hidden;
        scroll-snap-type: none;
    }

    .opt-reference-page .opt-product-categories .opt-category-tile {
        height: 168px !important;
        min-height: 168px;
    }

    .opt-reference-page .opt-product-categories .opt-category-tile img {
        height: 100% !important;
        min-height: 168px;
    }

    .opt-reference-page .opt-product-categories .opt-category-tile span {
        right: 42px;
        bottom: 16px;
        left: 14px;
        font-size: 15px;
    }

    .opt-reference-page .opt-product-categories .opt-category-tile i {
        right: 17px;
        bottom: 20px;
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 360px) {
    .opt-reference-page .opt-warehouse-switch button,
    .opt-tier-switch button {
        padding-inline: 4px;
        font-size: 10px;
    }

    .opt-reference-page .opt-contact-list div {
        padding-inline: 10px;
    }

    .opt-promo-content {
        padding: 20px;
    }

    .opt-promo-content h1,
    .opt-promo-content h2,
    .opt-promo-card--marking .opt-promo-content h2 {
        font-size: 28px !important;
    }

    .opt-route-hero h1 {
        font-size: 30px;
    }

    .opt-route-hero-content {
        padding-inline: 15px;
    }

    .opt-reference-page .opt-category-tile {
        flex-basis: 72%;
    }

    .opt-reference-page .opt-catalog-product-card .product-thumb {
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 3 / 4 !important;
    }
}

/* Compact mobile presentation. Desktop rules above remain unchanged. */
@media (max-width: 768px) {
    .opt-reference-intro {
        padding: 12px 0 10px;
    }

    .opt-route-hero,
    .opt-route-hero-content {
        min-height: 470px;
    }

    .opt-route-hero-content {
        padding: 20px 16px;
    }

    .opt-route-hero h1 {
        margin-top: 10px;
        font-size: 28px;
        line-height: 1.08;
    }

    .opt-route-hero-content > p {
        margin-top: 8px;
        font-size: 13px;
        line-height: 1.45;
    }

    .opt-route-switch {
        margin-top: 14px;
    }

    .opt-route-switch button {
        min-height: 50px;
        padding: 8px 10px;
    }

    .opt-route-option-copy strong {
        font-size: 13px;
    }

    .opt-route-option-copy small {
        font-size: 10px;
    }

    .opt-route-catalog-cta {
        min-height: 44px;
        margin-top: 10px;
    }

    .opt-reference-section,
    .opt-reference-page .opt-showcase,
    .opt-reference-page .opt-products-section,
    .opt-reference-page .opt-contacts {
        padding: 32px 0;
    }

    .opt-reference-section h2,
    .opt-reference-page .opt-showcase h2,
    .opt-reference-page .opt-contacts h2 {
        font-size: 24px !important;
        line-height: 1.12;
    }

    .opt-conditions {
        padding-top: 24px !important;
        padding-bottom: 26px !important;
    }

    .opt-condition-grid {
        margin-top: 14px;
    }

    .opt-condition-card {
        min-height: 112px;
        padding: 15px;
    }

    .opt-condition-card strong {
        margin-top: 12px;
        font-size: 22px;
    }

    .opt-condition-card small,
    .opt-conditions-note {
        font-size: 12px;
        line-height: 1.4;
    }

    .opt-promo-section {
        padding: 10px 0 18px;
    }

    .opt-promo-card,
    .opt-promo-content {
        min-height: 310px;
    }

    .opt-promo-content {
        padding: 18px;
    }

    .opt-promo-content h1,
    .opt-promo-content h2,
    .opt-promo-card--marking .opt-promo-content h2 {
        margin-top: 10px;
        font-size: 25px !important;
        line-height: 1.08;
    }

    .opt-promo-content p {
        margin-top: 9px;
        font-size: 13px;
        line-height: 1.45;
    }

    .opt-promo-link {
        min-height: 42px;
        margin-top: 14px;
    }

    .opt-products-heading {
        margin-bottom: 14px;
    }

    .opt-map-copy {
        padding: 16px;
    }

    .opt-map-copy h2 {
        font-size: 23px !important;
    }

    .opt-map-frame,
    .opt-map-frame iframe {
        min-height: 230px;
        height: 230px;
    }

    .opt-contacts-layout {
        gap: 18px;
    }

    .opt-contacts-copy > p,
    .opt-reference-page .opt-form-head p {
        font-size: 13px;
        line-height: 1.45;
    }

    .opt-reference-page .opt-inquiry-form {
        padding: 16px;
    }

    .opt-reference-page .opt-form-head h3 {
        font-size: 21px;
    }

    .opt-reference-page .opt-form-grid {
        gap: 10px;
    }

    .opt-reference-page .opt-form-grid input,
    .opt-reference-page .opt-form-grid select,
    .opt-reference-page .opt-form-grid textarea {
        min-height: 44px;
        padding: 10px 12px;
        font-size: 14px;
    }

    .opt-reference-page .opt-form-grid textarea {
        min-height: 96px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .opt-route-image,
    .opt-floating-route-control::before {
        transition: none;
    }
}

/* Wholesale category entry and illustrated order rules. */
.opt-product-categories {
    background: #ffffff !important;
}

.opt-product-categories .opt-reference-section-head {
    align-items: flex-end;
}

.opt-product-categories .opt-category-tiles {
    margin-top: 24px;
}

.opt-condition-card {
    isolation: isolate;
    padding-right: 132px;
}

.opt-condition-card > :not(.opt-condition-image) {
    position: relative;
    z-index: 1;
}

.opt-condition-image {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 0;
    width: 35%;
    height: 100%;
    border-radius: 999px 0 0 999px;
    object-fit: cover;
    transform: none;
}

.opt-condition-card:nth-child(1) .opt-condition-image {
    object-position: 56% center;
}

.opt-condition-card:nth-child(2) .opt-condition-image {
    object-position: 48% center;
}

.opt-condition-card:nth-child(3) .opt-condition-image {
    object-position: 43% center;
}

.opt-condition-card b {
    display: none;
}

/* Final mobile wholesale pass. */
@media (max-width: 768px) {
    .opt-reference-page .opt-reference-intro {
        padding: 0 0 8px;
    }

    .opt-reference-page .opt-route-hero,
    .opt-reference-page .opt-route-hero-content {
        min-height: 296px !important;
    }

    .opt-reference-page .opt-route-hero-content {
        padding: 18px 14px 13px !important;
    }

    .opt-reference-page .opt-route-kicker {
        min-height: 20px;
        padding: 3px 6px;
        font-size: 8px;
    }

    .opt-reference-page .opt-route-hero h1 {
        max-width: 330px;
        margin-top: 6px;
        font-size: 21px !important;
        line-height: 1.08;
    }

    .opt-reference-page .opt-route-hero-content > p {
        max-width: 325px;
        margin-top: 5px;
        font-size: 10px;
        line-height: 1.35;
    }

    .opt-reference-page .opt-route-switch {
        display: none !important;
    }

    .opt-reference-page .opt-route-switch button {
        min-height: 30px;
        padding: 4px 6px;
        justify-content: center;
        border-radius: 5px;
        font-size: 0;
        text-align: center;
    }

    .opt-reference-page .opt-route-switch button:first-child::before,
    .opt-reference-page .opt-route-switch button:last-child::before {
        font-size: 10px;
        font-weight: 900;
        line-height: 1;
    }

    .opt-reference-page .opt-route-switch button:first-child::before {
        content: "СПБ";
    }

    .opt-reference-page .opt-route-switch button:last-child::before {
        content: "Китай";
    }

    .opt-reference-page .opt-route-option-copy,
    .opt-reference-page .opt-route-option-check {
        display: none;
    }

    .opt-reference-page .opt-route-catalog-cta {
        min-height: 36px;
        margin-top: 8px;
        padding: 7px 12px;
        font-size: 11px;
    }

    .opt-reference-page .opt-floating-route {
        position: fixed !important;
        top: calc(var(--mobile-header-height, 96px) + 6px) !important;
        right: auto !important;
        bottom: auto !important;
        left: 50% !important;
        z-index: 1090 !important;
        display: grid !important;
        width: 184px;
        padding: 5px;
        transform: translateX(-50%);
    }

    .opt-reference-page .opt-floating-route > span {
        display: none;
    }

    .opt-reference-page .opt-floating-route-control {
        min-height: 34px;
    }

    .opt-reference-page .opt-floating-route-control button {
        min-height: 28px;
        font-size: 11px;
    }

    .opt-body #header-module {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        left: 0 !important;
        z-index: 1100 !important;
    }

    .opt-reference-page .opt-conditions {
        padding-top: 16px !important;
        padding-bottom: 18px !important;
    }

    .opt-reference-page .opt-conditions h2 {
        font-size: 21px !important;
        line-height: 1.08;
    }

    .opt-reference-page .opt-conditions-note {
        font-size: 10px;
        line-height: 1.35;
    }

    .opt-reference-page .opt-condition-grid {
        gap: 6px;
        margin-top: 10px;
    }

    .opt-reference-page .opt-condition-card {
        min-height: 86px;
        padding: 10px 78px 10px 10px;
    }

    .opt-reference-page .opt-condition-card .opt-condition-label {
        min-height: 19px;
        padding: 3px 5px;
        font-size: 7px;
    }

    .opt-reference-page .opt-condition-card strong {
        margin-top: 6px;
        font-size: 17px;
    }

    .opt-reference-page .opt-condition-card small {
        max-width: 190px;
        margin-top: 3px;
        font-size: 9px;
        line-height: 1.25;
    }

    .opt-reference-page .opt-condition-image {
        right: 0;
        width: 29%;
        height: 100%;
        border-radius: 999px 0 0 999px;
    }

    .opt-reference-page .opt-promo-slider.is-promo-swiper-ready {
        overflow: hidden;
        padding-bottom: 24px;
    }

    .opt-reference-page .opt-promo-slider.is-promo-swiper-ready .opt-promo-grid {
        display: flex !important;
        grid-template-columns: none !important;
        gap: 0;
        overflow: visible;
        padding: 0;
    }

    .opt-reference-page .opt-promo-card {
        min-width: 0;
        min-height: 292px;
    }

    .is-promo-swiper-ready .opt-promo-pagination.swiper-pagination-bullets.swiper-pagination-horizontal {
        position: absolute;
        right: 0;
        bottom: 4px;
        left: 0;
        z-index: 3;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
    }

    .opt-promo-pagination .swiper-pagination-bullet {
        width: 7px;
        height: 7px;
        margin: 0 !important;
        background: #a8c8a0;
        opacity: 1;
    }

    .opt-promo-pagination .swiper-pagination-bullet-active {
        width: 9px;
        height: 9px;
        background: #183f2c;
    }

    .opt-reference-page .opt-promo-content {
        min-height: 292px;
        padding: 16px;
    }

    .opt-reference-page .opt-promo-content h1,
    .opt-reference-page .opt-promo-content h2,
    .opt-reference-page .opt-promo-card--marking .opt-promo-content h2 {
        font-size: 23px !important;
    }

    .opt-reference-page .opt-promo-content p {
        font-size: 11px;
    }

    .opt-reference-page .opt-product-categories {
        padding-top: 24px !important;
        padding-bottom: 24px !important;
    }

    .opt-reference-page .opt-product-categories .opt-reference-section-head {
        align-items: center;
    }

    .opt-reference-page .opt-product-categories .opt-category-tiles {
        margin-top: 14px;
    }
}

/* Wholesale condition cards: the product itself enters the card as a cropped circle. */
.opt-reference-page .opt-condition-card {
    min-height: 190px;
    padding: 24px 150px 24px 24px;
}

.opt-reference-page .opt-condition-image {
    top: 50%;
    right: -74px;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: #fff;
    object-fit: cover;
    transform: translateY(-50%);
    box-shadow:
        0 0 0 9px rgba(255, 255, 255, 0.62),
        -16px 0 34px rgba(24, 63, 44, 0.13);
}

.opt-reference-page .opt-condition-card:nth-child(1) .opt-condition-image,
.opt-reference-page .opt-condition-card:nth-child(2) .opt-condition-image {
    object-position: 50% center;
}

.opt-reference-page .opt-condition-card:nth-child(3) .opt-condition-image,
.opt-reference-page .opt-condition-card:nth-child(4) .opt-condition-image {
    object-position: 48% center;
}

@media (max-width: 768px) {
    .opt-reference-page .opt-condition-card {
        min-height: 96px;
        padding: 11px 88px 11px 11px;
    }

    .opt-reference-page .opt-condition-image {
        top: 50%;
        right: -46px;
        width: 122px;
        height: 122px;
        border-radius: 50%;
        transform: translateY(-50%);
        box-shadow:
            0 0 0 6px rgba(255, 255, 255, 0.7),
            -10px 0 22px rgba(24, 63, 44, 0.14);
    }

    .opt-reference-page .opt-condition-card small {
        max-width: 210px;
    }

    .opt-reference-page .opt-product-categories .opt-category-tile {
        height: auto !important;
        min-height: 0;
        aspect-ratio: 2 / 1;
    }

    .opt-reference-page .opt-product-categories .opt-category-tile img {
        width: 100%;
        height: 100% !important;
        min-height: 0;
        object-fit: cover;
    }

    .opt-reference-page .opt-product-categories .opt-category-tile span {
        right: 38px;
        bottom: 12px;
        left: 13px;
        font-size: 14px;
        line-height: 1.15;
    }

    .opt-reference-page .opt-product-categories .opt-category-tile i {
        right: 15px;
        bottom: 16px;
        width: 9px;
        height: 9px;
    }

    .opt-reference-page .opt-products-swiper .opt-catalog-product-card .product-thumb {
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 1 / 1 !important;
    }

    .opt-reference-page .opt-products-swiper .opt-catalog-product-card .product-info {
        min-height: 184px;
        padding: 10px !important;
        gap: 5px !important;
    }

    .opt-reference-page .opt-products-swiper .opt-catalog-product-card .product-meta {
        font-size: 9px !important;
    }

    .opt-reference-page .opt-products-swiper .opt-catalog-product-card .product-title {
        min-height: 32px;
        font-size: 12px !important;
        line-height: 1.25 !important;
    }

    .opt-reference-page .opt-products-swiper .opt-catalog-product-card .product-desc {
        display: none !important;
    }

    .opt-reference-page .opt-products-swiper .opt-order-rule {
        min-height: 50px;
        gap: 2px;
    }

    .opt-reference-page .opt-products-swiper .opt-order-rule > span,
    .opt-reference-page .opt-products-swiper .opt-order-rule > small {
        font-size: 9px;
        line-height: 1.2;
    }

    .opt-reference-page .opt-products-swiper .opt-order-rule > strong {
        font-size: 16px;
    }

    .opt-reference-page .opt-products-swiper .opt-product-button {
        height: 38px !important;
        min-height: 38px !important;
        flex-basis: 38px !important;
        font-size: 10px;
    }

    .opt-reference-page .opt-products-swiper .product-favorite-btn {
        width: 36px;
        height: 36px;
    }

    .opt-reference-page .opt-products-swiper .product-badge {
        padding: 5px 7px;
        font-size: 8px;
    }
}

/* Mobile route controls: one persistent switch in the header and one on the hero. */
@media (max-width: 768px) {
    .opt-reference-page .opt-floating-route {
        top: 4px !important;
        right: auto !important;
        left: calc(64px + max(0px, (100% - 384px) / 2)) !important;
        z-index: 1110 !important;
        width: min(172px, calc(100% - 212px));
        height: 40px;
        padding: 3px;
        transform: none;
    }

    .opt-reference-page .opt-floating-route-control {
        min-height: 32px;
    }

    .opt-reference-page .opt-floating-route-control button {
        min-height: 26px;
    }

    .opt-reference-page .opt-route-hero {
        touch-action: pan-y;
    }

    .opt-reference-page .opt-route-switch {
        position: absolute;
        top: 8px;
        left: 50%;
        z-index: 3;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 184px;
        gap: 4px;
        margin: 0;
        padding: 5px;
        border: 1px solid rgba(24, 63, 44, 0.16);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.94);
        box-shadow: 0 10px 24px rgba(8, 29, 19, 0.2);
        backdrop-filter: blur(9px);
        transform: translateX(-50%);
    }

    .opt-reference-page .opt-route-switch button {
        min-height: 30px;
        padding: 4px 6px;
        justify-content: center;
        border: 0;
        border-radius: 5px;
        background: transparent;
        color: var(--opt-ink);
        font-size: 0;
        text-align: center;
    }

    .opt-reference-page .opt-route-switch button.is-active {
        border-color: transparent;
        background: var(--opt-ink);
        color: #ffffff;
        box-shadow: none;
    }
}

/* Premium mobile treatment for the wholesale route hero. */
@media (max-width: 768px) {
    .opt-reference-page .opt-route-hero,
    .opt-reference-page .opt-route-hero-content {
        min-height: 326px !important;
    }

    .opt-reference-page .opt-route-hero {
        isolation: isolate;
        border: 1px solid rgba(205, 229, 193, 0.28);
        border-radius: 12px;
        background:
            radial-gradient(circle at 78% 22%, rgba(178, 211, 165, 0.16), transparent 36%),
            #082c1d;
        box-shadow:
            0 18px 38px rgba(8, 29, 19, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.12);
    }

    .opt-reference-page .opt-route-background {
        overflow: hidden;
    }

    .opt-reference-page .opt-route-image {
        filter: saturate(0.88) contrast(1.04);
        transform: scale(1.035);
    }

    .opt-reference-page[data-opt-catalog="spb"] .opt-route-image--spb,
    .opt-reference-page[data-opt-catalog="china"] .opt-route-image--china {
        transform: scale(1.02);
    }

    .opt-reference-page .opt-route-image--spb {
        object-position: 70% center;
    }

    .opt-reference-page .opt-route-image--china {
        object-position: 64% center;
    }

    .opt-reference-page .opt-route-shade {
        background:
            linear-gradient(180deg, rgba(4, 23, 15, 0.18) 0%, rgba(5, 28, 18, 0.22) 30%, rgba(5, 30, 19, 0.82) 72%, rgba(5, 31, 20, 0.96) 100%),
            linear-gradient(90deg, rgba(5, 29, 19, 0.26) 0%, transparent 68%);
    }

    .opt-reference-page .opt-route-hero-content {
        padding: 82px 14px 13px !important;
    }

    .opt-reference-page .opt-route-kicker {
        min-height: 21px;
        padding: 4px 7px;
        border: 1px solid rgba(255, 255, 255, 0.28);
        border-radius: 6px;
        background: linear-gradient(135deg, #d9ebd3 0%, #acd09f 100%);
        box-shadow: 0 7px 18px rgba(5, 29, 19, 0.22);
        letter-spacing: 0.025em;
    }

    .opt-reference-page .opt-route-hero h1 {
        max-width: 350px;
        margin-top: 7px;
        font-size: 22px !important;
        line-height: 1.04;
        letter-spacing: -0.018em;
        text-wrap: balance;
        text-shadow: 0 2px 16px rgba(0, 0, 0, 0.52);
    }

    .opt-reference-page .opt-route-hero-content > p {
        max-width: 340px;
        margin-top: 7px;
        color: rgba(255, 255, 255, 0.9);
        font-size: 10.5px;
        line-height: 1.38;
        text-shadow: 0 1px 8px rgba(0, 0, 0, 0.48);
    }

    .opt-reference-page .opt-route-switch {
        top: 9px;
        width: 184px;
        min-height: 42px;
        padding: 5px;
        border: 1px solid rgba(255, 255, 255, 0.76);
        border-radius: 9px;
        background: rgba(248, 251, 249, 0.94);
        box-shadow:
            0 12px 28px rgba(5, 27, 18, 0.3),
            inset 0 1px 0 #ffffff;
    }

    .opt-reference-page .opt-route-switch button {
        border-radius: 6px;
        transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
    }

    .opt-reference-page .opt-route-switch button.is-active {
        background: linear-gradient(180deg, #215a40 0%, #123e2c 100%);
        box-shadow:
            0 5px 12px rgba(8, 43, 29, 0.26),
            inset 0 1px 0 rgba(255, 255, 255, 0.12);
    }

    .opt-reference-page .opt-route-switch button:active {
        transform: scale(0.98);
    }

    .opt-reference-page .opt-route-catalog-cta {
        min-height: 40px;
        margin-top: 10px;
        padding: 8px 13px;
        border: 1px solid rgba(255, 255, 255, 0.56);
        border-radius: 9px;
        background: linear-gradient(135deg, #d7ead1 0%, #a8cf9e 100%);
        box-shadow:
            0 10px 22px rgba(4, 25, 16, 0.26),
            inset 0 1px 0 rgba(255, 255, 255, 0.62);
        font-size: 11.5px;
        letter-spacing: 0.005em;
    }

    .opt-reference-page .opt-route-catalog-cta > span:last-child {
        width: 7px;
        height: 7px;
        border-width: 2px;
    }
}

/* The route selector and photo work as one two-position slider. */
.opt-reference-page .opt-route-background {
    overflow: hidden;
}

.opt-reference-page .opt-route-image {
    opacity: 1;
    will-change: transform;
    transition: transform 640ms cubic-bezier(0.22, 1, 0.36, 1), filter 320ms ease;
}

.opt-reference-page[data-opt-catalog="spb"] .opt-route-image--spb {
    transform: translate3d(0, 0, 0) scale(1.02);
}

.opt-reference-page[data-opt-catalog="spb"] .opt-route-image--china {
    transform: translate3d(102%, 0, 0) scale(1.02);
}

.opt-reference-page[data-opt-catalog="china"] .opt-route-image--spb {
    transform: translate3d(-102%, 0, 0) scale(1.02);
}

.opt-reference-page[data-opt-catalog="china"] .opt-route-image--china {
    transform: translate3d(0, 0, 0) scale(1.02);
}

.opt-reference-page[data-opt-preview-catalog="spb"] .opt-route-image--spb {
    transform: translate3d(0, 0, 0) scale(1.02);
}

.opt-reference-page[data-opt-preview-catalog="spb"] .opt-route-image--china {
    transform: translate3d(102%, 0, 0) scale(1.02);
}

.opt-reference-page[data-opt-preview-catalog="china"] .opt-route-image--spb {
    transform: translate3d(-102%, 0, 0) scale(1.02);
}

.opt-reference-page[data-opt-preview-catalog="china"] .opt-route-image--china {
    transform: translate3d(0, 0, 0) scale(1.02);
}

@media (max-width: 768px) {
    .opt-reference-page .opt-route-switch {
        overflow: hidden;
    }

    .opt-reference-page .opt-route-switch::after {
        content: "";
        position: absolute;
        top: 5px;
        bottom: 5px;
        left: 5px;
        z-index: 0;
        width: calc((100% - 14px) / 2);
        border-radius: 6px;
        background: linear-gradient(180deg, #215a40 0%, #123e2c 100%);
        box-shadow:
            0 5px 12px rgba(8, 43, 29, 0.26),
            inset 0 1px 0 rgba(255, 255, 255, 0.12);
        transform: translate3d(0, 0, 0);
        transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
        pointer-events: none;
    }

    .opt-reference-page[data-opt-catalog="china"] .opt-route-switch::after,
    .opt-reference-page[data-opt-preview-catalog="china"] .opt-route-switch::after {
        transform: translate3d(calc(100% + 4px), 0, 0);
    }

    .opt-reference-page[data-opt-preview-catalog="spb"] .opt-route-switch::after {
        transform: translate3d(0, 0, 0);
    }

    .opt-reference-page .opt-route-switch button,
    .opt-reference-page .opt-route-switch button.is-active {
        position: relative;
        z-index: 1;
        background: transparent;
        box-shadow: none;
    }

    .opt-reference-page[data-opt-preview-catalog="china"] .opt-route-switch button[data-opt-catalog-tab="spb"],
    .opt-reference-page[data-opt-preview-catalog="spb"] .opt-route-switch button[data-opt-catalog-tab="china"] {
        color: var(--opt-ink);
    }

    .opt-reference-page[data-opt-preview-catalog="china"] .opt-route-switch button[data-opt-catalog-tab="china"],
    .opt-reference-page[data-opt-preview-catalog="spb"] .opt-route-switch button[data-opt-catalog-tab="spb"] {
        color: #ffffff;
    }
}

@media (prefers-reduced-motion: reduce) {
    .opt-reference-page .opt-route-image,
    .opt-reference-page .opt-route-switch::after {
        transition-duration: 1ms !important;
    }
}

/* Match the wholesale category carousel to the category cards on the home page. */
.opt-reference-page .opt-product-categories .opt-category-slider {
    margin-right: -20px;
    padding: 0 20px 34px 0;
}

.opt-reference-page .opt-product-categories .opt-category-tile {
    height: 360px !important;
    min-height: 360px;
    aspect-ratio: auto;
    border-radius: 24px;
    opacity: 1;
    transition: transform 0.3s ease;
}

.opt-reference-page .opt-product-categories .opt-category-tile::after {
    z-index: 1;
    inset: auto 0 0;
    height: 118px;
    pointer-events: none;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.82) 0%,
        rgba(0, 0, 0, 0.46) 58%,
        rgba(0, 0, 0, 0) 100%
    );
}

.opt-reference-page .opt-product-categories .opt-category-tile:hover,
.opt-reference-page .opt-product-categories .opt-category-tile:focus-visible {
    transform: scale(1.01);
}

.opt-reference-page .opt-product-categories .opt-category-tile img,
.opt-reference-page .opt-product-categories .opt-category-tile:hover img {
    width: 100%;
    height: 100% !important;
    min-height: 0;
    object-fit: cover;
    opacity: 1;
    transform: none;
}

.opt-reference-page .opt-product-categories .opt-category-tile span {
    right: 60px;
    bottom: 30px;
    left: 30px;
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.opt-reference-page .opt-product-categories .opt-category-tile i {
    right: 31px;
    bottom: 37px;
    width: 13px;
    height: 13px;
}

@media (max-width: 768px) {
    .opt-reference-page .opt-product-categories .opt-category-slider {
        margin-right: -20px;
        padding: 0 20px 34px 0;
    }

    .opt-reference-page .opt-product-categories .opt-category-tile {
        height: 250px !important;
        min-height: 250px;
        aspect-ratio: auto;
        border: 1px solid var(--mobile-ink, #203e30);
        border-radius: 8px;
        box-shadow: none;
    }

    .opt-reference-page .opt-product-categories .opt-category-tile img {
        min-height: 0;
    }

    /* The home categories shade only the caption, not the tea photograph. */
    .opt-reference-page .opt-product-categories .opt-category-tile::after {
        height: 72px;
        background: linear-gradient(to top, rgba(5, 18, 12, 0.82) 0%, rgba(5, 18, 12, 0.36) 58%, transparent 100%);
    }

    .opt-reference-page .opt-product-categories .opt-category-tile span {
        right: 50px;
        bottom: 24px;
        left: 22px;
        font-size: 17px;
    }

    .opt-reference-page .opt-product-categories .opt-category-tile i {
        right: 23px;
        bottom: 29px;
        width: 11px;
        height: 11px;
    }
}

/* Keep the full two-option wholesale selector inside the mobile hero. */
@media (max-width: 768px) {
    .opt-reference-page .opt-route-hero,
    .opt-reference-page .opt-route-hero-content {
        min-height: 390px !important;
    }

    .opt-reference-page .opt-route-hero-content {
        padding: 22px 14px 14px !important;
    }

    .opt-reference-page .opt-route-switch {
        position: static;
        top: auto;
        right: auto;
        left: auto;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        min-height: 0;
        margin: 12px 0 0;
        padding: 5px;
        overflow: hidden;
        gap: 5px;
        border: 1px solid rgba(255, 255, 255, 0.42);
        border-radius: 9px;
        background: rgba(8, 29, 19, 0.54);
        box-shadow: 0 12px 28px rgba(5, 27, 18, 0.26);
        backdrop-filter: blur(8px);
        transform: none;
    }

    .opt-reference-page .opt-route-switch::after {
        display: none;
    }

    .opt-reference-page .opt-route-switch button,
    .opt-reference-page .opt-route-switch button.is-active {
        position: relative;
        z-index: 1;
        display: flex !important;
        min-width: 0;
        min-height: 68px;
        padding: 9px 9px;
        align-items: center;
        justify-content: space-between;
        gap: 7px;
        border: 1px solid transparent;
        border-radius: 6px;
        background: rgba(8, 29, 19, 0.34);
        color: #ffffff !important;
        box-shadow: none;
        font: inherit;
        text-align: left;
    }

    .opt-reference-page .opt-route-switch button.is-active {
        border-color: rgba(255, 255, 255, 0.86);
        background: #ffffff;
        color: var(--opt-ink) !important;
        box-shadow: 0 8px 20px rgba(8, 29, 19, 0.18);
    }

    .opt-reference-page .opt-route-switch button:first-child::before,
    .opt-reference-page .opt-route-switch button:last-child::before {
        content: none;
    }

    .opt-reference-page .opt-route-option-copy {
        display: grid;
        min-width: 0;
        gap: 3px;
    }

    .opt-reference-page .opt-route-option-copy strong {
        font-size: 12px;
        line-height: 1.12;
    }

    .opt-reference-page .opt-route-option-copy small {
        display: block;
        color: rgba(255, 255, 255, 0.72);
        font-size: 8px;
        line-height: 1.25;
    }

    .opt-reference-page .opt-route-switch button.is-active small {
        color: rgba(24, 63, 44, 0.66);
    }

    .opt-reference-page .opt-route-option-check {
        display: grid;
        width: 20px;
        height: 20px;
        flex: 0 0 20px;
    }

    .opt-reference-page .opt-route-catalog-cta {
        width: 100%;
    }
}
