/* Creo Elmen - Swiper Cards Widget Styles */

*, *::before, *::after { 
    box-sizing: border-box; 
}

.creo-swiper-wrapper {
    max-width: 1200px;
    margin: 24px auto;
    padding: 0 16px;
}

.creo-swiper-wrapper .swiper {
    overflow: hidden;
}

.creo-swiper-wrapper .swiper-slide {
    height: auto;
}

.creo-swiper-wrapper .swiper-slide.creo-clickable-card {
    cursor: pointer;
}

/* Banner */
.creo-banner {
    margin: 0 auto 8px auto;
    display: flex;
    height: 2rem;
    width: -moz-fit-content;
    width: fit-content;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    background: #f1e3cf;
    padding: 2px 12px;
}

.creo-banner-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.creo-banner-icon svg,
.creo-banner-icon i {
    width: 1em;
    height: 1em;
    display: block;
}

.creo-banner-text {
    text-align: center;
    font-size: 10px;
    line-height: 1.25rem;
    font-weight: 500;
    color: #333333;
}

/* Card */
.creo-card {
    background: #f5f6f8;
    border-radius: 18px;
    overflow: hidden;
}

.creo-media {
    position: relative;
    overflow: hidden;
    background: #fafafa;
    margin: 0;
}

.creo-media img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform .5s ease;
}

.creo-card:hover .creo-media img {
    transform: scale(1.04);
}

.creo-body {
    padding: 16px 16px 20px;
}

/* Pill */
.creo-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 3px 8px;
    border-radius: 6px;
    background: #f1e3cf;
    font-size: 12px;
}

/* Title */
.creo-title {
    margin: 10px 0 6px;
    font-size: 20px;
    color: #2b2f44;
    font-weight: 500;
    font-family: Georgia, Cambria, "Times New Roman", Times, serif;
}

.creo-title b {
    text-transform: uppercase;
}

.creo-show-1117 {
    display: none;
}

@media (min-width: 1117px) {
    .creo-show-1117 {
        display: inline;
    }
}

/* Tag */
.creo-tag {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    padding: 0 6px;
    margin-left: 6px;
    border-top: 1px solid #e6d3ad;
    border-bottom: 1px solid #e6d3ad;
    font-size: 10px;
    text-transform: uppercase;
    color: #333333;
    font-family: Georgia, Cambria, "Times New Roman", Times, serif;
    font-weight: normal;
    vertical-align: middle;
}

.creo-tag-tooltip {
    display: inline-flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    font-size: 10px;
    font-weight: normal;
    position: relative;
    z-index: 10;
}

.creo-label-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.creo-label-icon svg,
.creo-label-icon i {
    color: #E0BD70;
    width: 1em;
    height: 1em;
    display: inline-block;
}

.creo-tooltip {
    position: absolute;
    top: 100%;
    left: -100px;
    transform: translate(-50%, 6px);
    background: #fff;
    color: #333333;
    border: 1px solid #E0BD70;
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 12px;
    line-height: 1.5;
    display: block;
    text-align: left;
    writing-mode: horizontal-tb;
    min-width: 260px;
    max-width: 520px;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    z-index: 20;
    opacity: 0;
    pointer-events: auto;
    transition: opacity .15s ease, transform .15s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

.creo-label-icon:hover .creo-tooltip,
.creo-label-icon .creo-tooltip:hover {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* Specs */
.creo-specs {
    display: flex;
    flex-wrap: wrap;
    font-size: 14px;
    font-weight: 500;
    color: #333333;
    text-transform: uppercase;
}

.creo-specs span {
    white-space: nowrap;
}

.creo-specs span:not(:last-child)::after {
    content: "|";
    margin: 0 8px;
    color: #8a96a8;
}

/* Features */
.creo-features {
    display: grid;
    gap: 10px;
    margin: 14px 0 16px;
}

.creo-feat {
    display: grid;
    grid-template-columns: 28px 1fr auto;
    align-items: center;
    gap: 8px;
}

.creo-feat > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.creo-feat > span svg,
.creo-feat > span i {
    width: 1em;
    height: 1em;
    display: block;
}

.creo-bars {
    display: inline-flex;
    gap: 4px;
}

.creo-bar {
    width: 22px;
    height: 3px;
    border-radius: 999px;
    background: #c3bfb6;
}

.creo-bar.active {
    background: #333333;
}

/* Meta */
.creo-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.creo-price {
    font-family: Georgia, Cambria, "Times New Roman", Times, serif;
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1.5rem;
    color: #333333;
    margin: 0 0 10px 0;
}

@media (min-width: 768px) {
    .creo-price {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }
}

/* Button */
.creo-btn-cta {
    display: flex;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 32px;
    text-align: center;
    text-transform: uppercase;
    transition: background-color .2s ease, color .2s ease;
    border: 1px solid #2b2f44;
    background: #2b2f44;
    color: #fff;
    height: 48px;
    border-radius: 10px;
    font-size: 1.25rem;
    line-height: 1.75rem;
    width: 100%;
    font-weight: 500;
    position: relative;
    z-index: 2;
    text-decoration: none;
}

@media (min-width: 768px) {
    .creo-btn-cta {
        font-size: 1.125rem;
        line-height: 1.5rem;
    }
}

.creo-btn-cta:hover {
    background: #3f4563;
}

/* Swiper Controls */
.creo-swiper-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 36px;
}

.creo-swiper-wrapper .swiper-pagination-bullet {
    background: #999;
    opacity: .6;
    width: 48px;
    height: 3px;
    border-radius: 0;
    border: 1px solid #2b2f44;
}

.creo-swiper-wrapper .swiper-pagination-bullet-active {
    background: #2b2f44;
    opacity: 1;
    border-color: #2b2f44;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .creo-swiper-wrapper {
        padding: 0 8px;
    }
}

