/**
 * Just Landed — New Arrivals Widget — VELOUR Pro Addons
 *
 * 
 * @since 1.0.0
 */

/* ============================================================
   SECTION WRAPPER
   ============================================================ */
.vnpa-just-landed {
    padding: 48px 0;
    background: #ffffff;
}

/* ============================================================
   CONTAINER — max-width + horizontal padding
   ============================================================ */
.vnpa-just-landed__container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 1024px) {
    .vnpa-just-landed__container {
        padding: 0 32px;
    }
}

/* ============================================================
   HEADER — subtitle + title + nav arrows
   ============================================================ */
.vnpa-just-landed__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

/* ---- Subtitle / Tag ---- */
.vnpa-just-landed__subtitle {
    font-family: 'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', monospace;
    font-size: 10px !important;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 600;
    color: #FFB800;
    margin-bottom: 8px;
    line-height: 1;
}

/* ---- Title ---- */
.vnpa-just-landed__title {
    font-family: 'Sora', 'Inter', sans-serif;
    font-size: 24px !important;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.2;
}

@media (min-width: 1024px) {
    .vnpa-just-landed__title {
        font-size: 36px !important;
    }
}

/* ============================================================
   NAVIGATION ARROWS
   ============================================================ */
.vnpa-just-landed__nav {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.vnpa-just-landed__nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #E5E7EB;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6B7280;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    outline: none;
}

.vnpa-just-landed__nav-btn:hover {
    border-color: #111827;
    color: #111827;
}

.vnpa-just-landed__nav-btn svg {
    width: 18px;
    height: 18px;
    display: block;
}

/* ============================================================
   SCROLLER — horizontal scrollable container
   ============================================================ */
.vnpa-just-landed__scroller {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 0 16px 16px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.vnpa-just-landed__scroller::-webkit-scrollbar {
    display: none;
}

@media (min-width: 1024px) {
    .vnpa-just-landed__scroller {
        padding: 0 32px 16px;
        gap: 16px;
    }
}

/* ============================================================
   PRODUCT CARD
   ============================================================ */
.vnpa-just-landed__card {
    flex-shrink: 0;
    width: calc((100% - 12px) / 2) !important;
    min-width: calc((100% - 12px) / 2) !important;
    display: block;
    background: #FAFBFC;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #E5E7EB;
    position: relative;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.vnpa-just-landed__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

@media (min-width: 500px) {
    .vnpa-just-landed__card {
        width: calc((100% - 24px) / 3) !important;
        min-width: calc((100% - 24px) / 3) !important;
    }
}

@media (min-width: 1024px) {
    .vnpa-just-landed__card {
        width: 280px !important;
        min-width: 280px !important;
    }
}

/* ---- Badge ---- */
.vnpa-just-landed__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    background: #FFB800;
    color: #111827;
    font-size: 10px !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    line-height: 1.4;
}

/* ---- Image ---- */
.vnpa-just-landed__image-wrap {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f3f4f6;
}

.vnpa-just-landed__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.vnpa-just-landed__card:hover .vnpa-just-landed__image-wrap img {
    transform: scale(1.06);
}

/* ---- Info ---- */
.vnpa-just-landed__info {
    padding: 12px;
}

/* ---- Brand ---- */
.vnpa-just-landed__brand {
    font-size: 10px !important;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
    line-height: 1;
}

/* ---- Product Title ---- */
.vnpa-just-landed__product-title {
    font-size: 14px !important;
    font-weight: 500;
    margin: 2px 0 0;
    line-height: 1.3;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---- Price ---- */
.vnpa-just-landed__price {
    font-size: 14px !important;
    font-weight: 700;
    color: #111827;
    display: block;
    margin-top: 4px;
    line-height: 1;
}

.vnpa-just-landed__price--sale {
    color: #FF3D81;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.vnpa-just-landed__price-original {
    font-size: 12px !important;
    font-weight: 400;
    color: #6B7280;
    text-decoration: line-through;
}

/* ============================================================
   EMPTY STATE
   ============================================================ */
.vnpa-just-landed__empty {
    text-align: center;
    padding: 40px 20px;
    color: #6B7280;
    font-size: 14px;
}
