/* ---- Variables ---- */
:root { --brand: #c0392b; }
.text-brand   { color: var(--brand) !important; }

/* ---- Announcement bar ---- */
.announcement-bar { background: linear-gradient(90deg, #1a2238, #c7a036); }
.announcement-track { transition: transform .5s ease; }
.announcement-msg   { display: flex; align-items: center; justify-content: center; }

/* ---- Hero ---- */
.hero-slide { min-height: 520px; background-size: cover; background-position: center; }
.hero-slide--1 { background: linear-gradient(120deg, #c0392b 0%, #8e44ad 100%); }
.hero-slide--2 { background: linear-gradient(120deg, #1a252f 0%, #2980b9 100%); }
.hero-slide--3 { background: linear-gradient(120deg, #b7950b 0%, #c0392b 100%); }

/* ---- Category cards (hover zoom — Pierre Cardin) ---- */
.category-card {
    min-height: 160px;
    transition: transform .22s ease, box-shadow .22s ease;
    overflow: hidden;
}
.category-card:hover { transform: scale(1.04); box-shadow: 0 8px 28px rgba(0,0,0,.18); }
.category-card__icon { font-size: 2.5rem; transition: transform .22s; }
.category-card:hover .category-card__icon { transform: scale(1.15) rotate(-5deg); }

.cat-gradient--indigo { background: linear-gradient(135deg, #3730a3, #6366f1); }
.cat-gradient--rose   { background: linear-gradient(135deg, #9b1c1c, #c0392b); }
.cat-gradient--amber  { background: linear-gradient(135deg, #92400e, #d97706); }
.cat-gradient--purple { background: linear-gradient(135deg, #6b21a8, #a855f7); }

/* ---- Gender banners ---- */
.gender-banner {
    min-height: 320px;
    background-size: cover;
    background-position: center top;
    transition: transform .22s;
}
.gender-banner:hover { transform: scale(1.01); }
.gender-banner--women { background: linear-gradient(160deg, #c0392b 0%, #8e44ad 100%); }
.gender-banner--men   { background: linear-gradient(160deg, #1a252f 0%, #2980b9 100%); }
.gender-banner--kids  { background: linear-gradient(160deg, #16a085 0%, #1abc9c 100%); }

/* ---- Product row (horizontal scroll carousel) ---- */
.product-row {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: .5rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.product-row::-webkit-scrollbar { display: none; }
.product-row .product-card-wrap {
    flex: 0 0 240px;
    scroll-snap-align: start;
}
@media (min-width: 768px) {
    .product-row .product-card-wrap { flex: 0 0 calc(25% - .75rem); }
}

/* ---- Product card (Totto-inspired: colors, financing, hover swap) ---- */
.product-card {
    border: 1px solid #f0f0f0;
    border-radius: .5rem;
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,.1); }

.product-card__img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #f5f5f5;
}
/* Hover swap: primary image fades, secondary slides in */
.product-card__img-wrap .img-placeholder {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem; color: #ccc;
    transition: opacity .3s;
}
.product-card__img-wrap .img-placeholder--secondary {
    opacity: 0;
    background: #ece9e9;
}
.product-card:hover .img-placeholder--primary   { opacity: 0; }
.product-card:hover .img-placeholder--secondary { opacity: 1; }

/* Actual product images */
.product-card__img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}

.product-card__badge {
    position: absolute; top: .6rem; left: .6rem;
    font-size: .7rem; font-weight: 600;
    padding: .2rem .55rem;
    border-radius: 50px;
}
.product-card__wishlist {
    position: absolute; top: .6rem; right: .6rem;
    background: white; border: none; border-radius: 50%;
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,.12);
    opacity: 0; transition: opacity .2s;
    cursor: pointer;
}
.product-card:hover .product-card__wishlist { opacity: 1; }

.product-card__colors { display: flex; gap: .3rem; flex-wrap: wrap; }
.color-dot {
    width: 16px; height: 16px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #ccc;
    display: inline-block;
    cursor: pointer;
    transition: transform .15s;
}
.color-dot:hover { transform: scale(1.25); }
.color-dot--overflow {
    background: #e0e0e0;
    color: #555; font-size: .6rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}

/* ---- Full-width promo ---- */
.promo-full-banner {
    min-height: 280px;
    background: linear-gradient(120deg, #1a252f 0%, #c0392b 100%);
}

/* ---- Campaign banners (Totto-inspired) ---- */
.campaign-banner { transition: transform .22s; background-size: cover; background-position: center; }
.campaign-banner:hover { transform: scale(1.01); }
.campaign-banner--a { min-height: 400px; background: linear-gradient(160deg, #6d4c41 0%, #8d6e63 100%); }
.campaign-banner--b { min-height: 180px; background: linear-gradient(120deg, #1565c0 0%, #0288d1 100%); }
.campaign-banner--c { min-height: 180px; background: linear-gradient(120deg, #1b5e20 0%, #388e3c 100%); }

/* ---- Brands ---- */
.brand-pill { transition: background-color .2s, color .2s, border-color .2s; }
.brand-pill:hover { background-color: var(--brand) !important; border-color: var(--brand) !important; color: #fff !important; }

/* ---- Newsletter ---- */
.newsletter-section { background: linear-gradient(135deg, #c0392b 0%, #8e44ad 100%); }

/* ---- Sticky WhatsApp FAB ---- */
.whatsapp-fab {
    position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 1050;
    background: #25d366;
    border-radius: 50px;
    padding: .65rem 1rem;
    box-shadow: 0 4px 16px rgba(37,211,102,.4);
    transition: transform .2s, box-shadow .2s;
}
.whatsapp-fab:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(37,211,102,.5); color: #fff; }

/* ---- Misc ---- */
.ls-wide { letter-spacing: .1em; }
.navbar-nav .nav-link:hover { color: var(--brand) !important; }
.footer-link:hover { color: #fff !important; }
