/* ==========================================================================
   ARTICLES PAGES STYLES (AXOLOCA CARTOON STYLE)
   ========================================================================== */

.catalog-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1rem 5rem 1rem;
    position: relative;
}

/* Header de la page */
.catalog-hero {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
}

.catalog-title {
    font-family: 'SavoryCurry', 'Grandstander Clean', cursive;
    font-size: 3.5rem;
    color: #333;
    margin: 0;
    text-shadow: 3px 3px 0px #fff, 6px 6px 0px rgba(0,0,0,0.1);
    position: relative;
    display: inline-block;
    z-index: 2;
}

.catalog-subtitle {
    font-family: 'Grandstander Clean', sans-serif;
    font-size: 1.25rem;
    color: #555;
    margin-top: 1rem;
    background: rgba(255, 255, 255, 0.7);
    display: inline-block;
    padding: 0.6rem 2rem;
    border-radius: 50px;
    border: 2px dashed #64b5f6;
    position: relative;
    z-index: 2;
}

/* Éléments décoratifs autour du titre */
.catalog-decor {
    position: absolute;
    font-size: 2.5rem;
    pointer-events: none;
    z-index: 1;
}

.decor-1 { top: -20px; left: 15%; color: #ffb74d; animation: float 4s ease-in-out infinite; }
.decor-2 { top: 20px; right: 10%; color: #81c784; animation: float 5s ease-in-out infinite reverse; }
.decor-3 { bottom: -10px; left: 25%; color: #f48fb1; font-size: 1.5rem; animation: rotate 10s linear infinite; }

/* Liste des articles */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

/* Ligne d'article */
.article-row {
    display: flex;
    background: #ffffff;
    border: 4px solid #333;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 10px 10px 0px rgba(0,0,0,0.1);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.article-row:hover {
    transform: scale(1.01) translateY(-5px);
}

.article-row--reverse {
    flex-direction: row-reverse;
}

/* Image Wrapper */
.article-image-wrap {
    flex: 0 0 45%;
    min-height: 350px;
    position: relative;
    overflow: hidden;
    background: #f0f4f8;
    border-right: 4px solid #333;
}

.article-row--reverse .article-image-wrap {
    border-right: none;
    border-left: 4px solid #333;
}

.article-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-row:hover .article-image {
    transform: scale(1.05);
}

/* Contenu de l'article */
.article-content {
    flex: 1;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.article-title {
    font-family: 'SavoryCurry', cursive;
    font-size: 2.2rem;
    color: #333;
    margin: 0 0 1rem 0;
}

.article-description {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 2rem;
}

/* Meta et Prix */
.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.article-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.meta-badge {
    background: #f1f3f4;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #5f6368;
    border: 2px solid #ddd;
}

.article-price {
    font-family: 'Grandstander Clean', sans-serif;
    color: #e91e63;
    font-weight: 800;
    background: #fce4ec;
    padding: 0.5rem 1.2rem;
    border-radius: 15px;
    border: 2px solid #f8bbd0;
    transform: rotate(-2deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
}

.price-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    opacity: 0.8;
}

.price-value {
    font-size: 1.6rem;
}

/* Bouton d'action */
.article-action {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #4caf50;
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    border: 3px solid #333;
    box-shadow: 4px 4px 0px #333;
    transition: all 0.2s ease;
}

.article-action:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px #333;
    background: #43a047;
    color: white;
}

.article-action:active {
    transform: translate(2px, 2px);
    box-shadow: 0px 0px 0px #333;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 992px) {
    .article-row, .article-row--reverse {
        flex-direction: column;
    }
    
    .article-image-wrap {
        flex: 0 0 300px;
        border-right: none !important;
        border-left: none !important;
        border-bottom: 4px solid #333;
    }

    .article-content {
        padding: 2rem;
    }
    
    .catalog-title { font-size: 2.8rem; }
}

@media (max-width: 600px) {
    .catalog-title { font-size: 2.2rem; }
    .catalog-decor { display: none; }
    .article-content { padding: 1.5rem; }
    .article-title { font-size: 1.8rem; }
    .article-footer { flex-direction: column; align-items: stretch; gap: 1rem; }
    .article-action { justify-content: center; }
    .article-price { font-size: 1.6rem; }
}
