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

@font-face {
	font-family: "star";
	font-weight: 400;
	font-style: normal;
	src: url("//madinahmoon.com/wp-content/plugins/woocommerce/assets/fonts/star.eot?#iefix") format("embedded-opentype"), url("//madinahmoon.com/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff"), url("//madinahmoon.com/wp-content/plugins/woocommerce/assets/fonts/star.ttf") format("truetype"), url("//madinahmoon.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("//madinahmoon.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.eot?#iefix") format("embedded-opentype"), url("//madinahmoon.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff") format("woff"), url("//madinahmoon.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf") format("truetype"), url("//madinahmoon.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: #767676;
	--wd-text-font-size: 14px;
	--wd-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--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(24,65,34);
	--wd-alternative-color: #fbbc34;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(24,65,34);
	--btn-accented-bgcolor-hover: rgb(24,65,34);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--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: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
: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;
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1780px;
--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-bottom-active: -1px;
--btn-accented-brd-radius: 0px;
--btn-accented-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15);
--btn-accented-box-shadow-hover: inset 0 -2px 0 rgba(0, 0, 0, .15);
--wd-brd-radius: 0px;
}

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


.wd-page-title {
background-color: #0a0a0a;
}

/* Растягиваем контейнер описания категории */
.term-description {
    max-width: 1780px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Убираем ограничения для вложенных контейнеров Elementor */
.term-description .elementor-section-stretched {
    width: 100vw !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* ===== СКРЫТЬ QUANTITY ===== */
.single-product .quantity {
    display: none !important;
}

/* ===== ADD TO CART ===== */
.single-product button.single_add_to_cart_button {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    padding: 16px 30px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    border-radius: 8px !important;
    margin-top: 0 !important;
}

.single-product form.cart {
    width: 100% !important;
    display: block !important;
}

.single-product .cart-actions-wrapper {
    width: 100% !important;
}

@media (max-width: 768px) {
    .single-product button.single_add_to_cart_button {
        width: 100% !important;
        padding: 14px 20px !important;
    }
}

/* ================================
   Шапка + меню — ДЕСКТОП ≥1025px
   ================================ */

@media (min-width: 1025px) {

    header.whb-header {
        background: transparent !important;
        position: relative;
    }

    header.whb-header .whb-row.whb-general-header {
        background: transparent !important;
        width: 100% !important;
        max-width: 1780px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    header.whb-header .whb-row.whb-general-header .whb-flex-row.whb-general-header-inner {
        background-color: #ffffff !important;
        border-radius: 14px !important;
        margin-top: 18px !important;
        padding: 10px 40px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
    }

    /* Отключаем стандартный sticky WoodMart на десктопе */
    .whb-sticky-header,
    .whb-sticky-clone {
        display: none !important;
    }

    /* НАШ Sticky (десктоп) */
    header.whb-header.mm-sticky-custom {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 9999 !important;
        background: transparent !important;
        width: 100% !important;
        padding: 0 20px !important;
        box-sizing: border-box !important;
    }

    header.whb-header.mm-sticky-custom .whb-row.whb-general-header {
        width: 100% !important;
        max-width: 1780px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    header.whb-header.mm-sticky-custom .whb-flex-row.whb-general-header-inner {
        margin-top: 0 !important;
        width: 100% !important;
    }

    /* Меню: базовый вид + зелёный hover/active */
    .wd-nav.wd-style-bg > li > a::before,
    .wd-nav.wd-style-bg > li > a::after {
        display: none !important;
        content: none !important;
    }

    .wd-nav.wd-style-bg > li > a {
        position: relative !important;
        display: inline-block !important;
        padding: 8px 18px !important;
        border-radius: 11px !important;
        background-color: transparent !important;
        color: inherit !important;
        transition: all 0.25s ease !important;
    }

    html body header.whb-header .wd-nav.wd-style-bg > li > a:hover,
    html body header.whb-header .wd-nav.wd-style-bg > li > a:focus {
        background-color: #184122 !important;
        color: #ffffff !important;
        border-radius: 11px !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    html body header.whb-header .wd-nav.wd-style-bg > li.current-menu-item > a,
    html body header.whb-header .wd-nav.wd-style-bg > li.wd-active > a {
        background-color: #184122 !important;
        color: #ffffff !important;
        border-radius: 11px !important;
        background-image: none !important;
    }

    /* Меню всегда в одну линию */
    header.whb-header .wd-nav.wd-style-bg {
        display: flex !important;
        flex-wrap: nowrap !important;
        white-space: nowrap !important;
    }

    header.whb-header .wd-nav.wd-style-bg > li {
        flex: 0 0 auto !important;
        white-space: nowrap !important;
    }
}

/* ================================
   ДЕСКТОП ПОУЖЕ: 1400–1200px
   ================================ */

@media (max-width: 1400px) and (min-width: 1200px) {

    /* логотип */
    header.whb-header .whb-logo img {
        max-width: 140px !important;
        height: auto !important;
    }

    /* внутр. отступы таблетки */
    header.whb-header .whb-row.whb-general-header .whb-flex-row.whb-general-header-inner {
        padding: 8px 24px !important;
    }

    /* пункты меню – меньше шрифт и паддинги */
    header.whb-header .wd-nav.wd-style-bg > li > a {
        padding: 4px 10px !important;
        font-size: 14px !important;
    }

    /* иконки справа – чуть ближе друг к другу */
    header.whb-header .wd-tools-element {
        margin-left: 6px !important;
        margin-right: 0 !important;
    }

    /* соц-иконки */
    header.whb-header .wd-header-html.whb-4dhybqqkc6wlqvtuvh0j
    .elementor-icon-list-icon svg {
        width: 20px !important;
        height: 20px !important;
    }
}

/* ================================
   ДЕСКТОП ПОУЖЕ: 1200–1025px
   ================================ */

@media (max-width: 1200px) and (min-width: 1025px) {

    header.whb-header .whb-logo img {
        max-width: 120px !important;
    }

    header.whb-header .whb-row.whb-general-header .whb-flex-row.whb-general-header-inner {
        padding: 6px 18px !important;
    }

    header.whb-header .wd-nav.wd-style-bg > li > a {
        padding: 3px 6px !important;
        font-size: 12px !important;
    }

    header.whb-header .wd-tools-element {
        margin-left: 4px !important;
    }

    header.whb-header .wd-header-html.whb-4dhybqqkc6wlqvtuvh0j
    .elementor-icon-list-icon svg {
        width: 18px !important;
        height: 18px !important;
    }
}

/* ================================
   Соц.иконки (HTML-блок в хедере)
   ================================ */

@media (min-width: 1025px) {

    /* Обёртка блока с иконками в хедере */
    header.whb-header .wd-header-html.whb-4dhybqqkc6wlqvtuvh0j {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        /* не ограничиваем ширину и не обрезаем содержимое */
        flex: 0 0 auto !important;
        max-width: none !important;
        overflow: visible !important;
    }

    /* Список иконок всегда в строку */
    header.whb-header .wd-header-html.whb-4dhybqqkc6wlqvtuvh0j
    .elementor-icon-list-items {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 6px !important;
    }

    header.whb-header .wd-header-html.whb-4dhybqqkc6wlqvtuvh0j
    .elementor-icon-list-item {
        flex: 0 0 auto !important;
        white-space: nowrap !important;
    }

    /* убираем пустой текст, чтобы не занимал место */
    header.whb-header .wd-header-html.whb-4dhybqqkc6wlqvtuvh0j
    .elementor-icon-list-text {
        display: none !important;
    }

    /* базовый размер SVG-иконок */
    header.whb-header .wd-header-html.whb-4dhybqqkc6wlqvtuvh0j
    .elementor-icon-list-icon svg {
        width: 22px !important;
        height: 22px !important;
        display: block !important;
    }
}

/* ===== Самый узкий десктоп: ~1025–1120px ===== */
@media (max-width: 1120px) and (min-width: 1025px) {

  /* ЛОГО – максимум ужимаем */
  header.whb-header .whb-logo img,
  header.whb-header .wd-logo img,
  header.whb-header .site-logo img {
      max-width: 100px !important;
      height: auto !important;
  }

  /* МЕНЮ – ещё меньше шрифт и отступы */
  header.whb-header .wd-nav.wd-style-bg > li > a,
  header.whb-header .whb-main-header .wd-nav > li > a {
      font-size: 11px !important;
      padding: 2px 6px !important;
      line-height: 1.2 !important;
  }
}
/* ===== Узкий десктоп: 1025–1300px – ужимаем логотип и меню ===== */
@media (max-width: 1300px) and (min-width: 1025px) {

  /* ЛОГОТИП – переопределяем инлайн max-width:250px */
  header.whb-header img.attachment-full.size-full {
      max-width: 90px !important;   /* если всё ещё тесно – попробуй 80px */
      height: auto !important;
  }

  /* ПУНКТЫ МЕНЮ – уменьшаем шрифт и паддинги */
  html body header.whb-header .wd-nav.wd-style-bg > li > a {
      font-size: 11px !important;
      padding: 2px 6px !important;
      line-height: 1.2 !important;
  }
}
/* Супер-узкий десктоп: 1025–1100px */
@media (max-width: 1100px) and (min-width: 1025px) {

  /* ЛОГО – максимально ужимаем */
  header.whb-header img.attachment-full.size-full {
      max-width: 60px !important;   /* если вдруг всё равно тесно – можно 50px */
      height: auto !important;
  }

  /* Таблетка хедера – минимальные отступы */
  header.whb-header .whb-row.whb-general-header .whb-flex-row.whb-general-header-inner {
      padding: 4px 10px !important;
  }

  /* Меню – ещё меньше шрифт и паддинги */
  html body header.whb-header .wd-nav.wd-style-bg > li > a {
      font-size: 9px !important;
      padding: 1px 3px !important;
      line-height: 1.1 !important;
  }

  /* Инструменты справа – почти без промежутков */
  header.whb-header .wd-tools-element {
      margin-left: 2px !important;
      margin-right: 0 !important;
  }

  /* Соц-иконки – компактные */
  header.whb-header .wd-header-html.whb-4dhybqqkc6wlqvtuvh0j
  .elementor-icon-list-icon svg {
      width: 16px !important;
      height: 16px !important;
  }
}
/* Оптический центр текста в пилюле меню – все десктопы */
@media (min-width: 1025px) {
  header.whb-header .wd-nav.wd-style-bg > li > a {
      padding-top: 6px !important;   /* чуть меньше сверху */
      padding-bottom: 10px !important; /* чуть больше снизу */
      line-height: 1.1 !important;   /* стабильная высота строки */
  }
}

/* Самый узкий десктоп 1025–1100: ещё чуть корректируем */
@media (max-width: 1100px) and (min-width: 1025px) {
  header.whb-header .wd-nav.wd-style-bg > li > a {
      padding-top: 3px !important;
      padding-bottom: 7px !important;
      line-height: 1.1 !important;
  }
}
/* Вертикальный центр текста в пилюлях меню (десктоп) */
@media (min-width: 1025px) {

  /* li как flex-элемент, чтобы содержимое было по центру по высоте */
  header.whb-header .wd-nav.wd-style-bg > li {
      display: flex !important;
      align-items: center !important;
  }

  /* Ссылка-пилюля как flex-контейнер */
  header.whb-header .wd-nav.wd-style-bg > li > a.woodmart-nav-link {
      display: flex !important;
      align-items: center !important;      /* вертикальный центр текста */
      justify-content: center !important;  /* горизонтальный центр внутри пилюли */
      padding-top: 6px !important;
      padding-bottom: 6px !important;
      line-height: 1 !important;
  }

  /* Сам текст внутри – без своих отступов/line-height */
  header.whb-header .wd-nav.wd-style-bg > li > a.woodmart-nav-link .nav-link-text {
      display: inline-block !important;
      margin: 0 !important;
      padding: 0 !important;
      line-height: 1 !important;
  }
}
/* Мобильная / планшетная версия: фиксируем шапку и отталкиваем контент вниз */
@media (max-width: 1024px) {

  /* Хедер фиксируем сверху */
  header.whb-header {
      position: fixed !important;
      top: 0 !important;
      left: 0 !important;
      right: 0 !important;
      z-index: 9999 !important;
  }

  /* Основной контент опускаем ниже хедера */
  .main-page-wrapper {
      padding-top: 90px !important;  /* подбери под реальную высоту шапки: 80–100px */
      box-sizing: border-box !important;
  }
}

/* ================================
   1366px и поуже — агрессивное ужимание
   ================================ */

@media (max-width: 1366px) and (min-width: 1025px) {

    /* Логотип — минимум */
    header.whb-header img.attachment-full.size-full,
    header.whb-header .whb-logo img {
        max-width: 80px !important;
        height: auto !important;
    }

    /* Таблетка шапки — минимальные отступы */
    header.whb-header .whb-row.whb-general-header .whb-flex-row.whb-general-header-inner {
        padding: 6px 15px !important;
        gap: 10px !important;
    }

    /* Меню — компактные пункты */
    html body header.whb-header .wd-nav.wd-style-bg > li > a {
        font-size: 11px !important;
        padding: 4px 8px !important;
        line-height: 1.2 !important;
    }

    /* Инструменты справа — ближе */
    header.whb-header .wd-tools-element {
        margin-left: 4px !important;
    }

    /* Соц-иконки — мини */
    header.whb-header .wd-header-html.whb-4dhybqqkc6wlqvtuvh0j
    .elementor-icon-list-icon svg {
        width: 18px !important;
        height: 18px !important;
    }

    /* Если всё ещё тесно — ужимаем ещё сильнее на 1280px */
    @media (max-width: 1280px) {
        header.whb-header img.attachment-full.size-full {
            max-width: 70px !important;
        }
        
        html body header.whb-header .wd-nav.wd-style-bg > li > a {
            font-size: 10px !important;
            padding: 3px 6px !important;
        }
    }
}
/* Скрываем боковую корзину полностью */
.cart-widget-side,
.woodmart-cart-side-widget,
.wd-side-cart-canvas,
.wd-cart-cat {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Убираем оверлей */
.woodmart-close-side,
.wd-close-side {
    display: none !important;
}

/* Разрешаем скролл */
body.woodmart-cart-opened,
body.wd-cart-opened,
body.no-scroll {
    overflow: auto !important;
}
/* Мобильный вид кастомного wishlist WoodMart */
@media (max-width: 767px) {

    /* каждый товар в wishlist на всю ширину */
    .wd-wishlist-content .products .product,
    .wd-wishlist-content .product-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important; /* для flex-контейнера */
    }

    /* контейнер с картинкой и сама картинка */
    .wd-wishlist-content .product-image-link,
    .wd-wishlist-content .product-image-link img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        object-fit: cover;
        display: block;
    }
}
@media (max-width: 767px) {
    /* Делаем контент карточки вертикальным стеком */
    .wd-wishlist-content .product-wrapper {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .wd-wishlist-content .product-wrapper > * {
        width: 100% !important;
    }

    /* Кнопки «Add to cart / Select options» — на всю ширину */
    .wd-wishlist-content .product-wrapper .wd-add-btn,
    .wd-wishlist-content .product-wrapper .wd-add-btn a,
    .wd-wishlist-content .product-wrapper .button {
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
        text-align: center;
    }
}
@media (max-width: 767px) {

    /* Полностью выключаем сетку/колонки у списка товаров в wishlist */
    .wd-wishlist-content .products {
        display: block !important;
    }

    /* Каждый товар – отдельный блок на всю ширину */
    .wd-wishlist-content .products li.product {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        clear: both !important;
        margin-right: 0 !important;
    }

    /* Внутренний wrapper без горизонтального flex */
    .wd-wishlist-content .product-wrapper {
        display: block !important;
        width: 100% !important;
    }

    /* Картинка */
    .wd-wishlist-content .product-image-link,
    .wd-wishlist-content .product-image-link img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        object-fit: cover;
    }

    /* Кнопки под картинкой, на всю ширину */
    .wd-wishlist-content .product-wrapper .wd-add-btn,
    .wd-wishlist-content .product-wrapper .wd-add-btn a,
    .wd-wishlist-content .product-wrapper .add_to_cart_button,
    .wd-wishlist-content .product-wrapper .button {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
    }
}
/* Хедер ЛК: фон белый, шрифт черный, тень */
.wd-my-account-page .wd-tools-element,
.woocommerce-MyAccount-navigation:not(.wd-account-links-sidebar) ~ .wd-account-head-title {
    background: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #cccccc !important; /* серый бордер вместо синего */
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important; /* небольшая тень */
}

/* Иконка в хедере (если еле видна, сделаем заметнее) */
.wd-tools-element::before {
    color: #000000 !important;
    opacity: 1 !important;
    font-size: 16px !important;
}
@media (min-width: 1025px) {
	/* Контейнер для цены и кнопки */
.product-grid-item .wrapp-product-price {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 15px !important;
}

/* Убираем нижний отступ у цены, чтобы она была ровно по центру кнопки */
.product-grid-item .price {
    margin-bottom: 0 !important;
}
}

