/* Maslo-Derevo visual layer — 2026-08-19. Loaded after UniShop generated styles. */
:root {
  --md-wood-light: url('../image/wood-light-tile.jpg');
  --md-wood-dark: url('../image/wood-dark-tile.jpg');
  --body-bg: #f3ebe0;
  --body-c: #241811;
  --a-c: #7a421c;
  --a-c-hover: #4a2815;
  --header-bg: transparent;
  --top-menu-bg: rgba(255, 250, 242, .78);
  --top-menu-btn-c: #2c1c12;
  --top-menu-btn-c-hover: #8a4d23;
  --header-icon-c: #3b2417;
  --header-icon-total-bg: #bd6d2b;
  --header-icon-total-c: #ffffff;
  --header-block-caption-c: #4a3426;
  --header-phones-m-c: #241811;
  --header-phones-m-c-hover: #8a4d23;
  --header-phones-a-c: #7a421c;
  --header-search-input-bg: rgba(255, 253, 249, .94);
  --header-search-input-c: #241811;
  --header-search-cat-btn-bg: #e8d7c1;
  --header-search-cat-btn-c: #3b2417;
  --menu-main-bg: #5b3823;
  --menu-main-c: #fff8ed;
  --menu-main-before: #c9823a;
  --menu-main-header-bg: #3d2b1f;
  --menu-main-header-c: #fff8ed;
  --menu-main-level-1-c: #fff8ed;
  --menu-main-level-1-c-hover: #3b2417;
  --menu-main-level-2-bg: #fffaf4;
  --menu-main-level-2-c: #3c2a20;
  --menu-main-level-2-c-hover: #a75d2a;
  --menu-main-level-3-c: #6e4a31;
  --menu-main-level-3-c-hover: #a75d2a;
  --menu-right-bg: #f1e5d5;
  --menu-right-level-1-c: #4e3425;
  --menu-right-level-1-c-hover: #9a5527;
  --menu-right-level-2-bg: #fffaf4;
  --menu-right-level-2-c: #4e3425;
  --menu-right-level-2-c-hover: #9a5527;
  --menu-right-level-3-c: #6e4a31;
  --menu-right-level-3-c-hover: #9a5527;
  --btn-primary-bg: #aa602b;
  --btn-primary-bg-hover: #7b4220;
  --btn-primary-c: #fffaf2;
  --btn-primary-c-hover: #ffffff;
  --btn-default-bg: #e7d6bd;
  --btn-default-bg-hover: #d7bea0;
  --btn-default-c: #4a301f;
  --btn-default-c-hover: #3a2418;
}

body {
  color: var(--body-c);
  background-color: var(--body-bg);
  background-image:
    linear-gradient(180deg, rgba(255, 250, 242, .72), rgba(247, 238, 226, .58)),
    var(--md-wood-light);
  background-size: auto, 420px 420px;
  background-repeat: repeat;
  background-attachment: scroll;
}

header {
  background-color: transparent;
  background-image:
    linear-gradient(180deg, rgba(255, 252, 246, .82), rgba(248, 239, 227, .68)),
    var(--md-wood-light);
  background-size: auto, 420px 420px;
  background-repeat: repeat;
  box-shadow: 0 5px 20px rgba(64, 38, 22, .12);
}

header .header__top,
header .top-menu {
  letter-spacing: .01em;
  color: #2c1c12;
  background: rgba(255, 250, 242, .72) !important;
  border-bottom: 1px solid rgba(74, 46, 28, .12);
}

header .top-menu__btn,
header .top-links__a,
header .top-menu__btn-text {
  color: #2c1c12 !important;
}

header .top-menu__btn:hover,
header .top-links__a:hover,
header .top-menu__btn:hover .top-menu__btn-text {
  color: #8a4d23 !important;
}

header .header-phones__main,
header .header-block__item-caption,
header .header-phones a {
  color: #241811;
}

main,
#content,
.breadcrumb-h1 h1,
.category-page__h1,
.information-page h1,
.heading,
.uni-module__title,
.product-thumb__name,
.product-data__item-div {
  color: #241811;
}

.breadcrumb,
.product-data__item,
.product-thumb__model,
.text-muted {
  color: #5a4333 !important;
}

a {
  color: var(--a-c);
}

a:hover {
  color: var(--a-c-hover);
}

.header-menu__btn,
.menu__header {
  border-radius: 8px;
  font-weight: 700;
}

.header-search__input {
  border-color: rgba(103, 63, 35, .22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}

.header-search__input:focus {
  border-color: #b96c32;
  box-shadow: 0 0 0 3px rgba(185, 108, 50, .15);
}

.home-page .uni-slideshow_v2 {
  overflow: hidden;
  border: 1px solid rgba(102, 59, 30, .16);
  border-radius: 14px;
  box-shadow: 0 16px 34px rgba(66, 40, 23, .16);
}

.home-page .uni-slideshow_v2__item:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(42, 27, 17, .30), transparent 52%);
}

.home-page .uni-slideshow_v2__description {
  z-index: 2;
  text-shadow: 0 2px 16px rgba(36, 21, 12, .45);
}

.home-page .uni-slideshow_v2__btns .btn,
.home-page .uni-slideshow_v2__btn {
  border-radius: 7px;
  box-shadow: 0 6px 14px rgba(56, 31, 15, .18);
}

.uni-wrapper,
.home-page .home-banner__item,
.home-page .uni-banner__item,
.home-page .category-wall__item {
  border: 1px solid rgba(107, 66, 38, .12);
  box-shadow: 0 8px 20px rgba(78, 48, 29, .07);
}

