/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/
.footer-widget .widget-title {
    font-weight: 700;
}
.footer-column #block-15, .footer-column #block-18 {
    border: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.footer-column #block-15 h2 {
    font-weight: 700;
}

/* SHOESITA — palette premium globale, septembre 2026 */
:root {
  --sh-premium-canvas: #faf9f7;
  --sh-premium-paper: #ffffff;
  --sh-premium-soft: #f4efe9;
  --sh-premium-warm: #eee5dd;
  --sh-premium-line: #e2ddd7;
  --sh-premium-ink: #171513;
  --sh-premium-muted: #625c57;
  --sh-premium-accent: #9a4a24;
  --sh-premium-accent-dark: #71351b;
}

html,
html body,
html body .wd-page-wrapper,
html body .wd-page-content,
html body .main-page-wrapper,
html body .site-content,
html body.woocommerce .website-wrapper.wd-page-wrapper,
html body.woocommerce-page .website-wrapper.wd-page-wrapper,
html body.tax-product_cat .website-wrapper.wd-page-wrapper,
html body.post-type-archive-product .website-wrapper.wd-page-wrapper {
  background-color: var(--sh-premium-canvas) !important;
  color: var(--sh-premium-ink);
}

html body .whb-header .whb-row,
html body .whb-header .whb-general-header,
html body .whb-header .whb-main-header,
html body .whb-header .whb-header-bottom,
html body .mobile-nav,
html body .wd-header-nav {
  background-color: var(--sh-premium-paper) !important;
}

html body .whb-header,
html body .whb-row {
  border-color: var(--sh-premium-line) !important;
  box-shadow: none !important;
}

html body .wd-nav > li > a,
html body .wd-header-nav a,
html body .site-logo,
html body .wd-tools-element > a {
  color: var(--sh-premium-ink) !important;
}

html body .wd-nav > li.current-menu-item > a,
html body .wd-nav > li > a:hover,
html body .wd-header-nav a:hover {
  color: var(--sh-premium-accent) !important;
}

/* Accueil */
html body .shoesy-v2,
html body .shoesy-v2 .sy2-section,
html body .shoesy-v2 .sy2-wrap {
  background-color: var(--sh-premium-canvas) !important;
}

html body .shoesy-v2 .sy2-benefits,
html body .shoesy-v2 .sy2-newsletter,
html body .shoesy-v2 .sy2-footer {
  border-color: var(--sh-premium-line) !important;
}

html body .shoesy-v2 .sy2-benefits {
  background: var(--sh-premium-paper) !important;
}

html body .shoesy-v2 .sy2-news-inner,
html body .shoesy-v2 .sy2-newsletter {
  background-color: var(--sh-premium-soft) !important;
}

html body .shoesy-v2 .sy2-footer {
  background: var(--sh-premium-paper) !important;
}

html body .shoesy-v2 .sy2-product,
html body .shoesy-v2 .sy2-look,
html body .shoesy-v2 .sy2-category {
  border-color: var(--sh-premium-line) !important;
  background: var(--sh-premium-paper) !important;
  box-shadow: none !important;
}

html body .shoesy-v2 .sy2-product-info,
html body .shoesy-v2 .sy2-look-copy {
  background: var(--sh-premium-paper) !important;
}

/* Catalogues, catégories et vignettes */
html body .wd-products .wd-product .wd-product-wrapper,
html body .products .product .wd-product-wrapper,
html body .product-grid-item .product-wrapper,
html body .wd-product.product-grid-item {
  border-color: var(--sh-premium-line) !important;
  background-color: var(--sh-premium-paper) !important;
  box-shadow: none !important;
}

html body .wd-products .wd-product .product-element-bottom,
html body .wd-products .wd-product .wd-product-information,
html body .wd-products .wd-product .product-information {
  background-color: var(--sh-premium-paper) !important;
}

html body.woodmart-archive-shop .wd-shop-tools,
html body.tax-product_cat .wd-shop-tools,
html body.post-type-archive-product .wd-shop-tools,
html body .shop-loop-head,
html body .wd-products-per-page,
html body .wd-products-shop-view {
  border-color: var(--sh-premium-line) !important;
  background-color: var(--sh-premium-canvas) !important;
}

