/* ============================================================
   GLOBAL
============================================================ */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* ============================================================
   HEADER
============================================================ */

header.header-sticky {
  position: sticky;
  top: 0;
  z-index: 999;
}

#header-sticky.elementor-sticky--active,
.header-sticky.elementor-sticky--active {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  transition: 0.3s ease;
}

/* ============================================================
   ⚠️ REMOVE ELEMENTOR POPUP (IMPORTANT)
============================================================ */

.dialog-widget,
.dialog-widget-content,
.dialog-close-button {
  display: none !important;
}

/* ============================================================
   MINI CART OVERLAY FIX
============================================================ */

.elementor-menu-cart__container {
  top: 0 !important;
  height: 100vh !important;
}

/* ============================================================
   TOP BAR
============================================================ */

.elina-top-bar {
  display: flex;
  justify-content: space-between;
  margin: 30px 0 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.elina-count {
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #8a8a8a;
}

.elina-count span {
  color: #c59d2f;
  font-weight: 500;
}

@media (max-width: 768px) {
  .elina-top-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 20px 0 10px;
  }
}

/* ============================================================
   MINI CART BUTTONS (ELINA ZARA STYLE)
============================================================ */

.elementor-menu-cart__footer-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.elementor-menu-cart__footer-buttons a:first-child {
  background: #f5f5f5 !important;
  color: #111 !important;
  border-radius: 40px !important;
  padding: 14px !important;
  text-align: center;
  transition: 0.3s ease;
}

.elementor-menu-cart__footer-buttons a:first-child:hover {
  background: #111 !important;
  color: #fff !important;
}

.elementor-menu-cart__footer-buttons a:last-child {
  background: #111 !important;
  color: #fff !important;
  border-radius: 50px !important;
  padding: 18px !important;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
}

.elementor-menu-cart__footer-buttons a:last-child:hover {
  background: #c6a75e !important;
  color: #000 !important;
  transform: translateY(-2px);
}

/* ============================================================
   HERO BUTTON
============================================================ */

#elina-hero .elina-btn-outline {
  border: 1px solid #d4af37;
  color: #d4af37;
  background: none;
}

#elina-hero .elina-btn-outline:hover {
  background: #d4af37;
  color: #000;
}

/* ============================================================
   ADD TO CART
============================================================ */
/* ADD TO CART FIX */
.single_add_to_cart_button {
  height: 58px;
  width: 100%;
  border-radius: 0; /* 🔥 SUPPRIME LE ROND */
  background: #111;
  color: #fff !important;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: none;
  transition: all 0.3s ease;
  margin: 0;
  display: block;
}

/* HOVER */
.single_add_to_cart_button:hover {
  background: #c6a75e;
  color: #000 !important;
  transform: translateY(-2px);
}

/* ACTIVE */
.single_add_to_cart_button:active {
  transform: scale(0.98);
}
/* ============================================================
   CHECKOUT BUTTON
============================================================ */

body.woocommerce-cart .checkout-button,
body.woocommerce-cart .wc-proceed-to-checkout a {
  background: #111 !important;
  color: #fff !important;
  border-radius: 50px !important;
  padding: 18px !important;
  font-weight: 600 !important;
  border: 0 !important;
  text-align: center;
  transition: all 0.3s ease;
}

body.woocommerce-cart .checkout-button:hover,
body.woocommerce-cart .wc-proceed-to-checkout a:hover {
  background: #c6a75e !important;
  color: #000 !important;
  transform: translateY(-2px);
}

.woocommerce-cart .checkout-button {
  margin-top: 20px;
  width: 100%;
  font-size: 16px;
}
/* ============================================================
   CART — CLEAN STRUCTURE (ELINAWP FINAL)
============================================================ */
/* ================================
   CART ITEM — STRUCTURE PRO
================================ */

/* chaque ligne info */
.woocommerce-cart .product-name,
.woocommerce-cart .product-price,
.woocommerce-cart .product-quantity,
.woocommerce-cart .product-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

/* labels (Produit, Prix...) */
.woocommerce-cart td::before {
  font-weight: 500;
  color: #666;
}

