/* MEMOART - Main Styles */
@import url('./base.css');
@import url('./components.css');
@import url('./pages.css');
@import url('./templates.css');
@import url('./responsive.css');

/* ========================================
   GLOBAL COMPONENT OVERRIDES
   ======================================== */

/* Navbar Logo Alignment Fix */
.nav-logo {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    text-decoration: none !important;
    color: #1a1a1a !important;
    /* Ensure text color is consistent */
    font-weight: 700 !important;
    /* Make sure brand name pops */
    font-size: 1.5rem !important;
    font-family: 'Playfair Display', serif !important;
    letter-spacing: -0.5px;
}

.nav-logo img {
    height: 42px !important;
    /* Slightly smaller than 48px to balance with text */
    width: auto !important;
    display: block !important;
    object-fit: contain;
}

/* Override for Footer Logo */
.footer-brand .nav-logo {
    color: #fff !important;
}

/* Price Strikethrough Style */
.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9em;
    font-weight: 500;
}

/* Font Awesome Icons Styling */
.review-stars i {
    color: #F5A623;
    margin-right: 2px;
}

.trust-icon i {
    color: var(--primary);
    font-size: 1.1rem;
}

.footer-links li i {
    margin-right: 8px;
    opacity: 0.7;
}

/* MOBILE OPTIMIZATION HERO */

/* Default (Desktop) */
.desktop-only {
    display: block;
}

.hero-image-mobile {
    display: none;
}

/* Mobile */
@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .hero-image-mobile {
        display: block;
        margin: 25px auto;
        max-width: 85%;
        /* Largeur confortable */
        width: 340px;
        /* Max optimal sur mobile */
    }

    .hero-image-mobile .hero-frame-container,
    .hero-image-mobile .hero-frame {
        padding: 0 !important;
        /* On garde 0 pour contrôler l'espacement via margin */
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        overflow: visible !important;
        /* CRUCIAL pour l'ombre */
    }

    .hero-image-mobile .hero-frame img {
        width: 100%;
        height: auto;
        /* Respect du ratio */
        object-fit: contain;
        display: block;
        /* Fix baseline issue */
        margin: 0 !important;

        /* Realistic Frame Style */
        box-sizing: border-box !important;
        /* Calibrage */
        border-radius: 4px !important;
        /* Coins légèrement moins ronds pour le réalisme */
        border: 10px solid #111111 !important;
        /* La Matière (Cadre noir) */
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
        /* La Profondeur */
        transform: translateZ(0);
    }

    /* Ajustement marge pour intercaler proprement */
    .hero-description {
        margin-bottom: 20px;
    }

    .hero-price-line {
        margin-top: 25px;
        align-items: baseline !important;
        /* Force l'alignement typographique */
        gap: 10px !important;
        /* Espace constant */
    }
}