/* ============================================================ */
/* JUGY COMPUTERS - STYLE COMPLET (Bleu clair)                  */
/* ============================================================ */

:root {
    --primary: #4A90D9;
    --primary-light: #6CB4EE;
    --primary-dark: #2c6fbb;
    --primary-gradient: linear-gradient(135deg, #4A90D9 0%, #6CB4EE 100%);
    --secondary: #1a1a2e;
    --gray: #f8f9fa;
    --gray-dark: #6c757d;
    --white: #ffffff;
    --shadow: 0 5px 25px rgba(74, 144, 217, 0.15);
    --shadow-hover: 0 10px 40px rgba(74, 144, 217, 0.25);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ============================================================ */
/* LARGEUR PLEIN ECRAN - la page (header, contenu, footer) doit  */
/* occuper toute la largeur disponible sur ordinateur, au lieu   */
/* du .container Bootstrap qui est plafonné (1140px/1320px) et   */
/* laisse des bandes vides a gauche/droite sur grand ecran.      */
/* ============================================================ */
.main-content .container,
footer .container {
    max-width: 100%;
    padding-left: 40px;
    padding-right: 40px;
}
@media (max-width: 992px) {
    .main-content .container,
    footer .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--gray);
    color: var(--secondary);
    padding-top: 0;
}

/* ============================================================ */
/* BOUTONS                                                            */
/* ============================================================ */

.btn-primary-custom {
    background: var(--primary-gradient);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(74, 144, 217, 0.3);
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 144, 217, 0.4);
    color: white;
}

.btn-outline-primary-custom {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 10px 28px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-primary-custom:hover {
    background: var(--primary-gradient);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 144, 217, 0.3);
}

/* ============================================================ */
/* CARTES PRODUITS                                                  */
/* ============================================================ */

.product-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
    height: 100%;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.product-card .product-image {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: #f8f9fa;
    position: relative;
}

.product-card .product-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-card .product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #FF6B6B;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-card .product-badge.featured {
    background: #FFD93D;
    color: #1a1a2e;
}

.product-card .product-badge.new {
    background: #6BCB77;
}

.product-card .product-body {
    padding: 18px 20px 20px;
}

.product-card .product-body .product-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
    min-height: 44px;
}

.product-card .product-body .product-title:hover {
    color: var(--primary);
}

.product-card .product-body .product-category {
    font-size: 12px;
    color: var(--gray-dark);
    margin-bottom: 8px;
}

.product-card .product-body .product-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.product-card .product-body .product-price .old-price {
    font-size: 14px;
    color: var(--gray-dark);
    text-decoration: line-through;
    font-weight: 400;
    margin-left: 8px;
}

.product-card .product-body .product-rating {
    color: #FFB800;
    font-size: 13px;
    margin-top: 4px;
}

.product-card .product-body .product-rating span {
    color: var(--gray-dark);
    font-size: 12px;
}

.product-card .product-actions {
    padding: 0 20px 18px;
    display: flex;
    gap: 8px;
}

.product-card .product-actions .btn-add-cart {
    flex: 1;
    background: var(--primary-gradient);
    border: none;
    color: white;
    padding: 8px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    transition: var(--transition);
}

.product-card .product-actions .btn-add-cart:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(74, 144, 217, 0.3);
}

.product-card .product-actions .btn-wishlist {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: #ccc;
}

.product-card .product-actions .btn-wishlist:hover {
    border-color: #FF6B6B;
    color: #FF6B6B;
}

/* ============================================================ */
/* SECTION TITRES                                                  */
/* ============================================================ */

.section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 4px;
}

.section-title.text-center:after {
    left: 50%;
    transform: translateX(-50%);
}

/* ============================================================ */
/* FOOTER                                                           */
/* ============================================================ */

.jugy-footer {
    background: #1a1a2e;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 50px;
}

.jugy-footer .footer-top {
    padding: 60px 0 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.jugy-footer .footer-title {
    color: white;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.jugy-footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.jugy-footer .footer-links li {
    margin-bottom: 10px;
}

.jugy-footer .footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

.jugy-footer .footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.jugy-footer .footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Newsletter */
.newsletter-form .form-control {
    border: none;
    border-radius: 30px 0 0 30px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form .btn-subscribe {
    background: var(--primary-gradient);
    border: none;
    border-radius: 0 30px 30px 0;
    padding: 12px 25px;
    color: white;
    font-weight: 600;
    transition: var(--transition);
}

.newsletter-form .btn-subscribe:hover {
    opacity: 0.9;
}

/* ============================================================ */
/* RESPONSIVE                                                       */
/* ============================================================ */

@media (max-width: 768px) {
    .section-title {
        font-size: 22px;
    }
    
    .product-card .product-image {
        height: 180px;
    }
    
    .jugy-footer .footer-top {
        padding: 30px 0;
    }
}