/* ==========================================================================
   PRIME EXPRESS - DIRECTION ARTISTIQUE SHOPIFY PRESTIGE / LUXE OFFICIELLE
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --shopify-dark: #0F172A;
    --shopify-navy: #1E293B;
    --shopify-blue: #2563EB;
    --shopify-blue-hover: #1D4ED8;
    --shopify-cyan: #38BDF8;
    
    --shopify-bg: #F8FAFC;
    --shopify-surface: #FFFFFF;
    
    --text-heading: #0F172A;
    --text-body: #475569;
    --text-muted: #94A3B8;
    
    --border-color: #E2E8F0;
    --border-focus: #3B82F6;
    
    --success: #10B981;
    --success-bg: #ECFDF5;
    --warning: #F59E0B;
    --danger: #EF4444;

    --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.03);
    --shadow-hover: 0 20px 35px -5px rgba(15, 23, 42, 0.12), 0 10px 10px -5px rgba(15, 23, 42, 0.04);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
}

/* VERROUILLAGE STRICT CONTRE LE DÉBORDEMENT MOBILE */
html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    background-color: var(--shopify-bg);
    color: var(--text-body);
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
}

*, *::before, *::after {
    box-sizing: border-box !important;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   MOTEUR D'APPARITION PROGRESSIVE AU SCROLL (SCROLL REVEAL "WAOUH")
   ========================================================================== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(35px) scale(0.98);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

/* TOPBAR ANNONCE OFFICIELLE */
.shopify-announcement {
    background: var(--shopify-dark);
    color: #F8FAFC;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 10px 14px;
    letter-spacing: 0.4px;
    width: 100%;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.announcement-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    width: 100%;
}
.announcement-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.announcement-item svg {
    width: 14px !important;
    height: 14px !important;
    stroke: var(--shopify-cyan);
    flex-shrink: 0;
}

/* HEADER DE MARQUE AVEC ESPACEMENT NET */
.shopify-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}
.shopify-header-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.brand-logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}
.brand-badge-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--shopify-dark) 0%, var(--shopify-blue) 100%);
    border-radius: 9px;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}
.brand-name-text {
    font-size: 1.22rem;
    font-weight: 900;
    letter-spacing: -0.4px;
    color: var(--shopify-dark);
    white-space: nowrap;
}

.country-pill-shopify {
    background: #F1F5F9;
    border: 1.5px solid var(--border-color);
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 0.76rem;
    font-weight: 800;
    color: var(--shopify-dark);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}
.live-green-pulse {
    width: 7px;
    height: 7px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    flex-shrink: 0;
}

/* HERO BANNER SPLIT */
.shopify-hero-container {
    max-width: 1240px;
    margin: 16px auto 20px;
    padding: 0 16px;
    width: 100%;
}
.shopify-hero-split {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    width: 100%;
}
.hero-content-col {
    padding: 35px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    color: var(--shopify-blue);
    padding: 4px 10px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    width: fit-content;
    margin-bottom: 12px;
}
.hero-title-big {
    font-size: 1.85rem;
    font-weight: 900;
    color: var(--shopify-dark);
    line-height: 1.25;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
    word-break: break-word;
}
.hero-desc-text {
    font-size: 0.92rem;
    color: var(--text-body);
    line-height: 1.5;
    margin-bottom: 18px;
    max-width: 500px;
}
.hero-visual-col {
    background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
}
.hero-visual-col img {
    max-width: 88%;
    max-height: 250px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
    transform: rotate(-2deg);
}
.hero-floating-card {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    padding: 8px 12px;
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
    font-size: 0.74rem;
    font-weight: 800;
    color: var(--shopify-dark);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* VENTE FLASH */
.flash-deal-banner {
    max-width: 1240px;
    margin: 0 auto 20px;
    padding: 0 16px;
    width: 100%;
}
.flash-box {
    background: linear-gradient(90deg, #1E1B4B 0%, #312E81 100%);
    color: #FFFFFF;
    border-radius: var(--radius-md);
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
}
.flash-left {
    display: flex;
    align-items: center;
    gap: 8px;
}
.flash-badge {
    background: var(--danger);
    color: #FFFFFF;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 5px;
}
.flash-title {
    font-size: 0.84rem;
    font-weight: 800;
}
.countdown-clock {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.76rem;
    font-weight: 800;
}
.clock-unit {
    background: rgba(255, 255, 255, 0.15);
    padding: 4px 7px;
    border-radius: 5px;
    font-family: monospace;
    font-size: 0.9rem;
}

/* BULLES CATÉGORIES */
.category-bubbles-wrap {
    max-width: 1240px;
    margin: 0 auto 25px;
    padding: 0 16px;
    width: 100%;
    overflow: hidden;
}
.category-bubbles-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
    width: 100%;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.category-bubbles-scroll::-webkit-scrollbar {
    display: none;
}
.bubble-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    width: 80px;
    text-align: center;
}
.bubble-circle {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    box-shadow: var(--shadow-subtle);
    color: var(--shopify-blue);
    flex-shrink: 0;
}
.bubble-circle svg {
    width: 22px !important;
    height: 22px !important;
    stroke-width: 2;
}
.bubble-item.active .bubble-circle {
    border-color: var(--shopify-blue);
    background: #EFF6FF;
}
.bubble-label {
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--shopify-dark);
    line-height: 1.2;
}

