@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//mattytales.com/wp-content/themes/woodmart/fonts/woodmart-font-1-400.woff2?v=8.4.1") format("woff2");
}

@font-face {
	font-family: "star";
	font-weight: 400;
	font-style: normal;
	src: url("//mattytales.com/wp-content/plugins/woocommerce/assets/fonts/star.eot?#iefix") format("embedded-opentype"), url("//mattytales.com/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff"), url("//mattytales.com/wp-content/plugins/woocommerce/assets/fonts/star.ttf") format("truetype"), url("//mattytales.com/wp-content/plugins/woocommerce/assets/fonts/star.svg#star") format("svg");
}

@font-face {
	font-family: "WooCommerce";
	font-weight: 400;
	font-style: normal;
	src: url("//mattytales.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.eot?#iefix") format("embedded-opentype"), url("//mattytales.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff") format("woff"), url("//mattytales.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf") format("truetype"), url("//mattytales.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.svg#WooCommerce") format("svg");
}

:root {
	--wd-text-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(118,118,118);
	--wd-text-font-size: 15px;
	--wd-title-font: "DM Sans", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 500;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Roboto", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 400;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Playfair Display", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Roboto", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 500;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(138,184,213);
	--wd-alternative-color: #fbbc34;
	--btn-default-font-family: "Lato", Arial, Helvetica, sans-serif;
	--btn-default-font-weight: 400;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: rgb(255,249,244);
	--btn-accented-font-family: "Lato", Arial, Helvetica, sans-serif;
	--btn-accented-font-weight: 400;
	--btn-accented-bgcolor: rgb(138,184,213);
	--btn-accented-bgcolor-hover: rgb(79,136,173);
	--wd-form-brd-width: 2px;
	--notices-success-bg: rgb(57,159,116);
	--notices-success-color: #fff;
	--notices-warning-bg: rgb(254,195,78);
	--notices-warning-color: #fff;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: url(https://mattytales.com/wp-content/uploads/2021/09/fb_mattytales-01-1-1.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
	--wd-popup-padding: 15px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
:is(.wd-open-popup.btn,.button,button,[type=submit],[type=button]) {
	font-family: "Lato", Arial, Helvetica, sans-serif;
	font-weight: 400;
	font-size: 13px;
}
html .blog-design-list .wd-post-read-more.wd-style-btn a {
	font-family: "Lato", Arial, Helvetica, sans-serif;
	font-weight: 400;
	font-size: 13px;
}
.product-labels .product-label.onsale {
	background-color: rgb(249,181,171);
}
.product-labels .product-label.new {
	background-color: rgb(138,184,213);
}
.product-labels .product-label.featured {
	background-color: rgb(242,102,62);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1450px;
--wd-form-brd-radius: 0px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 0px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-default-box-shadow-active: none;
--btn-default-bottom: 0px;
--btn-accented-brd-radius: 0px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--btn-accented-box-shadow-active: none;
--btn-accented-bottom: 0px;
--wd-brd-radius: 0px;
}

@media (min-width: 1450px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


.wd-page-title {
background-color: rgb(255,249,244);
}

/* ================================
   MOBILE ONLY — круги без квадратов + title по центру
   ================================ */
@media (max-width: 767px) {

  /* УБИРАЕМ "квадраты"/подложки у карточек */
  .wd-cats .wd-cat,
  .wd-cats .wd-cat-inner,
  .wd-cats .wd-cat-wrap,
  .wd-cats .wd-cat-content {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  /* Карточка = позиционирование для наложения текста */
  .wd-cats .wd-cat,
  .wd-cats .wd-cat-inner,
  .wd-cats .wd-cat-wrap {
    position: relative !important;
  }

  /* КРУГ (картинка/превью) */
  .wd-cats .wd-cat-thumb,
  .wd-cats .wd-cat-thumb img,
  .wd-cats .wd-cat-image,
  .wd-cats .wd-cat-image img {
    border-radius: 50% !important;
    overflow: hidden !important;
    display: block !important;
  }

  /* ФИКС: убираем квадратные паддинги/рамки вокруг круга */
  .wd-cats .wd-cat-thumb,
  .wd-cats .wd-cat-image {
    background: transparent !important;
    padding: 0 !important;
  }

  /* ЗАТЕМНЕНИЕ ДЛЯ ЧИТАЕМОСТИ (на круг) */
  .wd-cats .wd-cat-thumb::after,
  .wd-cats .wd-cat-image::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(0,0,0,.20);
    z-index: 2;
    pointer-events: none;
  }

  /* ВАЖНО: контент НЕ скрываем — он нужен для названий */
  .wd-cats .wd-cat-content {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    position: static !important;
  }

  /* ПЕРЕНОСИМ TITLE ВНУТРЬ КРУГА (ловим разные варианты класса) */
  .wd-cats .wd-cat-title,
  .wd-cats .wd-cat-name,
  .wd-cats .wd-entities-title,
  .wd-cats .wd-cat .title {
    position: absolute !important;
    left: 0; right: 0;
    top: 0; bottom: 0;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    text-align: center !important;
    padding: 10px !important;
    margin: 0 !important;

    color: #fff !important;
    z-index: 3 !important; /* выше затемнения */
  }

  /* Скрываем "1 product" если мешает */
  .wd-cats .wd-cat-count { display: none !important; }
}




/* === CIRCLE CATEGORY OVERLAY (DESKTOP + MOBILE) === */

/* Контейнер */
.wd-cats .wd-cat-thumb,
.wd-cats .wd-cat-image {
  position: relative;
  border-radius: 50%;
  overflow: hidden;
}

/* Затемнение */
.wd-cats .wd-cat-thumb::after,
.wd-cats .wd-cat-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18); /* ← МЯГКОЕ затемнение */
  z-index: 2;
  pointer-events: none;
}

