.bc-promo-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 4%;
    background: var(--promo-bg, #f6eeee);
    color: var(--promo-text, #202522);
}
.bc-promo-bar[hidden] {
    display: none !important;
}
.bc-promo-bar > img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    flex: none;
}
.bc-promo-bar > div {
    flex: 1;
    min-width: 0;
}
.bc-promo-bar p {
    margin: 4px 0;
    font-size: 15px;
    line-height: 1.4;
}
.bc-promo-bar .bc-promo-title {
    font-size: clamp(18px, 2vw, 26px);
    font-weight: 400;
    color: inherit;
}
.bc-promo-bar .bc-promo-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    min-height: 44px;
    background: var(--promo-button-bg, #26A493);
    color: var(--promo-button-text, #fff);
    text-decoration: none;
    font-size: 14px;
}
.bc-promo-bar > [data-promo-close] {
    width: 40px;
    min-height: 40px;
    display: grid;
    place-items: center;
    padding: 8px;
    border: 0;
    background: transparent;
    color: inherit;
    flex: none;
}
.bc-payments {
    padding: 18px 0;
    margin: 16px 0;
    border-top: 1px solid var(--beyond-ui-border, #ddd);
}
.bc-payments > p {
    font-size: 13px;
    font-weight: 500;
    margin: 0 0 12px;
}
.bc-payment-logos {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
}
.bc-payment-logos img {
    width: 64px;
    height: 36px;
    object-fit: contain;
}
.bc-payments small {
    display: block;
    margin-top: 10px;
    font-size: 11px;
    line-height: 1.5;
    color: #66716b;
}
body .beyond-native-purchase .beyond-color-options {
    gap: var(--bc-control-gap, 12px) !important;
    align-items: flex-start;
}
html
    body.beyond-wordpress
    .beyond-native-purchase
    .beyond-color-options
    button.bc-color-swatch {
    width: var(--bc-control-width, 72px) !important;
    height: auto !important;
    min-height: 0 !important;
    min-width: 0 !important;
    flex-basis: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 5px !important;
    border-radius: 4px !important;
    background: var(--bc-control-background, #fff);
    color: var(--beyond-ui-ink, #202522);
    overflow: visible;
}
html
    body.beyond-wordpress
    .beyond-color-options
    button.bc-color-swatch
    > span:first-child {
    display: block;
    width: 100%;
    height: var(--bc-control-height, 92px);
    border-radius: var(--bc-control-radius, 4px) !important;
    overflow: hidden;
}
body .beyond-color-options button.bc-color-swatch img,
.bc-card-color-sample img {
    width: 100%;
    height: 100%;
    object-fit: var(--bc-control-fit, cover) !important;
}
body .beyond-color-options button.bc-color-swatch > span:last-child {
    font-size: 11px;
    line-height: 1.4;
    white-space: normal;
}
html body.beyond-wordpress .beyond-color-options button.chosen {
    outline-color: var(--bc-control-border, #222) !important;
}
body .bc-card-color-sample {
    border-radius: var(--bc-control-radius, 4px);
}
html
    body
    .beyond-native-purchase
    .beyond-size-options:not(.beyond-color-options)
    button.chosen,
body .size-options button.selected,
body .size-options button[aria-pressed="true"] {
    background: var(--beyond-ui-primary, #26A493) !important;
    color: #fff !important;
}
body .bc-filter-actions {
    display: flex;
    gap: 10px;
    align-items: stretch;
}
body .bc-filter-actions > :is(button, a) {
    flex: 1 1 0;
    width: auto !important;
    min-width: 0;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    font-size: 13px !important;
    line-height: 1.4;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: normal;
    box-sizing: border-box;
}
body #mobile-nav .mobile-menu-search {
    margin-bottom: 22px;
    padding: 16px 4px;
}
body #mobile-nav .mobile-menu-search + * {
    margin-top: 16px;
}
body .editorial-categories {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 64px) / 5);
    grid-template-columns: none;
    overflow-x: auto;
    gap: 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 4px 0 12px;
}
body .editorial-categories::-webkit-scrollbar {
    display: none;
}
body .editorial-categories > a {
    scroll-snap-align: start;
    min-width: 0;
}
.editorial-category-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}
.editorial-category-controls button {
    width: 40px;
    min-height: 40px;
    padding: 8px;
    border: 1px solid #dbe4df;
    background: #fff;
}
@media (max-width: 1024px) {
    body .bc-filter-bar {
        gap: 10px;
        padding: 8px 14px calc(8px + env(safe-area-inset-bottom, 0px));
    }
    body .bc-filter-bar button {
        flex: 1 1 0;
        width: auto !important;
        height: 40px;
        min-height: 40px !important;
        padding: 8px 12px !important;
        border-radius: 5px;
        font-size: 12px !important;
        line-height: 1.3;
    }
    body .editorial-categories {
        grid-auto-columns: calc((100% - 32px) / 3);
    }
}
@media (max-width: 600px) {
    .bc-promo-bar {
        gap: 9px;
        padding: 10px 12px;
        flex-wrap: wrap;
    }
    .bc-promo-bar > img {
        width: 38px;
        height: 38px;
    }
    .bc-promo-bar .bc-promo-title {
        font-size: 15px;
    }
    .bc-promo-bar p {
        font-size: 12px;
    }
    .bc-promo-bar .bc-promo-button {
        min-height: 36px;
        padding: 8px 10px;
        font-size: 11px;
    }
    .bc-promo-bar > [data-promo-close] {
        width: 28px;
        min-height: 36px;
        padding: 4px;
    }
    body .editorial-categories {
        grid-auto-columns: 74%;
        gap: 14px;
    }
}
@media (prefers-reduced-motion: no-preference) {
    .editorial-categories {
        scroll-behavior: smooth;
    }
}
body .product-detail-layout .options button.chosen {
    background: var(--beyond-ui-primary, #26A493) !important;
    color: #fff !important;
}
.bc-journey-gallery {
    display: grid;
    gap: 24px;
    margin: 28px 0;
}
.bc-journey-gallery img {
    display: block;
    width: 100%;
    height: auto;
}
/* Natural category image height; no forced crop, equal-height box or fixed aspect. */
body .editorial-categories {
    align-items: start;
}
body .editorial-category > div {
    aspect-ratio: auto;
    height: auto;
    overflow: visible;
    background: transparent;
}
body .editorial-category img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
}
body .editorial-category:hover img {
    transform: none;
}
body .editorial-category-controls {
    flex-wrap: wrap;
}
body .editorial-category-controls [data-category-pause] {
    width: auto;
    min-width: 64px;
    font-size: 12px;
}
/* A single horizontal row uses the same term images/HEX as the product selector. */
body .bc-color-filter,
body .pdp-browse .bc-color-filter {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    max-height: none;
    margin: 10px 0;
    padding: 6px 3px 12px;
    border: 0;
    border-radius: 0;
    grid-template-columns: none;
    scroll-snap-type: x proximity;
}
body .bc-color-filter button,
body .pdp-browse .bc-color-filter button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    flex: 0 0 62px;
    width: 62px !important;
    min-width: 0;
    min-height: 0 !important;
    height: auto;
    padding: 3px !important;
    margin: 0;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    color: inherit;
    scroll-snap-align: start;
}
body .bc-color-filter button .bc-filter-sample,
body .pdp-browse .bc-color-filter button .bc-filter-sample {
    display: block;
    flex: none;
    width: 44px;
    height: auto;
    aspect-ratio: var(--bc-filter-ratio, 72 / 92);
    min-height: 0;
    border: 1px solid #d8dedb;
    border-radius: var(--bc-control-radius, 4px);
    background: var(--swatch-color, #eee);
    overflow: hidden;
}
body .bc-color-filter .bc-filter-sample img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: var(--bc-control-fit, cover);
}
body .bc-color-filter button[aria-pressed="true"] .bc-filter-sample {
    outline: 2px solid var(--bc-control-border, #222);
    outline-offset: 2px;
}
body .bc-color-filter button .bc-filter-color-name,
body .pdp-browse .bc-color-filter button .bc-filter-color-name {
    display: block;
    width: 100%;
    height: auto;
    font-size: 10px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
html body.beyond-wordpress .beyond-native-purchase .beyond-color-options {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    overflow-y: hidden;
    max-width: 100%;
    padding: 8px !important;
}
html
    body.beyond-wordpress
    .beyond-native-purchase
    .beyond-color-options
    button.bc-color-swatch {
    flex: 0 0 var(--bc-control-width, 72px) !important;
}
body .colour-detail,
body .quick-color {
    flex-wrap: nowrap;
}
.bc-admin-preview {
    width: min(1240px, 96vw);
    max-width: 96vw;
    height: 90vh;
    border: 1px solid #dbe4df;
    border-radius: 12px;
    padding: 0;
}
.bc-admin-preview::backdrop {
    background: rgba(20, 35, 30, 0.55);
}
.bc-admin-preview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    background: #f5f8f6;
    border-bottom: 1px solid #dbe4df;
}
.bc-admin-preview iframe {
    width: 100%;
    height: calc(100% - 75px);
    border: 0;
    background: #fff;
}
[data-bc-preview-active] {
    outline: 3px solid var(--beyond-ui-primary, #26A493);
    outline-offset: 4px;
    scroll-margin-top: 120px;
}
body[data-bc-preview-names="hidden"] .beyond-color-options button > span:last-child {
    position: absolute !important;
    clip-path: inset(50%) !important;
    width: 1px !important;
    height: 1px !important;
}
body[data-bc-preview-names="shown"] .beyond-color-options button > span:last-child {
    position: static !important;
    clip-path: none !important;
    width: auto !important;
    height: auto !important;
}
body[data-bc-preview-label="hidden"] .beyond-color-options + .beyond-option-state {
    display: none !important;
}
body[data-bc-preview-label="above"] .variations td:has(.beyond-color-options),
body[data-bc-preview-label="below"] .variations td:has(.beyond-color-options) {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
body[data-bc-preview-label="above"] .variations td > .beyond-option-state {
    order: -1 !important;
    display: block !important;
}
body[data-bc-preview-label="below"] .variations td > .beyond-option-state {
    order: 1 !important;
    display: block !important;
}
body[data-bc-preview-mode="solid"] .beyond-color-options img,
body[data-bc-preview-mode="solid"] .bc-color-filter img {
    display: none !important;
}

/* Compact filter summary: eight colours and a ninth more tile. */
body .bc-color-filter,
body .pdp-browse .bc-color-filter {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 8px;
    overflow: visible;
    max-width: 100%;
}
body .bc-color-filter button,
body .pdp-browse .bc-color-filter button {
    width: 100% !important;
    min-width: 0;
}
body .bc-color-filter .bc-filter-more {
    min-height: 60px !important;
    justify-content: center;
    font-size: 20px;
    border: 1px solid #d8dedb !important;
    border-radius: 8px;
    background: #f5f7f6 !important;
}
.bc-filter-more.has-selection {
    outline: 2px solid var(--bc-control-border, #222);
}
.bc-colour-dialog {
    width: min(94vw, 720px);
    max-height: 85dvh;
    padding: 24px;
    border: 0;
    border-radius: 14px;
    overflow: auto;
}
.bc-colour-dialog::backdrop {
    background: rgb(0 0 0 / 0.45);
}
.bc-colour-dialog h2 {
    font-size: 22px;
    font-weight: 500;
    padding-right: 70px;
    margin: 0 0 24px;
}
.bc-colour-close {
    position: absolute;
    right: 14px;
    top: 15px;
    background: transparent;
    color: #222;
    border: 0;
    cursor: pointer;
}
body .bc-colour-dialog .bc-colour-all {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px 12px;
}
body .bc-colour-dialog .bc-filter-sample {
    width: 64px;
}
.bc-mrp-note {
    display: block;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    color: #626962;
    margin: 6px 0 16px;
}

body select.bc-colour-native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip-path: inset(50%);
    white-space: nowrap;
}

body .bc-color-filter button .bc-filter-color-name,
body .pdp-browse .bc-color-filter button .bc-filter-color-name {
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
}
body .product-details > .price .bc-price-discount {
    color: #c62828;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.5;
    display: inline-block;
    margin-left: 10px;
    white-space: nowrap;
}
@media (max-width: 600px) {
    body .bc-colour-dialog .bc-colour-all {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px 8px;
    }
    .bc-colour-dialog {
        padding: 20px 14px;
    }
    body .bc-colour-dialog .bc-filter-sample {
        width: min(64px, 100%);
    }
}

/* Native storefront compatibility: uncropped cards, compact tabs and square actions. */
html body.beyond-wordpress #collection .bc-collection-tabs [role="tab"],
body #collection .bc-collection-tabs [role="tab"] {
    font-size: 14px !important;
    font-weight: 400;
    line-height: 1.4 !important;
    letter-spacing: 0;
}
html body.beyond-wordpress #collection .bc-collection-tabs [aria-selected="true"] {
    font-weight: 600;
}
html body.beyond-wordpress .lux-product .product-image {
    aspect-ratio: 4/5 !important;
    overflow: hidden;
}
html body.beyond-wordpress .lux-product .product-image-link {
    display: block !important;
    height: 100% !important;
    width: 100% !important;
}
html body.beyond-wordpress .lux-product .product-image img {
    display: block !important;
    height: 100% !important;
    width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
}
html body.beyond-wordpress .lux-product .product-actions button,
html body.beyond-wordpress [data-beyond-quick],
html body.beyond-wordpress [data-beyond-choose],
body .lux-product .product-actions button,
body .lux-product [data-quick],
body .lux-product [data-choose] {
    border-radius: 0 !important;
}
html body.beyond-wordpress .beyond-native-purchase select.bc-swatches-ready {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    clip-path: inset(50%) !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

html body.beyond-wordpress .quick-view .bc-purchase-actions button {
    border-radius: 0 !important;
}
@media (max-width: 600px) {
    html body.beyond-wordpress #collection .bc-collection-tabs [role="tab"],
    body #collection .bc-collection-tabs [role="tab"] {
        font-size: 13px !important;
    }
}

/* 2.18: original image proportions, circular card colours, borderless portrait options. */
html body .lux-product .product-image,
html body .lux-product .product-image-link {
    background: #fff !important;
}
html body .lux-product .bc-card-color,
html body .lux-product .bc-card-color-sample,
html body .lux-product .bc-card-color-sample img {
    border-radius: 50% !important;
}
html body .lux-product .bc-card-color-sample {
    width: 22px;
    height: 22px;
    aspect-ratio: 1;
    overflow: hidden;
}
html body .lux-product :is(button.wish, button.card-compare) {
    background: #fff;
    color: var(--beyond-ui-ink, #202522);
    border: 0;
}
html body .lux-product :is(button.wish, button.card-compare)[aria-pressed="true"],
html body .lux-product :is(button.wish, button.card-compare).selected {
    background: var(--beyond-ui-primary, #26A493) !important;
    color: #fff !important;
}
html body .lux-product button.wish[aria-pressed="true"] svg {
    fill: currentColor;
}
html body.beyond-wordpress .beyond-native-purchase .beyond-color-options button.bc-color-swatch {
    width: clamp(56px, 12vw, 76px) !important;
    height: auto !important;
    flex: 0 0 auto;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: none !important;
    background: transparent !important;
}
html body.beyond-wordpress .beyond-native-purchase .beyond-color-options button.bc-color-swatch > span:first-child {
    width: 100%;
    height: auto !important;
    aspect-ratio: 4 / 6;
    border: 0;
    border-radius: 0 !important;
}
html body.beyond-wordpress .beyond-native-purchase .beyond-color-options button.chosen > span:last-child {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}
html body.beyond-wordpress .beyond-native-purchase .beyond-color-options button:focus-visible {
    outline: 2px solid var(--beyond-ui-primary, #26A493) !important;
    outline-offset: 4px;
}
.editorial-category-footer {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}
html body .lux-product .bc-color-sample,
html body .lux-product .bc-color-sample img {
    border-radius: 50% !important;
}
html body .colour-detail .bc-color-sample {
    width: 64px !important;
    height: 96px !important;
    min-height: 0 !important;
    min-width: 0 !important;
    aspect-ratio: 4 / 6;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0;
}
