/* ===== Бренд: WEARLOCAL (Локальні бренди: сучасно, свіжо, ком'юніті) ===== */
:root {
  --c-dark: #0F3D2E; --c-dark2: #0A2B20; --c-accent: #C6F432; --c-accent-ink: #0F3D2E;
  --c-price: #0F3D2E; --c-bg: #FFFFFF; --c-soft: #F2F5EC; --c-text: #10231C;
  --c-header: #0F3D2E; --c-header-ink: #FFFFFF;
  --f-head: 'Onest', sans-serif; --f-body: 'Onest', sans-serif;
  --r: 20px; --r-btn: 12px;
}
body { background: var(--c-bg); color: var(--c-text); font-family: var(--f-body); }
h1, h2, h3, h4, h5, .h1, .h2, .h3, .tt-title, .box-heading, .page-title { font-family: var(--f-head); }
a:hover, a:focus { color: var(--c-accent); }

/* ---- Шапка ---- */
.full-header, .full-header.fixed { background: var(--c-header) !important; }
.full-header a, .full-header .material-icons, .full-header .ttuserheading, .full-header #cart .btn,
.full-header .ttsearch_button i, #search .ttsearch_button .icon-search, .header-left-cms a,
.main-menu > ul > li > a, .tt-megamenu .menu-item > a, #ttmegamenu .top-level > a { color: var(--c-header-ink) !important; }
#logo img { max-height: 52px; width: auto; }
.header_user_info .ttuserheading, .header_user_info .ttuserheading::before, .header_user_info .ttuserheading::after { border-color: var(--c-header-ink) !important; }
.ttcart #cart #cart-total { background: var(--c-accent) !important; color: var(--c-accent-ink) !important; }
.header-top-cms { background: var(--c-accent); }
.bm-announce { background: var(--c-accent); color: var(--c-accent-ink); text-align: center; font: 600 13px/20px var(--f-body);
  letter-spacing: .04em; padding: 9px 16px; }
