.ucp-content-area {
    padding-top:10px;
    padding-bottom: 96px;
}

/* ════════════════════════════════════════════════════════════
   TOP FILTER STRIP  (matches MM .ucp-filter-card)
   ════════════════════════════════════════════════════════════ */
.ucp-filter-bg {
    background-color: #efefef;
}

.ucp-filter-card {
    background: #efefef;
    padding: 14px 10px;
    border: none;
}

.ucp-filter-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0;
}

.ucp-filter-group {
    flex: 1 1 220px;
    max-width: 300px;
    min-width: 170px;
    margin: 5px 10px;
    position: relative;
    border: 2px solid #efefef;
    box-shadow: 0 3px 18px 0 rgba(0,0,0,.10);
}

    .ucp-filter-group select.ucp-filter-select {
        display: block;
        width: 100%;
        height: 50px;
        border: none;
        border-radius: 0;
        padding: 0 38px 0 16px;
        font-size: 17px;
        color: #1C326B;
        background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 10 7'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%231C326B' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center;
        -webkit-appearance: none;
        appearance: none;
        cursor: pointer;
        transition: background-color .15s;
    }

        .ucp-filter-group select.ucp-filter-select:focus {
            outline: none;
        }

    /* active filter — orange border (matches MM .ucp-has-value) */
    .ucp-filter-group.ucp-has-value {
        border: 2px solid #FF8201;
    }

        .ucp-filter-group.ucp-has-value select.ucp-filter-select {
            font-weight: 700;
            color: #1C326B;
        }

/* Clear-all — orange animated underline (matches MM) */
.ucp-clear-filter-wrap {
    flex: 0 0 auto;
    margin: 5px 10px;
    display: none;
    align-items: center;
}

.ucp-clear-filter-btn {
    position: relative;
    background: transparent;
    border: none;
    font-size: 17px;
    color: #4d4d4d;
    padding: 3px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

    .ucp-clear-filter-btn:hover {
        background: #eeeeee;
        color: #4d4d4d;
    }

    .ucp-clear-filter-btn::after {
        content: '';
        width: 0;
        height: 2px;
        background: #FF8201;
        position: absolute;
        left: 0;
        bottom: -6px;
        transition: width .2s ease-in-out;
    }

    .ucp-clear-filter-btn:hover::after {
        width: 100%;
    }

@media (max-width: 767px) {
    .ucp-filter-group {
        max-width: 100%;
        flex: 1 1 100%;
    }

    .ucp-clear-filter-wrap {
        width: calc(100% - 20px);
        justify-content: center;
    }
}

/* ════════════════════════════════════════════════════════════
   RESULTS BAR
   ════════════════════════════════════════════════════════════ */
.ucp-results-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px 0 8px;
    border-bottom: 1px solid #eef0f5;
    margin-bottom: 18px;
}

.ucp-results-info {
    display: flex;
    flex-direction: column;
}

.ucp-results-count {
    font-size: 16px;
    color: #4d4d4d;
    margin: 0;
}

/* sort toolbar (sits above the cards, right-aligned) */
.ucp-sort-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ucp-sort-label {
    font-size: 15px;
    color: #4d4d4d;
    margin: 0;
    white-space: nowrap;
}

.ucp-sort-select {
    height: 40px;
    border: 1px solid #d8dbe4;
    border-radius: 4px;
    padding: 0 34px 0 12px;
    font-size: 15px;
    color: #1C326B;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 10 7'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%231C326B' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

    .ucp-sort-select:focus {
        outline: none;
        border-color: #1C326B;
    }

@media (max-width: 575px) {
    .ucp-results-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .ucp-sort-wrap {
        width: 100%;
    }

    .ucp-sort-select {
        flex: 1;
    }
}


/* ════════════════════════════════════════════════════════════
   EQUAL-HEIGHT CARD GRID
   Makes each row of cards stretch to the tallest card in that row.
   .ucp-grid is the .row that wraps the card columns (.inv-card).
   ════════════════════════════════════════════════════════════ */
.ucp-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}
 
    .ucp-grid::before,
    .ucp-grid::after {
        display: none;
    }

    /*.ucp-grid > .inv-card-used {
        display: flex;
        float: none;
    }

        .ucp-grid > .inv-card-used > .ucp-card {
            width: 100%;
            height: 100%;
        }*/

