/* shop/static/shop/css/style.css */
.hero {
  background-size: cover;
  background-position: center;
  color: white;
}
.card-img-top {
  object-fit: cover;
}
/* Product cards */
.featured-card {
    border-radius: 10px;
    overflow: hidden;
}

.featured-card img {
    height: 160px;
    object-fit: cover;
}

/* Smaller phones */
@media (max-width: 576px) {
    .featured-card img {
        height: 130px;
    }
}

/* ===== CATEGORY SLIDER ===== */
.category-slider {
    scrollbar-width: none;
}
.category-slider::-webkit-scrollbar {
    display: none;
}
.category-chip {
    white-space: nowrap;
    padding: 10px 18px;
    background: #f8f9fa;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    color: #000;
    border: 1px solid #ddd;
    transition: all .3s ease;
}
.category-chip:hover {
    background: #dc3545;
    color: #fff;
    border-color: #dc3545;
}

/* ===== PREORDER BADGE ===== */
.preorder-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 0.7rem;
}

/* ===== ANIMATIONS ===== */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp .8s ease forwards;
}
.animate-product {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp .6s ease forwards;
    animation-delay: .2s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== SCROLL ANIMATIONS ===== */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s ease-out;
}

[data-animate].show {
    opacity: 1;
    transform: translateY(0);
}

/* Card hover polish */
.featured-card {
    transition: transform .3s ease, box-shadow .3s ease;
}
.featured-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* HERO */
.site-hero {
    height: 90vh;
    background: url("/static/shop/images/hero-bg.jpg") center/cover no-repeat;
    position: relative;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0,0,0,.7), rgba(0,0,0,.4));
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: .9;
}

.promo-badge {
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 30px;
}

/* PRODUCT CARDS */
.featured-card {
    border-radius: 16px;
    border: none;
    overflow: hidden;
    transition: .3s;
}
.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,.15);
}
.featured-card img {
    transition: .4s;
}
.featured-card:hover img {
    transform: scale(1.08);
}
.preorder-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: gold;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: .7rem;
}

/* SERVICES */
.service-card {
    border-radius: 18px;
    background: #fff;
    transition: .3s;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(0,0,0,.12);
}

/* ANIMATIONS */
.fade-in-up {
    animation: fadeUp .8s ease forwards;
}
@keyframes fadeUp {
    from {opacity:0; transform:translateY(40px)}
    to {opacity:1; transform:translateY(0)}
}
