.srm-promo-slot,
.srm-promos {
    --srm-blue: #17a8e3;
    --srm-orange: #ff5b00;
    --srm-bg: #ffffff;
    --srm-border: #e7e7e7;
    --srm-text: #202124;
}

.srm-promo-slot {
    display: block;
    width: 100%;
    min-width: 0;
}

.srm-promo-slot > .srm-card {
    width: 100%;
}


/* Cacheable Coolblue-style loading shell. The shell has exactly the same
 * dimensions as a finished card, so the rest of the homepage never moves
 * when the no-store REST response arrives. No shimmer/animation on purpose:
 * the quiet white frame feels like content that is still loading. */
.srm-promo-slot--loading,
.srm-promo-slot--loaded {
    height: 145px;
    min-height: 145px;
}

.srm-card--placeholder,
.srm-card--placeholder:hover {
    display: block;
    width: 100%;
    height: 145px;
    min-height: 145px;
    max-height: 145px;
    box-sizing: border-box;
    background: #ffffff !important;
    border: 1px solid var(--srm-border) !important;
    border-radius: 4px;
    box-shadow: none !important;
    pointer-events: none;
}

.srm-promos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    margin: 5px 0 0;
}

.srm-card {
    position: relative;
    display: block;
    width: 100%;
    height: 145px;
    min-width: 0;
    min-height: 145px;
    max-height: 145px;
    box-sizing: border-box;
    overflow: hidden;
    background: var(--srm-bg);
    border: 1px solid var(--srm-border);
    border-radius: 4px;
    box-shadow: none !important;
    color: var(--srm-text);
    text-decoration: none !important;
    isolation: auto !important;
    transform: none !important;
    transition: none !important;
}

/* Keep the card completely still on mouse hover. Flatsome/theme link hover
 * rules are neutralised here so the automated cards visually match the
 * existing static homepage promo card. */
.srm-card:hover {
    background: var(--srm-bg);
    border-color: var(--srm-border);
    box-shadow: none !important;
    color: var(--srm-text);
    text-decoration: none !important;
    transform: none !important;
}

/* Preserve an accessible keyboard indicator without creating a mouse-hover effect. */
.srm-card:focus-visible {
    outline: 2px solid var(--srm-blue);
    outline-offset: 2px;
}

.srm-card__copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 62%;
    height: 100%;
    min-height: 0;
    box-sizing: border-box;
    overflow: hidden;
    padding: 15px 12px 16px 15px;
}

.srm-card__brand {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 82px !important;
    max-height: 14px !important;
    margin: 0 0 15px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    object-fit: contain;
    object-position: left center;
    filter: grayscale(100%) !important;
    opacity: 0.31 !important;
    transform: none !important;
    transition: none !important;
}

.srm-card:hover .srm-card__brand {
    filter: grayscale(100%) !important;
    opacity: 0.31 !important;
    transform: none !important;
}


.srm-card--category .srm-card__copy {
    width: 58%;
}

.srm-card--category .srm-card__visual {
    width: 42%;
}

.srm-card__visual--category-image {
    top: 10px;
    right: 10px;
    bottom: 10px;
    width: 44%;
    background-color: #ffffff !important;
    background-repeat: no-repeat !important;
    background-position: center right !important;
    background-size: contain !important;
}

