/*
Theme Name: Merto Child
Theme URI: https://demo.theme-sky.com/merto/
Author: Theme Sky Team
Author URI: http://theme-sky.com/
Description: A Premium and Responsive WordPress theme, designed for E-Commerce websites
Template: merto
Version: 1.0.0
License: GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Tags: two-columns, left-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
Text Domain: merto-child
*/
/* body {
    border-top: 6px solid red;
} */

/* Le titre n'affecte pas le reste */
.ts-search-by-category{
    position: relative;
    bottom: 30px;
}
.header-right{
    position: relative;
    bottom: 50px;
}
.header-bottom {
    position: relative;
    bottom: 100px;
}
.ts-header .header-v2-title-wrapper {
    width: 100%;
    text-align: center;
    line-height: 1;
    
}

/* Le titre */
.ts-header .header-v2-title {
    font-size: 80px;
    font-weight: 900;
    color: #F5E727;
    white-space: nowrap;
    text-shadow:
          2px 2px 0 #000,
        4px 4px 8px rgba(0,0,0,0.5);
         font-style: italic;
    text-transform: uppercase;
    position: relative;
    top: 30px; /* ⬅️ descend le texte */
}

/* Le menu + search restent stables */
/* .ts-header .header-middle > *:not(.header-v2-title-wrapper) {
    flex-shrink: 0;
} */

.lc225-225{
    color: #0d74d1;
    font-size: 80px;

}
.ts-header .lc225-sub {
    display: block;
    font-size: 40px;
    letter-spacing: 6px;
    font-weight: 700;
    color: #1e5bff;
    margin-top: 4px;
}
.logo-wrapper{
    position: relative;
    bottom: 130px;
    right: 30px;
}

/* ✅ Accueil uniquement */
body.home .ts-header,
body.front-page .ts-header {
    margin-bottom: -100px;
}



/* 📱📲 TABLETTE (iPad Mini) : réduire la taille du titre */
@media (min-width: 768px) and (max-width: 1024px) {

    .ts-header .header-v2-title {
        font-size: 50px;
        top: 15px;
    }

    .lc225-225 {
        font-size: 50px;
    }

    .ts-header .lc225-sub {
        font-size: 20px;
        letter-spacing: 4px;
    }
    .ts-search-by-category {
       display: none;
    }

    .ts-search-by-category input[type="search"] {
        height: 30px;
        font-size: 12px;
    }

    .ts-search-by-category .search-button,
    .ts-search-by-category button {
        height: 30px;
        width: 30px;
    }
    .header-right{
    position: relative;
    left: 400px;
}
.logo-wrapper{
    position: relative;
    bottom: 90px;
    right: 30px;
}
}

@media (max-width: 767px) {


    
  /* Header toujours visible */
  .ts-header {
    display: block !important;
  }

  /* Structure propre */
  .ts-header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
  }

  /* Logo centré */
  .logo-wrapper {
    position: static !important;
    margin: 0 auto;
    text-align: center;
  }

  .logo-wrapper img {
    max-height: 50px;
    width: auto;
  }

  /* Boutons recherche + panier visibles */
  .header-right,
  .search-wrapper,
  .header-search,
  .ts-search-form {
    display: flex !important;
    align-items: center;
  }

  /* Réduire la taille de la search */
  .ts-search-by-category input[type="search"] {
    height: 32px;
    font-size: 13px;
  }

  .ts-search-by-category button {
    height: 32px;
    width: 32px;
  }

  /* ❌ Cacher uniquement le GRAND TITRE */
  .header-v2-title-wrapper,
  .header-v2-title {
    display: none !important;
  }

   /* 🔴 Annuler TOUS les déplacements desktop */
  .ts-search-by-category,
  .header-right,
  .header-bottom,
  .logo-wrapper {
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
  }

  /* Structure mobile */
  .ts-header,
  .ts-header-mobile,
  .header-mobile {
    display: block !important;
  }

  .ts-header .header-inner,
  .ts-header-mobile .header-inner {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
  }

  /* Logo centré */
  .logo-wrapper {
    margin: 0 auto !important;
    text-align: center;
  }

  .logo-wrapper img {
    max-height: 50px;
    width: auto;
  }

  /* 🔍 Recherche + 🛒 Panier TOUJOURS visibles */
  .header-right,
  .search-wrapper,
  .header-search,
  .ts-search-form,
  .shopping-cart-wrapper {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* ❌ Cacher SEULEMENT le grand titre */
  .header-v2-title-wrapper,
  .header-v2-title {
    display: none !important;
  }
  .ts-header {
    margin-bottom: 0 !important;
  }
}


