/*
 * MVC Adidas-Style Theme Override
 * Design: Minimal, noir/blanc, full-width, bold typography
 */

/* === FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* === GLOBAL === */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    color: #000 !important;
    background: #fff !important;
    -webkit-font-smoothing: antialiased;
}

* {
    letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6,
.woocommerce h1, .woocommerce h2 {
    font-family: 'Inter', sans-serif !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: -0.03em !important;
    color: #000 !important;
}

a {
    transition: all 0.2s ease;
}

/* === TOPBAR === */
.topbar, .header-topbar, .site-topbar {
    background: #000 !important;
    color: #fff !important;
    font-size: 12px !important;
    padding: 6px 0 !important;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.topbar a, .header-topbar a, .site-topbar a {
    color: #fff !important;
}

/* === HEADER === */
.site-header, .header-main, #masthead,
.header-v3, .header-v2, .header-v1 {
    background: #000 !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

.site-header *, .header-main *,
.header-v3 *, .header-v2 * {
    color: #fff !important;
}

.site-header .logo img,
.header-main .logo img {
    filter: brightness(0) invert(1);
    max-height: 35px;
}

/* Navigation */
.main-navigation, .primary-menu, .site-navigation,
.header-nav, .nav-menu {
    background: #000 !important;
}

.main-navigation a, .primary-menu a, .nav-menu a,
.main-navigation .menu-item a {
    color: #fff !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 13px !important;
    letter-spacing: 0.08em !important;
    padding: 12px 15px !important;
}

.main-navigation a:hover, .nav-menu a:hover {
    color: #ccc !important;
}

/* Sous-menus */
.sub-menu, .dropdown-menu {
    background: #fff !important;
    border: 1px solid #e5e5e5 !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
}

.sub-menu a, .dropdown-menu a {
    color: #000 !important;
    font-size: 13px !important;
}

.sub-menu a:hover, .dropdown-menu a:hover {
    background: #f5f5f5 !important;
    color: #000 !important;
}

/* Search */
.header-search input,
.search-field {
    background: #1a1a1a !important;
    border: none !important;
    color: #fff !important;
    border-radius: 0 !important;
    padding: 10px 15px !important;
}

/* Cart/Account icons */
.header-icons a, .header-actions a,
.cart-icon, .account-icon {
    color: #fff !important;
}

/* === STICKY HEADER === */
.header-sticky.is-sticky,
.sticky-header {
    background: #000 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3) !important;
}

/* === HERO / BANNERS === */
.mvc-hero {
    position: relative;
    overflow: hidden;
    margin: 0 !important;
}

.mvc-hero img {
    width: 100%;
    height: 85vh;
    object-fit: cover;
    display: block;
}

/* === BREADCRUMBS === */
.woocommerce-breadcrumb {
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    color: #767677 !important;
    padding: 15px 0 !important;
}

/* === PRODUCT CARDS (Style Adidas) === */
.products .product,
.woocommerce ul.products li.product {
    border: none !important;
    box-shadow: none !important;
    margin-bottom: 30px !important;
    padding: 0 !important;
    background: transparent !important;
    transition: none !important;
}

.products .product:hover {
    box-shadow: none !important;
    transform: none !important;
}

/* Product Image */
.products .product .woocommerce-LoopProduct-link img,
.products .product .product-thumbnail img,
.woocommerce ul.products li.product img {
    border-radius: 0 !important;
    aspect-ratio: 1/1;
    object-fit: cover;
    width: 100%;
    transition: opacity 0.3s ease !important;
}

.products .product:hover img {
    opacity: 0.85;
}

/* Product Title */
.products .product .woocommerce-loop-product__title,
.products .product .product-title,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.02em !important;
    color: #000 !important;
    margin: 10px 0 4px !important;
    line-height: 1.3 !important;
    padding: 0 !important;
}

/* Product Price */
.products .product .price,
.woocommerce ul.products li.product .price {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #000 !important;
    margin: 0 !important;
}

/* Hide add to cart on loop */
.products .product .button,
.products .product .add_to_cart_button {
    display: none !important;
}

/* Product badge / promo */
.products .product .onsale,
.woocommerce span.onsale {
    background: #000 !important;
    color: #fff !important;
    border-radius: 0 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    padding: 4px 10px !important;
    letter-spacing: 0.05em;
    top: 10px !important;
    left: 10px !important;
    right: auto !important;
}

/* Quick view / Wishlist overlay buttons */
.product-actions, .product-buttons,
.wcboost-wishlist-button, .wcboost-compare-button {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product:hover .product-actions,
.product:hover .product-buttons,
.product:hover .wcboost-wishlist-button,
.product:hover .wcboost-compare-button {
    opacity: 1;
}

/* === SINGLE PRODUCT === */
.single-product .product .summary {
    padding-left: 40px;
}

.single-product .product_title {
    font-size: 28px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 10px !important;
}

.single-product .price {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #000 !important;
}

/* Variation swatches */
.wcboost-variation-swatches .swatch {
    border-radius: 0 !important;
    border: 2px solid #e5e5e5 !important;
    min-width: 50px !important;
    height: 40px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
}

.wcboost-variation-swatches .swatch.selected,
.wcboost-variation-swatches .swatch:hover {
    border-color: #000 !important;
    background: #000 !important;
    color: #fff !important;
}

/* Add to cart button */
.single-product .single_add_to_cart_button,
.single-product button[type="submit"],
.woocommerce .single_add_to_cart_button {
    background: #000 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 18px 40px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    width: 100% !important;
    transition: background 0.3s ease !important;
}

.single-product .single_add_to_cart_button:hover {
    background: #333 !important;
}

/* Quantity input */
.quantity .qty {
    border: 2px solid #000 !important;
    border-radius: 0 !important;
    font-weight: 700 !important;
    padding: 10px !important;
    width: 80px !important;
}

/* Tabs */
.woocommerce-tabs .tabs li a {
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 13px !important;
    letter-spacing: 0.05em !important;
    color: #767677 !important;
}

.woocommerce-tabs .tabs li.active a {
    color: #000 !important;
    border-bottom: 3px solid #000 !important;
}

/* === SHOP PAGE === */
.woocommerce-products-header__title {
    font-size: 36px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    margin-bottom: 30px !important;
}

/* Filters */
.woocommerce-ordering select {
    border: 2px solid #000 !important;
    border-radius: 0 !important;
    padding: 10px 15px !important;
    font-weight: 600 !important;
}

/* === CART === */
.woocommerce-cart table.cart {
    border: none !important;
}

.woocommerce-cart table.cart th {
    background: #000 !important;
    color: #fff !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
    letter-spacing: 0.1em !important;
    padding: 15px !important;
}

.woocommerce a.remove {
    color: #000 !important;
}

/* Coupon / Update cart */
.woocommerce .cart .button,
.woocommerce .checkout-button,
.woocommerce #respond input#submit,
.woocommerce button.button {
    background: #000 !important;
    color: #fff !important;
    border-radius: 0 !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    border: none !important;
    padding: 15px 30px !important;
}

.woocommerce .cart .button:hover,
.woocommerce .checkout-button:hover,
.woocommerce button.button:hover {
    background: #333 !important;
}

/* Cart totals */
.cart_totals {
    background: #f5f5f5 !important;
    padding: 25px !important;
}

/* === CHECKOUT === */
.woocommerce-checkout input,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    border: 2px solid #e5e5e5 !important;
    border-radius: 0 !important;
    padding: 12px 15px !important;
}

.woocommerce-checkout input:focus,
.woocommerce-checkout select:focus {
    border-color: #000 !important;
    box-shadow: none !important;
}

/* === PAGINATION === */
.woocommerce-pagination .page-numbers li a,
.woocommerce-pagination .page-numbers li span {
    border: 2px solid #e5e5e5 !important;
    border-radius: 0 !important;
    color: #000 !important;
    font-weight: 700 !important;
    min-width: 45px !important;
    height: 45px !important;
    line-height: 45px !important;
}

.woocommerce-pagination .page-numbers li span.current {
    background: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
}

/* === FOOTER === */
.site-footer, footer, #colophon {
    background: #000 !important;
    color: #fff !important;
    padding: 60px 0 30px !important;
}

.site-footer *, footer *, #colophon * {
    color: #fff !important;
}