/* valeur à droite */
.woocommerce-cart td a,
.woocommerce-cart td span,
.woocommerce-cart td input {
  text-align: right;
}

/* espace intérieur carte */
.woocommerce-cart tbody tr {
  padding: 14px 16px;
  border-radius: 12px;
  background: #fafafa;
}

/* espace entre cartes */
.woocommerce-cart tbody tr + tr {
  margin-top: 10px;
}
/* ===== RESET TABLE ===== */

.woocommerce-cart thead {
  display: none !important;
}

.woocommerce-cart td {
  border: none !important;
  background: none !important;
  padding: 0 !important;
}

/* ===== ROW LAYOUT ===== */

.woocommerce-cart tbody tr {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 12px 14px; /* 💎 spacing horizontal ajouté */
  margin-bottom: 8px;

  border-bottom: 1px solid #eee;
}

/* ===== PRODUCT ===== */

.woocommerce-cart .product-name a {
  font-weight: 600;
  color: #c6a75e;
}

/* ===== QUANTITY ===== */

.woocommerce-cart .quantity input {
  height: 38px;
  width: 60px;
  border-radius: 10px;
  border: 1px solid #ddd;
  text-align: center;
  background: #fafafa;
}

/* ===== REMOVE BUTTON ===== */

.woocommerce-cart .product-remove a {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 28px;
  height: 28px;

  border-radius: 50%;
  background: #f5f5f5;

  color: #999 !important;
  font-size: 14px;

  transition: all 0.25s ease;
}

.woocommerce-cart .product-remove a:hover {
  background: #c6a75e;
  color: #fff !important;
  transform: scale(1.08);
}

/* ===== HIDE UPDATE BUTTON ===== */

.woocommerce-cart button[name="update_cart"] {
  display: none !important;
}

/* ===== TOTALS ===== */

.cart_totals {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.cart_totals .order-total td {
  font-size: 18px;
  font-weight: 700;
}

/* ===== MOBILE IMPROVEMENT ===== */

@media (max-width: 768px) {

  .woocommerce-cart tbody tr {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

}
/* ============================================================
   MINI CART FIX (SANS POPUP)
============================================================ */

.elementor-menu-cart__container {
  position: fixed;
  top: 0 !important;
  right: 0;
  height: 100dvh !important;
  z-index: 99999;
}

/* contenu scroll */

.elementor-menu-cart__main {
  height: 100%;
  overflow-y: auto;
}

/* ============================================================
   PLACE ORDER BUTTON
============================================================ */

#place_order {
  width: 100%;
  height: 58px;
  border-radius: 40px;
  background: #111;
  color: #fff;
  border: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

#place_order:hover {
  background: #c6a75e;
  color: #000;
  transform: translateY(-2px);
}

#place_order:active {
  transform: scale(0.98);
}

/* ============================================================
   MOBILE UI BUTTON
============================================================ */

.mobile-filter-panel button {
  background: #111;
  color: #fff;
  border-radius: 30px;
  padding: 10px 20px;
  border: 0;
  font-size: 14px;
  transition: 0.3s ease;
}

.mobile-filter-panel button:hover {
  background: #c6a75e;
  color: #000;
}

/* ============================================================
   TRUST MESSAGE
============================================================ */

.woocommerce-cart .wc-proceed-to-checkout::after {
  content: "✔ Paiement à la livraison 🇩🇿 \a✔ Livraison 48–72h \a✔ Support WhatsApp";
  white-space: pre-line;
  display: block;
  text-align: center;
  font-size: 13px;
  margin-top: 15px;
  color: #555;
  line-height: 1.6;
}
/* ============================================================
   MOBILE OPTIMIZATION
============================================================ */

@media (max-width: 768px) {

  .elina-univers {
    padding: 50px 20px;
    text-align: center;
  }

  .elina-univers h2 {
    font-size: 26px;
  }

  .elina-univers p {
    font-size: 14px;
    margin: 0 auto;
  }

  .elina-univers img {
    margin-top: 20px;
  }

}

/* ============================================================
   SHOP / PRODUCT GRID (ELINAWP CLEAN)
============================================================ */

/* hide default woo */

.woocommerce-ordering,
.woocommerce-result-count {
  display: none;
}