/* Текст поверх затемнения */
.wd-cats .wd-cat-title {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  font-weight: 500;
  z-index: 3;
  padding: 12px;
}

/* Убираем фон у текста (если тема добавляет) */
.wd-cats .wd-cat-title span {
  background: none !important;
}

/* Немного усилить затемнение при hover (десктоп) */
@media (hover: hover) {
  .wd-cats .wd-cat-thumb:hover::after,
  .wd-cats .wd-cat-image:hover::after {
    background: rgba(0, 0, 0, 0.25);
  }
}
/* Размер текста в кружках категорий */
.wd-cats .wd-cat-title {
  font-size: 13px;   /* ← поменяй при необходимости */
  line-height: 1.2;
}
@media (max-width: 768px) {
  .wd-cats .wd-cat-title {
    font-size: 11px;
  }
}

/* === Размер текста категорий (универсально) === */
.matty-cat-circles .wd-cat-title,
.matty-cat-circles .wd-cat-title span,
.matty-cat-circles .wd-cat-title a {
  font-size: 12px !important;
  line-height: 1.15 !important;
  font-weight: 500;
}

/* === Мобилка === */
@media (max-width: 768px) {
  .matty-cat-circles .wd-cat-title,
  .matty-cat-circles .wd-cat-title span,
  .matty-cat-circles .wd-cat-title a {
    font-size: 11px !important;
    line-height: 1.1 !important;
  }
}

/* ================================
   FULL WIDTH BACKGROUND — SHOP ONLY
   Works for Elementor Container background (pseudo/overlay)
================================ */

.woocommerce-shop .shop-fullwidth-banner{
  position: relative !important;
  overflow: visible !important;
}

/* 1) если фон рисуется через ::before (как у тебя в инспекторе) */
.woocommerce-shop .shop-fullwidth-banner.elementor-element::before{
  left: 50% !important;
  right: auto !important;
  width: 100vw !important;
  max-width: 100vw !important;
  transform: translateX(-50%) !important;
}

/* 2) если фон/затемнение идёт через overlay */
.woocommerce-shop .shop-fullwidth-banner .elementor-background-overlay{
  left: 50% !important;
  right: auto !important;
  width: 100vw !important;
  max-width: 100vw !important;
  transform: translateX(-50%) !important;
}

/* 3) защита от горизонтального скролла */
body.woocommerce-shop{
  overflow-x: hidden !important;
}

/* ===============================
   GLOBAL PAGE TITLES (ALL PAGES)
   =============================== */

/* Основной заголовок страницы */
.wd-page-title .entry-title,
.wd-page-title h1,
.wd-page-title .page-title {
  text-transform: uppercase !important; /* Заглавные буквы */
  font-size: 36px!important;
  line-height: 1.15;
  letter-spacing: 0.01em;
	font-weight: 300!important;
}