.srm-card__title,
.srm-card:hover .srm-card__title {
    display: -webkit-box;
    overflow: hidden;
    color: var(--srm-blue) !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/*
 * Title + subtitle share one strict three-line budget. The safe CSS-only
 * default is 2 title lines + 1 subtitle line. frontend.js measures the
 * rendered title and raises the subtitle allowance to 2 when the title
 * only needs one line. This prevents cards from growing taller while still
 * using the available copy space.
 */
.srm-card__subtitle,
.srm-card:hover .srm-card__subtitle {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 4px;
    color: #3a3e40 !important;
    font-size: 14px;
    line-height: 1.3;
    text-decoration: none !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    -webkit-line-clamp: var(--srm-subtitle-lines, 1);
}


.srm-card--category .srm-card__eyebrow {
    display: none !important;
}

.srm-card--category .srm-card__copy {
    width: 56%;
    height: 100%;
    padding: 15px 14px 15px 16px;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 0;
}

.srm-card--category .srm-card__title,
.srm-card--category:hover .srm-card__title {
    align-self: center;
    margin: 0;
    padding: 0;
    color: var(--srm-blue) !important;
    font-family: DobraSlabBook, "Dobra Slab Book", "Open Sans", sans-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.06;
    letter-spacing: -.01em;
    -webkit-line-clamp: 2;
}

.srm-card--category .srm-card__subtitle,
.srm-card--category:hover .srm-card__subtitle {
    display: none !important;
}

.srm-card__price,
.srm-card:hover .srm-card__price {
    display: block;
    margin-top: auto;
    padding-top: 8px;
    color: #17191a !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none !important;
}

.srm-card__price del,
.srm-card:hover .srm-card__price del {
    margin-right: 4px;
    color: #a9b0b3 !important;
    font-size: 13px;
    font-weight: 400;
    opacity: 1;
}

.srm-card__price-label,
.srm-card:hover .srm-card__price-label {
    margin-right: 3px;
    color: #a9b0b3 !important;
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none !important;
}

.srm-card__price ins,
.srm-card:hover .srm-card__price ins {
    color: #17191a !important;
    text-decoration: none !important;
}

.srm-card__visual {
    position: absolute;
    z-index: 1;
    top: 12px;
    right: 10px;
    bottom: 12px;
    width: 40%;

    /* Product imagery is shown on a clean white canvas without colour blending.
     * This preserves the original product colours and makes white-background
     * WooCommerce photography merge naturally into the card. */
    background-color: #ffffff !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    background-blend-mode: normal !important;
}

.srm-card__badge {
    position: absolute;
    z-index: 3;
    right: 33%;
    bottom: 36px;
    transform: translateX(50%);
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding: 3px 7px;
    background: #fff2e9;
    border-radius: 3px;
    color: var(--srm-orange) !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-transform: lowercase;
    white-space: nowrap;
}


.srm-card--category .srm-card__badge,
.srm-card--category .srm-card__badge--category-inline,
.srm-card--product-highlight .srm-card__badge,
.srm-card--product-highlight .srm-card__badge--inline {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    align-self: start;
    justify-self: start;
    transform: none;
    margin: 0;
    min-height: 20px;
    padding: 3px 7px;
    font-size: 14px;
    line-height: 1;
    text-transform: none;
}



.srm-card--product-highlight .srm-card__copy {
    width: 58%;
    height: 100%;
    padding: 13px 14px 13px 16px;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    align-items: stretch;
    row-gap: 0;
}

.srm-card--product-highlight .srm-card__highlight-group {
    display: flex;
    flex-direction: column;
    align-self: center;
    justify-self: start;
    justify-content: center;
    gap: 0;
    min-height: 0;
}

.srm-card--product-highlight .srm-card__visual {
    width: 40%;
}

.srm-card--product-highlight .srm-card__title,
.srm-card--product-highlight:hover .srm-card__title,
.srm-card--product-highlight .srm-card__highlight-slogan,
.srm-card--product-highlight:hover .srm-card__highlight-slogan {
    display: block;
    max-height: 2.16em;
    margin: 0;
    padding: 0;
    overflow: hidden;
    color: var(--srm-blue) !important;
    font-family: DobraSlabBook, "Dobra Slab Book", "Open Sans", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -.01em;
}

.srm-card--product-highlight .srm-card__highlight-product-name,
.srm-card--product-highlight:hover .srm-card__highlight-product-name {
    display: block;
    align-self: start;
    max-height: 1.15em;
    margin: 0;
    padding: 0;
    overflow: hidden;
    color: var(--srm-blue) !important;
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.15;
    text-decoration: none !important;
}

.srm-card--product-highlight .srm-card__subtitle,
.srm-card--product-highlight:hover .srm-card__subtitle,
.srm-card--product-highlight .srm-card__price,
.srm-card--product-highlight:hover .srm-card__price,
.srm-card--product-highlight .srm-card__cta,
.srm-card--product-highlight:hover .srm-card__cta {
    display: none !important;
}

.srm-card--product-highlight .srm-card__brand--footer,
.srm-card--product-highlight:hover .srm-card__brand--footer {
    align-self: end;
    justify-self: start;
    width: auto !important;
    height: auto !important;
    max-width: 82px !important;
    max-height: 14px !important;
    margin: 0 !important;
    padding: 0 !important;
    object-position: left center !important;
    opacity: 0.31 !important;
}

.srm-card--product-highlight .srm-card__eyebrow--footer,
.srm-card--product-highlight:hover .srm-card__eyebrow--footer {
    align-self: end;
    justify-self: start;
    margin: 0 !important;
    color: #a8a8a8 !important;
}

@media (max-width: 849px) {
    .srm-promos {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .srm-card {
        height: 145px;
        min-height: 145px;
        max-height: 145px;
    }

    .srm-card__copy {
        width: 66%;
        padding: 15px 12px 16px 15px;
    }

    .srm-card--category .srm-card__copy {
        width: 60%;
        height: 100%;
        padding: 15px 12px 15px 15px;
        grid-template-rows: auto minmax(0, 1fr) auto;
        gap: 0;
    }

    .srm-card__visual {
        top: 12px;
        right: 10px;
        bottom: 12px;
        width: 36%;
    }

    .srm-card--category .srm-card__visual {
        width: 36%;
    }

    .srm-card--category .srm-card__title,
    .srm-card--category:hover .srm-card__title {
        font-size: 22px;
    }

    .srm-card--product-highlight .srm-card__copy {
        width: 62%;
        padding: 13px 12px 13px 15px;
    }

    .srm-card--product-highlight .srm-card__visual {
        width: 35%;
    }

    .srm-card--product-highlight .srm-card__title,
    .srm-card--product-highlight:hover .srm-card__title,
    .srm-card--product-highlight .srm-card__highlight-slogan,
    .srm-card--product-highlight:hover .srm-card__highlight-slogan {
        font-size: 18px;
    }
}

/* Hybrid category cards: same Stage Roads card frame, but the brand row
 * becomes a small category eyebrow and the product visual becomes a compact
 * 2-3 product collage. Product photography remains unblended on white. */
.srm-card__eyebrow,
.srm-card:hover .srm-card__eyebrow {
    display: block;
    min-height: 14px;
    margin: 0 0 15px !important;
    color: #a8a8a8 !important;
    font-size: 11px;
    font-weight: 700;
    line-height: 14px;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-decoration: none !important;
}

.srm-card__cta,
.srm-card:hover .srm-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 9px;
    color: #17191a !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.1;
    text-decoration: none !important;
}

.srm-card--category .srm-card__cta,
.srm-card--category:hover .srm-card__cta {
    align-self: end;
    justify-self: start;
    margin: 0;
    padding: 0;
    color: var(--srm-blue) !important;
    font-size: 14px;
    font-weight: 400;
}

.srm-card__cta > span {
    color: var(--srm-orange) !important;
    font-size: 18px;
    font-weight: 700;
    line-height: .8;
}

.srm-card--category .srm-card__cta > span,
.srm-card--category:hover .srm-card__cta > span {
    color: var(--srm-blue) !important;
}

.srm-card__visual--category {
    top: 10px;
    right: 8px;
    bottom: 10px;
    width: 43%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: visible;
    background-image: none !important;
    background-color: transparent !important;
    background-blend-mode: normal !important;
}

.srm-card__category-product {
    position: relative;
    display: block;
    flex: 0 0 58%;
    height: 82%;
    margin-left: -24%;
    background-color: #ffffff !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    background-blend-mode: normal !important;
    transform: none !important;
    transition: none !important;
}

.srm-card__category-product:first-child {
    margin-left: 0;
}

.srm-card__category-product--1 {
    z-index: 3;
    transform: translateY(7px) !important;
}

.srm-card__category-product--2 {
    z-index: 2;
    transform: translateY(-7px) !important;
}

.srm-card__category-product--3 {
    z-index: 1;
    transform: translateY(4px) !important;
}

.srm-card:hover .srm-card__category-product {
    transform: none;
    transition: none !important;
}

.srm-card:hover .srm-card__category-product--1 {
    transform: translateY(7px) !important;
}

.srm-card:hover .srm-card__category-product--2 {
    transform: translateY(-7px) !important;
}

.srm-card:hover .srm-card__category-product--3 {
    transform: translateY(4px) !important;
}