/* GRID */

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

/* ============================================================
   PRODUCT CARD
============================================================ */
/* ============================================================
   PRODUCT CARD — FINAL CLEAN
============================================================ */

/* CARD */
.woocommerce ul.products li.product {
  text-align: center;
  position: relative;
  background: #fff;
  padding: 16px 16px 0 16px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.35s ease;
  overflow: hidden;

  /* 🔥 FIX ALIGNEMENT */
  display: flex;
  flex-direction: column;
}

/* HOVER */
.woocommerce ul.products li.product:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

/* IMAGE */
.woocommerce ul.products li.product img {
  border-radius: 14px;
  transition: transform 0.4s ease;
}

.woocommerce ul.products li.product:hover img {
  transform: scale(1.05);
}

/* TITLE */
.woocommerce ul.products li.product h2 {
  font-size: 15px;
  font-weight: 500;
  margin-top: 12px;

  /* 🔥 FIX LIGNES */
  min-height: 42px;
}

/* PRICE */
.woocommerce ul.products li.product .price {
  font-size: 15px;
  font-weight: 600;
  margin-top: 6px;

  /* 🔥 pousse le bouton en bas */
  margin-top: auto;
}

.woocommerce ul.products li.product .price del {
  opacity: 0.4;
  font-size: 13px;
}

/* BUTTON */
.woocommerce ul.products li.product .button {
  margin-top: 12px;
  width: 100%;
}

/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 768px) {

  .woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 0 10px;
  }

  .woocommerce ul.products li.product {
    padding: 12px 12px 0 12px;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.06);
  }

  .woocommerce ul.products li.product img {
    border-radius: 14px;
  }

  .woocommerce ul.products li.product h2 {
    font-size: 13px;
    margin-top: 10px;
    min-height: 38px; /* 🔥 alignement mobile */
  }

  .woocommerce ul.products li.product .price {
    font-size: 15px;
    font-weight: 700;
    color: #d4af37;
  }

}
/* ============================================================
   PRODUCT BUTTON
============================================================ */

.woocommerce ul.products li.product .button,
.single_add_to_cart_button {
  display: block;
  opacity: 1;
  visibility: visible;
}

.woocommerce ul.products li.product .button {
  margin-top: 10px;
  border-radius: 30px;
  padding: 10px 16px;
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  transition: all 0.25s ease;
}

.woocommerce ul.products li.product .button:hover {
  background: #c6a75e;
  color: #000;
  transform: translateY(-2px);
}

.woocommerce ul.products li.product .button:active {
  transform: scale(0.97);
}

/* ARCHIVE SAFE */

body.post-type-archive-product 
.woocommerce ul.products li.product .button {
  display: block;
}
/* ============================================================
   SALE BADGE (CLEAN)
============================================================ */

.woocommerce ul.products li.product .onsale {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #c6a75e, #e8c97a);
  color: #111;
  border-radius: 40px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);

  pointer-events: none;
  z-index: 2;
}

/* ============================================================
   ARCHIVE PAGE
============================================================ */

body.post-type-archive-product .woocommerce {
  padding: 40px 0 80px;
}

/* ============================================================
   FILTER BAR
============================================================ */

.elinawp-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

/* ITEM */

.filter-item {
  position: relative;
  font-size: 14px;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 30px;
  background: #f5f5f5;
  transition: 0.3s ease;
}

.filter-item:hover {
  background: #111;
  color: #fff;
}

/* ============================================================
   DROPDOWN (JET FILTERS FIX)
============================================================ */

/* hidden */

.filter-item 
.elementor-widget-jet-smart-filters-range,
.filter-item 
.elementor-widget-jet-smart-filters-select {
  display: none;
}

/* active */

.filter-item.active 
.elementor-widget-jet-smart-filters-range,
.filter-item.active 
.elementor-widget-jet-smart-filters-select {
  display: block;
}

/* desktop dropdown */

@media (min-width: 768px) {

  .filter-item 
  .elementor-widget-jet-smart-filters-range,
  .filter-item 
  .elementor-widget-jet-smart-filters-select {

    position: absolute;
    top: 110%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    z-index: 10000;
    min-width: 260px;
  }

}

