/* =========================================================
   NEW ARRIVAL CAROUSEL
   Requires: theme.css + Owl Carousel
========================================================= */

.hna-section {
    position: relative;
    overflow: hidden;
    padding-block: var(--vw-section-space);
    background: var(--vw-color-background);
    color: var(--vw-color-text);
}

.hna-section .container {
    width: min(100%, var(--vw-container-max));
    margin-inline: auto;
    padding-inline: var(--vw-container-gutter);
}

.hna-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--vw-space-6);
    margin-bottom: var(--vw-space-8);
}

.hna-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--vw-space-2);
    margin-bottom: var(--vw-space-2);
    color: var(--vw-color-primary);
    font-size: var(--vw-font-size-xs);
    font-weight: var(--vw-font-weight-bold);
    line-height: var(--vw-line-height-heading);
    letter-spacing: var(--vw-letter-spacing-wide);
}

.hna-eyebrow::before {
    width: var(--vw-space-6);
    height: var(--vw-border-width);
    background: var(--vw-color-primary);
    content: "";
}

.hna-header h2 {
    margin: var(--vw-space-0);
    color: var(--vw-color-heading);
    font-size: var(--vw-font-size-2xl);
    font-weight: var(--vw-font-weight-bold);
    line-height: var(--vw-line-height-heading);
    letter-spacing: var(--vw-letter-spacing-tight);
}

.hna-navigation {
    display: flex;
    align-items: center;
    gap: var(--vw-space-2);
    flex: 0 0 auto;
}

.hna-nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--vw-control-height);
    height: var(--vw-control-height);
    padding: var(--vw-space-0);
    border: var(--vw-border);
    border-radius: var(--vw-radius-circle);
    background: var(--vw-color-surface);
    color: var(--vw-color-heading);
    box-shadow: var(--vw-shadow-xs);
    cursor: pointer;
    transition:
        color var(--vw-transition-fast),
        background-color var(--vw-transition-fast),
        border-color var(--vw-transition-fast),
        box-shadow var(--vw-transition-fast),
        transform var(--vw-transition-fast);
}

.hna-nav-button:hover {
    border-color: var(--vw-color-primary);
    background: var(--vw-color-primary);
    color: var(--vw-color-white);
    box-shadow: var(--vw-shadow-primary);
    transform: translateY(calc(var(--vw-space-1) * -1));
}

.hna-nav-button:active {
    background: var(--vw-color-primary-active);
    transform: translateY(var(--vw-space-0));
}

.hna-nav-button i {
    font-size: var(--vw-font-size-sm);
    line-height: 1;
    pointer-events: none;
}

.hna-carousel {
    position: relative;
}

.hna-carousel .owl-stage {
    display: flex;
}

.hna-carousel .owl-item {
    display: flex;
    min-width: var(--vw-space-0);
}

.hna-slide {
    display: flex;
    width: 100%;
    height: 100%;
}

.hna-slide > * {
    width: 100%;
}

.hna-carousel.owl-theme .owl-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--vw-space-2);
    margin-top: var(--vw-space-8);
}

.hna-carousel.owl-theme .owl-dots .owl-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--vw-space-3);
    height: var(--vw-space-3);
    padding: var(--vw-space-0);
    border: var(--vw-border-width) solid transparent;
    border-radius: var(--vw-radius-pill);
    background: transparent;
    transition:
        width var(--vw-transition-fast),
        border-color var(--vw-transition-fast);
}

.hna-carousel.owl-theme .owl-dots .owl-dot span {
    width: var(--vw-space-2);
    height: var(--vw-space-2);
    margin: var(--vw-space-0);
    border-radius: var(--vw-radius-pill);
    background: var(--vw-color-primary-muted);
    transition:
        width var(--vw-transition-fast),
        background-color var(--vw-transition-fast);
}

.hna-carousel.owl-theme .owl-dots .owl-dot:hover span {
    background: var(--vw-color-primary-hover);
}

.hna-carousel.owl-theme .owl-dots .owl-dot.active {
    width: var(--vw-space-8);
    border-color: var(--vw-color-primary-muted);
}

.hna-carousel.owl-theme .owl-dots .owl-dot.active span {
    width: var(--vw-space-5);
    background: var(--vw-color-primary);
}

@media (max-width: 767.98px) {
    .hna-header {
        align-items: center;
        gap: var(--vw-space-4);
        margin-bottom: var(--vw-space-6);
    }

    .hna-eyebrow {
        margin-bottom: var(--vw-space-1);
        font-size: var(--vw-font-size-2xs);
    }

    .hna-navigation {
        gap: var(--vw-space-1);
    }

    .hna-nav-button {
        width: var(--vw-control-height-sm);
        height: var(--vw-control-height-sm);
    }

    .hna-carousel.owl-theme .owl-dots {
        margin-top: var(--vw-space-6);
    }
}

@media (hover: none) {
    .hna-nav-button:hover {
        border-color: var(--vw-color-border);
        background: var(--vw-color-surface);
        color: var(--vw-color-heading);
        box-shadow: var(--vw-shadow-xs);
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hna-nav-button,
    .hna-carousel.owl-theme .owl-dots .owl-dot,
    .hna-carousel.owl-theme .owl-dots .owl-dot span {
        transition: none;
    }
}
