/*
|--------------------------------------------------------------------------
| KLO Promotions
|--------------------------------------------------------------------------
*/

.klo-promotion {
    width: 100%;
}

.klo-promotion--rail .klo-promotion__card {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid #d5dde5;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(20, 43, 61, 0.1);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}

.klo-promotion--rail .klo-promotion__card:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(20, 43, 61, 0.14);
}

.klo-promotion--rail .klo-promotion__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.klo-promotion--rail .klo-promotion__image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #eef2f5;
}

.klo-promotion--rail .klo-promotion__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 250ms ease;
}

.klo-promotion--rail .klo-promotion__card:hover .klo-promotion__image {
    transform: scale(1.025);
}

.klo-promotion--rail .klo-promotion__image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 20px;
    color: #66727c;
    font-size: 13px;
    text-align: center;
}

.klo-promotion--rail .klo-promotion__content {
    padding: 13px 14px 15px;
}

.klo-promotion--rail .klo-promotion__name {
    margin: 0;
    padding-right: 34px;
    color: #25343e;
	font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif!important;
	font-size: 24px;
    font-weight: 500;
    line-height: 1.25;
	letter-spacing: -0.02em;
}

.klo-promotion--rail .klo-promotion__location {
    margin-top: 3px;
    color: #53616b;
    font-size: 12px;
    line-height: 1.4;
}

.klo-promotion--rail .klo-promotion__planner {
    position: absolute;
    top: 11px;
    right: 11px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 5px;
    background: transparent;
    border: 0;
    border-radius: 50%;
    color: #fff;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
    opacity: 1;
    cursor: pointer;
}

.klo-promotion--rail .klo-promotion__planner.is-saved {
    color: #d62839;
}

.klo-promotion--rail .klo-promotion__planner.is-saved path {
    fill: currentColor;
    stroke: currentColor;
}

.klo-promotion--rail .klo-promotion__planner svg {
    display: block;
    width: 25px;
    height: 25px;
    overflow: visible;
}

.klo-promotion--rail .klo-promotion__planner path {
    fill: transparent;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.klo-promotion--rail .klo-promotion__link:focus-visible {
    outline: 3px solid rgba(24, 91, 125, 0.4);
    outline-offset: -3px;
}
/*
|--------------------------------------------------------------------------
| Mega Menu Promotion
|--------------------------------------------------------------------------
*/

.klo-promotion--mega-menu {
    width: 100%;
}

.klo-promotion--mega-menu .klo-promotion__link {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    width: 100%;
    padding-top: 14px;
    color: inherit;
    text-decoration: none;
}

.klo-promotion--mega-menu .klo-promotion__mega-image-wrap {
    width: 104px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #eef2f5;
    border-radius: 12px;
}

.klo-promotion--mega-menu .klo-promotion__mega-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 220ms ease;
}

.klo-promotion--mega-menu .klo-promotion__link:hover
.klo-promotion__mega-image {
    transform: scale(1.035);
}

.klo-promotion--mega-menu .klo-promotion__mega-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 10px;
    color: #68757e;
    font-size: 11px;
    line-height: 1.3;
    text-align: center;
}

.klo-promotion--mega-menu .klo-promotion__mega-content {
    min-width: 0;
}

.klo-promotion--mega-menu .klo-promotion__mega-label {
    margin-bottom: 4px;
    color: #46677b;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.klo-promotion--mega-menu .klo-promotion__mega-name {
    color: #5f775f;
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: -0.015em;
}

