/*
Theme Name:     Bricks - Child Theme
Theme URI:      http://themovation.com
Template:       bricks
Author:         Bricker
Version:        3.0
Text Domain:    bricks
Domain Path:    /languages/
*/
/* = Theme customization starts here
*/








.post-meta {
  width: 100%;
}

.post-meta .item {
  display: block;                   /* chaque .item occupe toute la largeur */
  width: 100%;                      /* occupe tout le conteneur */
  box-sizing: border-box;
  text-align: center;               /* centre le contenu horizontalement */              /* espace autour du texte */
}

/* 1 ligne sur 2 en vert */
.post-meta.piece_meta .item:nth-child(odd) {
  background-color: #66cc66;
}

/* 1 ligne sur 2 en vert */
.post-meta.billet_meta .item:nth-child(even) {
  background-color: #66cc66;
}

.custom_estimation {
    display:flex;
    flex-direction: column;
    align-items:center;
    justify-content:center;
    gap:5px; 
}

.billet_est .custom_estimation {
    flex-direction: row;
}

.custom_estimation .input-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px; /* Espace entre le label et l'input */
}

.custom_estimation label {
      margin-bottom:0;
      white-space:nowrap;
      color: #333333
}

.custom_estimation input {
    width:55px;
    line-height:1em;
    margin-bottom:0; 
    padding: 0 5px; 
}

.custom_estimation button {
    margin-bottom:0;
    background:transparent;
    border:none;
    cursor:pointer;
    padding:0;
    width:22px;
    height:22px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.custom_estimation button img {
    display:block;
    width:22px;
    height:22px;
}



/* Custom CSS for monnaie breadcrumb */
.monnaie-breadcrumb span {
    padding: 0 15px;
    font-size: 16px;
    margin: 0 0 -15px;
    display: block;
}

.breadcrumb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: baseline;
    font-size: 24px;
}

.breadcrumb-item:not(:last-child)::after {
    content: "›";
    margin: 0 10px;
    color: #999;
    font-size: 18px;
}

.breadcrumb-item a {
    color: #66cc66;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-item:first-child a {
    color: #66cc66;
    font-size:38px;
    font-weight: 600;
}

.breadcrumb-item a:hover {
    color: #005a87;
}

.breadcrumb-item.active {
    color: #666;
    font-weight: 500;
}

.breadcrumb-filter {
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 3px;
    transition: background-color 0.3s;
}

.breadcrumb-filter:hover {
    background-color: #f0f0f0;
}

/* Custom CSS for monnaie counter */
.monnaie-counter {
    padding:  0 10px;
    border-radius: 5px;
    text-align: left;
}

.counter-number {
    font-weight: bold;
    color: #66cc66;
}


/* Custom CSS for monnaie filters form */
.monnaie-filters-form .filter-item  {
margin: 15px 0
}

.monnaie-filters-form .filter-item label {
display:none
}


@media (max-width: 766px) {
 .monnaie-filters-form .filters-wrapper {
        display: flex;
        gap: 8px;
        align-items: stretch;
        justify-content: center;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 0;
    }

    .monnaie-filters-form .filter-item {
        flex: 1;
        min-width: 90px;
        max-width: 150px;
        position: relative;
    }

    .monnaie-filters-form .filter-select {
        width: 100%;
        height: auto;
        border: 1px solid #ddd;
        border-radius: 6px;
        background: white;
        font-size: 11px;
        text-align: center;
        padding: 5px 4px;
        cursor: pointer;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        position: relative;
        line-height: 1.2;
        font-weight: 500;
        color: #333;
    }

    /* Ajout de la flèche centrée en bas */
    .monnaie-filters-form .filter-item::after {
        content: "▼";
        position: absolute;
        bottom: -14px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 12px;
        color: #666;
        pointer-events: none;
        z-index: 1;
    }

    .monnaie-filters-form .filter-select:focus {
        outline: none;
        border-color: #007cba;
        box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.2);
    }

    .monnaie-filters-form .filter-select:hover {
        border-color: #007cba;
        transform: translateY(-1px);
        transition: all 0.2s ease;
    }
}




@media (max-width: 477px) {
.only-desktop {
    display: none;
}   

.custom_estimation input {
    width: 45px;
}

    .breadcrumb-item:first-child a {
    font-size:24px;
}

    .breadcrumb-item {
    font-size: 18px;
}

.monnaie-breadcrumb span {
    font-size: 14px;
    margin: 0 0 -10px;
}

}


