/* WooFlash Carousel - Clean & Responsive */
.woof-carousel-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    font-family: system-ui, -apple-system, sans-serif;
}

/* Collection Tabs */
.woof-collection-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    padding: 8px 10px;
    overflow-x: auto;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
    background: #f8f9fa;
    border-radius: 8px;
    white-space: nowrap;
}

.woof-collection-tabs::-webkit-scrollbar {
    height: 6px;
}

.woof-collection-tabs::-webkit-scrollbar-track {
    background: #e9ecef;
    border-radius: 3px;
}

.woof-collection-tabs::-webkit-scrollbar-thumb {
    background: #adb5bd;
    border-radius: 3px;
}

.woof-tab {
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: #495057;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.woof-tab:hover {
    color: #0073aa;
    border-color: #0073aa;
}

.woof-tab.active {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
}

/* Product Scroller */
.woof-product-scroller {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: var(--woof-column-spacing, 15px);
    padding: 10px 0 20px;
    background: transparent;
    -webkit-overflow-scrolling: touch;
}

.woof-product-scroller::-webkit-scrollbar {
    height: 6px;
}

.woof-product-scroller::-webkit-scrollbar-track {
    background: transparent;
}

.woof-product-scroller::-webkit-scrollbar-thumb {
    background: #adb5bd;
    border-radius: 3px;
}

/* Product Item */
.woof-product-item {
    min-width: 160px;
    max-width: 180px;
    text-align: center;
    flex-shrink: 0;
}

.woof-product-item img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.2s ease;
    background: #fff;
    padding: 8px;
}

.woof-product-item img:hover {
    transform: scale(1.05);
}

.woof-product-item h3 {
    font-size: 14px;
    margin: 10px 0 5px;
    color: #212529;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.woof-product-item .price {
    font-size: 13px;
    color: #d9534f;
    font-weight: 500;
    margin: 0;
}

/* Navigation Arrows - Centered */
.woof-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    opacity: 0.7;
    transition: all 0.2s ease;
}

.woof-nav-arrow:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.woof-nav-arrow img {
    width: 18px;
    height: 18px;
    pointer-events: none;
}

.woof-nav-arrow.left { left: 10px; }
.woof-nav-arrow.right { right: 10px; }

/* Navigation Below */
.woof-nav-below {
    text-align: center;
    margin: 15px 0;
}

.woof-nav-below img {
    margin: 0 20px;
    cursor: pointer;
    height: 30px;
    opacity: 0.8;
    transition: all 0.2s ease;
}

.woof-nav-below img:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .woof-product-item { min-width: 140px; }
    .woof-tab { padding: 6px 10px; font-size: 13px; }
    .woof-nav-arrow { width: 36px; height: 36px; }
    .woof-nav-arrow img { width: 16px; }
}

@media (max-width: 480px) {
    .woof-product-item { min-width: 120px; }
    .woof-collection-tabs { gap: 6px; }
    .woof-tab { padding: 5px 8px; font-size: 12px; }
    .woof-nav-below img { margin: 0 15px; height: 26px; }
}

/* Loading */
.woof-product-scroller:has(p) {
    justify-content: center;
    color: #6c757d;
    font-style: italic;
}
