:root {
    --rarita-bg: #F9F6F0;
    --rarita-text: #3E3A39;
    --rarita-vizon: #C5B9B0;
    --rarita-accent: #A68F84;
    --rarita-card: #F2EBE3;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--rarita-bg);
    color: var(--rarita-text);
}

/* --- YATAY SCROLL (Mobilde de yatay) --- */
.rebel-scroll-wrapper {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 0 40px 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.rebel-scroll-wrapper::-webkit-scrollbar { display: none; }

/* --- KATEGORİ KARTLARI (Kare Form - 1:1) --- */
.rebel-cat-card {
    flex: 0 0 280px;
    aspect-ratio: 1/1; /* 3:4 oranından vazgeçildi, tam kare yapıldı */
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: var(--rarita-card);
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.rebel-cat-card:hover { transform: translateY(-8px); }

.rebel-cat-overlay {
    background: linear-gradient(to top, rgba(62, 58, 57, 0.5) 0%, transparent 80%);
    padding: 30px;
    display: flex;
    align-items: flex-end;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.rebel-cat-name {
    color: #fff;
    font-family: 'Playfair Display', serif;
    letter-spacing: 2px;
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

/* --- ÜRÜN KARTLARI (Nude-Premium) --- */
.rebel-prod-item { flex: 0 0 280px; }

.premium-card {
    background: #fff;
    border-radius: 24px;
    padding: 12px;
    height: 100%;
    border: 1px solid #F0EAE4;
    transition: 0.5s ease;
}

.premium-img-box {
    background: var(--rarita-bg);
    border-radius: 18px;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1; /* Ürünler de tam kare, mükemmel simetri */
}

.premium-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sepet Butonu */
.glass-action {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    opacity: 0;
    transition: 0.4s ease;
}

.premium-card:hover .glass-action { opacity: 1; }

.btn-rebel-cart {
    background: var(--rarita-text);
    color: #fff;
    border: none;
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.btn-rebel-cart:hover {
    background: var(--rarita-accent);
}

.premium-info { padding: 20px 10px; text-align: center; }

.premium-tag {
    color: var(--rarita-accent);
    font-size: 0.6rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

.premium-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--rarita-text);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

/* --- MOBİL DÜZENLEME --- */
@media(max-width: 768px) {
    .rebel-cat-card { flex: 0 0 220px; }
    .rebel-prod-item { flex: 0 0 240px; }
    
    /* Mobilde hover çalışmayacağı için sepet butonu hep görünür olsun */
    .glass-action {
        opacity: 1;
    }
}