/* Halloween — habillage chaud et élégant, sans modifier la structure du site. */
body.mtb-event-halloween {
  --ink: #35251f;
  --muted: #735f54;
  --cream: #f4dfc6;
  --paper: #fff8ed;
  --coral: #e47a2d;
  --coral-dark: #bb541b;
  --rose: #e8b27e;
  --line: #4a2d211f;
  --mtb-cream: #f4dfc6;
  --mtb-paper: #fff8ed;
  --mtb-coral: #e47a2d;
  --mtb-coral-dark: #bb541b;
  --mtb-brown: #35251f;
  --mtb-muted: #735f54;
  --mtb-line: #4a2d211f;
  background: #fff8ed !important;
  color: #35251f;
}

body.mtb-event-halloween::after { content: none !important; }

/* Sur la home, la navigation reste posée directement sur la photo. */
body.mtb-event-halloween.home .site-header {
  background: transparent !important;
  border-color: transparent !important;
}

body.mtb-event-halloween .mtb-site-header,
body.mtb-event-halloween .shop-site-header {
  background: #35251f !important;
  border-color: #8d593e !important;
}

body.mtb-event-halloween .hero::before,
body.mtb-event-halloween .mtb-hero::before {
  background:
    linear-gradient(90deg, #24150edb 0%, #3d2118a8 46%, #5a291533 78%),
    linear-gradient(0deg, #24150ebd, transparent 55%) !important;
}

body.mtb-event-halloween.home .hero-content::after {
  content: "🎃";
  position: absolute;
  right: 2%;
  bottom: 62px;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 1px solid #ffffff52;
  border-radius: 50%;
  background: #2d1f1ab8;
  box-shadow: 0 12px 35px #160c0938;
  backdrop-filter: blur(8px);
  font-size: 34px;
  line-height: 1;
  transform: rotate(5deg);
}

body.mtb-event-halloween .intro,
body.mtb-event-halloween .events,
body.mtb-event-halloween .shop-hero,
body.mtb-event-halloween .product-header,
body.mtb-event-halloween .mtb-contact-hero {
  background: #f3ddc4 !important;
  border-color: #dab991 !important;
}

/* Les cartes d’avis étant gris clair, leur section reste claire. */
body.mtb-event-halloween .reviews {
  background: #f4ede7 !important;
  color: #4b372f !important;
  border-color: #dfcfc5 !important;
}

body.mtb-event-halloween .reviews-title { color: #4b372f !important; }
body.mtb-event-halloween .reviews .eyebrow { color: #a84f36 !important; }
body.mtb-event-halloween .trustindex-slot { background: transparent !important; }
body.mtb-event-halloween .trustindex-slot [class*="review-item"],
body.mtb-event-halloween .trustindex-slot [class*="review-content"],
body.mtb-event-halloween .trustindex-slot .ti-review-item > .ti-inner {
  background: #f4f4f4 !important;
  color: #4b372f !important;
  border-color: #ded8d4 !important;
}

body.mtb-event-halloween .aperos,
body.mtb-event-halloween .event-process,
body.mtb-event-halloween .mtb-site-footer,
body.mtb-event-halloween footer {
  background: #30231f !important;
  color: #fff8ee !important;
}

body.mtb-event-halloween .gift,
body.mtb-event-halloween .event-occasions,
body.mtb-event-halloween .shop-help .shop-shell {
  background: #dfb17f !important;
}

body.mtb-event-halloween .quick-grid,
body.mtb-event-halloween .quick-card,
body.mtb-event-halloween .product,
body.mtb-event-halloween .mtb-product-card,
body.mtb-event-halloween .shop-product-card,
body.mtb-event-halloween .service-section,
body.mtb-event-halloween .people-card,
body.mtb-event-halloween .choice-card,
body.mtb-event-halloween .order-summary,
body.mtb-event-halloween .mtb-contact-aside,
body.mtb-event-halloween .mtb-contact-form-card {
  background: #fffaf2 !important;
  border-color: #dec3a5 !important;
  box-shadow: 0 12px 34px #38281e14 !important;
}

/* Ne touche pas aux quatre illustrations de raccourcis de l’accueil. */
body.mtb-event-halloween .quick-icon { border-color: inherit; }

body.mtb-event-halloween .btn-primary,
body.mtb-event-halloween .mtb-button,
body.mtb-event-halloween.woocommerce .button,
body.mtb-event-halloween .woocommerce .button,
body.mtb-event-halloween input[type="submit"],
body.mtb-event-halloween #place_order {
  background: #e47a2d !important;
  color: #fff !important;
  box-shadow: 0 9px 22px #9b461f38 !important;
}

body.mtb-event-halloween .btn-primary:hover,
body.mtb-event-halloween .mtb-button:hover,
body.mtb-event-halloween.woocommerce .button:hover,
body.mtb-event-halloween input[type="submit"]:hover {
  background: #bb541b !important;
}

body.mtb-event-halloween .eyebrow,
body.mtb-event-halloween .product-link,
body.mtb-event-halloween .shop-product-top,
body.mtb-event-halloween .shop-product-link { color: #a6472d !important; }

body.mtb-event-halloween .segmented button.is-selected,
body.mtb-event-halloween .segmented button:hover {
  background: #e47a2d !important;
  color: #fff !important;
  border-color: #bb541b !important;
}

body.mtb-event-halloween .mtb-manager-dates button.is-selected {
  background: #ead0b5 !important;
  border-color: #a95131 !important;
  color: #35251f !important;
}

body.mtb-event-halloween input,
body.mtb-event-halloween select,
body.mtb-event-halloween textarea {
  border-color: #d8b995 !important;
  background: #fffaf2 !important;
}

body.mtb-event-halloween .mtb-floating-cart {
  background: #35251f !important;
  border-color: #8e624c !important;
  color: #fff !important;
}

body.mtb-event-halloween .mtb-floating-cart svg { stroke: #edaa62 !important; }

body.mtb-event-halloween.woocommerce-checkout:not(.woocommerce-order-received) {
  background: #fff8ef !important;
}

body.mtb-event-halloween.woocommerce-checkout form.checkout > .col2-set,
body.mtb-event-halloween.woocommerce-checkout #order_review_heading,
body.mtb-event-halloween.woocommerce-checkout #order_review,
body.mtb-event-halloween.woocommerce-checkout form.checkout_coupon {
  background: #fffaf3 !important;
  border-color: #d8ba99 !important;
}

body.mtb-event-halloween.woocommerce-checkout #payment { background: #f0ddc9 !important; }

@media (max-width: 700px) {
  body.mtb-event-halloween.home .hero-content::after {
    right: 8px;
    bottom: 38px;
    width: 48px;
    height: 48px;
    font-size: 25px;
  }
}

/* Équilibre final : prune sur les pages intérieures, transparence sur la home. */
body.mtb-event-halloween {
  --mtb-brown: #39233f;
}

body.mtb-event-halloween .mtb-site-header,
body.mtb-event-halloween .shop-site-header {
  background: #39233f !important;
  border-color: #68466e !important;
}

body.mtb-event-halloween.home .site-header,
body.mtb-event-halloween.home .mtb-site-header {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

body.mtb-event-halloween .hero::before,
body.mtb-event-halloween .mtb-hero::before {
  background:
    linear-gradient(90deg, #241128e8 0%, #432347ad 47%, #55274535 78%),
    linear-gradient(0deg, #251329c7, transparent 55%) !important;
}

body.mtb-event-halloween .aperos,
body.mtb-event-halloween .event-process,
body.mtb-event-halloween .mtb-site-footer,
body.mtb-event-halloween footer {
  background: #302034 !important;
}

body.mtb-event-halloween .mtb-floating-cart {
  background: #39233f !important;
}

/* Navigation lisible sur les fonds prune. */
body.mtb-event-halloween .mtb-site-header a,
body.mtb-event-halloween .shop-site-header a,
body.mtb-event-halloween .site-header .nav-links a,
body.mtb-event-halloween .mtb-desktop-menu a {
  color: #fff7ed !important;
  text-shadow: 0 1px 10px #160b1866;
}

body.mtb-event-halloween .mtb-site-header a:hover,
body.mtb-event-halloween .shop-site-header a:hover,
body.mtb-event-halloween .mtb-desktop-menu a:hover {
  color: #f6b66f !important;
}

/* Toutes les fiches produits utilisent elles aussi le bandeau violet. */
body.mtb-event-halloween.single-product .product-header,
body.mtb-event-halloween main.product-page .product-header {
  background: #39233f !important;
  border-color: #65436b !important;
}

body.mtb-event-halloween .product-header .back-link,
body.mtb-event-halloween .product-header .product-menu a,
body.mtb-event-halloween .product-header .mtb-desktop-menu a {
  color: #fff7ed !important;
}

body.mtb-event-halloween .product-header .shop-menu summary {
  background: #ffffff17 !important;
  border-color: #ffffff45 !important;
  color: #fff7ed !important;
}

/* Illustration vectorielle originale, sans emoji ni pastille. */
body.mtb-event-halloween.home .hero-content::after {
  content: none !important;
  display: none !important;
}

body.mtb-event-halloween.home .hero-copy{position:relative}
body.mtb-event-halloween.home .hero-copy:before,body.mtb-event-halloween.home .hero-copy:after{content:"";position:absolute;z-index:-1;width:132px;height:66px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 32'%3E%3Cpath fill='%23f2a087' stroke='%2339233f' stroke-width='1.35' stroke-linejoin='round' d='M32 15C27 8 23 6 18 8 14 4 8 3 2 5c5 5 3 10 3 15 6-3 11-2 16 3 3-3 6-4 11 2 5-6 8-5 11-2 5-5 10-6 16-3 0-5-2-10 3-15-6-2-12-1-16 3-5-2-9 0-14 7Z'/%3E%3C/svg%3E") center/contain no-repeat;opacity:1;pointer-events:none;filter:drop-shadow(0 6px 10px rgba(24,10,20,.42))}
body.mtb-event-halloween.home .hero-copy:before{top:0;right:-118px;transform:rotate(11deg)}
body.mtb-event-halloween.home .hero-copy:after{top:146px;left:-104px;width:94px;height:47px;transform:rotate(-16deg);opacity:1;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 34'%3E%3Cpath fill='%23e98872' stroke='%2339233f' stroke-width='1.35' stroke-linejoin='round' d='M34 16 26 9l-9 2L8 5 1 7l8 8-2 11 12-5 9 7 6-7 6 7 9-7 12 5-2-11 8-8-7-2-9 6-9-2-8 7Z'/%3E%3C/svg%3E")}
@media(max-width:900px){body.mtb-event-halloween.home .hero-copy:before{top:28px;right:4px;width:82px;height:41px}body.mtb-event-halloween.home .hero-copy:after{top:164px;left:-4px;width:58px;height:29px}}
@media(max-width:520px){body.mtb-event-halloween.home .hero-copy:before{top:34px;right:-3px;width:98px;height:49px;filter:drop-shadow(0 7px 12px rgba(28,12,23,.48)) brightness(1.18)}body.mtb-event-halloween.home .hero-copy:after{display:none}}

/* Les grands titres gagnent du contraste sans devenir criards. */
body.mtb-event-halloween .section-title,
body.mtb-event-halloween .shop-list-head h2,
body.mtb-event-halloween .event-contact-card h2,
body.mtb-event-halloween .product-title-row h1 {
  color: #39233f !important;
}

body.mtb-event-halloween .aperos .section-title,
body.mtb-event-halloween .event-process .section-title {
  color: #fff7ed !important;
}

/* Silhouette aux ailes pointues, inspirée d'une vraie chauve-souris en vol. */
body.mtb-event-halloween.home .hero-copy:before,
body.mtb-event-halloween.home .hero-copy:after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 34'%3E%3Cpath fill='%236b3f62' stroke='%23f5c7b7' stroke-width='1.25' stroke-linejoin='round' d='M32 15 27 9l-2 7C19 11 13 8 6 8L1 4c3 7 4 13 1 20 6-3 11-2 16 3 3-4 7-4 14 5 7-9 11-9 14-5 5-5 10-6 16-3-3-7-2-13 1-20l-5 4c-7 0-13 3-19 8l-2-7-5 6Z'/%3E%3C/svg%3E") !important;
}

body.mtb-event-halloween.home .hero-copy:before,
body.mtb-event-halloween.home .hero-copy:after{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 34'%3E%3Cpath fill='%23ffffff' fill-opacity='.3' stroke='%23ffffff' stroke-opacity='.78' stroke-width='1.25' stroke-linejoin='round' d='M32 15 27 9l-2 7C19 11 13 8 6 8L1 4c3 7 4 13 1 20 6-3 11-2 16 3 3-4 7-4 14 5 7-9 11-9 14-5 5-5 10-6 16-3-3-7-2-13 1-20l-5 4c-7 0-13 3-19 8l-2-7-5 6Z'/%3E%3C/svg%3E")!important;
  filter:drop-shadow(0 5px 9px rgba(28,12,23,.3));
}
body.mtb-event-halloween.home .hero-copy:after{top:116px;left:-150px;transform:rotate(-12deg)}
@media(max-width:900px){body.mtb-event-halloween.home .hero-copy:after{top:142px;left:-16px}}
@media(max-width:520px){body.mtb-event-halloween.home .hero-copy:after{display:none}}

/* Priorité finale : tous les CTA auparavant rouges reprennent l'orange du menu. */
body.mtb-event-halloween.home .hero-actions .btn:nth-child(2),
body.mtb-event-halloween.home .apero-actions .btn-primary,
body.mtb-event-halloween.home .events-bottom .btn-primary,
body.mtb-event-halloween.home .gift-card .btn-primary,
body.mtb-event-halloween .single_add_to_cart_button,
body.mtb-event-halloween .gift-submit,
body.mtb-event-halloween .event-form input[type="submit"],
body.mtb-event-halloween #place_order,
body.mtb-event-halloween .mtb-sticky-action:not(:disabled){
  border-color:#e47a2d!important;
  background:#e47a2d!important;
  color:#fff!important;
  box-shadow:0 9px 22px #9b461f38!important;
}
body.mtb-event-halloween.home .hero-actions .btn:nth-child(2):hover,
body.mtb-event-halloween.home .apero-actions .btn-primary:hover,
body.mtb-event-halloween.home .events-bottom .btn-primary:hover,
body.mtb-event-halloween.home .gift-card .btn-primary:hover,
body.mtb-event-halloween .single_add_to_cart_button:hover,
body.mtb-event-halloween .gift-submit:hover,
body.mtb-event-halloween .event-form input[type="submit"]:hover,
body.mtb-event-halloween #place_order:hover,
body.mtb-event-halloween .mtb-sticky-action:not(:disabled):hover{
  border-color:#bb541b!important;
  background:#bb541b!important;
}

/* Ambiance Halloween renforcée dans le premier écran, sans masquer la photo. */
body.mtb-event-halloween.home .hero:before{
  background:
    radial-gradient(circle at 62% 27%,rgba(228,122,45,.25) 0,rgba(228,122,45,.08) 17%,transparent 34%),
    radial-gradient(circle at 24% 64%,rgba(77,32,76,.34) 0,transparent 37%),
    linear-gradient(90deg,#24150ee8 0%,#3d2118b8 46%,#5a29153d 78%),
    linear-gradient(0deg,#24150ed0,transparent 57%)!important;
}
body.mtb-event-halloween.home .hero{
  box-shadow:inset 0 -18px 34px rgba(228,122,45,.22);
}
body.mtb-event-halloween.home .hero .title{
  text-shadow:0 3px 20px rgba(24,10,20,.52),0 0 42px rgba(228,122,45,.13);
}
body.mtb-event-halloween.home .hero-location{
  display:inline-flex!important;
  align-items:center;
}
body.mtb-event-halloween.home .hero-location:after{
  content:"HALLOWEEN";
  margin-left:10px;
  padding-left:10px;
  border-left:1px solid rgba(228,122,45,.48);
  color:#d9651f;
  font-size:.68rem;
  font-weight:950;
  letter-spacing:.12em;
}
@media(max-width:600px){
  body.mtb-event-halloween.home .hero-location:after{margin-left:7px;padding-left:7px;font-size:.6rem;letter-spacing:.08em}
}

/* Mobile : la chauve-souris respire sous le badge Halloween. */
@media(max-width:600px){
 body.mtb-event-halloween.home .hero-copy:before{
  top:58px!important;
  right:-3px!important;
 }
}