/* ============================================================
   FILTER BUTTON
============================================================ */

.jet-smart-filters-apply-button {
  background: transparent;
  border: 1px solid #111;
  color: #111;
  border-radius: 30px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.25s ease;
}

.jet-smart-filters-apply-button:hover {
  background: #111;
  color: #fff;
}

/* ============================================================
   MOBILE OPTIMIZATION
============================================================ */

/* ============================================================
   PRODUCT PRICE
============================================================ */

.single-product .price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 15px;
}

.single-product .price ins {
  color: #d4af37;
  font-weight: 700;
  font-size: 24px;
  text-decoration: none;
}

.single-product .price del {
  color: #999;
  font-size: 16px;
  opacity: 0.7;
}

/* badge */

.single-product .price ins::after {
  content: " Offre";
  font-size: 11px;
  background: #111;
  color: #fff;
  padding: 3px 10px;
  border-radius: 20px;
  margin-left: 8px;
}
/* ============================================================
   MOBILE PRICE
============================================================ */

@media (max-width: 768px) {

  .single-product .price {
    justify-content: center;
  }

  .single-product .price ins {
    font-size: 22px;
  }

}

/* ============================================================
   STICKY CART (ELINAWP PREMIUM FIX)
============================================================ */

@media (max-width: 768px) {

  .elina-sticky-cart {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;

    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(6px);

    box-shadow: 0 -5px 20px rgba(0,0,0,0.08);
    padding: 14px 18px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    z-index: 100000;

    transform: translateY(100%);
    transition: transform 0.35s ease;
  }

  .elina-sticky-cart.visible {
    transform: translateY(0);
  }

  /* espace dynamique */

  body.single-product {
    padding-bottom: clamp(90px, 12vh, 130px);
  }

}

/* ============================================================
   STICKY CONTENT
============================================================ */

.elina-sticky-title {
  font-size: 13px;
  font-weight: 500;
  color: #222;
}

.elina-sticky-price {
  font-size: 15px;
  font-weight: 700;
  color: #d4af37;
}

/* ============================================================
   CART TOTALS
============================================================ */

.woocommerce-cart .cart_totals {
  background: #fff;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

.woocommerce-cart .order-total td {
  font-size: 18px;
  font-weight: 700;
  color: #c59d2f;
}

/* ============================================================
   COUPON
============================================================ */

.woocommerce-cart .coupon {
  background: #fff;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.05);

  display: flex;
  flex-direction: column;
  gap: 12px;
}

.woocommerce-cart .coupon input {
  border-radius: 40px;
  padding: 12px 18px;
  background: #f9f7f2;
  border: 1px solid #e5e0d8;
}

.woocommerce-cart .coupon button {
  border-radius: 40px;
  background: linear-gradient(135deg, #201f1c, #c59d2f);
  color: #fff;
  font-weight: 600;
  border: 0;
  padding: 14px;
}
/* ============================================================
   CHECKOUT ELINAWP (FINAL CLEAN)
============================================================ */

/* ================= GLOBAL ================= */

body.woocommerce-checkout {
  background: #f8f6f2;
  overflow-x: hidden;
}

/* ============================================================
   HEADER FIX (SAFE VERSION)
============================================================ */

body.woocommerce-checkout header,
body.woocommerce-checkout .elementor-location-header {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

/* ============================================================
   ELEMENTOR STRUCTURE
============================================================ */

body.woocommerce-checkout .elementor-section-boxed {
  max-width: 100%;
}

body.woocommerce-checkout .elementor-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ================= CONTAINER ================= */

.woocommerce-checkout {
  width: 100%;
  margin: auto;
  padding: 30px 20px;
}

/* ================= DESKTOP ================= */

@media (min-width: 768px) {

  .woocommerce-checkout {
    max-width: 1200px;
    padding: 50px 20px;
  }

  .woocommerce-checkout form.checkout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
  }

  .woocommerce-checkout .col2-set {
    width: 60%;
  }

  .woocommerce-checkout #order_review {
    width: 40%;
    position: sticky;
    top: 100px; /* plus safe */
  }

}

/* ================= MOBILE ================= */

@media (max-width: 767px) {

  .woocommerce-checkout {
    max-width: 520px;
    padding: 25px 15px;
  }

  .woocommerce-checkout form.checkout {
    display: block;
  }

}

/* ================= INPUTS ================= */

.woocommerce-checkout input,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
  min-height: 52px;
  border-radius: 14px;
  border: 1px solid #e8e6e1;
  padding: 10px 16px;
  width: 100%;
  transition: 0.2s ease;
}