/* ════════════════════════════════════════════════════════════
   CARD  (.inv-card = column wrapper; .ucp-card = inner card)
   ════════════════════════════════════════════════════════════ */
.ucp-card {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    background: #fff;
    border: 1px solid #eef0f5;
    box-shadow: 0 3px 18px 0 rgba(0,0,0,.12);
    overflow: hidden;
    margin-bottom: 24px;
    transition: box-shadow .2s, transform .2s;
    position: relative;
}

    .ucp-card:hover {
        box-shadow: 0 8px 32px rgba(28,50,107,.16);
        transform: translateY(-2px);
    }

/* image zone */
.ucp-card-imgzone {
    position: relative;
    background: #EDEDED;
}

    .ucp-card-imgzone .ucp-hero-img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        display: block;
        margin: 0 !important;
    }

/* sale badge */
.ucp-badge {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    padding: 8px 10px;
    font-size: 20px;
    color: #fff;
    font-style: italic;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
}

.ucp-badge--sale {
    background: #FF8201;
}

/* price overlay (direct-sale) */
.ucp-price-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,.8);
    width: 100%;
    padding: 12px 14px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.ucp-price-current {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.ucp-price-label {
    display: block;
    font-size: 11px;
    color: rgba(255,255,255,.75);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 3px;
    font-style: normal;
    font-weight: 400;
}

.ucp-call-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #fff;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 20px;
    padding: 5px 11px;
    font-size: 14px;
    color: #1C326B;
    text-decoration: none;
    transition: background .15s;
    white-space: nowrap;
}
.ucp-call-ico {
    height: 14px;
    width: 14px;
}
    .ucp-call-pill:hover {
        background: #fff;
        color: #1C326B;
    }

/* thumbnail strip */
.ucp-thumbstrip {
    display: flex;
    gap: 4px;
    padding: 6px;
    background: #f8f9fc;
    border-top: 1px solid #eef0f5;
}

    .ucp-thumbstrip a {
        flex: 1;
        position: relative;
        display: block;
        overflow: hidden;
        text-decoration: none;
    }

    .ucp-thumbstrip img {
        width: 100%;
        height: 64px;
        object-fit: cover;
        display: block;
    }

.ucp-thumb-tag {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
}

