/**
* Theme Name:        avanam-gromend
* Theme URI:         https://templatemela.com/
* Template:          avanam
* Author:            TemplateMela
* Author URI:        #
* Description:       This is a child theme of Avanam, generated by TemplateMela.
* Version:           1.0.0
* License:           GNU General Public License v3.0 (or later)
* License URI:       https://www.gnu.org/licenses/gpl-3.0.html
* Text Domain:       avanam-gromend
* Requires at least: 6.2
* Tested up to:      6.6
* Requires PHP:      7.4
* Tags: translation-ready, two-columns, right-sidebar, left-sidebar, footer-widgets, blog, custom-logo, custom-background, custom-menu, rtl-language-support, editor-style, threaded-comments, custom-colors, featured-images, wide-blocks, full-width-template, theme-options, e-commerce

*/


@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');

.woocommerce div.product div.summary form.cart .button {
    width: auto;
    margin: 0px 7px 0 !important;
    display: inline-block !important;
}



@media (min-width: 1024px) {
    .tm-reviews__grid2 {
        grid-template-columns: repeat(1, 1fr) !important;
    }


    .tm-reviews__grid2 .tm-review {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: var(--shadow);
    margin-top: 5px;
}
}

.pacifico-regular {
    font-family: "Pacifico", cursive !important;
    font-weight: 400;
    font-style: normal;
}

.header-search-advanced form.search-form {
    background: #ffffff;
    border: 2px solid #3BA5B7 !important;
    border-radius: 5px 5px 5px 5px;
}

.thebase-svg-icon {
    fill: #3BA5B7 !important;
    color: #3BA5B7 !important;
}

.thebase-account-svg {
    fill: #3BA5B7 !important;
    color: #3BA5B7 !important;
}

.site-main-header-wrap .site-header-row-container-inner {
    background: #3BA5B7 !important;
    border-bottom: 1px solid var(--global-gray-400);
}

.main-navigation .primary-menu-container>ul li.menu-item>a {
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.2px;
    font-family: var(--global-primary-nav-font-family);
    color: #ffffff !important;
}


.sub-menu {
    color: black !important;
}

.menu-item-type-post_type .menu-item-object-page {
    color: black !important;
}

.menu-item-type-post_type {
    color: black !important;
}

.header-navigation .header-menu-container ul ul li.menu-item>a {
    width: 240px;
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    color: var(--global-palette3);
    font-weight: 400;
    font-size: 15px;
    line-height: 1.7;
    letter-spacing: 0.5px;
    text-transform: capitalize;
    color: black !important;
}

.logo,
.site-title,
.recettes-corses {
    font-family: 'Pacifico', cursive !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Pacifico', cursive !important;

}




.account-wishlist,
.woocommerce-MyAccount-navigation-link--wishlist {
    display: none !important;
}

.woocommerce-mini-cart__buttons .button.wc-forward:not(.checkout) {
    display: none !important;
}


.entry-hero h1 {
    font-size: 36px;
    color: #FADF47;
    text-shadow: 1px 1px 2px black;
}

.base-breadcrumb-container {
    color: white;
    font-weight: bold !important;
    font-size: 1.2em;
}


#inner-wrap {
    background-color: #E6F2F4 !important;
}

.elementor-element-aad9590 {
    border: solid white 5px !important;
}




.entry-date.published.updated {
    display: none !important;
}

.entry-meta>:after {
    display: none !important;
}

.post-author {
    display: none !important;
}

.entry-date.published {
    display: none !important;
}

@media (max-width: 991px) {
    .site-main-header-wrap .site-header-row-container-inner {
        background-color: white !important;
    }

    .page-title {
        color: #FADE3F !important;
    }

    .entry-hero-container-inner {
        position: relative;
        background-image: url(/wp-content/uploads/photo-1714036983482-eae436768952-1.jpg) !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        z-index: 0;
        pointer-events: none;
        filter: contrast(1.15) saturate(1.1);
        color: #FADE3F !important;
    }

    /* Voile sombre */
    .entry-hero-container-inner::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        /* intensité du voile */
        z-index: 0;
    }

}


/* === Styles scopés : pas d'impact global === */
.tm-reviews {
    --gap: 1rem;
    --card-bg: #fff;
    --muted: #6b7280;
    --border: #e5e7eb;
    --radius: 16px;
    --shadow: 0 6px 18px rgba(0, 0, 0, .06);
    margin: 2rem 0
}

.tm-reviews__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem 1rem;
    margin-bottom: 1rem
}

.tm-reviews__badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: .35rem .6rem
}

.tm-reviews__badge svg {
    width: 18px;
    height: 18px;
    display: block
}

.tm-reviews__source {
    font-size: .9rem
}

