/* ── YuBo Global Styles ────────────────────────────────────────────── */

/* Hide scrollbar but keep scroll functionality */
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* Smooth page transitions */
body {
    transition: opacity 0.15s ease;
}

/* Yubo orange focus ring */
*:focus-visible {
    outline: 2px solid #FF6B00;
    outline-offset: 2px;
}

/* Product card hover lift */
.product-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Custom color utilities not reliably picked up by Tailwind CDN JIT */
.border-yubo-orange { border-color: #FF6B00; }
.text-yubo-orange   { color: #FF6B00; }
.bg-yubo-orange     { background-color: #FF6B00; }

/* Skeleton loading animation */
@keyframes skeleton-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.5; }
}
.skeleton {
    background: #e5e7eb;
    border-radius: 6px;
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

/* Line clamp utilities */
.line-clamp-1 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}
.line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/* Price formatting */
.price {
    font-variant-numeric: tabular-nums;
}

/* Sticky header offset for anchor links */
html {
    scroll-padding-top: 140px;
}