html body .wd-active-filters .wd-clear-filters,
html body .wd-active-filters a,
html body .widget_price_filter,
html body .wd-filter,
html body .wd-dropdown-menu {
  border-color: var(--sh-premium-line) !important;
  background-color: var(--sh-premium-paper) !important;
}

html body .wd-label,
html body .onsale,
html body .product-label {
  border-color: #eadfd5 !important;
  background-color: var(--sh-premium-soft) !important;
  color: var(--sh-premium-accent-dark) !important;
}

html body .wd-wishlist-btn a,
html body .shoesy-gallery-wishlist,
html body .sy2-heart {
  border-color: var(--sh-premium-line) !important;
  background-color: rgba(255,255,255,.94) !important;
  color: var(--sh-premium-ink) !important;
}

/* Fiches produit */
html body.single-product .product-image-summary-wrap,
html body.single-product .product-image-summary,
html body.single-product .product-images,
html body.single-product .summary-inner {
  background-color: var(--sh-premium-canvas) !important;
}

html body.single-product .shoesy-trust-grid,
html body.single-product .shoesy-editorial-story,
html body.single-product .woocommerce-tabs,
html body.single-product .related-and-upsells {
  border-color: var(--sh-premium-line) !important;
  background-color: var(--sh-premium-paper) !important;
}

html body.single-product .shoesy-editorial-grid,
html body.single-product .shoesy-editorial-details,
html body.single-product .product-tabs-wrapper {
  border-color: var(--sh-premium-line) !important;
  background-color: var(--sh-premium-soft) !important;
}

html body.single-product .shoesy-editorial-details details,
html body.single-product .shoesy-trust-grid > span,
html body.single-product .woocommerce-tabs .wd-nav-tabs > li {
  border-color: var(--sh-premium-line) !important;
}

html body.single-product .single_add_to_cart_button,
html body .button.checkout,
html body .checkout-button,
html body button[name="woocommerce_checkout_place_order"] {
  border-color: var(--sh-premium-ink) !important;
  background: var(--sh-premium-ink) !important;
  color: #fff !important;
}

html body.single-product .single_add_to_cart_button:hover,
html body .button.checkout:hover,
html body .checkout-button:hover,
html body button[name="woocommerce_checkout_place_order"]:hover {
  border-color: var(--sh-premium-accent) !important;
  background: var(--sh-premium-accent) !important;
}

/* Compte, panier, formulaires et pages internes */
html body .woocommerce-MyAccount-navigation,
html body .woocommerce-MyAccount-content,
html body .woocommerce-form,
html body .cart-totals-inner,
html body .woocommerce-checkout-review-order,
html body .wd-my-account-sidebar,
html body .wd-my-account-links a,
html body .wd-dashboard-box {
  border-color: var(--sh-premium-line) !important;
  background-color: var(--sh-premium-paper) !important;
  box-shadow: none !important;
}

html body .woocommerce-MyAccount-navigation-link.is-active > a,
html body .woocommerce-MyAccount-navigation-link > a:hover,
html body .wd-my-account-links a:hover {
  background-color: var(--sh-premium-soft) !important;
  color: var(--sh-premium-ink) !important;
}

html body input[type="text"],
html body input[type="email"],
html body input[type="password"],
html body input[type="tel"],
html body input[type="number"],
html body input[type="search"],
html body select,
html body textarea {
  border-color: var(--sh-premium-line) !important;
  border-radius: 0 !important;
  background-color: var(--sh-premium-paper) !important;
  color: var(--sh-premium-ink) !important;
  box-shadow: none !important;
}

html body input:focus,
html body select:focus,
html body textarea:focus {
  border-color: var(--sh-premium-accent) !important;
}

html body table,
html body th,
html body td,
html body .woocommerce-message,
html body .woocommerce-info,
html body .woocommerce-error {
  border-color: var(--sh-premium-line) !important;
}

html body .woocommerce-message,
html body .woocommerce-info {
  background-color: var(--sh-premium-soft) !important;
  color: var(--sh-premium-ink) !important;
}

/* Newsletter et footer */
html body #sy-product-shared-footer,
html body #sy-product-shared-footer > footer,
html body .shoesy-v2 .sy2-footer {
  border-color: var(--sh-premium-line) !important;
  background-color: var(--sh-premium-paper) !important;
}