/* textarea fix */

.woocommerce-checkout textarea {
  min-height: 100px;
}

/* focus */

.woocommerce-checkout input:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
  border-color: #d4af37;
  box-shadow: 0 0 0 2px rgba(212,175,55,0.15);
  outline: none;
}

/* ================= ORDER BOX ================= */

.woocommerce-checkout-review-order {
  background: #fff;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  overflow: visible; /* FIX CRITIQUE */
}
/* ============================================================
   SHIPPING OPTIONS (SAFE VERSION)
============================================================ */

.woocommerce-shipping-methods {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.woocommerce-shipping-methods li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid #eee;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  width: 100%;
}

.woocommerce-shipping-methods li:hover {
  border-color: #d4af37;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

/* radio */

.woocommerce-shipping-methods input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: #d4af37;
  margin: 0;
  flex-shrink: 0;
  cursor: pointer;
}

/* label */

.woocommerce-shipping-methods label {
  margin: 0;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  line-height: 1.4;
  width: 100%;
  word-break: break-word;
}

/* SELECTED (SAFE sans :has) */

.woocommerce-shipping-methods input[type="radio"]:checked + label {
  font-weight: 600;
  color: #000;
}

/* ============================================================
   MOBILE TABLE FIX (SAFE)
============================================================ */

@media (max-width: 767px) {

  .woocommerce-checkout-review-order table {
    width: 100%;
  }

  .woocommerce-checkout-review-order tr {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
  }

  .woocommerce-checkout-review-order td,
  .woocommerce-checkout-review-order th {
    border: none;
    padding: 5px 0;
  }

  .woocommerce-shipping-methods li {
    padding: 12px;
  }

}

/* ============================================================
   RESPONSIVE GRID
============================================================ */
/* ================= MOBILE PRODUCTS ================= */
@media (max-width: 768px) {

  /* FILTER PANEL */

  .mobile-filter-panel {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 85vh;
    background: #f9f7f3;
    z-index: 100000;
    border-radius: 20px 20px 0 0;
    transform: translateY(100%);
    transition: transform 0.35s ease;
  }

  .mobile-filter-panel.active {
    transform: translateY(0);
  }

  /* CTA PRODUCT */

  .single_add_to_cart_button {
    width: 100%;
    height: 55px;
    border-radius: 40px;
    background: linear-gradient(135deg, #d4af37, #c59d2f);
    font-weight: 600;
    font-size: 16px;
  }

  /* CHECKOUT */

  .woocommerce-checkout {
    padding: 20px;
  }

  /* HERO */

  .elina-hero h1 {
    font-size: 26px;
    text-align: center;
  }

  .elina-hero p {
    font-size: 14px;
    text-align: center;
  }

}
/* ============================================================
   MINI CART (FINAL FIX)
============================================================ */

.elementor-menu-cart__container {
  padding: 25px;
  box-shadow: -15px 0 40px rgba(0,0,0,0.08);

  height: 100dvh;
  overflow-y: auto;

  position: fixed;
  top: 0;
  right: 0;
  z-index: 100000;

  background: transparent;
}

.elementor-menu-cart__main {
  background: #f8f6f2;
  box-shadow: -20px 0 40px rgba(0,0,0,0.08);
}

/* products */

.elementor-menu-cart__product {
  padding: 18px 0;
  border-bottom: 1px solid #eee;
}

.elementor-menu-cart__product-name {
  font-weight: 500;
  color: #3a3a3a;
}

.elementor-menu-cart__product-price {
  color: #d4af37;
  font-weight: 600;
}

/* subtotal */

.elementor-menu-cart__subtotal {
  background: #fff;
  padding: 20px;
  border-radius: 20px;
  margin: 25px 0 15px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.05);
}