.header-content-title .parallex { background-color: var(--c-soft); }
.header-content-title .page-title, .header-content-title .breadcrumb a, .header-content-title .breadcrumb > li::after,
.header-content-title .breadcrumb > li + li::before { color: #fff !important; }
/* сторінка товару: показувати головне фото, коли додаткових немає (тема ховає його завжди) */
.product-product .product-image.single .thumbnail { display: block; }

/* ---- Кнопки ---- */
.btn, .btn-primary, .btn-default, #button-cart, .buy_now { border-radius: var(--r-btn) !important; text-transform: none; letter-spacing: .01em; }
.btn-primary, .product-details #button-cart { background: var(--c-dark); color: #fff; }
.btn-default { background: var(--c-accent); color: var(--c-accent-ink); }
.product-thumb .price, .product-details ul.product-price h2 { color: var(--c-price); font-style: normal; }

/* ---- Футер ---- */
.footer-container { background: var(--c-dark); }
.bottom-footer { background: var(--c-dark2); }
.footer-top-cms { background: var(--c-soft); }
#goToTop { background: var(--c-accent); color: var(--c-accent-ink); border-radius: var(--r-btn); }

/* ---- Слайдер на всю ширину ---- */
.slideshow-panel { width: 100% !important; float: none; padding: 0; }
.slideshow-panel .swiper-viewport, .slideshow-panel img { border-radius: 0; }
.newslatter-img { background-image: url("../../../../../image/catalog/brand/newsletter.jpg") !important; background-size: cover !important; background-position: center !important; }

/* Блок розсилки без анімації «виїзду справа»: вона розширювала сторінку на мобільному */
.newletter-subscribe.hb-animate-element { animation: none !important; -webkit-animation: none !important; opacity: 1 !important; }
.footer-top-cms { overflow: hidden; }

/* ---- Розкладка головної ---- */
.tt-home #content { min-height: 0; }
.content-top > .html-content, .content-top > .ttproduct-main { clear: both; float: left; width: 100%; }
.box-heading, .tthometab-title, .ttproduct-main h3, .footer-top-cms .tt-title { font-family: var(--f-head) !important; font-style: normal !important; }
.footer-top-cms .btn, .footer-top-cms .button { background: var(--c-accent) !important; color: var(--c-accent-ink) !important; }

/* ---- Блоки головної (bm-*) ---- */
.bm-wrap { max-width: 1320px; margin: 0 auto; padding: 0 20px; }
.bm-section { padding: 64px 0; clear: both; }
.bm-section.soft { background: var(--c-soft); }
.bm-h { font: 700 36px/1.15 var(--f-head); text-transform: none; letter-spacing: 0; margin: 0 0 12px; color: var(--c-text); }
.bm-sub { font: 400 17px/1.6 var(--f-body); opacity: .8; margin: 0 0 36px; max-width: 640px; }
.bm-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.bm-service { display: flex; gap: 14px; align-items: flex-start; }
.bm-service .material-icons { font-size: 30px; color: var(--c-accent); flex: none; }
.bm-service b { display: block; font: 700 16px/1.3 var(--f-head); margin-bottom: 4px; }
.bm-service span { font: 400 14px/1.5 var(--f-body); opacity: .75; }
.bm-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bm-tile { position: relative; display: block; overflow: hidden; border-radius: var(--r); aspect-ratio: 5/6; background: var(--c-soft); }
.bm-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.bm-tile:hover img { transform: scale(1.04); }
.bm-tile .bm-tile-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px;
  background: linear-gradient(transparent, rgba(0,0,0,.55)); color: #fff; }
.bm-tile .bm-tile-cap b { display: block; font: 700 26px/1.15 var(--f-head); text-transform: none; }
.bm-tile .bm-tile-cap span { font: 500 14px/1.4 var(--f-body); opacity: .9; }
.bm-story { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.bm-story img { width: 100%; border-radius: var(--r); aspect-ratio: 5/4; object-fit: cover; object-position: center 20%; }
.bm-tile img { object-position: center 20%; }
/* Головний банер з фото товарів */
.bm-hero { clear: both; background: #0F3D2E; color: #FFFFFF; overflow: hidden; }
.bm-hero-in { max-width: 1440px; margin: 0 auto; padding: 56px 48px; display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.bm-hero-k { font: 600 15px/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: #C6F432; margin-bottom: 22px; }
.bm-hero h1 { font: 800 clamp(38px, 4.6vw, 72px)/1.04 var(--f-head); color: inherit; margin: 0 0 22px; text-transform: none !important; letter-spacing: 0; }
.bm-hero p { font: 400 19px/1.5 var(--f-body); opacity: .85; margin: 0 0 32px; max-width: 480px; color: inherit; }
.bm-hero-ph { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.bm-hero-ph a { display: block; overflow: hidden; border-radius: var(--r); aspect-ratio: 3/4.6; background: var(--c-soft); }
.bm-hero-ph a:nth-child(2) { margin-top: 48px; }
.bm-hero-ph img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; transition: transform .6s ease; }
.bm-hero-ph a:hover img { transform: scale(1.04); }
@media (max-width: 991px) {
  .bm-hero-in { grid-template-columns: 1fr; gap: 28px; padding: 36px 20px; }
  .bm-hero-ph { gap: 10px; } .bm-hero-ph a:nth-child(2) { margin-top: 24px; }
}
.bm-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.bm-point { border-top: 2px solid var(--c-accent); padding-top: 14px; }
.bm-point b { display: block; font: 700 17px/1.3 var(--f-head); margin-bottom: 6px; }
.bm-point span { font: 400 14px/1.5 var(--f-body); opacity: .75; }
.bm-promo { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 48px 56px;
  border-radius: var(--r); background: var(--c-dark); color: #fff; }
.bm-promo .bm-h { color: #fff; margin: 0 0 8px; }
.bm-promo p { margin: 0; color: #fff; opacity: .85; font: 400 17px/1.5 var(--f-body); }
.bm-btn { display: inline-block; padding: 15px 32px; border-radius: var(--r-btn); background: var(--c-accent); color: var(--c-accent-ink) !important;
  font: 700 15px/1 var(--f-body); text-transform: none; letter-spacing: .01em; white-space: nowrap; }
.bm-btn:hover { filter: brightness(1.08); color: var(--c-accent-ink) !important; }
.bm-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bm-step { background: #fff; border-radius: var(--r); padding: 30px; }
.bm-step i { display: inline-block; font: 800 15px/1 var(--f-head); font-style: normal; padding: 8px 12px; border-radius: 999px;
  background: var(--c-accent); color: var(--c-accent-ink); margin-bottom: 18px; }
.bm-step b { display: block; font: 700 21px/1.25 var(--f-head); margin-bottom: 8px; }
.bm-step span { font: 400 15px/1.55 var(--f-body); opacity: .8; }
.bm-about p { font-size: 16px; line-height: 1.75; margin-bottom: 16px; }
@media (max-width: 991px) {
  .bm-services { grid-template-columns: repeat(2, 1fr); }
  .bm-story { grid-template-columns: 1fr; gap: 28px; }
  .bm-tiles, .bm-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .bm-section { padding: 40px 0; }
  .bm-h { font-size: 26px; }
  .bm-services, .bm-tiles, .bm-steps, .bm-points { grid-template-columns: 1fr; }
  .bm-promo { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
}

/* WEARLOCAL: великі радіуси, лайм на темно-зеленому */
.product-thumb { border-radius: 20px; overflow: hidden; background: #fff; }
.bm-section.soft { background: var(--c-soft); }
.bm-tile .bm-tile-cap { left: 14px; right: 14px; bottom: 14px; border-radius: 14px; background: #fff; color: var(--c-dark); }
.bm-step { border: 1px solid rgba(15,61,46,.08); }
.bm-promo { background: var(--c-dark); }

/* ===== Розкладка: pill ===== */
@media (min-width: 992px) {
  /* «Плаваюча» шапка-капсула з відступами, меню в окремій пігулці по центру */
  header { padding: 14px 20px 0; background: var(--c-bg); }
  .full-header { display: grid !important; grid-template-columns: 1fr auto 1fr; grid-template-areas: "logo menu icons"; align-items: center;
    border-radius: 999px; padding: 0 14px 0 30px !important; min-height: 72px; }
  .full-header .header-left { grid-area: logo; float: none; }
  .full-header #logo { float: none; padding: 12px 0; width: auto; }
  .full-header .header-top-right { grid-area: icons; float: none; justify-self: end; }

  .full-header .header-top-left, .full-header .header-left-cms { height: auto !important; width: auto; }
  .full-header .header-top-left #header-left, .full-header .header-top-left .main-category-list, .full-header .header-top-left .tt-menu { float: none !important; width: 100% !important; }
  .full-header .header-top-left .tt-menu ul.ul-top-items { display: flex !important; justify-content: center; flex-wrap: wrap; float: none; }
  .full-header .header-top-left .tt-menu .ul-top-items .li-top-item { padding: 0 !important; float: none; }
  .full-header .header-top-left .tt-menu .a-top-link { line-height: 20px !important; float: none; display: block; }

  .full-header .header-top-left { grid-area: menu; background: rgba(255,255,255,.08) !important; border-radius: 999px; padding: 5px !important; }
  .full-header .header-top-left .tt-menu .a-top-link { padding: 10px 18px !important; border-radius: 999px; font-style: normal !important; font-size: 14px !important; }
  .full-header .header-top-left .tt-menu .a-top-link:hover { background: var(--c-accent); color: var(--c-accent-ink) !important; }
  .full-header .header-top-right .list-inline > li > a, .full-header .header-top-right #cart > .btn, .full-header .ttsearch_button { border-radius: 999px; }
  .full-header.fixed { border-radius: 0 0 28px 28px; }
}
@media (min-width: 992px) and (max-width: 1279px) {
  /* вузький десктоп: меню не вміщається поруч з логотипом, переносимо другим рядком капсули */
  .full-header { grid-template-columns: 1fr auto; grid-template-areas: "logo icons" "menu menu"; border-radius: 32px; padding: 0 14px 12px 30px !important; }
  .full-header .header-top-left { justify-self: center; }
}
@media (min-width: 992px) {
  /* Слайдер заокруглений, усередині поля сторінки */
  .slideshow-panel { padding: 16px 20px 0 !important; }
  .bm-hero { margin: 16px 20px 0; border-radius: 32px; }
  .slideshow-panel .swiper-viewport, .slideshow-panel .swiper-container { border-radius: 32px !important; overflow: hidden; }
}
/* Заголовки секцій: зліва, великі, з лаймовою «плашкою» */
.box-heading h3::before, .box-heading h3::after, .title_block h3::before, .title_block h3::after { display: none !important; }
.tthometab-title { text-align: left !important; }
.tthometab-title h3 { width: auto !important; text-align: left !important; font-size: 38px !important; background: linear-gradient(transparent 62%, var(--c-accent) 62%); padding: 0 6px; }
.TTProduct-Tab .tab-box-heading { text-align: left !important; border: 0 !important; margin-bottom: 18px; }
.TTProduct-Tab .tab-box-heading .nav-tabs > li > a { border-radius: 999px !important; padding: 8px 18px !important; border: 1px solid rgba(15,61,46,.2) !important; margin-right: 8px; }
.TTProduct-Tab .tab-box-heading .nav-tabs > li.active > a { background: var(--c-dark) !important; }
.TTProduct-Tab .tab-box-heading .nav-tabs > li.active > a .tab-title { color: var(--c-accent) !important; }
.TTProduct-Tab .tab-box-heading .nav-tabs > li + li::before { display: none !important; }

.product-thumb .thumb-description .caption > h4, .product-thumb .thumb-description .caption > .price { float: none !important; width: 100% !important; display: block; }
/* Картки: білі, великі радіуси, лаймова кнопка «+» на фото */
.TTProduct-Tab .product-thumb, .product-layout .product-thumb { background: #fff !important; border-radius: 24px !important; overflow: hidden; padding: 8px !important;
  box-shadow: 0 1px 0 rgba(15,61,46,.06) !important; border: 0 !important; }
.product-thumb .image { border-radius: 18px; overflow: hidden; }
.product-thumb .image img { aspect-ratio: 4/5; object-fit: cover; }
.product-thumb .thumb-description .caption { padding: 12px 8px 10px !important; text-align: left; }
.product-thumb .thumb-description .caption h4 { text-align: left; }
.product-thumb h4 a { font-size: 16px !important; font-weight: 700 !important; line-height: 1.3 !important; }
.product-thumb .thumb-description .caption > .price { display: inline-block !important; width: auto !important; }
.product-thumb .price { background: var(--c-soft); color: var(--c-dark) !important; border-radius: 999px; padding: 4px 12px; font-weight: 700; }
.product-thumb .product-countdown { display: none !important; }
.product-thumb .sale-icon, .product-thumb .percent { background: var(--c-accent) !important; color: var(--c-accent-ink) !important; border-radius: 999px !important; }

/* --- товари сіткою замість каруселі --- */
.TTProduct-Tab .owl-stage { transform: none !important; width: auto !important; display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.TTProduct-Tab .owl-item { width: auto !important; margin: 0 !important; }
.TTProduct-Tab .products-carousel:not(.owl-loaded) { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.TTProduct-Tab .products-carousel:not(.owl-loaded) > .product-layouts { width: auto; float: none; }
.TTProduct-Tab .customNavigation, .TTProduct-Tab .owl-nav, .TTProduct-Tab .owl-dots { display: none !important; }
.TTProduct-Tab .product-layouts { padding: 0 !important; margin: 0 !important; }
.product-thumb h4 a { white-space: normal !important; font-style: normal; }
@media (max-width: 991px) {
  .TTProduct-Tab .owl-stage, .TTProduct-Tab .products-carousel:not(.owl-loaded) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 767px) {
  .TTProduct-Tab .owl-stage, .TTProduct-Tab .products-carousel:not(.owl-loaded) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .TTProduct-Tab .tab-content { padding: 0 14px; }
  .TTProduct-Tab .product-thumb .button-group { display: none !important; }
  .TTProduct-Tab .product-thumb .ttproducthover { position: static !important; opacity: 1 !important; transform: none !important; margin-top: 6px; }
  .TTProduct-Tab .product-thumb .thumb-description .caption { display: block !important; }
  .TTProduct-Tab .product-thumb .thumb-description .caption > h4 { width: 100% !important; text-align: inherit !important; }
  .TTProduct-Tab .product-thumb .btn-cart { font-size: 12px; padding: 6px 0; white-space: nowrap; }
  .tthometab-title h3 { font-size: 26px !important; line-height: 1.2 !important; }
}

/* Розсилка — лаймова капсула, футер із великим заокругленням зверху */
.footer-top-cms { background: var(--c-bg) !important; }
.footer-top-cms .newletter-subscribe { background: var(--c-accent); border-radius: 32px; padding: 34px 40px !important; }
.footer-top-cms .tt-title, .footer-top-cms .newletter-desc { color: var(--c-accent-ink) !important; }
.footer-top-cms .btn, .footer-top-cms .button { background: var(--c-dark) !important; color: #fff !important; border-radius: 999px !important; }
.footer-top-cms input[type=text] { border-radius: 999px !important; }
.footer-container { border-radius: 40px 40px 0 0; margin-top: 30px; }


/* ---- Міні-кошик: читабельний текст і кнопки «Переглянути кошик» / «Оформити замовлення» ---- */
#cart .dropdown-menu a, #cart .dropdown-menu .material-icons, #cart .dropdown-menu .btn { color: var(--c-text) !important; }
#cart .header-cart-toggle .table > tbody > tr > td.text-right.amount { color: var(--c-price) !important; }
#cart .dropdown-menu li p.text-right { display: flex; flex-direction: column; gap: 8px; margin: 14px 0 0; padding: 0; }
#cart .dropdown-menu li p a, #cart .dropdown-menu li p a:first-child { float: none; width: 100%; display: flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 10px 14px; margin: 0; border-radius: var(--r-btn); font: 600 14px/1.25 var(--f-body); letter-spacing: .01em;
  text-transform: none; text-align: center; white-space: normal; box-sizing: border-box; transition: background-color .2s, color .2s, filter .2s; }
#cart .dropdown-menu li p a strong { font: inherit; letter-spacing: inherit; color: inherit !important; }
#cart .dropdown-menu li p a::after { display: none !important; }
#cart .dropdown-menu li p a:last-child { order: -1; background: var(--c-accent) !important; color: var(--c-accent-ink) !important; border: 1px solid var(--c-accent); }
#cart .dropdown-menu li p a:last-child:hover, #cart .dropdown-menu li p a:last-child:focus { background: var(--c-accent) !important; color: var(--c-accent-ink) !important; filter: brightness(.9); }
#cart .dropdown-menu li p a:first-child { background: transparent !important; color: var(--c-dark) !important; border: 1px solid var(--c-dark); }
#cart .dropdown-menu li p a:first-child:hover, #cart .dropdown-menu li p a:first-child:focus { background: var(--c-dark) !important; color: #fff !important; }