html body #sy-product-shared-footer .sy-news,
html body .shoesy-v2 .sy2-newsletter,
html body .shoesy-v2 .sy2-news-inner {
  background-color: var(--sh-premium-soft) !important;
}

html body #sy-product-shared-footer .sy-payments > span,
html body .shoesy-v2 .sy2-payments > span {
  border-color: var(--sh-premium-line) !important;
  background-color: var(--sh-premium-paper) !important;
}

html body #sy-product-shared-footer .sy-footer > div:last-child,
html body .shoesy-v2 .sy2-footer-grid > div:last-child,
html body #sy-product-shared-footer .sy-bottom,
html body .shoesy-v2 .sy2-copy {
  border-color: var(--sh-premium-line) !important;
}

/* Typographie et accents */
html body h1,
html body h2,
html body h3,
html body h4,
html body h5,
html body h6,
html body .product-title a,
html body .wd-entities-title a {
  color: var(--sh-premium-ink);
}

html body p,
html body .woocommerce-breadcrumb,
html body .wd-breadcrumbs,
html body .product_meta,
html body .woocommerce-product-details__short-description {
  color: var(--sh-premium-muted);
}

html body a:hover,
html body .price,
html body .amount,
html body .wd-nav-product-cat > li.current-menu-item > a {
  color: var(--sh-premium-accent);
}

html body .sy2-btn-primary,
html body .wd-primary-button,
html body .button.alt {
  border-color: var(--sh-premium-accent) !important;
  background: var(--sh-premium-accent) !important;
  color: #fff !important;
}

html body .sy2-btn-primary:hover,
html body .wd-primary-button:hover,
html body .button.alt:hover {
  border-color: var(--sh-premium-accent-dark) !important;
  background: var(--sh-premium-accent-dark) !important;
}

@media (max-width: 768px) {
  html body .wd-page-wrapper,
  html body .main-page-wrapper,
  html body .shoesy-v2,
  html body .shoesy-v2 .sy2-section {
    background-color: var(--sh-premium-canvas) !important;
  }
}