.elementor-menu-cart__subtotal .amount {
  font-size: 20px;
  font-weight: 700;
  color: #d4af37;
}

/* ============================================================
   SEARCH (CLEAN)
============================================================ */

.elina-search-zara {
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: #fff;
  padding: 0 30px;
}

.elina-search-zara h1 {
  font-size: 34px;
  margin-bottom: 30px;
}

.elina-search-zara input {
  width: 600px;
  max-width: 90%;
  border: 0;
  border-bottom: 1px solid #111;
  font-size: 20px;
  padding: 15px 0;
  background: transparent;
}

.elementor-search-form__results {
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* ============================================================
   MENU MOBILE (FINAL CLEAN)
============================================================ */

@media (max-width: 768px) {

  .header-sticky .elementor-nav-menu__container {
    position: fixed;
    inset: 0;
    background: #f8f6f2;
    z-index: 9999;

    height: 100dvh;
    overflow-y: auto;
  }

  .elementor-nav-menu--dropdown ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .elementor-nav-menu--dropdown a {
    font-size: 28px;
    color: #111;
  }

  .elementor-nav-menu--dropdown a:hover {
    color: #d4af37;
  }

}

/* ============================================================
   UI DETAILS
============================================================ */

.elementor-heading-title a {
  text-decoration: none;
}

.elina-search-word,
.count-number {
  color: #d4af37;
  font-weight: 600;
}

/* ============================================================
   MENU TOGGLE FIX
============================================================ */

.header-sticky .elementor-menu-toggle {
  position: relative;
  z-index: 100000;
}
.elina-checkout input,
.elina-checkout select {
  height: 56px;
  border-radius: 14px;
}

.elina-checkout #place_order {
  background: #000;
  color: #fff;
  border-radius: 30px;
}

.elina-checkout .woocommerce-checkout-review-order-table {
  display: none;
}
.elina-checkout .woocommerce-form__label-for-checkbox {
  display: none;
}
.elina-checkout .woocommerce-billing-fields h3 {
  display: none;
}
.elina-checkout #place_order {
  background: #000;
  color: #fff;
  height: 55px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
}
/* ===== HR CLEAN ===== */
.woocommerce-checkout-payment hr {
  margin: 6px 0;
}
.elina-topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;

  background: #000;
  color: #fff;
  text-align: center;
  padding: 6px 10px;

  transition: transform 0.3s ease;
}
/* ❌ message expédition */
.woocommerce-shipping-destination,
.woocommerce-shipping-calculator,
.woocommerce-info {
  display: none !important;
}

/* ❌ bloc email marketing */
.woocommerce-form__label-for-checkbox,
.mailchimp-newsletter,
#mailchimp-newsletter {
  display: none !important;
}

/* ❌ champ inutile (case carré) */
#billing_address_1_field,
#billing_address_2_field {
  display: none !important;
}
/* cacher uniquement dans le tableau Woo */
#order_review .woocommerce-shipping-methods {
  display: none !important;
}
/* =========================================
   VIEW CART BUTTON (PREMIUM STYLE)
========================================= */

.woocommerce a.added_to_cart {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 10px;
  border-radius: 12px;

  background: #f5f5f5;
  color: #111 !important;

  font-size: 13px;
  font-weight: 500;
  text-align: center;

  transition: all 0.25s ease;
}

/* hover */
.woocommerce a.added_to_cart:hover {
  background: #111;
  color: #fff !important;
}
/* ============================================================
   REGLES D'AFFICHAGE (SLUG ADS)
============================================================ */

/* 1. Sur la boutique classique : Masquer le formulaire noir de commande rapide */
body.elina-classic-mode #elina-order-form {
    display: none !important;
}

/* 2. Sur la Landing Page Meta (?lp=1) : Masquer le header/menu principal */
body.elina-landing-mode #site-header,
body.elina-landing-mode .elina-top-bar {
    display: none !important;
}

/* 3. Sur la Landing Page Meta (?lp=1) : Afficher le formulaire noir de commande rapide */
body.elina-landing-mode #elina-order-form {
    display: block !important;
}