.shm-ideas-slider,
.shm-ideas-slider * {
    box-sizing: border-box;
}

.shm-ideas-slider {
    width: 100% !important;
    max-width: 100% !important;
    margin: 30px auto 38px;
    color: #1c1c1c;
    outline: none;
    overflow-anchor: none;
}

.shm-ideas-slider:focus-visible {
    outline: 3px solid rgba(43, 108, 176, .35);
    outline-offset: 8px;
}

.shm-idea-slide[hidden] {
    display: none !important;
}

.shm-idea-slide,
.shm-ideas-track,
.shm-idea-card,
.shm-idea-frame {
    width: 100%;
    max-width: 100%;
}

.shm-idea-slide {
    margin: 0;
}

.shm-idea-counter {
    min-height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 14px;
    color: #333;
    background: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: .045em;
    text-align: center;
    text-transform: uppercase;
}

.shm-idea-card {
    position: relative;
}

.shm-idea-frame {
    position: relative;
    isolation: isolate;
    border: 2px solid #181818;
    border-bottom: 0;
    background: #f0f0f0;
}

.shm-idea-image-wrap,
.shm-idea-image-wrap > div,
.shm-idea-image-wrap figure,
.shm-idea-image-wrap .wp-block-image {
    position: relative;
    z-index: 1;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

.shm-idea-image-wrap a {
    display: block;
    width: 100%;
    max-width: 100%;
}

.shm-idea-image-wrap img,
.shm-idea-primary-image {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.shm-idea-image-wrap figcaption {
    display: none;
}

/*
 * Desktop: JavaScript calculates the exact uncropped image width that fits
 * both the post column and the visible browser height. The card then shrinks
 * to that width, so portrait images do not create blank side panels.
 */
@media (min-width: 821px) {
    .shm-idea-card {
        width: var(--shm-card-width, 100%) !important;
        max-width: 100% !important;
        margin-right: auto !important;
        margin-left: auto !important;
    }

    .shm-idea-frame,
    .shm-idea-save {
        width: 100% !important;
        max-width: 100% !important;
    }

    .shm-idea-image-wrap img,
    .shm-idea-primary-image {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: none !important;
        object-fit: fill !important;
        object-position: center center !important;
    }
}

.shm-idea-frame > .shm-idea-pin,
a.shm-idea-pin {
    position: absolute !important;
    z-index: 30 !important;
    top: 12px !important;
    right: 12px !important;
    min-height: 38px;
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 14px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #e60023 !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .20) !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: .02em;
    text-decoration: none !important;
    text-transform: uppercase;
    pointer-events: auto !important;
    transform: none;
    transition: background-color .16s ease, transform .16s ease;
}

.shm-idea-frame > .shm-idea-pin:hover,
.shm-idea-frame > .shm-idea-pin:focus,
a.shm-idea-pin:hover,
a.shm-idea-pin:focus {
    background: #bd001d !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.shm-pin-icon {
    width: 18px;
    height: 18px;
    display: inline-grid;
    place-items: center;
    border: 2px solid currentColor;
    border-radius: 50%;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 10px;
    font-weight: 700;
}

.shm-idea-arrow {
    position: absolute;
    z-index: 31;
    top: 50%;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    padding: 0 !important;
    border: 3px solid #101010 !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: #101010 !important;
    box-shadow: 4px 4px 0 #000 !important;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color .15s ease, transform .15s ease;
    touch-action: manipulation;
}

.shm-idea-arrow:hover,
.shm-idea-arrow:focus {
    background: #f3f3f3 !important;
    color: #101010 !important;
    transform: translateY(-50%) scale(1.04);
}

.shm-idea-arrow svg {
    display: block;
}

.shm-idea-prev {
    left: -24px;
}

.shm-idea-next {
    right: -24px;
}

.shm-idea-save {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 18px;
    border: 2px solid #161616;
    border-top: 3px solid #d3a0de;
    background: #06060d;
    color: #fff !important;
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Black", sans-serif;
    font-size: clamp(21px, 3.5vw, 31px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.025em;
    text-align: center;
    text-decoration: none !important;
    text-transform: uppercase;
}

.shm-idea-save:hover,
.shm-idea-save:focus {
    background: #15151f;
    color: #fff !important;
}

.shm-save-icon {
    flex: 0 0 auto;
    color: #c990dc;
}

.shm-idea-title {
    margin: 18px 0 13px !important;
    padding: 0 !important;
    border: 0 !important;
    color: #171717 !important;
    background: transparent !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: clamp(18px, 2.4vw, 23px) !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.shm-idea-description {
    color: inherit;
    font-family: inherit;
    font-size: clamp(17px, 2.1vw, 20px);
    line-height: 1.65;
}

.shm-idea-description > :first-child,
.shm-idea-credit > :first-child {
    margin-top: 0 !important;
}

.shm-idea-description > :last-child,
.shm-idea-credit > :last-child {
    margin-bottom: 0 !important;
}

.shm-idea-description p {
    margin-top: 0;
    margin-bottom: 15px;
}

.shm-idea-description a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.shm-idea-credit {
    margin-top: 15px;
    color: #666;
    font-size: .85em;
    line-height: 1.45;
}

.shm-idea-credit p {
    margin-bottom: 0;
}

.shm-idea-slider-notice {
    max-width: 100%;
    margin: 18px auto;
    padding: 12px 15px;
    border-left: 4px solid #d63638;
    background: #fff4f4;
    color: #3c434a;
    font: 14px/1.5 Arial, Helvetica, sans-serif;
}

.shm-idea-slide.has-no-image .shm-idea-title {
    margin-top: 0 !important;
}

@media (max-width: 820px) {
    .shm-ideas-slider {
        width: 100% !important;
        max-width: 100% !important;
    }

    .shm-idea-card {
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    .shm-idea-image-wrap img,
    .shm-idea-primary-image {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: none !important;
        object-fit: contain !important;
        object-position: center center !important;
    }

    .shm-idea-arrow {
        width: 42px;
        height: 42px;
        border-width: 2px !important;
    }

    .shm-idea-prev {
        left: -18px;
    }

    .shm-idea-next {
        right: -18px;
    }
}

@media (max-width: 480px) {
    .shm-ideas-slider {
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 22px;
        margin-bottom: 30px;
    }

    .shm-idea-counter {
        min-height: 23px;
        padding-right: 14px;
        font-size: 8px;
    }

    .shm-idea-frame > .shm-idea-pin,
    a.shm-idea-pin {
        top: 8px !important;
        right: 8px !important;
        min-height: 34px;
        padding: 7px 11px !important;
        font-size: 10px !important;
    }

    .shm-pin-icon {
        width: 16px;
        height: 16px;
        font-size: 9px;
    }

    .shm-idea-arrow {
        width: 36px;
        height: 36px;
    }

    .shm-idea-arrow svg {
        width: 25px;
        height: 25px;
    }

    .shm-idea-prev {
        left: -13px;
    }

    .shm-idea-next {
        right: -13px;
    }

    .shm-idea-save {
        min-height: 48px;
        gap: 8px;
        padding: 8px 12px;
        font-size: 19px;
    }

    .shm-save-icon {
        width: 25px;
        height: 25px;
    }

    .shm-idea-title {
        margin-top: 14px !important;
        margin-bottom: 12px !important;
        font-size: 17px !important;
    }

    .shm-idea-description {
        font-size: 16px;
        line-height: 1.58;
    }
}

@media (prefers-reduced-motion: reduce) {
    .shm-idea-arrow,
    .shm-idea-pin {
        transition: none;
    }
}

/* Try On popup overlay - v2.5.5 close/reappear fix */
.shm-tryon-popup {
    display:flex !important;
    justify-content:space-between;
    align-items:center;
    height:64px;
    width:100%;
    max-width:360px;
    box-sizing:border-box;
    padding-right:5px;
    padding-left:5px;
    border-radius:32px;
    border:1px solid #b79625;
    background:#ffffff;
    position:absolute !important;
    bottom:12px;
    left:50%;
    transform:translateX(-50%);
    z-index:20;
    margin:0 auto;
    text-align:center;
    overflow:hidden;
    font-size:14px;
    line-height:16px;
    font-weight:bold;
}

/* JavaScript toggles this class when the visitor closes the Try On prompt.
 * It must use !important because the visible popup rule also uses !important. */
.shm-tryon-popup.is-shm-hidden {
    display:none !important;
}

.shm-tryon-copy {
    width:240px;
    box-sizing:border-box;
    padding-left:5px;
    margin:0;
    color:#000;
    font-family:"DM Serif Display", Georgia, serif;
    font-size:11px;
    line-height:16px;
    font-weight:400;
}

.shm-tryon-button {
    height:40px;
    min-width:90px;
    display:flex !important;
    align-items:center;
    justify-content:center;
    gap:5px;
    border:0 !important;
    border-radius:20px;
    background:#b79625;
    color:#fff !important;
    padding:9px 12px;
    text-decoration:none !important;
    font-family:Arial, sans-serif;
    font-size:14px;
    cursor:pointer;
    white-space:nowrap;
}


.shm-tryon-close {
    order:3;
    position:relative;
    top:auto;
    right:auto;
    transform:none;
    margin-left:5px;
    padding:4px;
    width:24px;
    height:24px;
    border:0;
    background:transparent;
    color:#000;
    cursor:pointer;
    font-size:20px;
    line-height:15px;
    box-sizing:border-box;
    flex:0 0 24px;
    z-index:2;
    pointer-events:auto;
    touch-action:manipulation;
}

@media(max-width:600px){
    .shm-tryon-popup{
        max-width:calc(100% - 20px);
    }
    .shm-tryon-copy{
        width:auto;
        flex:1;
        padding-left:20px;
        font-size:14px;
    }
    .shm-tryon-button{
        min-width:85px;
    }
}


/* Long post image mode */
.shm-idea-image-box {
    position: relative !important;
    display: block;
    width: 100%;
    margin: 1.5rem 0;
}

.shm-idea-image-box img {
    display: block;
    max-width: 100%;
    height: auto;
}

.shm-idea-image-box .shm-tryon-popup {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    z-index: 5;
}

.shm-idea-image-box .shm-idea-pin {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    z-index: 20 !important;
}

.shm-idea-image-box .shm-idea-save {
    z-index: 6;
}
