/*
Theme Name: Blocksy Child - METAL SIDER
Theme URI: https://metalsider.it
Description: Child theme premium pour METAL SIDER S.A.S. – Vente de rimorchi
Author: METAL SIDER
Template: blocksy
Version: 1.0.0
Text Domain: metalsider
*/

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0f172a;
}
::-webkit-scrollbar-thumb {
    background: #ea580c;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c2410c;
}

/*--------------------------------------------------------------
# Hero
--------------------------------------------------------------*/
.hero-overlay {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.55) 100%);
}

/*--------------------------------------------------------------
# Carousel
--------------------------------------------------------------*/
.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
}

/*--------------------------------------------------------------
# Utilities premium
--------------------------------------------------------------*/
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Focus visible (accessibilité) */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #ea580c;
    outline-offset: 3px;
}

/* Transition douce sur les boutons */
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

/*--------------------------------------------------------------
# WooCommerce ajustements (si besoin)
--------------------------------------------------------------*/
.woocommerce ul.products li.product {
    margin-bottom: 2rem;
}

/* Cache le titre de page par défaut de Blocksy sur la front-page */
.home .ct-page-title-container,
.home .hero-section {
    display: none !important;
}