/* Мобилка */
@media (max-width: 768px) {
  .wd-page-title .entry-title,
  .wd-page-title h1,
  .wd-page-title .page-title {
    font-size: 22!important;
    line-height: 1.2;
		font-weight: 300!important;
  }
}

/* Маленькие телефоны */
@media (max-width: 480px) {
  .wd-page-title .entry-title,
  .wd-page-title h1,
  .wd-page-title .page-title {
    font-size: 22px!important;
		font-weight: 300!important;
  }
}

/* Page Title: увеличить высоту (контейнер) */

/* База (на всякий) */
.wd-page-title {
  display: flex;
  align-items: center;
}

/* Планшет (<=1024px) */
@media (max-width: 1024px) {
  .wd-page-title {
    min-height: 200px !important;   /* высота блока */
    padding-top: 50px !important;   /* воздух сверху */
    padding-bottom: 50px !important;/* воздух снизу */
  }
}

/* Мобилка (<=768px) */
@media (max-width: 768px) {
  .wd-page-title {
    min-height: 100px !important;
    padding-top: 30px !important;
    padding-bottom: 30px !important;
  }
}

/* Убрать кнопку "назад" (стрелку) на страницах категорий */
.woocommerce-page .wd-back-btn {
    display: none !important;
}
/* Убрать arrows from menu items */
ul.wd-nav>li:is(.wd-has-children,.menu-item-has-children)>a:after { 
font-size: 0; 
}

/* Главное меню — вес 500 */
.wd-header-nav .menu > li > a,
.wd-header-nav .nav-link-text {
  font-weight: 500 !important;
}

/* По умолчанию (большие экраны, 1600px+) */
.space_left_menu {
  width: 100px !important;
}

/* Ноутбуки и средние экраны */
@media (max-width: 1440px) {
  .space_left_menu {
    width: 60px !important;
  }
}

/* Маленькие ноутбуки */
@media (max-width: 1280px) {
  .space_left_menu {
    width: 20px !important;
  }
}

/* По умолчанию (большие экраны, 1600px+) */
.space_menu_right {
  width: 150px !important;
}

/* Ноутбуки и средние экраны */
@media (max-width: 1440px) {
  .space_menu_right {
    width: 60px !important;
  }
}

/* Маленькие ноутбуки */
@media (max-width: 1280px) {
  .space_menu_right {
    width: 20px !important;
  }
}

/* SALE — по умолчанию */
#menu-item-29502 > a.woodmart-nav-link,
#menu-item-29502 > a.woodmart-nav-link .nav-link-text {
  color: #FFA395 !important;
  font-weight: 700 !important;
}

/* SALE — hover */
#menu-item-29502 > a.woodmart-nav-link:hover,
#menu-item-29502 > a.woodmart-nav-link:hover .nav-link-text {
  color: #F58A78 !important;
  font-weight: 700 !important;
}

/* SALE — active/current */
#menu-item-29502.current-menu-item > a.woodmart-nav-link,
#menu-item-29502.current-menu-ancestor > a.woodmart-nav-link,
#menu-item-29502.current-menu-item > a.woodmart-nav-link .nav-link-text,
#menu-item-29502.current-menu-ancestor > a.woodmart-nav-link .nav-link-text {
  color: #F58A78 !important;
  font-weight: 700 !important;
}
/* style politica return*/
.policy-link {
  text-decoration: underline;
  font-weight: 700;
	color: #8AB8D5;
}

.wd-tools-element .wd-tools-icon:before {
    font-weight: 400 !important;
    font-size: 14px !important;
}