.site-footer h4, .site-footer .widget-title,
footer h4, footer .widget-title {
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15em !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
}

.site-footer a, footer a {
    color: #999 !important;
    font-size: 13px !important;
}

.site-footer a:hover, footer a:hover {
    color: #fff !important;
    text-decoration: underline !important;
}

/* === PERSONALIZATION BOX (override plugin) === */
.mvc-personalization {
    border: 2px solid #000 !important;
    border-radius: 0 !important;
    background: #f5f5f5 !important;
    border-style: solid !important;
}

.mvc-personalization h4 {
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
}

.mvc-personalization input {
    border: 2px solid #e5e5e5 !important;
    border-radius: 0 !important;
    padding: 12px !important;
}

.mvc-personalization input:focus {
    border-color: #000 !important;
}

/* === PROMO BADGE (override plugin) === */
.products .product span[style*="background:#e94560"] {
    background: #000 !important;
    border-radius: 0 !important;
    font-size: 10px !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
}

/* === WIDGETS === */
.widget_product_categories a,
.widget_nav_menu a {
    font-size: 14px !important;
    font-weight: 500 !important;
    padding: 5px 0 !important;
    display: block;
}

/* === SCROLLBAR (subtile) === */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #000;
}

/* === MOBILE === */
@media (max-width: 768px) {
    .mvc-hero img {
        height: 60vh;
    }

    h1 { font-size: 28px !important; }
    h2 { font-size: 22px !important; }

    .products .product .woocommerce-loop-product__title {
        font-size: 12px !important;
    }

    .single-product .product_title {
        font-size: 22px !important;
    }
}

/* === ANIMATIONS === */
.products .product {
    animation: fadeInUp 0.4s ease forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.products .product:nth-child(1) { animation-delay: 0.05s; }
.products .product:nth-child(2) { animation-delay: 0.1s; }
.products .product:nth-child(3) { animation-delay: 0.15s; }
.products .product:nth-child(4) { animation-delay: 0.2s; }
.products .product:nth-child(5) { animation-delay: 0.25s; }
.products .product:nth-child(6) { animation-delay: 0.3s; }
.products .product:nth-child(7) { animation-delay: 0.35s; }
.products .product:nth-child(8) { animation-delay: 0.4s; }