/* body */
.ucp-card-body {
    padding: 16px 16px 18px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.ucp-card-title {
    font-size: 24px;
    font-weight: bold;
    color: #1C326B;
    line-height: 1.3;
    margin: 0px 0px 10px;
    min-height: 2.6em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ucp-card-location {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 18px;
    color: #4D4D4D;
    margin-bottom: 10px;
}

.ucp-card-units {
    font-size: 15px;
    color: #4D4D4D;
    margin: 0 0 12px;
}

    .ucp-card-units strong {
        color: #1C326B;
    }

/* direct-sale meta tiles */
.ucp-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 14px;
}

.ucp-meta-tile {
    background: #f5f6fa;
    border-radius: 6px;
    padding: 10px 12px;
}

.ucp-meta-tile--full {
    grid-column: span 2;
}

.ucp-meta-tile .ucp-meta-k {
    font-size: 12px;
    color: #4d4d4d;
    margin: 0 0 4px;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.ucp-meta-tile .ucp-meta-v {
    font-size: 17px;
    font-weight: 600;
    color: #1C326B;
    margin: 0;
    line-height: 1.4;
}

.ucp-meta-tile--full .ucp-meta-v {
    font-size: 15px;
    font-weight: 400;
    color: #4d4d4d;
}

/* grade rows */
.ucp-grade-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid #EDEDED;
}

    .ucp-grade-row:first-of-type {
        border-top: none;
    }

    .ucp-grade-row .ucp-grade-icon {
        flex: 0 0 auto;
    }

        .ucp-grade-row .ucp-grade-icon img {
            height: 34px;
            width: auto;
            display: block;
        }

.ucp-grade-units {
    flex: 1 1 auto;
    font-size: 15px;
    color: #1C326B;
    font-weight: 600;
    margin: 0;
}

.ucp-grade-price {
    flex: 0 0 auto;
    text-align: right;
    font-size: 13px;
    color: #4d4d4d;
    margin: 0;
    line-height: 1.3;
}

    .ucp-grade-price span {
        display: block;
        color: #1C326B;
        font-weight: 600;
        font-size: 15px;
    }

.ucp-card-divider {
    border: none;
    border-top: 1px solid #EDEDED;
    margin: 4px 0 14px;
}

/* CTA — pins to bottom */
.ucp-card-cta {
    margin-top: auto;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

    .ucp-card-cta .ps-brand-btn {
        margin: 0 !important;
        flex: 1 1 auto;
    }

        .ucp-card-cta .ps-brand-btn a {
            display: block;
            text-align: center;
            white-space: nowrap;
        }

/* ════════════════════════════════════════════════════════════
   LOAD MORE
   ════════════════════════════════════════════════════════════ */
.ucp-loadmore-wrap {
    text-align: center;
    padding: 18px 0 8px;
}

/* card model / asset line */
.ucp-card-model {
    font-size: 16px;
    color: #4d4d4d;
    margin-bottom: 10px;
}

/* page indicator on results bar */
.ucp-results-page {
    color: #999;
}

/* off-screen hooks the reserve/buy modal reads */
.ucp-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* image link wrapper */
.ucp-card-imglink {
    display: block;
    text-decoration: none;
}

/* ════════════════════════════════════════════════════════════
   PAGINATION  (matches MM .ucp-pagination)
   ════════════════════════════════════════════════════════════ */
.ucp-pagination {
    display: flex;
    justify-content: center;
    gap: 2px;
    padding: 10px 0;
    flex-wrap: wrap;
}

.ucp-page-btn {
    width: 36px;
    height: 36px;
    line-height: 34px;
    text-align: center;
    font-size: 16px;
    color: #1C326B;
    cursor: pointer;
    text-decoration: none;
    background: #fff;
    display: inline-block;
    border-radius: 50%;
    transition: background .12s, color .12s, border-color .12s;
}

    .ucp-page-btn:not(.ucp-page-btn--arrow):hover {
        background: #f0f3fa;
    }

    .ucp-page-btn.active {
        background: #1C326B;
        color: #fff;
    }

    .ucp-page-btn.disabled {
        opacity: .4;
        pointer-events: none;
    }

.ucp-page-btn--arrow {
    font-size: 0;
    position: relative;
    width: 30px;
    height: 30px;
    line-height: 1;
}

    .ucp-page-btn--arrow::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        transition: transform .15s ease-in-out;
    }

    .ucp-page-btn--arrow[aria-label="Previous"]::after {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='14' viewBox='0 0 10 14'%3E%3Cpath d='M8 1L2 7l6 6' stroke='%231C326B' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
        background-size: 10px;
    }

    .ucp-page-btn--arrow[aria-label="Next"]::after {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='14' viewBox='0 0 10 14'%3E%3Cpath d='M2 1l6 6-6 6' stroke='%231C326B' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
        background-size: 10px;
    }

    .ucp-page-btn--arrow[aria-label="Previous"]:not(.disabled):hover::after {
        transform: translateX(-2px);
    }

    .ucp-page-btn--arrow[aria-label="Next"]:not(.disabled):hover::after {
        transform: translateX(2px);
    }

/* ════════════════════════════════════════════════════════════
   EMPTY STATE
   ════════════════════════════════════════════════════════════ */
.ucp-empty-wrap {
    max-width: 620px;
    margin: 24px auto 40px;
    background: #fff;
    box-shadow: 0 2px 16px rgba(0,0,0,.08);
    padding: 50px;
    text-align: center;
}

.ucp-empty-title {
    font-size: 22px;
    color: #1C326B;
    margin: 0 0 10px;
    line-height: 1.3;
}

.ucp-empty-sub {
    font-size: 15px;
    color: #666;
    max-width: 440px;
    margin: 0 auto 22px;
    line-height: 1.6;
}

.ucp-empty-phone {
    display: block;
    font-size: 14px;
    color: #1C326B;
    text-decoration: underline;
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
    .ucp-card-imgzone .ucp-hero-img {
        height: 200px;
    }
}

/* ════════════════════════════════════════════════════════════
   PRODUCT DETAIL PAGE  (mirrors MM ucd-* — MMPS branded)
   ════════════════════════════════════════════════════════════ */
.ucd-wrap {
    padding-top: 30px;
}

/* gallery */
.ucd-hero {
    position: relative;
    background: #EDEDED;
    overflow: hidden;
}

.ucd-hero-img {
    width: 100%;
    height: 430px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    display: block;
    transition: opacity .2s;
}

    .ucd-hero-img:hover {
        opacity: .92;
    }

@media (max-width: 767px) {
    .ucd-hero-img {
        height: 240px;
    }
}

.ucd-thumbs {
    display: flex;
    overflow-x: auto;
    gap: 6px;
    padding: 8px 0;
    scrollbar-width: none;
    flex-wrap: nowrap;
    margin-top: 8px;
}

    .ucd-thumbs::-webkit-scrollbar {
        display: none;
    }

    .ucd-thumbs a {
        display: block;
        flex: 0 0 84px;
        text-decoration: none;
    }

.ucd-thumb {
    width: 84px;
    height: 60px;
    background-size: cover;
    background-position: center;
    background-color: #EDEDED;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color .15s;
    position: relative;
    overflow: hidden;
}

    .ucd-thumb.active {
        border-color: #FF8201;
    }

    .ucd-thumb:hover {
        border-color: #1C326B;
    }

.ucd-thumb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.ucd-soldout-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.ucd-soldout-badge {
    background: #FA5252;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    padding: 14px 36px;
    text-transform: uppercase;
}

/* sticky info panel */
.ucd-panel {
    background: #fff;
    box-shadow: 0 2px 16px rgba(0,0,0,.10);
    padding: 28px 26px 24px;
    position: sticky;
    top: 20px;
}

.ucd-tag {
    display: inline-block;
    color: #fff;
    margin-bottom: 10px;
    padding: 8px 14px;
    font-size: 20px;
    font-style: italic;
    font-weight: 700;
    text-transform: uppercase;
}

.ucd-tag--sale {
    background: #FF8201;
}

.ucd-tag--markdown {
    background: #1C326B;
    border-left: 4px solid #FF8201;
}

.ucd-tag--new {
    background: #FF8201;
}

.ucd-tag--reduced {
    background: #FA5252;
}

.ucd-tag--asis {
    background: #4D4D4D;
}

.ucd-title {
    margin-bottom: 10px !important
}

.ucd-model {
    font-size: 17px;
    color: #4D4D4D;
    margin: 0 0 16px;
}

.ucd-price-block {
    margin-bottom: 20px;
}

.ucd-price-label {
    display: block;
    font-size: 16px;
    color: #4d4d4d;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.ucd-price-current {
    font-size: 30px;
    font-weight: 700;
    color: #1C326B;
    line-height: 1;
}

    .ucd-price-current.reduced {
        color: #FA5252;
    }

.ucd-price-original {
    font-size: 16px;
    color: #4D4D4D;
    text-decoration: line-through;
    margin-left: 8px;
}

.ucd-price-soldout {
    font-size: 25px;
    font-weight: 700;
    color: #FA5252;
}

.ucd-meta-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 18px;
    color: #4D4D4D;
    margin-bottom: 10px;
    line-height: 1.5;
}

    .ucd-meta-row svg {
        flex-shrink: 0;
        margin-top: 4px;
    }