/* Footer 5 колонок — первая шире */
@media (min-width: 1024px){

  .footer-column-1{
    --wd-col-lg: 4!important;
  }

  .footer-column-2,
  .footer-column-3,
  .footer-column-4,
  .footer-column-5{
    --wd-col-lg: 2!important;
  }

}
/* button-border */
.btn.btn-style-bordered {
    --btn-brd-width: 1px!important;
}
/* Фон блока "ВАШЕ ЗАМОВЛЕННЯ" */
:root {
  --bgcolor-gray-200: #FFF9F4;
}
/* ALL PRICES → grey */
.woocommerce .price,
.woocommerce .price .amount,
.woocommerce .woocommerce-Price-amount,
.woocommerce .woocommerce-Price-amount.amount,
.woocommerce .wd-entities-title + .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce ul.products li.product .price,
.woocommerce .product .price .amount,
.woocommerce .summary .price .amount,
.woocommerce-cart .order-total .amount,
.woocommerce-checkout .order-total .amount,
.woocommerce-checkout-review-order .amount {
  color: #5a5a5a !important;
	font-weight: 500 !important;
}
/* WoodMart carousel price */
.wd-products .price,
.wd-products .price .amount,
.wd-products .woocommerce-Price-amount,
.wd-products .woocommerce-Price-amount.amount,
.wd-products .woocommerce-Price-currencySymbol,
.wd-carousel-item .price,
.wd-carousel-item .amount,
.product-grid-item .price,
.product-grid-item .amount {
  color: #5a5a5a !important;
	font-weight: 500 !important;
}

/* Singl card */
.product-care {
  margin-top: 20px;
 
}

/* Singl card label book Pre-order */
.post-31878 .product-labels .new {
    display: none !important;
}

/* Только для книги */
body.postid-31878 .woocommerce-product-gallery {
    position: relative;
}

body.postid-31878 .woocommerce-product-gallery::before {
    content: "Передзамовлення";
    position: absolute;
    top: 20px;
    right: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    height: 34px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #FEC34E;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
	text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1;
    z-index: 20;
	box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

@media (max-width: 767px) {
    body.postid-31878 .woocommerce-product-gallery::before {
         top: 20px;
    right: 60px;
    }

}
	

	
/*Cart_add_gifts-bag */

.matty-gift-box {
	width: 100%;
	clear: both;
	box-sizing: border-box;
    margin: 0px 0 20px;
    padding: 16px;
    background: #FFF8E7;
    border: 1px solid #F3D27A;
    border-radius: 14px;
}

.matty-gift-head h3 {
    margin: 0 0 4px;
    font-size: 18px;
    line-height: 1.3;
}

.matty-gift-subtitle {
    margin: 0 0 14px;
    font-size: 13px;
    color: #666;
}

.matty-gift-options {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.matty-gift-item {
    display: flex;
    gap: 12px;
    align-items: center;
width: 100%;
	max-width: 520px;
	padding: 10px;
    border-radius: 12px;
    background: rgba(255,255,255,0.55);
    border: 1px solid transparent;
}

.matty-gift-item.is-selected {
    border-color: #F3D27A;
    background: rgba(255,255,255,0.9);
}

.matty-gift-image-link {
    flex: 0 0 82px;
}

.matty-gift-image-link img {
    width: 82px;
    height: 82px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.matty-gift-content {
    flex: 1;
    min-width: 0;
}

.matty-gift-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 4px;
    color: #1A1A1A;
}

.matty-gift-price {
    font-size: 13px;
    color: #555;
    margin-bottom: 8px;
}

.matty-gift-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    align-items: center;
}

.matty-gift-btn {
    display: inline-block;
    background: #FEC34E;
    color: #1A1A1A;
    padding: 8px 14px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    line-height: 1.2;
}

.matty-gift-btn:hover {
    background: #e6b837;
    color: #1A1A1A;
}

.matty-gift-added {
    display: inline-block;
    background: #e9f7e9;
    color: #2d6a39;
    padding: 8px 12px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
    line-height: 1.2;
}

.matty-gift-link {
    font-size: 13px;
    color: #777;
    text-decoration: underline;
}

.matty-gift-link:hover {
    color: #000;
}

@media (max-width: 767px) {
    .matty-gift-options {
        flex-direction: column;
    }

    .matty-gift-item {
        align-items: center;
			flex: 1;
    }

    .matty-gift-image-link {
        flex: 0 0 72px;
    }

    .matty-gift-image-link img {
        width: 72px;
        height: 72px;
    }
}
	
.matty-gift-free-note {
    margin: 10px 0 16px;
    padding: 10px 14px;
    background: #EAF4FF;
    border: 1px solid #CFE4FF;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #1c61e7;
    line-height: 1.4;
}

/* скрыть "Меню" только в header tools */
.wd-tools-element .wd-tools-text {
    display: none !important;
}
/* fix h3 to mobail */
@media (max-width: 767px) {
  .single-product .woocommerce-Tabs-panel h3,
  .single-product .woocommerce-product-details__short-description h3,
  .single-product .entry-content h3 {
    font-size: 20px !important;
    line-height: 1.2 !important;
  }
}
	/* Chaty button — brand color */
	
/* mobile: lift button above bottom nav */
@media (max-width: 767px) {
    .chaty-widget {
        bottom: 70px !important;
    }

    .chaty-widget .chaty-channel,
    .chaty-widget .chaty-svg {
        width: 55px !important;
        height: 55px !important;
    }
}

/* Главная кнопка Chaty — закрытое состояние */
.chaty-widget .chaty-i-trigger .chaty-svg circle,
.chaty-widget .chaty-i-trigger .chaty-svg ellipse {
    fill: #8FC3DD !important;
}

/* Кнопка закрытия X — открытое состояние */
.chaty-widget .chaty-close-button .chaty-svg circle,
.chaty-widget .chaty-close-button .chaty-svg ellipse {
    fill: #8FC3DD !important;
}

/* Белая иконка внутри главной кнопки и кнопки закрытия */
.chaty-widget .chaty-i-trigger .chaty-svg path,
.chaty-widget .chaty-close-button .chaty-svg path,
.chaty-widget .chaty-close-button .chaty-svg rect {
    fill: #ffffff !important;
} 


/* share singl posp */	
	.matty-share {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e8e2db;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.matty-share-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #9e9790;
  text-transform: uppercase;
  white-space: nowrap;
}
.matty-share-btns {
  display: flex;
  gap: 8px;
}
.matty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid #d9d2c9;
  color: #6b645e;
  background: #f5f0eb;
  transition: all 0.2s;
  text-decoration: none;
}
.matty-btn:hover {
  background: #2e2926;
  border-color: #2e2926;
  color: #fff;
}

