/* =============================================
   Premium Marquee Suite — Styles
   ============================================= */

/* ─── Marquee Core ─── */
.pms-marquee {
    --pms-speed: 28s;
    width: 100%;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}

.pms-track {
    display: flex;
    align-items: center;
    width: max-content;
    gap: 24px;
    animation: pmsMarqueeX var(--pms-speed) linear infinite;
    will-change: transform;
}

.pms-vertical .pms-track {
    flex-direction: column;
    animation-name: pmsMarqueeY;
}

.pms-direction-reverse .pms-track {
    animation-direction: reverse;
}

.pms-pause-hover-yes:hover .pms-track {
    animation-play-state: paused;
}

.pms-visible-play-yes:not(.pms-in-view) .pms-track,
.pms-scroll-play-yes:not(.pms-scrolled) .pms-track {
    animation-play-state: paused;
}

.pms-item {
    flex: 0 0 auto;
    box-sizing: border-box;
}

.pms-marquee * {
    box-sizing: border-box;
}

/* ─── Text Marquee ─── */
.pms-text-wrap {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.pms-text-link {
    text-decoration: none;
}

.pms-text-item {
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    color: #6c5291;
}

.pms-text-separator {
    display: inline-flex;
    margin-left: 24px;
    color: #e88b45;
    font-size: 1em;
    line-height: 1;
}

/* ─── Image / Video ─── */
.pms-image-card,
.pms-video-card {
    position: relative;
    display: block;
    width: 320px;
    height: 220px;
    overflow: hidden;
    background: #f3f3f3;
    border-radius: 24px;
}

.pms-image-card img,
.pms-video-card video,
.pms-video-card iframe {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border: 0;
}

.pms-image-link,
.pms-card-link,
.pms-product-card,
.pms-post-card {
    text-decoration: none;
    color: inherit;
}

/* ─── Content Cards / Product / Post ─── */
.pms-content-card,
.pms-product-card,
.pms-post-card {
    display: block;
    width: 320px;
    overflow: hidden;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .12);
}

.pms-content-card img,
.pms-product-card img,
.pms-post-card img {
    width: 100%;
    height: 190px;
    display: block;
    object-fit: cover;
}

.pms-card-body,
.pms-product-body,
.pms-post-body {
    padding: 22px;
}

.pms-card-eyebrow,
.pms-post-date {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: .08em;
    opacity: .68;
}

.pms-card-title,
.pms-product-title,
.pms-post-title {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.16;
    color: #111;
}

.pms-card-desc,
.pms-post-excerpt {
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.5;
    color: #555;
}

.pms-card-desc p {
    margin: 0 0 8px;
}

.pms-card-desc p:last-child {
    margin-bottom: 0;
}

/* ─── Buttons (Card / Product / Post) ─── */
.pms-card-button,
.pms-product-button,
.pms-post-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all .3s ease;
    text-decoration: none;
    border: none;
    line-height: 1.4;
}

/* Full width modifier */
.pms-card-button.pms-btn-full {
    width: 100%;
    text-align: center;
    justify-content: center;
}

/* Button text wrapper */
.pms-card-button .pms-btn-text {
    display: inline-block;
    line-height: inherit;
}

/* Button icon wrapper */
.pms-card-button .pms-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.pms-card-button .pms-btn-icon i {
    font-size: 16px;
    line-height: 1;
}

.pms-card-button .pms-btn-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.pms-card-button .pms-btn-icon-right {
    margin-left: 8px;
}

.pms-card-button .pms-btn-icon-left {
    margin-right: 8px;
}

/* ─── Product Marquee ─── */
.pms-product-card {
    position: relative;
}

.pms-sale-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 7px 10px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.pms-product-price {
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 700;
    color: #111;
}

.pms-rating {
    margin-bottom: 8px;
}

.pms-rating .star-rating {
    float: none;
}

.pms-product-stock {
    display: block;
    margin-bottom: 12px;
    font-size: 13px;
    color: #555;
}

/* ─── Notice ─── */
.pms-notice {
    padding: 18px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 12px;
    color: #444;
}

/* ─── Keyframes ─── */
@keyframes pmsMarqueeX {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@keyframes pmsMarqueeY {
    from { transform: translateY(0); }
    to   { transform: translateY(-50%); }
}

/* ─── Responsive ─── */
@media (max-width: 767px) {
    .pms-text-item {
        font-size: 30px;
    }

    .pms-image-card,
    .pms-video-card {
        width: 260px;
        height: 170px;
    }

    .pms-content-card,
    .pms-product-card,
    .pms-post-card {
        width: 270px;
    }

    .pms-card-body,
    .pms-product-body,
    .pms-post-body {
        padding: 18px;
    }

    .pms-card-title,
    .pms-product-title,
    .pms-post-title {
        font-size: 19px;
    }
}