.klo-promotion--mega-menu .klo-promotion__mega-meta {
    margin-top: 5px;
    overflow: hidden;
    color: #4b7287;
    font-size: 13px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.klo-promotion--mega-menu .klo-promotion__mega-cta {
    display: flex;
    gap: 5px;
    align-items: center;
    color: #26312b;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
	margin-left: 18px;
}

.klo-promotion--mega-menu .klo-promotion__mega-cta span {
    display: inline-block;
    transition: transform 180ms ease;
}

.klo-promotion--mega-menu .klo-promotion__link:hover
.klo-promotion__mega-cta span {
    transform: translateX(3px);
}

.klo-promotion--mega-menu .klo-promotion__link:focus-visible {
    outline: 3px solid rgba(24, 91, 125, 0.35);
    outline-offset: 4px;
}

@media (max-width: 767px) {

    .klo-promotion--mega-menu .klo-promotion__link {
        grid-template-columns: 78px minmax(0, 1fr);
        gap: 14px;
    }

    .klo-promotion--mega-menu .klo-promotion__mega-image-wrap {
        width: 78px;
    }

    .klo-promotion--mega-menu .klo-promotion__mega-name {
        font-size: 20px;
    }

    .klo-promotion--mega-menu .klo-promotion__mega-cta {
        display: none;
    }
}
/*
|--------------------------------------------------------------------------
| Mobile Rail Promotion
|--------------------------------------------------------------------------
|
| Compact promotional placement intended specifically for the mobile rail
| bottom sheet. This does not alter the existing rail or mega-menu displays.
|
*/

.klo-promotion--mobile-rail {
    width: 100%;
}

.klo-promotion--mobile-rail .klo-promotion__mobile-card {
    position: relative;
    width: 100%;
    min-height: 96px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #d5dde5;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(20, 43, 61, 0.08);
}

.klo-promotion--mobile-rail .klo-promotion__mobile-link {
    display: grid !important;
    grid-template-columns: 80px minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 96px !important;
    padding: 8px 46px 8px 8px !important;
    color: inherit;
    text-decoration: none !important;
}

.klo-promotion--mobile-rail .klo-promotion__mobile-image-wrap {
    width: 80px !important;
    height: 80px !important;
    min-width: 80px !important;
    overflow: hidden !important;
    background: #eef2f5;
    border-radius: 10px !important;
    box-shadow: none !important;
}

.klo-promotion--mobile-rail .klo-promotion__mobile-image {
    display: block !important;
    width: 80px !important;
    height: 80px !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.klo-promotion--mobile-rail .klo-promotion__mobile-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 6px;
    color: #66727c;
    font-size: 10px;
    line-height: 1.2;
    text-align: center;
}

.klo-promotion--mobile-rail .klo-promotion__mobile-content {
    min-width: 0;
    padding: 0 !important;
}

.klo-promotion--mobile-rail .klo-promotion__mobile-name {
    margin: 0 !important;
    padding: 0 !important;
    color: #25343e;
    font-family: "Inter Tight", Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.18 !important;
    letter-spacing: 0 !important;
}

.klo-promotion--mobile-rail .klo-promotion__mobile-meta {
    margin: 4px 0 0 !important;
    padding: 0 !important;
    overflow: hidden;
    color: #53616b;
    font-size: 12px !important;
    line-height: 1.25 !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.klo-promotion--mobile-rail .klo-promotion__mobile-planner {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    bottom: auto !important;
    left: auto !important;
    z-index: 3 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    margin: 0 !important;
    padding: 3px !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 50% !important;
    box-shadow: none !important;
    color: #5f775f !important;
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    cursor: pointer !important;
}

.klo-promotion--mobile-rail .klo-promotion__mobile-planner.is-saved {
    color: #d62839 !important;
}

.klo-promotion--mobile-rail .klo-promotion__mobile-planner.is-saved path {
    fill: currentColor !important;
    stroke: currentColor !important;
}

.klo-promotion--mobile-rail .klo-promotion__mobile-planner svg {
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    overflow: visible !important;
}

.klo-promotion--mobile-rail .klo-promotion__mobile-planner path {
    fill: transparent !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.klo-promotion--mobile-rail .klo-promotion__mobile-link:focus-visible {
    outline: 3px solid rgba(24, 91, 125, 0.35);
    outline-offset: -3px;
}

/*
|--------------------------------------------------------------------------
| Homepage Partners
|--------------------------------------------------------------------------
*/

.klo-homepage-partners {
    width: 100%;
}

.klo-homepage-partner {
    overflow: hidden;
    background: #fff;
    border: 1px solid #d5dde5;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(20, 43, 61, 0.10);
}

.klo-homepage-partner__link {
    display: block;
    color: inherit;
    text-decoration: none !important;
}

.klo-homepage-partner__image-wrap {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #eef2f5;
}

.klo-homepage-partner__image,
.klo-homepage-partner__placeholder {
    display: block;
    width: 100%;
    height: 100%;
}

.klo-homepage-partner__placeholder {
    background: #eef2f5;
}

.klo-homepage-partner__image {
    object-fit: cover;
    object-position: center;
    transition: transform 220ms ease;
}

.klo-homepage-partner__link:hover .klo-homepage-partner__image {
    transform: scale(1.025);
}

.klo-homepage-partner__content {
    padding: 12px 14px 14px;
}

.klo-homepage-partner__name {
    margin: 0 !important;
    color: #25343e;
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: 23px !important;
    font-weight: 500;
    line-height: 1.12 !important;
    letter-spacing: -0.02em;
}

.klo-homepage-partner__text {
    margin: 6px 0 0 !important;
    color: #53616b;
    font-size: 13px;
    line-height: 1.4;
}

.klo-homepage-partner__cta {
    display: inline-flex;
    gap: 5px;
    align-items: center;
    margin-top: 8px;
    color: #0d5c63;
    font-size: 12px;
    font-weight: 700;
}

.klo-homepage-partner__cta span {
    transition: transform 180ms ease;
}

.klo-homepage-partner__link:hover .klo-homepage-partner__cta span {
    transform: translateX(3px);
}

.klo-homepage-partner__link:focus-visible {
    outline: 3px solid rgba(24, 91, 125, 0.35);
    outline-offset: -3px;
}

/* Desktop rail: intentionally compact, image-dominant stacked cards. */
.klo-homepage-partners--rail {
    display: grid;
    gap: 24px;
}

.klo-homepage-partner--rail {
    width: 100%;
}

.klo-homepage-partner--rail .klo-homepage-partner__image-wrap {
    aspect-ratio: 2 / 1;
}

.klo-homepage-partner--rail .klo-homepage-partner__text {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/* Mobile homepage: horizontal, user-controlled swipe rail. */
.klo-homepage-partners--mobile {
    overflow: hidden;
}

.klo-homepage-partner--mobile {
    border-radius: 12px;
}

.klo-homepage-partner--mobile .klo-homepage-partner__image-wrap {
    border-radius: 12px 12px 0 0;
}

.klo-homepage-partner--mobile .klo-homepage-partner__image,
.klo-homepage-partner--mobile .klo-homepage-partner__placeholder {
    border-radius: 12px 12px 0 0;
}

.klo-homepage-partners__scroller {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 4px 16px 14px 2px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.klo-homepage-partners__scroller::-webkit-scrollbar {
    display: none;
}

.klo-homepage-partner--mobile {
    flex: 0 0 min(76vw, 320px);
    scroll-snap-align: start;
}

.klo-homepage-partner--mobile .klo-homepage-partner__name {
    font-size: 25px !important;
}

@media (min-width: 768px) {
    .klo-homepage-partners--mobile .klo-homepage-partner--mobile {
        flex-basis: 320px;
    }
}