/* slider-home */
.wd-nav-pagin li.wd-active span,
.wd-nav-pagin-wrap li.wd-active span {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
}


@media (max-width: 767px) {
  .wd-prefooter .sib-form,
  .wd-prefooter .sib-form-container,
  .wd-prefooter #sib-container,
  .wd-prefooter #sib-form,
  .wd-prefooter #sib-form > div,
  .wd-prefooter .sib-input,
  .wd-prefooter .sib-form-block,
  .wd-prefooter .entry__field,
  .wd-prefooter #EMAIL,
  .wd-prefooter .sib-form-block__button {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .wd-prefooter .sib-form-block__button {
    margin-top: 10px !important;
  }
}

@media (min-width: 768px) and (max-width: 1200px) {
  #sib-form {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
  }

  #sib-form > div,
  .sib-input,
  .sib-form-block,
  .entry__field {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  .sib-input {
    flex: 1 1 auto !important;
  }

  #EMAIL {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .sib-form-block__button {
    width: 220px !important;
    min-width: 200px !important;
    max-width: 220px !important;
  }
}

/* Matty Tales prefooter Brevo form */
.matty-prefooter-brevo,
.matty-prefooter-brevo #sib-form-container,
.matty-prefooter-brevo #sib-container {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.matty-prefooter-brevo #sib-form {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: 100% !important;
}

.matty-prefooter-brevo #sib-form > div:first-of-type {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

.matty-prefooter-brevo #sib-form > div:nth-of-type(2) {
  flex: 0 0 170px!important;
}

.matty-prefooter-brevo .sib-input,
.matty-prefooter-brevo .sib-form-block,
.matty-prefooter-brevo .entry__field {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.matty-prefooter-brevo #EMAIL {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 42px !important;
  box-sizing: border-box !important;
}

.matty-prefooter-brevo .sib-form-block__button {
  width: 170px !important;
  min-width: 170px !important;
  max-width: 170px !important;
  height: 42px !important;
  padding: 0 16px !important;
  box-sizing: border-box !important;
  white-space: normal !important;
}

/* Mobile */
@media (max-width: 767px) {
  .matty-prefooter-brevo #sib-form {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .matty-prefooter-brevo #sib-form > div,
  .matty-prefooter-brevo .sib-form-block__button {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    flex: none !important;
  }
}
@media (max-width: 767px) {

  .matty-prefooter-brevo #sib-form > div:nth-of-type(2) {
    flex: none !important;
  }

}