/* SHOESITA — en-tête mobile compact et sans chevauchement */
@media (max-width: 1024px) {
  html body .whb-header .whb-visible-lg {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  html body .whb-header .whb-visible-lg > * {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  html body .whb-header .whb-hidden-lg {
    display: flex !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  html body .whb-general-header,
  html body .whb-general-header-inner {
    height: 68px !important;
    min-height: 68px !important;
  }

  html body .whb-general-header > .container {
    width: 100% !important;
    max-width: none !important;
    padding: 0 14px !important;
  }

  html body .whb-general-header .whb-general-header-inner {
    display: grid !important;
    grid-template-columns: 48px minmax(0, 1fr) 48px !important;
    gap: 8px !important;
    align-items: center !important;
    justify-content: stretch !important;
    overflow: visible !important;
  }

  html body .whb-general-header .whb-mobile-left,
  html body .whb-general-header .whb-mobile-center,
  html body .whb-general-header .whb-mobile-right {
    position: static !important;
    inset: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 68px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
  }

  html body .whb-general-header .whb-mobile-left {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 48px !important;
    flex-basis: 48px !important;
    justify-content: flex-start !important;
  }

  html body .whb-general-header .whb-mobile-center {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    flex-basis: auto !important;
    justify-content: center !important;
    text-align: center !important;
  }

  html body .whb-general-header .whb-mobile-right {
    grid-column: 3 !important;
    grid-row: 1 !important;
    width: 48px !important;
    flex-basis: 48px !important;
    justify-content: flex-end !important;
  }

  html body .whb-mobile-left .wd-header-mobile-nav {
    display: flex !important;
    width: 44px !important;
    height: 44px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin: 0 !important;
  }

  html body .whb-mobile-left .wd-header-mobile-nav > a {
    display: flex !important;
    width: 44px !important;
    height: 44px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 0 !important;
  }

  html body .whb-mobile-left .wd-header-mobile-nav .wd-tools-text {
    display: none !important;
  }

  html body .whb-mobile-left .wd-header-mobile-nav .wd-tools-icon {
    display: block !important;
    width: 24px !important;
    height: 24px !important;
    margin: 0 !important;
  }

  html body .whb-mobile-center .site-logo {
    display: flex !important;
    width: auto !important;
    max-width: none !important;
    height: 44px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
  }

  html body .whb-mobile-center .site-logo img {
    display: none !important;
  }

  html body .whb-mobile-center .site-logo .wd-logo {
    display: flex !important;
    width: auto !important;
    min-width: 123px !important;
    height: 44px !important;
    padding: 0 6px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    color: #171513 !important;
  }

  html body .whb-mobile-center .site-logo .wd-logo:after {
    content: "SHOESITA" !important;
    display: block !important;
    position: static !important;
    width: auto !important;
    color: #171513 !important;
    font-family: Inter, Arial, sans-serif !important;
    font-size: 27px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: -.045em !important;
    text-align: center !important;
    transform: none !important;
  }

  html body .whb-mobile-center .site-logo:after {
    content: none !important;
    display: none !important;
  }

  html body .whb-mobile-right .wd-header-cart {
    display: flex !important;
    width: 44px !important;
    height: 44px !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin: 0 !important;
  }

  html body .whb-mobile-right .wd-header-cart > a,
  html body .whb-mobile-right .wd-header-cart .wd-tools-icon {
    margin: 0 !important;
  }

  html body .whb-mobile-right .wd-tools-icon {
    width: 28px !important;
    height: 28px !important;
  }

  html body .whb-mobile-right .wd-cart-number {
    top: -2px !important;
    right: -5px !important;
  }

  html body .whb-general-header .wd-header-nav,
  html body .whb-general-header #menu-main-nav-left,
  html body .whb-general-header #menu-main-nav-right {
    display: none !important;
  }
}

@media (max-width: 380px) {
  html body .whb-general-header > .container {
    padding: 0 10px !important;
  }

  html body .whb-mobile-center .site-logo .wd-logo:after {
    font-size: 25px !important;
  }
}




/* SHOESITA — galerie produit mobile plein écran et tactile */
@media (max-width: 768px) {
  html body.single-product .product-images {
    position: relative !important;
    top: 0 !important;
    left: 50% !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 0 24px -50vw !important;
    padding: 0 !important;
  }

  html body.single-product .woocommerce-product-gallery,
  html body.single-product .wd-gallery-images,
  html body.single-product .wd-gallery-images .wd-carousel-inner,
  html body.single-product .wd-gallery-images .wd-carousel {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body.single-product .wd-gallery-images,
  html body.single-product .wd-gallery-images .wd-carousel-inner {
    overflow: hidden !important;
  }

  html body.single-product .wd-gallery-images .wd-carousel-wrap {
    cursor: grab !important;
    touch-action: pan-y pinch-zoom !important;
  }

  html body.single-product .wd-gallery-images .wd-carousel-wrap:active {
    cursor: grabbing !important;
  }

  html body.single-product .woocommerce-product-gallery__image,
  html body.single-product .woocommerce-product-gallery__image > a,
  html body.single-product .woocommerce-product-gallery__image img:not(.zoomImg) {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    object-fit: cover !important;
  }

  html body.single-product .product-images .wd-btn-arrow,
  html body.single-product .product-images .wd-nav-arrows,
  html body.single-product .product-images .wd-carousel-arrows {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  html body.single-product .wd-gallery-thumb {
    width: 100% !important;
    margin: 8px 0 0 !important;
    padding: 0 8px !important;
    overflow: hidden !important;
  }

  html body.single-product .wd-gallery-thumb .wd-carousel-inner,
  html body.single-product .wd-gallery-thumb .wd-carousel {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body.single-product .wd-gallery-thumb .wd-carousel-wrap {
    touch-action: pan-y pinch-zoom !important;
  }

  html body.single-product .wd-gallery-thumb .wd-carousel-item {
    padding: 0 3px !important;
  }

  html body.single-product .wd-gallery-thumb img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    border: 0 !important;
    border-radius: 0 !important;
    object-fit: cover !important;
  }

  html body.single-product .product-additional-galleries {
    left: 14px !important;
    bottom: 14px !important;
  }
}

/* SHOESITA — navigation boutique verticale dans le panneau mobile */
@media (max-width: 1024px) {
  html body .mobile-nav #menu-main-nav-left.mobile-pages-menu {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
  }

  html body .mobile-nav #menu-main-nav-left.mobile-pages-menu > li {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    flex: 0 0 auto !important;
  }

  html body .mobile-nav #menu-main-nav-left.mobile-pages-menu > li > a {
    display: flex !important;
    width: 100% !important;
    min-height: 58px !important;
    padding: 0 20px !important;
    align-items: center !important;
    white-space: normal !important;
    border-bottom: 1px solid var(--sh-premium-line) !important;
  }
}

/* SHOESITA — un seul onglet dans le menu mobile */
@media (max-width: 1024px) {
  html body .mobile-nav .wd-nav-mob-tab > .mobile-categories-title,
  html body .mobile-nav .mobile-categories-menu {
    display: none !important;
  }

  html body .mobile-nav .wd-nav-mob-tab > .mobile-pages-title {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
  }
}

/* SHOESITA — coeur favoris net sur toutes les vignettes */
html body .wd-products .wd-product .wd-product-wrapper .wd-wishlist-btn,
html body .wd-products .wd-product .wd-product-wrapper .wd-wishlist-btn > a {
  display: flex !important;
  width: 40px !important;
  height: 40px !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  border: 1px solid rgba(226,221,215,.9) !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,.96) !important;
  box-shadow: 0 2px 9px rgba(0,0,0,.10) !important;
}
html body .wd-products .wd-product .wd-product-wrapper .wd-wishlist-btn .wd-action-icon {
  width: 22px !important;
  height: 22px !important;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23171411' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78L12 21.23l8.84-8.84a5.5 5.5 0 0 0 0-7.78Z'/%3E%3C/svg%3E") center/contain no-repeat !important;
  filter: none !important;
}
html body .wd-products .wd-product .wd-product-wrapper .wd-wishlist-btn .wd-action-icon::before,
html body .wd-products .wd-product .wd-product-wrapper .wd-wishlist-btn .wd-action-icon::after {
  display: none !important;
}
@media (max-width: 768px) {
  html body .wd-products .wd-product .wd-product-wrapper .wd-wishlist-btn,
  html body .wd-products .wd-product .wd-product-wrapper .wd-wishlist-btn > a {
    width: 32px !important;
    height: 32px !important;
  }
  html body .wd-products .wd-product .wd-product-wrapper .wd-wishlist-btn .wd-action-icon {
    width: 19px !important;
    height: 19px !important;
  }
}