/* CATALOGUE PRODUITS DE L'ACCUEIL (PHOTOS ENTIÈRES SANS ROGNAGE) */
.shopify-store-main {
    max-width: 1240px;
    margin: 0 auto 40px;
    padding: 0 16px;
    width: 100%;
}
.catalog-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 16px;
}
.catalog-top-bar h2 {
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: -0.4px;
    color: var(--shopify-dark);
}
.catalog-top-bar p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.shopify-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
    width: 100%;
}
.shopify-card {
    background: var(--shopify-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
    width: 100%;
}

.card-media-wrap {
    position: relative;
    width: 100%;
    height: 250px;
    background: #F8FAFC;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    overflow: hidden;
}
.card-media-wrap a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.card-media-wrap img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain !important;
    transition: transform 0.4s ease;
}
.shopify-card:hover .card-media-wrap img {
    transform: scale(1.05);
}

.shopify-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--danger);
    color: #FFFFFF;
    font-size: 0.66rem;
    font-weight: 900;
    padding: 3px 8px;
    border-radius: 5px;
    text-transform: uppercase;
    z-index: 2;
}

.card-body-shopify {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}
.category-and-rating {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}
.product-cat-name {
    font-size: 0.66rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--shopify-blue);
}
.rating-stars-row {
    display: flex;
    align-items: center;
    gap: 2px;
    color: var(--warning);
    font-size: 0.72rem;
    font-weight: 800;
}
.rating-stars-row svg {
    width: 12px !important;
    height: 12px !important;
    fill: var(--warning);
}
.card-title-text {
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--shopify-dark);
    line-height: 1.35;
    margin-bottom: 6px;
    word-break: break-word;
}
.card-desc-snippet {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin-bottom: 12px;
}

.stock-progress-wrap {
    margin-bottom: 12px;
}
.stock-text-flex {
    display: flex;
    justify-content: space-between;
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--danger);
    margin-bottom: 4px;
}
.stock-bar-bg {
    width: 100%;
    height: 5px;
    background: #FEE2E2;
    border-radius: 4px;
    overflow: hidden;
}
.stock-bar-fill {
    width: 32%;
    height: 100%;
    background: var(--danger);
    border-radius: 4px;
}

.card-price-flex {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
}
.sale-price-bold {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--shopify-dark);
}
.strike-price-gray {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: line-through;
}
.delivery-pill-free {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--success);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.btn-shopify-buy {
    width: 100%;
    background: linear-gradient(135deg, var(--shopify-dark) 0%, var(--shopify-blue) 100%);
    color: #FFFFFF;
    border: none;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
}
.btn-shopify-buy:hover {
    background: linear-gradient(135deg, #000000 0%, var(--shopify-blue-hover) 100%);
}
.btn-shopify-buy svg {
    width: 15px !important;
    height: 15px !important;
}

/* SECTION TÉMOIGNAGES */
.testimonials-section {
    max-width: 1240px;
    margin: 50px auto 35px;
    padding: 30px 16px 0;
    border-top: 1px solid var(--border-color);
    width: 100%;
}
.testimonials-header {
    text-align: center;
    margin-bottom: 22px;
}
.testimonials-header h2 {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--shopify-dark);
    margin-bottom: 4px;
}
.testimonials-header p {
    font-size: 0.82rem;
    color: var(--text-muted);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    width: 100%;
}
.testimonial-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 18px;
    box-shadow: var(--shadow-subtle);
    width: 100%;
}
.testi-quote {
    font-size: 0.82rem;
    color: var(--text-body);
    line-height: 1.5;
    margin-bottom: 12px;
}
.testi-author {
    display: flex;
    align-items: center;
    gap: 8px;
}
.testi-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #EFF6FF;
    color: var(--shopify-blue);
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    flex-shrink: 0;
}
.testi-name {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--shopify-dark);
}
.testi-city {
    font-size: 0.68rem;
    color: var(--success);
    font-weight: 700;
}

/* TOAST FLOTTANT */
.live-sales-toast {
    position: fixed;
    bottom: 16px;
    left: 16px;
    background: #FFFFFF;
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    padding: 10px 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 9999;
    max-width: 320px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
    box-sizing: border-box;
}
.sales-toast-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #EFF6FF;
    color: var(--shopify-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sales-toast-text {
    font-size: 0.74rem;
    line-height: 1.3;
    color: var(--shopify-dark);
}
.sales-toast-time {
    font-size: 0.66rem;
    color: var(--text-muted);
}

/* FOOTER SANS DÉBORDEMENT */
.corporate-footer {
    background: var(--shopify-dark);
    color: #94A3B8;
    padding: 35px 16px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    overflow: hidden;
}
.footer-layout {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
    width: 100%;
}
.footer-col-brand h4 {
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 900;
    margin-bottom: 8px;
}
.footer-col-brand p {
    font-size: 0.8rem;
    line-height: 1.55;
    max-width: 440px;
    word-break: break-word;
}
.footer-col-links h5 {
    color: #FFFFFF;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 10px;
}
.footer-col-links ul {
    list-style: none;
    font-size: 0.8rem;
    line-height: 1.9;
    padding: 0;
    margin: 0;
}
.footer-legal-bar {
    max-width: 1240px;
    margin: 0 auto;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.72rem;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
}

@media (max-width: 900px) {
    .shopify-hero-split { grid-template-columns: 1fr; }
    .hero-content-col { padding: 24px 16px; }
    .hero-title-big { font-size: 1.55rem; }
    .hero-visual-col { display: none; }
    .shopify-grid { grid-template-columns: 1fr; }
    .footer-layout { grid-template-columns: 1fr; gap: 20px; }
    .footer-legal-bar { flex-direction: column; text-align: center; }
    .live-sales-toast {
        left: 10px !important;
        right: 10px !important;
        bottom: 10px !important;
        width: calc(100% - 20px) !important;
        max-width: none !important;
    }
    .announcement-inner { justify-content: center; text-align: center; }
    .announcement-item:last-child { display: none; }
}