.archive-meta{
    display:none !important;
}
/*language-switcher*/
/* Menu spacing */
.wd-nav{
    --nav-gap: 13px;
}

/* Matty Tales header language switcher */
#menu-item-32963 > a.woodmart-nav-link {
  position: relative !important;
  padding-left: 18px !important;
  color: #7FAFCC !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
}

#menu-item-32963 > a.woodmart-nav-link::before {
  content: "|" !important;
  position: absolute !important;
  left: 7% !important;
  top: 50% !important;
  transform: translateY(-52%) !important;
  color: #CFCFCF !important;
  font-weight: 300 !important;
}

#menu-item-32963 > a.woodmart-nav-link:hover {
  color: #5D95B8 !important;
}

/* Mobile language switcher */
.mobile-nav .trp-ls-language-name,
.mobile-nav .trp-menu-ls-label,
.mobile-nav .nav-link-text .trp-ls-language-name {
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
  color: #7FAFCC !important;
  text-transform: uppercase !important;
}

/* Mobile divider before language */
.mobile-nav .menu-item-object-language_switcher > a,
.mobile-nav .trp-language-switcher-container > a {
  position: relative !important;
  padding-left: 16px !important;
}

/* Hide Instagram overlay */
.wd-insta-meta {
    display: none !important;
}

.matty-soon-label{
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    width:auto !important;
    max-width:max-content !important;

    padding:8px 18px !important;

    background:#F7F3EE !important;
    color:#3D3D3D !important;

    border-radius:30px !important;

    font-size:11px !important;
    font-weight:500 !important;
    letter-spacing:2px !important;
    text-transform:uppercase !important;

    margin-bottom:14px !important;
}
.matty-project-card{
    position:relative;
}

.matty-soon-label{
    position:absolute;
    top:20px;
    left:20px;
    z-index:5;
	backdrop-filter: blur(6px);
background: rgba(247,243,238,0.88);
}

/* Fix size font title post */
@media (max-width: 768px) {
    .wd-post-title {
        font-size: 20px;
        line-height: 1.3;
    }
}

/* Fix search button
:is(.wd-open-popup.btn,.button,button,[type=submit],[type=button]) { 
font-family: "Lato", Arial, Helvetica, sans-serif; 
font-weight: 400; 
font-size: 13px;
 } */

/* Mobile menu search fix */
.mobile-nav .searchform,
.mobile-nav .wd-search-form,
.mobile-nav form.searchform {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    align-items: center !important;
}

.mobile-nav .searchform input[type="text"],
.mobile-nav .searchform input[type="search"] {
    width: 100% !important;
    flex: 1 1 auto !important;
}

.mobile-nav .searchform button,
.mobile-nav .searchform .searchsubmit {
    width: 48px !important;
    min-width: 48px !important;
    padding: 0 !important;
    font-size: 0 !important;
}

/* Mobile menu tabs fix */
.wd-nav-mob-tab {
gap: 0 !important;
}

.wd-nav-mob-tab > li {
flex: 1 1 50% !important;
text-align: center !important;
}

/* Mobile home-products-tabs fix */
@media (max-width: 767px) {

  .home-products-tabs .wd-tab-content {
    height: auto !important;
    min-height: 400px !important;
    overflow: visible !important;
  }

  .home-products-tabs .wd-carousel-wrap,
  .home-products-tabs .swiper,
  .home-products-tabs .swiper-wrapper {
    height: auto !important;
    overflow: visible !important;
  }

  .home-products-tabs .product-grid-item {
    min-height: 330px !important;
  }

}

html {
  scroll-behavior: smooth;
}

/* WPC Grouped Products: mobile quantity fix */
@media (max-width: 767px) {
    .woosg-products .woosg-product .woosg-quantity {
        width: auto !important;
        flex: 0 0 auto !important;
        max-width: 180px !important;
    }
}@media (min-width: 577px) and (max-width: 767px) {
	.wd-page-title {
        --wd-title-sp: 40px; /* Adjust this value as needed */
    }
}

@media (max-width: 576px) {
	.wd-page-title {
        --wd-title-sp: 40px; /* Adjust this value as needed */
    }
}