/* SHOESITA — header ordinateur compact */
@media (min-width: 1025px) {
  :root {
    --wd-header-general-h: 68px !important;
    --wd-header-general-sticky-h: 68px !important;
  }

  html body .whb-header .whb-general-header,
  html body .whb-header .whb-general-header .whb-general-header-inner {
    height: 68px !important;
    min-height: 68px !important;
    max-height: 68px !important;
  }
}


/* SHOESITA — suppression espace vide au-dessus du header */
@media (min-width: 1025px) {
  html body .whb-header:before {
    content: none !important;
    display: none !important;
    height: 0 !important;
  }
}


/* SHOESITA — alignement complet du menu ordinateur */
@media (min-width: 1025px) {
  html body .whb-header .whb-general-header > .container,
  html body .whb-header .whb-general-header .whb-general-header-inner,
  html body .whb-header .whb-general-header .whb-col-left,
  html body .whb-header .whb-general-header .whb-col-center,
  html body .whb-header .whb-general-header .whb-col-right,
  html body .whb-header .whb-general-header .wd-header-nav,
  html body .whb-header .whb-general-header .wd-nav,
  html body .whb-header .whb-general-header .wd-nav > li {
    box-sizing: border-box !important;
    height: 68px !important;
    min-height: 68px !important;
    max-height: 68px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    align-items: center !important;
  }

  html body .whb-header .whb-general-header .whb-col-left,
  html body .whb-header .whb-general-header .whb-col-center,
  html body .whb-header .whb-general-header .whb-col-right {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html body .whb-header .whb-general-header .wd-nav > li > a {
    display: flex !important;
    height: 68px !important;
    align-items: center !important;
  }
}


/* SHOESITA — bordure continue du menu ordinateur */
@media (min-width: 1025px) {
  html body .whb-header .whb-general-header {
    border-bottom: 0 !important;
    box-shadow: 0 1px 0 #e9e5e1 !important;
  }
}