.ucd-meta-label {
    font-weight: 700;
    color: #1C326B;
    margin-right: 4px;
}

.ucd-divider {
    border: none;
    border-top: 1px solid #EDEDED;
    margin: 20px 0;
}

.ucd-section-heading {
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    color: #1C326B;
    margin-bottom: 12px;
}

.ucd-features {
    font-size: 18px;
    color: #4D4D4D;
    line-height: 1.6;
}

.ucd-disclaimer {
    font-size: 16px;
    color: #4D4D4D;
    margin-top: 15px;
    line-height: 1.5;
}

.ucd-serial {
    font-size: 16px;
    color: #1C326B !important;
    margin-top: 8px;
}

.ucd-note-info {
    font-size: 14px;
    color: #009CDE;
    margin-bottom: 6px;
}

.ucd-note-warn {
    font-size: 14px;
    color: #FA5252;
    font-weight: 700;
    margin-bottom: 6px;
}

/* detail-page grade rows reuse .ucp-grade-* */

/* detail CTA */
.ucd-cta-area {
    margin-top: 4px;
}

    .ucd-cta-area .ps-brand-btn {
        margin: 0 0 10px !important;
    }

        .ucd-cta-area .ps-brand-btn a {
            display: block;
            text-align: center;
        }

.ucd-cta-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.ucd-soldout-msg {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px;
    background: #EDEDED;
    color: #4D4D4D;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

@media (max-width: 991px) {
    .ucd-panel {
        position: static;
        margin-top: 24px;
    }
}

/* MM-style solid blue hero band */
.ucp-hero {
    padding: 40px 0px;
    display: flex;
    align-items: center;
    background-color: #1C326B;
    width: 100%;
    position: relative;
   
    background-repeat: no-repeat, no-repeat;
    background-position: top -90px right -550px, left -550px bottom -248px;
}

   

        .ucp-hero .ucp-hero-sub a {
            color: #FF8201;
            text-decoration: underline;
        }

@media (max-width: 767px) {
}
@media (min-width: 1201px) {
    .ucp-hero {
        background-image: url(../../Contents/images/algolia/ps-pattern3.webp), url(../../Contents/images/algolia/ps-pattern3.webp);
    }
}

.ucd-oos-panel {
    border-left: 4px solid #FF8201;
    background: #EDEDED;
    padding: 20px 24px;
    margin-top: 24px;
}

.ucd-oos-panel-title {
    font-size: 20px;
    color: #1C326B;
    line-height: 1.5;
    margin: 0 0 12px;
}

.ucd-oos-panel-text {
    font-size: 16px;
    color: #4d4d4d;
    line-height: 1.6;
    margin: 0;
}
.ucp-img-soon, .ucd-img-soon {
    background-color: #EDEDED;
    opacity: .85;
    cursor: default;
}
.ucd-thumb-video {
    position: relative;
}

.ucd-hero-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(28,50,107,.85);
    color: #fff;
    font-size: 26px;
    line-height: 64px;
    text-align: center;
}