.tm-reviews__title {
    font-size: 1.125rem;
    line-height: 1.2;
    margin: 0
}

.tm-reviews__stars {
    letter-spacing: .12em
}

.tm-reviews__count {
    color: var(--muted);
    margin-left: .3rem
}

.tm-reviews__cta {
    margin-left: auto;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid currentColor
}

.tm-reviews__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gap)
}

@media (min-width:700px) {
    .tm-reviews__grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (min-width:1024px) {
    .tm-reviews__grid {
        grid-template-columns: repeat(3, 1fr)
    }
}

.tm-review {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: var(--shadow)
}

.tm-review__header {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .5rem
}

.tm-review__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    font-weight: 700
}

.tm-review__name {
    font-weight: 600
}

.tm-review__meta {
    font-size: .9rem;
    color: var(--muted);
    display: flex;
    gap: .5rem;
    align-items: center
}

.tm-review__text {
    margin: .5rem 0 0 0
}

.tm-review__stars {
    color: #f59e0b
}

/* or laisse la couleur héritée si tu préfères */

.livraison-offerte {
    background: #f9f9f9;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    color: #333;

    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.livraison-offerte p {
    margin: 0;
}

.livraison-offerte strong {
    color: #c0392b;
}

.livraison-offerte:hover {
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.primary-sidebar.widget-area .widget,
#filter-drawer .widget {
    border: 1px solid var(--global-gray-400);
    padding: 15px;
    border-radius: 5px;
    background: #ffffff;
}

.wp-block-cover .has-background-dim:not([class*=-background-color]),
.wp-block-cover-image .has-background-dim:not([class*=-background-color]),
.wp-block-cover-image.has-background-dim:not([class*=-background-color]),
.wp-block-cover.has-background-dim:not([class*=-background-color]) {
    background-color: rgb(68, 65, 65) !important;
}

.entry-hero-container-inner {
    background-image: url(/wp-content/uploads/photo-1714036983482-eae436768952-1.jpg) !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    z-index: 0;
    pointer-events: none;
    filter: contrast(1.15) saturate(1.1);
    color: #FADE3F !important;
}


.entry-hero-container-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.10);
    /* ajuste 0.15 à 0.4 */
    z-index: 1;
}

.entry-hero .base-breadcrumbs {
    max-width: 1430px;
    text-shadow: 1px 1px 2px black;
}


/* Masquer le bouton Compare */
.woosc-btn {
    display: none !important;
}

/* Masquer le bouton Wishlist */
.woosw-btn {
    display: none !important;
}


.woocommerce.product-tab-style-center div.product .woocommerce-tabs ul.tabs {
    padding: 0;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background-color: #F2F8F6 !important;
}


.single-product div.product .woocommerce-tabs .wc-tab, .single-product div.product .woocommerce-tabs ul.tabs {
    padding: 30px;
    margin-bottom: 0;
    background-color: #f7f9fc !important;
}


.woocommerce-checkout form.checkout .woocommerce-account-fields div.create-account, .woocommerce-checkout form.checkout .woocommerce-billing-fields__field-wrapper, .woocommerce-checkout form.checkout .woocommerce-shipping-fields .shipping_address {
    padding: 30px;
    margin-bottom: 20px;
    border: 1px solid #ffffff !important;
    border-radius: 5px;
	background-color: #ffffff !important;
}


  .social-section h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
  }

  .social-section .section-subtitle {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 0;
  }

  .social-section-header {
    margin-bottom: 1.5rem;
  }

  .social-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
  }

  @media (min-width: 576px) {
    .social-grid {
      grid-template-columns: 1fr 1fr;
    }
  }

  @media (min-width: 992px) {
    .social-grid {
      grid-template-columns: 1fr 1fr 1fr;
    }
  }

  .social-grid blockquote {
    background: #fff;
    border-radius: 12px;
    padding: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  }

  .social-grid > * {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeUp 0.4s ease forwards;
  }

  .social-grid > *:nth-child(1) { animation-delay: 0.1s; }
  .social-grid > *:nth-child(2) { animation-delay: 0.2s; }
  .social-grid > *:nth-child(3) { animation-delay: 0.3s; }
  .social-grid > *:nth-child(4) { animation-delay: 0.4s; }

  @keyframes fadeUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }


/* Plus d'air dans le contenu de la carte */
.loop-entry .entry-content-wrap {
  padding: 22px 22px 20px 22px !important;
}

/* Plus d'interligne et de confort pour le texte */
.loop-entry .entry-summary {
  margin-top: 10px;
}
.loop-entry .entry-summary p {
  line-height: 1.7 !important;
  margin-top: 10px !important;
  margin-bottom: 16px !important;
}

/* Un peu d'air sous le titre */
.loop-entry .entry-title {
  margin-bottom: 12px !important;
}