.home-page .home-banner__item,
.home-page .uni-banner__item {
  overflow: hidden;
  border-radius: 12px;
}

.home-page .home-banner__item:before,
.home-page .uni-banner__item:before {
  background: linear-gradient(120deg, rgba(61,43,31,.38), transparent 62%);
}

.product-thumb,
.category-page .product-thumb {
  border-radius: 10px;
  border-color: rgba(109, 73, 46, .13);
}

.product-thumb:hover {
  box-shadow: 0 12px 26px rgba(75, 46, 27, .13);
}

.product-thumb__name a,
.product-page__h1,
h1, h2, h3 {
  color: #3d2b1f;
}

.product-thumb__price,
.product-page__price,
.price {
  color: #a75d2a;
}

.btn-primary,
.product-thumb__add-to-cart,
.product-page__add-to-cart {
  border-color: #aa602b;
  background-color: #aa602b;
}

.btn-primary:hover,
.product-thumb__add-to-cart:hover,
.product-page__add-to-cart:hover {
  border-color: #7b4220;
  background-color: #7b4220;
}

footer {
  background-color: #1f140e;
}

@media (max-width: 767px) {
  :root { --body-bg: #f3ebe0; }
  .home-page .uni-slideshow_v2 { border-radius: 0; margin-left: -15px; margin-right: -15px; }
}

/* Override UniShop slideshow accents with the Maslo-Derevo wood palette. */
.uni-slideshow_v2__description .uni-slideshow_v2__title {
  color: #fff8ed !important;
  font-weight: 800;
  letter-spacing: .015em;
  text-shadow: 0 2px 10px rgba(36, 21, 12, .55);
}

.uni-slideshow_v2__description .uni-slideshow_v2__text {
  color: #fffaf2 !important;
  background: rgba(61, 43, 31, .91) !important;
  border-left: 3px solid #d28a43;
  border-radius: 7px;
  box-shadow: 0 10px 20px rgba(43, 25, 15, .24);
}

.uni-slideshow_v2__description .uni-slideshow_v2__btn,
.uni-slideshow_v2__btn.btn {
  color: #fffaf2 !important;
  background: #b8682f !important;
  border-color: #b8682f !important;
  border-radius: 7px;
  font-weight: 700;
  box-shadow: 0 7px 16px rgba(51, 30, 17, .25);
}

.uni-slideshow_v2__description .uni-slideshow_v2__btn:hover,
.uni-slideshow_v2__btn.btn:hover {
  color: #fff !important;
  background: #7d4321 !important;
  border-color: #7d4321 !important;
}

.uni-slideshow_v2 .owl-dot span {
  background: rgba(255, 248, 237, .68) !important;
}

.uni-slideshow_v2 .owl-dot.active span {
  background: #c9823a !important;
}

/* Footer — dark wood texture, light readable text. */
footer.footer {
  position: relative;
  overflow: hidden;
  background-color: #1f140e !important;
  background-image:
    linear-gradient(180deg, rgba(18, 11, 8, .72), rgba(12, 8, 6, .78)),
    var(--md-wood-dark) !important;
  background-size: auto, 420px 420px !important;
  background-repeat: repeat !important;
  color: #f7ecdc !important;
  border-top: 4px solid #9a592b;
}

footer.footer .footer__column-heading,
footer.footer .footer__column-heading-addr {
  color: #fff3df !important;
  font-weight: 800;
  letter-spacing: .025em;
  text-transform: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}

footer.footer .footer__column-a,
footer.footer .footer__contacts-li,
footer.footer .footer__text,
footer.footer .footer__column-li {
  color: #f3e6d4 !important;
}

footer.footer .footer__column-a:hover,
footer.footer .footer__contacts-li a:hover {
  color: #f0b36a !important;
  text-decoration-color: rgba(240, 179, 106, .7);
}

footer.footer .footer__contacts-icon,
footer.footer .footer__contacts-img {
  color: #d79858 !important;
}

footer.footer .footer__socials-payments {
  background: rgba(14, 9, 7, .32) !important;
  border-top: 1px solid rgba(247, 223, 188, .13);
  border-bottom: 1px solid rgba(247, 223, 188, .08);
}

footer.footer .footer__socials-icon,
footer.footer .footer__payments-icon {
  border-color: rgba(236, 193, 139, .28) !important;
  background-color: rgba(255, 249, 238, .08) !important;
  box-shadow: none !important;
}

footer.footer .footer__socials-icon:hover {
  color: #fff7ed !important;
  background-color: #975126 !important;
  border-color: #c98041 !important;
}

footer.footer .footer__payments-icon img,
footer.footer .footer__payments-icon {
  filter: saturate(.78) sepia(.12);
}

footer.footer + .fly-block .fly-block__item {
  background-color: #704022 !important;
  border-color: rgba(255, 239, 214, .22) !important;
}

footer.footer + .fly-block .fly-block__item:hover {
  background-color: #9c592b !important;
}

@media (max-width: 767px) {
  footer.footer .footer__column-heading {
    border-color: rgba(247, 223, 188, .16) !important;
  }
}


/* menu hover readable */
.menu1 .menu__level-1-li:hover > .menu__level-1-a,
.menu1 .menu__level-1-li.open > .menu__level-1-a,
.menu1 .menu__level-1-li:hover > a.menu__level-1-a,
.main-menu .menu__level-1-li:hover > .menu__level-1-a,
.main-menu .menu__level-1-li:hover > a {
  color: #3b2417 !important;
}
.menu1 .menu__level-1-li:hover,
.main-menu .menu__level-1-li:hover {
  background: #fff8ef !important;
}