.ucp-card-video-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(28,50,107,.9);
    color: #fff;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 3px;
}
/* ── PDP lightbox (ported from MM bd-lightbox) ── */
.ucd-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.9);
}

    .ucd-lightbox.is-open {
        display: flex;
    }

.ucd-lightbox-img {
    max-width: 90%;
    max-height: 85%;
    object-fit: contain;
    box-shadow: 0 4px 30px rgba(0,0,0,.5);
}

.ucd-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: #fff;
    font-size: 42px;
    line-height: 1;
    cursor: pointer;
}

.ucd-lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.12);
    border: none;
    color: #fff;
    font-size: 40px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .ucd-lightbox-arrow:hover {
        background: rgba(255,255,255,.25);
    }

.ucd-lightbox-arrow--prev {
    left: 24px;
}

.ucd-lightbox-arrow--next {
    right: 24px;
}

.ucd-lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 15px;
    letter-spacing: .5px;
}

/* hero + thumbs */
.ucd-hero-link {
    cursor: zoom-in;
}

.ucd-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: nowrap;
    overflow: hidden;
}

.ucd-thumb-link {
    position: relative;
    flex: 0 0 auto;
}

.ucd-thumb {
    width: 72px;
    height: 54px;
    background-size: cover;
    background-position: center;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
}

    .ucd-thumb.active {
        border-color: #FF8201;
    }

