/* Buck Mason homepage reference: site.css captured 2026-11-04.
 * Scoped for independent SHOPLINE HTML sections. The reference root is 13px;
 * explicit pixel sizes keep its typography independent of the host theme.
 * Media offsets are lengths or percentages of the media tile's height.
 */

.bm-home-container {
    margin: 0;
    padding: 0;
}

.bm-home-section {
    box-sizing: border-box;
    position: relative;
    width: 100%;
    margin: var(--bm-home-d-margin, 0) auto 0;
    padding: var(--bm-home-d-pad-y, 0) var(--bm-home-d-pad-x, 0);
    border-top: var(--bm-home-border-top, 0);
    background: #fff;
    color: #333;
    font-family: acumin-pro, Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.bm-home-section *,
.bm-home-section *::before,
.bm-home-section *::after {
    box-sizing: border-box;
}

.bm-home-section[hidden],
.bm-home-section [hidden] {
    display: none !important;
}

.bm-home-heading {
    margin: 0 0 20px;
    padding: var(--bm-home-d-title-pad, 0);
    color: inherit;
    font-family: acumin-pro-condensed, "Arial Narrow", Helvetica, Arial, sans-serif;
    font-size: 17.94px;
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 1;
    text-transform: uppercase;
}

.bm-home-heading a {
    color: inherit;
    text-decoration: none;
}

.bm-home-media-grid {
    display: grid;
    grid-template-columns: repeat(var(--bm-home-columns, 1), minmax(0, 1fr));
    column-gap: var(--bm-home-d-gap, 0);
    row-gap: var(--bm-home-d-row, 0);
}

.bm-home-media-tile {
    position: relative;
    min-width: 0;
    overflow: hidden;
    aspect-ratio: var(--bm-home-d-ratio, 1.778);
    color: var(--bm-home-d-color, #fff);
}

.bm-home-media-link {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    color: inherit;
    text-decoration: none;
}

.bm-home-picture {
    position: absolute;
    inset: 0;
    display: block;
    margin: 0;
}

.bm-home-picture img,
.bm-home-video {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    object-fit: cover;
    object-position: center;
}

.bm-home-video {
    position: absolute;
    inset: 0;
}

.bm-home-overlay {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: calc(70px + var(--bm-home-d-offset, 0px));
    left: 0;
    padding: 0 40px;
    color: var(--bm-home-d-color, #fff);
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
    text-align: center;
    pointer-events: none;
}

.bm-home-cta {
    display: inline-block;
    position: relative;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font-family: acumin-pro-condensed, "Arial Narrow", Helvetica, Arial, sans-serif;
    font-size: 14.3px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: inherit;
    text-decoration: none;
    text-transform: uppercase;
    pointer-events: auto;
}

.bm-home-cta::before,
.bm-home-cta::after {
    display: inline-block;
    transform: translateY(-0.05em);
}

.bm-home-cta::before {
    content: "[";
    margin-right: 0.04em;
}

.bm-home-cta::after {
    content: "]";
    margin-left: 0.04em;
}

.bm-home-cta-bold {
    font-size: 18.2px;
}

/* Keep media captions legible over the native theme's a:not(.button) rule. */
.bm-home-section .bm-home-overlay .bm-home-cta,
.bm-home-section .bm-home-overlay .bm-home-cta:hover {
    color: inherit;
}

.bm-home-media-heading,
.bm-home-media-copy {
    margin: 0 0 18px;
    color: inherit;
    font: inherit;
}

.bm-home-video-toggle {
    position: absolute;
    z-index: 4;
    right: 20px;
    bottom: 20px;
    padding: 8px 12px;
    border: 1px solid currentColor;
    border-radius: 0;
    background: rgba(0, 0, 0, .25);
    color: #fff;
    font: inherit;
    line-height: 1;
    cursor: pointer;
}

.bm-home-video-toggle:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

.bm-home-products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: var(--bm-home-d-gap, 10px);
    row-gap: var(--bm-home-d-row, 30px);
    width: 100%;
    max-width: 1728px;
    margin: 0 auto;
    padding: 0 0 26px;
}

.bm-home-product {
    position: relative;
    min-width: 0;
    margin: 0;
}

.bm-home-product-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
}

.bm-home-product-link {
    position: absolute;
    inset: 0;
    display: block;
    color: inherit;
    text-decoration: none;
}

.bm-home-product-image,
.bm-home-product-hover {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    object-fit: cover;
    object-position: center top;
}

.bm-home-product-hover {
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.bm-home-product-info {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    column-gap: 1.5em;
    row-gap: 0.75em;
    padding: 20px var(--bm-home-d-info-pad, 0) 0;
    line-height: 1;
}

.bm-home-product-title {
    min-width: 0;
    margin: 0;
    color: inherit;
    font-family: acumin-pro-condensed, "Arial Narrow", Helvetica, Arial, sans-serif;
    font-size: 13.65px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    white-space: normal;
}

.bm-home-product-price {
    margin: 0;
    color: inherit;
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
}

.bm-home-product-color {
    grid-column: 1 / -1;
    margin: 0;
    color: inherit;
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
}

.bm-home-carousel .bm-home-products {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - var(--bm-home-d-gap, 10px) * 3) / 4);
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: #333 #dddad0;
}