.ucd-thumb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(28,50,107,.78);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    border-radius: 4px;
}

/* video link */
.ucd-video-link {
    display: inline-block;
    margin-top: 10px;
    color: #1C326B;
    font-size: 14px;
    text-decoration: none;
}

    .ucd-video-link:hover {
        text-decoration: underline;
    }

/* coming-soon hero */
.ucd-img-soon {
    opacity: .85;
}
.ucd-hero-link {
    cursor: zoom-in;
    display: block;
}

.ucd-hero-img {
    width: 100%;
    height: 420px;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
}

.ucd-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: nowrap;
    overflow: hidden;
}

.ucd-thumb-link {
    position: relative;
    flex: 0 0 auto;
}

.ucd-thumb {
    width: 78px;
    height: 58px;
    background-size: cover;
    background-position: center;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
}

    .ucd-thumb.active {
        border-color: #FF8201;
    }

.ucd-thumb-video::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(28,50,107,.35);
    border-radius: 4px;
}

.ucd-thumb-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: #fff;
    font-size: 20px;
    z-index: 2;
}

.ucd-thumb-overflow {
    position: absolute;
    inset: 0;
    background: rgba(28,50,107,.78);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    border-radius: 4px;
}

.ucd-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.9);
}

    .ucd-lightbox.is-open {
        display: flex;
    }

.ucd-lightbox-img, .ucd-lightbox-video {
    max-width: 90%;
    max-height: 85%;
    object-fit: contain;
    background: #000;
    box-shadow: 0 4px 30px rgba(0,0,0,.5);
}

.ucd-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: #fff;
    font-size: 42px;
    line-height: 1;
    cursor: pointer;
}

.ucd-lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.12);
    border: none;
    color: #fff;
    font-size: 40px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
}

    .ucd-lightbox-arrow:hover {
        background: rgba(255,255,255,.25);
    }

.ucd-lightbox-arrow--prev {
    left: 24px;
}

.ucd-lightbox-arrow--next {
    right: 24px;
}

.ucd-lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 15px;
}

.ucd-img-soon {
    opacity: .85;
}

.ucd-video-links {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ucd-video-link {
    display: inline-block;
    color: #1C326B;
    font-size: 14px;
    text-decoration: underline;
}

    .ucd-video-link:hover {
        color: #FF8201;
    }

/* fixed-height slider so mixed-aspect images don't jump */
.ucd-gallery .slider-for .slick-slide img,
.ucd-gallery .slider-for .ucd-video-slide img {
    width: 100%;
    height: 460px;
    object-fit: cover; /* fills 460px box, crops edges — no distortion */
    object-position: center;
}

/* thumbnails: keep them uniform too */
.ucd-gallery .slider-nav .slick-slide img {
    height: 90px;
    object-fit: cover;
    object-position: center;
}
@media (max-width: 767px) {
    .ucd-gallery .slider-for .slick-slide img,
    .ucd-gallery .slider-for .ucd-video-slide img {
        height: 300px;
    }

    .ucd-gallery .slider-nav .slick-slide img {
        height: 64px;
    }
}
/* play-button image overlay (main slide + thumbnail) */
.ucd-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    pointer-events: none; /* clicks pass through to the <a> beneath */
    z-index: 3;
}

.ucd-gallery .slider-for .ucd-video-slide .ucd-play-btn--main {
    width: 72px !important;
    height: 72px !important;
}

.ucd-gallery .slider-nav  .ucd-play-btn--thumb {
    width: 28px !important;
    height: 28px !important;
}

/* separate "Watch video" link below the strip */
.ucd-video-links {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ucd-video-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1C326B;
    font-size: 20px;
    text-decoration: underline;
    cursor: pointer;
}

    .ucd-video-link:hover {
        color: #FF8201;
    }

.ucd-video-link-ico {
    width: 18px;
    height: 18px;
}