.bm-home-carousel .bm-home-product {
    scroll-snap-align: start;
}

.bm-home-carousel .bm-home-products::-webkit-scrollbar {
    height: 1px;
    background: #dddad0;
}

.bm-home-carousel .bm-home-products::-webkit-scrollbar-thumb {
    background: #333;
}

.bm-home-carousel-prev,
.bm-home-carousel-next {
    position: absolute;
    z-index: 4;
    top: var(--bm-home-d-pad-y, 0);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 39px;
    min-height: 39px;
    margin: 0;
    padding: 13px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #000;
    font: inherit;
    line-height: 1;
    cursor: pointer;
    transform: translateY(calc(-100% - 5px));
    transition: opacity 0.2s ease-in-out;
}

.bm-home-carousel-prev {
    right: calc(var(--bm-home-d-pad-x, 0px) + 79px);
}

.bm-home-carousel-next {
    right: calc(var(--bm-home-d-pad-x, 0px) + 40px);
}

.bm-home-carousel-prev svg,
.bm-home-carousel-next svg {
    display: block;
    width: auto;
    height: 1em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5px;
}

.bm-home-carousel-prev:disabled,
.bm-home-carousel-next:disabled {
    opacity: 0.2;
    cursor: default;
    pointer-events: none;
}

.bm-home-section a:focus-visible,
.bm-home-carousel-prev:focus-visible,
.bm-home-carousel-next:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

.bm-home-product-link:focus-visible,
.bm-home-media-link:focus-visible {
    outline-offset: -4px;
}

.bm-home-cta:active,
.bm-home-product-title:active {
    text-decoration: underline;
}

@media (min-width: 820px) and (hover: hover) {

    .bm-home-heading a:hover,
    .bm-home-cta:hover,
    .bm-home-product-title:hover {
        color: inherit;
        text-decoration: underline;
    }

    .bm-home-product:hover .bm-home-product-hover {
        opacity: 1;
    }
}

@media (max-width: 819px) {
    .bm-home-section {
        margin: var(--bm-home-m-margin, 0) 0 0;
        padding: var(--bm-home-m-pad-y, 0) var(--bm-home-m-pad-x, 0);
    }

    .bm-home-heading {
        padding: var(--bm-home-m-title-pad, 0);
    }

    .bm-home-media-grid {
        grid-template-columns: minmax(0, 1fr);
        column-gap: var(--bm-home-m-gap, 0);
        row-gap: var(--bm-home-m-row, 0);
    }

    .bm-home-media-tile {
        aspect-ratio: var(--bm-home-m-ratio, var(--bm-home-d-ratio, 1));
        color: var(--bm-home-m-color, #fff);
    }

    .bm-home-overlay {
        bottom: calc(50px + var(--bm-home-m-offset, 0px));
        padding: 0 20px;
        color: var(--bm-home-m-color, #fff);
    }

    .bm-home-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: var(--bm-home-m-gap, 5px);
        row-gap: var(--bm-home-m-row, 20px);
    }

    .bm-home-product-info {
        padding-right: var(--bm-home-m-info-pad, 0);
        padding-left: var(--bm-home-m-info-pad, 0);
    }

    .bm-home-carousel .bm-home-products {
        grid-auto-columns: 80%;
        grid-template-columns: none;
    }

    .bm-home-carousel-prev,
    .bm-home-carousel-next {
        top: 46%;
        color: #fff;
        font-size: 14.95px;
        mix-blend-mode: difference;
        transform: translateY(-50%);
    }

    .bm-home-carousel-prev {
        right: auto;
        left: var(--bm-home-m-pad-x, 0);
    }

    .bm-home-carousel-next {
        right: var(--bm-home-m-pad-x, 0);
    }

    .bm-home-carousel-prev:disabled,
    .bm-home-carousel-next:disabled {
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {

    .bm-home-product-hover,
    .bm-home-carousel-prev,
    .bm-home-carousel-next {
        transition: none;
    }

    .bm-home-carousel .bm-home-products {
        scroll-behavior: auto;
    }
}