/*
 Theme Name:   Storefront Child
 Theme URI:    https://example.com/storefront-child
 Description:  Child theme for the Storefront theme
 Author:       Золоте руно
 Author URI:   https://example.com
 Template:     storefront
 Version:      1.0.15
*/

/* Тут можна додавати ваші стилі */

.xoo-wsc-basket {
    height: 44px;
    bottom: 75px;
    margin: 5px;
}
.xoo-wsc-basket .xoo-wsc-bki {
  color: #ee7a3b !important;
}
.xoo-wsc-qtybox input:not([type=submit]):not([type=checkbox]) {
    padding: 10px;
}

@media screen and (min-width: 1024px) {
    .col-full {
        max-width: 1300px;
    }
}

@media screen and (min-width: 768px) {
    .storefront-breadcrumb {
        padding: 1em 0 !important;
        margin: 0 0 2em !important;
    }
    .xoo-wsc-basket {
        top: 65px !important;
        bottom: unset !important;
    }
}


@media screen and (max-width: 568px) {
    .col-full {
        margin-left: 1em;
        margin-right: 1em;
        padding: 0;
    }
}
@media screen and (max-width: 767px) {
    #vdz_cb_widget {
      right: 10px !important;
      bottom: 145px !important;
    }
    .archive .widget-area .woocommerce-widget-layered-nav {display: none;}
}

.home .site-header {
    margin-bottom: 0 !important;
}

.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #c29545;
}


a:focus, button:focus, .button.alt:focus, input:focus, textarea:focus, input[type="button"]:focus, input[type="reset"]:focus, input[type="submit"]:focus, input[type="email"]:focus, input[type="tel"]:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="search"]:focus {
    outline-color: transparent;
}

div.wpforms-container-full .wpforms-form input[type=date], div.wpforms-container-full .wpforms-form input[type=datetime], div.wpforms-container-full .wpforms-form input[type=datetime-local], div.wpforms-container-full .wpforms-form input[type=email], div.wpforms-container-full .wpforms-form input[type=month], div.wpforms-container-full .wpforms-form input[type=number], div.wpforms-container-full .wpforms-form input[type=password], div.wpforms-container-full .wpforms-form input[type=range], div.wpforms-container-full .wpforms-form input[type=search], div.wpforms-container-full .wpforms-form input[type=tel], div.wpforms-container-full .wpforms-form input[type=text], div.wpforms-container-full .wpforms-form input[type=time], div.wpforms-container-full .wpforms-form input[type=url], div.wpforms-container-full .wpforms-form input[type=week], div.wpforms-container-full .wpforms-form select, div.wpforms-container-full .wpforms-form textarea {
	background-color: #f2f2f2 !important;
    color: #43454b !important;
}

/* .content-area{
	background-color: #1a1a18;
    padding: 0 20px;
    border-radius: 15px;
} */


::-webkit-scrollbar {
  width: 7.5px;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #f8874930; 
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #f88749; 
}

.social-block {
    display: inline-flex;
    list-style: none;
    margin-left: -5px;
}

.social-block .icon {
    position: relative;
    background: #48494e;
    border-radius: 50%;
    padding: 10px;
    margin: 5px;
    width: 30px;
    height: 30px;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.social-block .tooltip {
    position: absolute;
    bottom: 0;
    font-size: 14px;
    background: #ffffff;
    color: #ffffff;
    padding: 3px 5px;
    border-radius: 5px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.custom-social-block .social-block .tooltip{
    width: max-content;
}

.social-block .tooltip::before {
    position: absolute;
    content: "";
    height: 8px;
    width: 8px;
    background: #ffffff;
    top: -3px;
    left: 50%;
    transform: translate(-50%) rotate(45deg);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.social-block .icon:hover .tooltip {
    bottom: -35px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.social-block .icon:hover span,
.social-block .icon:hover .tooltip {
    text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.1);
}

.social-block .icon:hover,
.social-block .icon:hover .tooltip,
.social-block .icon:hover .tooltip::before {
    background: #c29545;
    color: #ffffff;
}

.social-block .icon i{
    color: #ffffff;
}

.custom-background {
    background-color: #c2954561;
    background-position: center center;
    background-size: auto;
    background-repeat: repeat;
    background-attachment: scroll;
}
#masthead{
    padding-top: 0;
}
#header-top{
    padding: 0;
    display: flex;
    justify-content: space-between;
}
#header-top .brave-top-menu{
    flex: 3 1;
}
#header-top .brave-top-menu ul{
    margin: 0;
}
#header-top .brave-top-menu .menu-item{
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 0.5rem;
    text-decoration: none;
    font-size: 17px;
    line-height: 40px;
}
#header-top .social-block{
    flex: 1 1;
    text-align: right;
    padding-top: 1rem;
    padding-bottom: 1rem;
    justify-content: right;
}
#header-top .brave-top-menu .menu-item:last-child a{
	color: #f88749;
}
#header-top .brave-top-menu .menu-item a:hover{
	color: #fff;
}
#header-top .brave-top-menu .menu-item a:focus{
	outline-color: transparent;
}

#storefront_header{
    padding-top: 1rem;
    /*background: url(/wp-content/uploads/2025/07/page-title.gif) no-repeat center center;*/
    background-size: cover !important;
}
#storefront_header .col-full{
    display: flex;
}
#storefront_header>.col-full>div{
    flex: 1 1;
    align-content: center;
}
#storefront_header>.col-full>.after-site-branding-block{
    flex: 3 1;
    padding-right: 30px;
    flex-direction: column;
}
#storefront_header .site-branding{
    margin: 0;
    margin-right: 10px;
}
/*#storefront_header .site-branding img{*/
/*    max-width: 180px;*/
/*}*/
#storefront_header .after-site-branding-block{
    display: flex;
}
#storefront_header .after-site-branding-block .contact{
    justify-content: space-between;
    display: flex;
    padding: 10px;
}
#storefront_header .after-site-branding-block .contact--inline .contact-list{
    display: inline-flex;
}
#storefront_header .after-site-branding-block .contact--inline .contact-list .contact-item{
    font-size: 18px;
}
#storefront_header .after-site-branding-block .contact--inline .contact-list .contact-item span {
    font-size: 14px;
    margin-right: 5px;
    color: #c29545;
}
#storefront_header .after-site-branding-block .contact--inline .contact-list .contact-item:first-child{
    padding-right: 20px;
}
#storefront_header .after-site-branding-block .contact--inline .contact-list .contact-item a{
    color: #2d201b
}
#storefront_header .after-site-branding-block .contact--inline .contact-list .contact-item a:hover{
    color: #f88749;
}
#storefront_header .contact--inline .phones-callback-link{
    color: #c29545;
}
#storefront_header .contact--inline .phones-callback-link:hover{
    color: #f88749;
}
#storefront_header .site-search{
    display: none;
}
#storefront_header .new-site-search form {
    margin-bottom: 0.5em;
}
#storefront_header .timetable{
    flex: 1 1;
    max-width: 150px;
}
#storefront_header .timetable .timetable-title{
    color: #c29545;
    font-weight: bold;
    margin-bottom: 10px;
}
#storefront_header .timetable p{
    margin: 0;
    display: flex;
    justify-content: space-between;
}
#site-header-cart{
    align-self: center;
    width: 300px;
}
#site-header-cart .cart-contents{
    padding: 0;
    text-align: right;
}
.site-header-cart .cart-contents::after {
    padding: 0 5px;
    color: #f88749;
}
#storefront_header .storefront-primary-navigation {
    margin-top: 25px;
}
#storefront_header .storefront-primary-navigation .col-full {
    display: flex;
    width: 100%;
    max-width: 100%;
    padding: 0px;
}
#storefront_header #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link,
#storefront_header #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:hover,
#storefront_header #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:focus {
    font-weight: 600;
}
.woocommerce-active #storefront_header .storefront-primary-navigation .main-navigation {
    width: 100%;
    float: none;
    margin-right: 0;
    clear: both;
}
a.cart-contents:hover, .site-header-cart .widget_shopping_cart a:hover, .site-header-cart:hover > li > a {
    color: #2c2d33 !important;
}








.storefront-handheld-footer-bar {
    color: #ffffff;
}
.storefront-handheld-footer-bar ul li > a {
    background-color: #48494e;
}
.site-footer .storefront-handheld-footer-bar a:not(.button):not(.components-button) {
    color: #c29545;
}

.site-footer {
    padding: 1.5em 0 1em;
    background-color: #48494e;
    color: #ddd;
}
.custom-footer{
    max-width: 1300px;
}
.site-footer .footer-widget-1 {
    margin-top: 60px;
}
.site-footer .custom-footer a:not(.button){
    color: #ddd;
    text-decoration: none;
}
.site-footer .custom-footer a:hover{
    color: #f88749;
}
.site-footer .custom-footer .footer-widgets{
    padding-top: 0px;
    border-bottom: 1px solid #cccc;
}
.site-footer .custom-footer .footer-widgets .widget {
    margin: 0 0 2em;
}
.site-footer .custom-footer .footer-widgets .textwidget p {
   margin: 0 0 0.5em;
}
.site-footer .custom-footer .footer-widgets .menu-item::before {
    color: #e8d7b8;
}
.site-footer .custom-footer .footer-widgets .f-title {
    font-weight: 600;
    color: #e8d7b8;
}
.site-footer .custom-footer .footer-widgets .f-title i {
    margin-right: 8px;
    color: #C29545;
}
.site-footer .custom-footer .footer-widgets .widget-title{
    font-weight: 600;
    color: #c29545 !important;
    margin-bottom: 0;
}
.site-footer .site-info {
    padding: 0.5em 0;
    color: #c29545;
}

/* Контейнер мапи */
.footer-map{
  --radius: 14px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  /* легка рамка під темний футер */
  outline: 1px solid rgba(255,255,255,0.06);
  /* щоб карта не «стирчала» */
  background: #2c2f34; /* колір під тон футера */
}

/* Сам iframe */
.footer-map iframe{
  display: block;

  /* робимо її «спокійною» */
  filter: saturate(0.55) sepia(0.06) contrast(0.95) brightness(0.95);
  transition: filter .35s ease, opacity .35s ease, transform .35s ease;
  will-change: filter, opacity, transform;
}

/* На ховер/фокус – повертаємо колір і трішки «оживляємо» */
.footer-map:hover iframe,
.footer-map:focus-within iframe{
  filter: none;
  opacity: 1;
  transform: scale(1.01);
}


#mysticky-nav.wrapfixed > .storefront-primary-navigation {
    padding: 0 !important;
}

.single-product .product table.variations select{
	background-color: #333333;
    border-color: #333333;
    color: #ffffff;
    min-height: 40px;
    width: 100%;
    padding: 10px;
}
div.wpforms-container-full {
    margin: 0;
}
.woocommerce-loop-category__title mark{
	color: #fff;
}
.woocommerce-loop-category__title:hover mark{
	color: #ddc9c9;
}
.products .product.outofstock {
	opacity: 0.5;
}
.products .product.outofstock .button{
	width:100%;
	border: 2px solid #252525 !important;
}


@media screen and (max-width: 768px) {
    #header-top {
        display: none;
    }
    #storefront_header .after-site-branding-block{
        display: none;
    }
    #storefront_header .timetable{
        display: none;
    }
    #storefront_header #mega-menu-wrap-primary{
        display: none;
    }
    .site-header {
        padding: 10px 0;
        height: 76px;
    }
    #storefront_header {
        display: flex;
        padding: 0px;
        justify-content: center;
    }
    #storefront_header .storefront-primary-navigation {
        margin: 0px;
    }
    #storefront_header .storefront-primary-navigation>.col-full col-full{
        margin: 0px;
    }
    #storefront_header .site-branding img {
        max-width: 150px;
    }
    #storefront_header .site-branding {
        width: 200px;
    }
    #storefront_header .col-full {
        margin: 0;
    }
    #site-navigation-menu-toggle{
        margin: 10px 0px;
        font-size: 18px;
        border-color: #48494e;
        color: #48494e;
    }
    .timetable{
        display: none;
    }
	#mega-menu-wrap-primary{
		display: none;
	}
	#menu-mobile-menu{
		overflow-y: scroll;
    	height: 85vh;
	}
    .site-footer{
        padding: 3em 0 2em;
		box-shadow: 0px 0px 20px #f88749cc;
    }
	.products .product .onsale{
		left: 30px;
	}
    .woocommerce-active #storefront_header .storefront-primary-navigation .main-navigation .menu {
        display: none;
    }
    .woocommerce-active #storefront_header .storefront-primary-navigation .main-navigation.toggled .menu {
        display: block;
        position: absolute;
        width: 100vw;
        background: #fbfbfb;
        left: 0;
        top: 80px;
        padding: 0 15px;
    }
    .woocommerce-active #storefront_header .storefront-primary-navigation button.menu-toggle:after, 
    .woocommerce-active #storefront_header .storefront-primary-navigation button.menu-toggle:before, 
    .woocommerce-active #storefront_header .storefront-primary-navigation button.menu-toggle span:before {
        background-color: #48494e;
    }
  }








/* Галерея категорій Start*/


.custom-category-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 150px;
  gap: 10px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  height: 100%;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  scale: 1;
  transition: scale 0.5s ease;
}

/* Пропорції блоків */
.img-square {
  grid-column: span 1;
  grid-row: span 1;
}

.img-horizontal {
  grid-column: span 2;
  grid-row: span 1;
}

.img-vertical {
  grid-column: span 1;
  grid-row: span 2;
}

.img-big {
  grid-column: span 2;
  grid-row: span 2;
}

/* Overlay */
.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(45, 32, 27, 0.6), transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 15px;
  transition: background 0.3s ease;
}

.gallery-item .cat-title {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
  color: #ddd;
  transition: color 0.3s ease;
}

.gallery-item:hover {
    box-shadow: 0px 0px 10px #f88749cc;
}

.gallery-item:hover img {
  scale: 1.2;
}

.gallery-item:hover .overlay {
  background: linear-gradient(to bottom, rgba(45, 32, 27, 0.9), transparent 60%);
}


.gallery-item:hover .cat-title {
  color: #fff;
}

@media screen and (max-width: 768px) {
    .custom-category-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Галерея категорій End*/







/* site-advantages Start*/

.site-advantages {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  padding: 60px 0px;
  text-align: center;
}

.advantage-item {
  flex: 1 1 22%;
  background: #fff;
  padding: 20px 10px;
  border-radius: 8px;
  box-shadow: 0px 0px 10px #f88749cc;
  transition: transform 0.3s ease;
}

.advantage-item:hover {
  transform: translateY(-3px);
}

.advantage-item .icon {
  background: #f97c28;
  color: #fff;
  font-size: 24px;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}

.advantage-item .text {
  font-size: 16px;
  color: #777;
}

.advantage-item .text strong {
  color: #f97c28;
}

@media (max-width: 768px) {
    .site-advantages {
        padding: 40px 0px;
    }
  .advantage-item {
    flex: 1 1 45%;
  }
}

@media (max-width: 480px) {
    .site-advantages {
        padding: 30px 0px;
    }
  .advantage-item {
    flex: 1 1 100%;
  }
}


/* site-advantages End*/



/* custom_best_sellers Start*/

.custom-products-wrapper {
    margin: 40px 0;
}
.custom-products-title {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
}
.custom-products-title span {
    padding: 0 15px;
    background: #fff;
    position: relative;
    z-index: 1;
}
.custom-products-title:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    border-top: 2px solid #c29545;
    z-index: 0;
}

.custom-products-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 30px;
}

@media (max-width: 1024px) {
  .custom-products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .custom-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.custom-product-card {
  position: relative;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0px 3px 4px rgba(45, 32, 27, 0.3), 0px 3px 6px rgb(45, 32, 27, 0.5);
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: center;
  transition: transform 0.2s;
}

.custom-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 3px 4px rgba(249, 115, 22, 0.3), 0px 3px 6px rgb(249, 115, 22, 0.5);
}

.custom-product-image img {
  width: 100%;
  object-fit: contain;
  background: #f9f9f9;
}

.custom-product-info {
  padding: 10px 5px;
  flex-grow: 1;
}

.custom-product-title {
  font-size: 15px;
  line-height: 1.4em;
  height: 2.8em; /* 2 рядки */
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 0 8px;
}

.custom-product-price {
  font-weight: bold;
  display: block;
  margin-bottom: 10px;
}

.add-to-cart-button {
  background: #f88749cc;
  color: white;
  text-decoration: none;
  padding: 10px 15px;
  display: block;
  font-weight: 600;
  border-top: 1px solid #eee;
  transition: background 0.2s ease;
}

.add-to-cart-button:hover {
  background: #f88749;
}

.product-label {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    font-size: 12px;
    text-transform: uppercase;
    background-color: #c29545;
    color: #fff;
    font-weight: bold;
    border-radius: 3px;
    z-index: 2;
}
.product-label.outofstock {
    z-index: 3;
}
.custom-product-card:hover .product-label.sale {
    background-color: #e11d48; /* червона */
}
.custom-product-card:hover .product-label.new {
    background-color: #2d201b; /* синя */
}
.custom-product-card:hover .product-label.featured {
    background-color: #f97316; /* помаранчева */
}
.custom-product-card:hover .product-label.outofstock {
    background-color: #64748b; /* помаранчева */
}

/* custom_best_sellers End*/



/* === ZR Shop cards – 3 in a row ========================================= */

/* Сітка на 3 колонки */
.woocommerce ul.products,
.woocommerce-page ul.products{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:15px;
  margin:24px 0 0 0 !important;
  padding:0 !important;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after{ display:none !important; }

/* Картка товару */
.woocommerce ul.products li.product{
  width:100% !important;
  list-style:none !important;
  margin:0 !important;
  float:none !important;
  background:#fff;
  border-radius:12px;
  overflow:hidden;
  box-shadow: 0 3px 4px rgba(45,32,27,.30),0 3px 6px rgba(45,32,27,.50);
  display:flex;
  flex-direction:column;
  text-align:center;
  transition:transform .2s ease, box-shadow .2s ease;
}
.woocommerce ul.products li.product:hover{
  transform:translateY(-5px);
  box-shadow: 0 3px 4px rgba(249,115,22,.30),0 3px 6px rgba(249,115,22,.50);
}

/* Лінк-обгортка (картинка + заголовок + ціна) */
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link{
    display: flex;
    flex-direction: column;
    gap: 5px;
    height: 100%;
    text-decoration: none;
    padding: 0 0 5px;
}

/* Зображення */
.woocommerce ul.products li.product a img{
    width: 100%;
    margin: 0px;
    max-height: 350px;
    object-fit: cover;
    background: #f9f9f9;
    display: block;
    aspect-ratio: 1 / 1;
}

/* Заголовок: 2 рядки */
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  font-size:15px;
  line-height:1.4;
  height:2.8em;                 /* рівно 2 рядки */
  margin:8px 12px 0;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* Ціна */
.woocommerce ul.products li.product .price{
  display:block;
  font-weight:700;
  margin:8px 0 0;
  color:#1c1c1c;
}

/* Кнопка "Купити" внизу картки */
.woocommerce ul.products li.product .button{
  margin:0 !important;
  width:100%;
  display:block;
  padding:12px 16px;
  border:0;
  border-top:1px solid #eee;
  border-radius:0 0 12px 12px;
  background:color-mix(in srgb, #f88749 80%, transparent);
  color:#fff;
  font-weight:600;
  text-align:center;
  transition:background .2s ease, transform .2s ease;
}
.woocommerce ul.products li.product .button:hover{
  background:#f88749;
  color:#fff;
}

/* Бейджі (якщо є стандартний .onsale або свій label) */
.woocommerce ul.products li.product .onsale,
.woocommerce ul.products li.product .product-label{
  position:absolute;
  top:10px; left:10px;
  padding:5px 10px;
  font-size:12px;
  text-transform:uppercase;
  background:#c29545;
  color:#fff;
  font-weight:700;
  border-radius:3px;
  z-index:2;
}

/* Панель сортування/лічильник — дрібні правки */
.woocommerce-ordering select{border-radius:6px}

/* Адаптив */
@media (max-width:1024px){
  .woocommerce ul.products{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:640px){
  .woocommerce ul.products li.product a img{
    max-height:220px;
    object-fit:contain;
  }
  .custom-products-title { font-size: 24px }
}




/* === ZR: Sorting + Result count + Pagination ============================ */

/* Контейнер: сортування, лічильник, пагінація в один ряд */
.storefront-sorting{
  display:flex;
  flex-wrap: wrap;
  align-items:center;
  justify-content: end;
  gap:15px;
  margin:10px 0 22px;
}
.storefront-sorting .woocommerce-notices-wrapper{
  flex: 1 0 100%;
}

/* SELECT сортування */
.storefront-sorting .woocommerce-ordering{ position:relative; }
.storefront-sorting .woocommerce-ordering .orderby{
  appearance:none;
  background:#fff;
  border:2px solid #ececec;
  border-radius:12px;
  box-shadow:0 2px 12px rgba(0,0,0,.06);
  padding:10px 44px 10px 14px;
  font-weight:600;
  color:#1c1c1c;
  transition:border-color .2s, box-shadow .2s;
}
.storefront-sorting .woocommerce-ordering .orderby:focus{
  outline:none;
  border-color:#EE7A3B;
  box-shadow:0 4px 16px rgba(238,122,59,.25);
}
/* кастомна «стрілочка» */
.storefront-sorting .woocommerce-ordering::after{
  content:"";
  position:absolute; pointer-events:none;
  right:14px; top:50%;
  width:10px; height:10px;
  border-right:2px solid #1c1c1c;
  border-bottom:2px solid #1c1c1c;
  transform:translateY(-60%) rotate(45deg);
  opacity:.7;
}

/* Лічильник товарів */
.storefront-sorting .woocommerce-result-count{
  display: none;
}

/* Пагінація праворуч */
.storefront-sorting .woocommerce-pagination{ justify-self:end; }
.storefront-sorting .woocommerce-pagination .page-numbers{
  display:flex; align-items:center; gap:10px;
  margin:0; padding:0; list-style:none;
}
.storefront-sorting .woocommerce-pagination .page-numbers li{ margin:0; }

/* Кнопки сторінок */
.storefront-sorting .woocommerce-pagination .page-numbers a,
.storefront-sorting .woocommerce-pagination .page-numbers span{
  display:inline-flex; align-items:center; justify-content:center;
  min-width:44px; height:40px; padding:0 14px;
  background:#fff !important;
  border:1px solid #ececec !important;
  border-radius:10px;
  box-shadow:0 2px 12px rgba(0,0,0,.06);
  color:#555 !important;
  font-weight:700;
  transition:all .2s ease;
  text-decoration:none;
}
.storefront-sorting .woocommerce-pagination .page-numbers a:hover{
  border-color:#EE7A3B !important;   
  box-shadow:0 4px 16px rgba(238,122,59,.25) !important;
  color:#fff !important;
  background:#EE7A3B !important;   
}
.storefront-sorting .woocommerce-pagination .page-numbers .current{
  border-color:#EE7A3B !important;   
  background:#EE7A3B !important;
  color:#fff !important;
  box-shadow:0 4px 16px rgba(238,122,59,.25) !important;
}
.storefront-sorting .woocommerce-pagination .page-numbers .dots{
  background:transparent;
  border:none;
  box-shadow:none;
  color:#bbb !important;
}
.storefront-sorting .woocommerce-pagination .page-numbers .next,
.storefront-sorting .woocommerce-pagination .page-numbers .prev{
  font-size:18px; line-height:1; padding:0 14px;
}
.storefront-sorting .woocommerce-pagination{
    justify-items: end;
    flex: 1 0;
}

/* Адаптив */
@media (max-width: 900px){
  .storefront-sorting{
    grid-template-columns: 1fr;
    gap:12px;
  }
}







/* === ZR: Callback modal / jBox (fixed values) ============================ */

/* Контейнер jBox */
#jBox1.jBox-Modal .jBox-container{
  background:#ffffff;
  border-radius:20px !important;
  box-shadow:0 18px 40px rgba(0,0,0,.12) !important;
  padding:26px 24px !important;
  max-width:520px;
}

/* Кнопка закриття jBox */
.jBox1-overlay .jBox-container .jBox-closeButton{
  background:#ffffff;
  border:2px solid #ececec;
  color:#777;
  width:34px;
  height:34px;
  border-radius:10px;
  box-shadow:0 4px 14px rgba(0,0,0,.06);
  transition:all .2s ease;
}
.jBox1-overlay .jBox-closeButton:hover{
  color:#EE7A3B;
  border-color:#EE7A3B;
}

/* Заголовок + форма */
#vdz_cb{margin:0 auto;}
#vdz_cb h3{
  margin:0 0 14px;
  text-align:center;
  font-size:22px;
  font-weight:800;
  color:#1c1c1c;
}
#vdz_cb #vdz_cb_form {
  width: 100% !important;
  display:grid;
  gap:10px;
}

/* Поля */
#vdz_cb_form input[type="text"]{
  width:100%;
  padding:12px 14px;
  border:2px solid #ececec;
  border-radius:12px;
  background:#ffffff;
  color:#1c1c1c;
  transition:border-color .2s, box-shadow .2s;
}
#vdz_cb_form input[type="text"]::placeholder{ color:#9aa0a6; }
#vdz_cb_form input[type="text"]:focus{
  outline:none;
  border-color:#EE7A3B;
  box-shadow:0 0 0 4px rgba(238,122,59,.22);
}

/* Кнопка */
#vdz_cb_form .button{
  width:100%;
  display:inline-block;
  padding:12px 16px;
  border:none;
  border-radius:12px;
  background:#48494e;
  color:#ffffff;
  font-weight:700;
  letter-spacing:.2px;
  box-shadow:0 8px 18px rgba(238,122,59,.25);
  transition:transform .15s ease, background .2s ease, box-shadow .2s ease;
}
#vdz_cb_form .button:hover{
  background:#EE7A3B; /* можна затемнити до #e67033, якщо хочеш ефект наведеня */
  transform:translateY(-1px);
  box-shadow:0 10px 22px rgba(238,122,59,.30);
}

/* Повідомлення */
#vdz_cb_unsver{margin-top:8px;}
#vdz_cb_unsver .warning,
#vdz_cb_unsver .success{
  display:block;
  padding:10px 12px;
  border-radius:10px;
  font-weight:600;
  text-align:center;
}
#vdz_cb_unsver .warning{
  background:#fff1f2;
  color:#b91c1c;
  border:1px solid #fecaca;
}
#vdz_cb_unsver .success{
  background:#ecfdf5;
  color:#065f46;
  border:1px solid #bbf7d0;
}

/* Мобільна адаптація */
@media (max-width:520px){
  .jBox-container .jBox-content{ padding:22px 18px !important; }
  #vdz_cb h3{ font-size:20px; }
}











/* === ZR: Фільтри каталогу (layered nav) ================================ */

/* Контейнер віджета */
.widget_layered_nav{
  background:#fff;
  border-radius:16px;
  box-shadow:0 8px 22px rgba(0,0,0,.06);
  padding:14px 14px 10px;
  margin:0 0 2em;
}

/* Заголовок */
.widget_layered_nav .widget-title,
.widget_layered_nav .gamma.widget-title{
  margin:0 0 10px;
  font-weight:800;
  font-size:18px;
  color:#1c1c1c;
  position:relative;
}
.widget_layered_nav .widget-title:after{
  content:"";
  display:block;
  height:3px;
  width:54px;
  margin-top:6px;
  border-radius:3px;
  background:#c29545;
}

/* Список */
.woocommerce-widget-layered-nav-list{
  list-style:none;
  margin:0;
  padding:0;
}
.woocommerce-widget-layered-nav-list__item{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 4px 8px !important;
  border-radius:10px;
  transition:background .15s ease,border-color .15s ease;
}
.woocommerce-widget-layered-nav-list__item:hover{
  background:#FFF3EC; /* легка помаранчева підсвітка */
}

/* Посилання = чекбокс + назва */
.woocommerce-widget-layered-nav-list__item > a{
  position:relative;
  display:flex;
  align-items:center;
  gap:10px;
  flex:1;
  color:#2b2b2b;
  text-decoration:none;
  line-height:1.25;
  font-weight:600;
}
.woocommerce-widget-layered-nav-list__item > a:hover{
  color:#1c1c1c;
}

/* Чекбокс (імітація) */
.woocommerce-widget-layered-nav-list__item > a::before{
  content:"";
  width:16px;
  height:16px;
  border:2px solid #cfcfcf;
  border-radius:4px;
  background:#fff;
  flex:0 0 16px;
  transition:all .2s ease;
}
.woocommerce-widget-layered-nav-list__item:hover > a::before{
  border-color:#EE7A3B;
}

/* Галочка у вибраному */
.woocommerce-widget-layered-nav-list__item.chosen > a::before,
.woocommerce-widget-layered-nav-list__item--chosen > a::before{
  background:#EE7A3B;
  border-color:#EE7A3B;
}
.woocommerce-widget-layered-nav-list__item::before {
    content: "" !important;
    width: 0 !important;
}

.woocommerce-widget-layered-nav-list__item.chosen > a::after,
.woocommerce-widget-layered-nav-list__item--chosen > a::after{
  content:"";
  position:absolute;
  left:5px;
  top:50%;
  width:8px;
  height:4px;
  border:2px solid #fff;
  border-top:0; border-right:0;
  transform:translateY(-50%) rotate(-45deg);
}

/* Лічильник (кількість) */
.woocommerce-widget-layered-nav-list .count{
  margin-left:6px;
  padding:0 !important;
  color:#6b6b6b;
  border-radius:999px;
  font-weight:700;
  line-height:1;
  transition:all .2s ease;
}

/* Hover/active для лічильника */
.woocommerce-widget-layered-nav-list__item:hover .count,
.woocommerce-widget-layered-nav-list__item.chosen .count,
.woocommerce-widget-layered-nav-list__item--chosen .count {
  color:#EE7A3B;
}

/* Тонкі відступи між групами/віджетами */
.widget_layered_nav + .widget_layered_nav{ margin-top:16px; }

/* Трохи компактніше на мобільних */
@media (max-width: 720px){
  .woocommerce-widget-layered-nav-list__item{ padding:8px 8px; }
  .woocommerce-widget-layered-nav-list .count{ padding:2px 7px; }
}









/* ======== Single product: ґрід, карти, кольори ======================= */
/* Повноширинний контент + грід */
.single-product #primary{width:100%}
.single-product #secondary{display:none}

.zr-product__grid{
  display:grid;
  grid-template-columns:1.05fr 1fr;
  gap:32px;
  align-items:start;
  margin-bottom:28px;
}

/* --- ГАЛЕРЕЯ --- */
/* Карта для галереї */
.zr-product__grid .woocommerce-product-gallery{
  position: relative;
  background:#fff;
  border-radius:16px;
  box-shadow:0 8px 22px rgba(0,0,0,.06);
  padding:16px;
}

/* ВЕЛИКЕ фото — без фіксованої висоти/ratio! */
.zr-product__grid .woocommerce-product-gallery__image img{
  width:100%;
  height:auto;
  object-fit:contain;
  background:#f9f9f9;
  border-radius:12px;
}

/* Viewport слайдера */
.zr-product__grid .woocommerce-product-gallery .flex-viewport{
  margin-bottom:10px;
  border-radius:12px;
  overflow:hidden;
}

/* Мініатюри — горизонтальним рядом, без нумерації */
.zr-product__grid .woocommerce-product-gallery ol.flex-control-thumbs{
  list-style:none !important;
  margin:10px 0 0 !important;
  padding:0 !important;
  display:flex !important;
  flex-wrap:wrap;
  gap:8px;
}
.zr-product__grid .woocommerce-product-gallery ol.flex-control-thumbs li{
  margin:0 !important;
  width:70px; height:70px;
  border-radius:8px; overflow:hidden; cursor:pointer;
}
.zr-product__grid .woocommerce-product-gallery ol.flex-control-thumbs li img{
  width:100% !important; height:100% !important;
  object-fit:cover; display:block;
  background:#f2f2f2; opacity:.9;
  border-radius:8px;
  transition:opacity .2s, transform .2s, box-shadow .2s;
}
.zr-product__grid .woocommerce-product-gallery ol.flex-control-thumbs li img:hover{
  opacity:1; transform:translateY(-1px);
}
.zr-product__grid .woocommerce-product-gallery ol.flex-control-thumbs li img.flex-active{
  opacity:1; box-shadow:0 0 0 2px #EE7A3B inset;
}

/* --- ПРАВА КАРТКА --- */
.zr-product__summary{background:#fff;border-radius:16px;box-shadow:0 8px 22px rgba(0,0,0,.06);padding:22px}
.zr-product__summary .product_meta { display: flex; flex-direction: column;}
.zr-product__summary .product_meta a{ color: #bdb6b2;}
.zr-product__summary .product_meta a:hover{ color: #EE7A3B;}
.zr-product__summary .cart { display: flex; gap: 20px; }
.single-product .single_add_to_cart_button{
  background:#EE7A3B;color:#fff;border:none;border-radius:12px;padding:12px 18px;font-weight:700;
  box-shadow:0 8px 18px rgba(238,122,59,.25);transition:transform .15s, box-shadow .2s, background .2s;
}
.single-product .single_add_to_cart_button:hover{transform:translateY(-1px);box-shadow:0 10px 22px rgba(238,122,59,.30)}

/* --- ВКЛАДКИ ЯК ГОРИЗОНТАЛЬНЕ МЕНЮ --- */
.zr-tabs{margin-top:12px}
.zr-tabs__nav{display:flex;gap:18px;border-bottom:2px solid #f0f0f0;padding:0 6px;margin:0 0 12px}
.zr-tabs__nav li{list-style:none;margin:0}
.zr-tabs__nav a{
  display:inline-block;padding:10px 6px 12px;font-weight:700;color:#6b6b6b;text-decoration:none;position:relative;border-radius:8px 8px 0 0;transition:color .15s;
}
.zr-tabs__nav li.active a,
.zr-tabs__nav a:hover,
.zr-tabs__nav a:focus{color:#1c1c1c}
.zr-tabs__nav li.active a::after,
.zr-tabs__nav a:hover::after{content:"";position:absolute;left:0;right:0;bottom:-2px;height:3px;background:#EE7A3B;border-radius:3px}

.zr-tabs__panel{background:#fff;border-radius:14px;box-shadow:0 8px 22px rgba(0,0,0,.06);padding:18px}

/* Адаптив */
@media (max-width:1024px){
  .zr-product__grid{grid-template-columns:1fr}
  .woocommerce-tabs .zr-tabs__nav a {
    padding: 10px 0px 12px;
    font-size: 15px;
  }
}
.woocommerce-tabs .panel{display:none; width: 100% !important;}
.woocommerce-tabs .panel.active{display:block}
.woocommerce-tabs .panel h2:first-of-type{color: #48494e;}

/* === Bigger zoom trigger (top-right) ==================================== */
.zr-product__grid .woocommerce-product-gallery .woocommerce-product-gallery__trigger{
  position: absolute;
  top: 20px;
  right: 20px;
  left: auto !important;              /* переносимо вправо */
  z-index: 5;
  width: 44px;                        /* більша кнопка */
  height: 44px;
  border-radius: 12px;
  background: #ffffff !important;     /* чистий фон, прибираємо дефолтну іконку/фон */
  border: 1px solid #eaeaea;
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
  display: inline-grid;
  place-items: center;
  text-indent: -9999px;               /* ховаємо текст, іконку малюємо нижче */
  overflow: hidden;
  transition: box-shadow .2s ease, border-color .2s ease, transform .15s ease;
  cursor: pointer;
}
.zr-product__grid .woocommerce-product-gallery .woocommerce-product-gallery__trigger span {
  display: none !important;
}
.zr-product__grid .woocommerce-product-gallery .woocommerce-product-gallery__trigger:hover{
  border-color: #EE7A3B;
  box-shadow: 0 8px 20px rgba(238,122,59,.35);
  transform: translateY(-1px);
}

/* Малюємо іконку через SVG, щоб завжди була чітка */
.zr-product__grid .woocommerce-product-gallery .woocommerce-product-gallery__trigger::before{
  content: "";
  width: 22px;
  height: 22px;
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23EE7A3B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
}

/* Трохи менша на мобільних */
@media (max-width: 600px){
  .zr-product__grid .woocommerce-product-gallery .woocommerce-product-gallery__trigger{
    width: 38px; height: 38px; border-radius: 10px;
  }
  .zr-product__grid .woocommerce-product-gallery .woocommerce-product-gallery__trigger::before{
    width: 20px; height: 20px;
  }
}



/* ===== Woo: Додаткова інформація (shop_attributes) ===================== */
.zr-product__bottom table.attribute_name_values {
  margin: 0;
}
.zr-product__bottom table.shop_attributes,
.zr-product__bottom table.woocommerce-product-attributes{
  width:100%;
  background:#ffffff;
  border:1px solid #f0f0f0;
  border-radius:14px;
  box-shadow:0 8px 22px rgba(0,0,0,.06);
  overflow:hidden;
}

.zr-product__bottom table.shop_attributes tr{
  border:0;
  background-color: #e0dcd9 !important;
}
.zr-product__bottom table.shop_attributes tr.alt,
.zr-product__bottom table.shop_attributes tr.alt td{
  background-color: #EAEAEA !important;
}

/* Лівий стовпчик (назва атрибуту) */
.zr-product__bottom table.shop_attributes th{
  width:36%;
  padding:12px 14px;
  font-weight:700;
  color:#2b2b2b;
  background:#fafafa;
  border:0;
}

/* Правий стовпчик (значення) */
.zr-product__bottom table.shop_attributes td{
  padding:12px 14px;
  color:#3b3b3b;
  background:#ffffff;
  border:0;
}
.zr-product__bottom table.shop_attributes .attribute_row > td{
  padding:0 !important;
}

/* зебра-рядки для кращої читабельності */
.zr-product__bottom table.shop_attributes tr:nth-child(odd) td{
  background-color:#fdf7f3;                 /* дуже світлий помаранчевий */
}

/* посилання всередині значень */
.zr-product__bottom table.shop_attributes td a{
  color:#EE7A3B;
  text-decoration:none;
  border-bottom:1px dashed rgba(238,122,59,.45);
}
.zr-product__bottom table.shop_attributes td a:hover{
  color:#cf642f;
  border-bottom-color:transparent;
}

/* Псевдо-розділювачі (якщо використовуєте "групи" атрибутів) */
.zr-product__bottom table.shop_attributes tr.zr-attr-group th{
  background:#FFECE0;
  color:#EE7A3B;
  text-transform:uppercase;
  letter-spacing:.02em;
  font-weight:700;
}
.zr-product__bottom table.shop_attributes tr.zr-attr-group td{
  display:none;                        /* у групового рядка правая клітинка ховається */
}

/* Мобільна читабельність: стакаємо по 1 колонці */
@media (max-width: 680px){
  .zr-product__bottom table.shop_attributes th,
  .zr-product__bottom table.shop_attributes td{
    display:block;
    width:auto;
  }
  .zr-product__bottom table.shop_attributes th{
    background:transparent;
    color:#6b6b6b;
    padding-bottom:6px;
  }
  .zr-product__bottom table.shop_attributes tr{
    border-bottom:1px solid #f0f0f0;
  }
  .zr-product__bottom table.shop_attributes * {
    text-align: center !important;
  }
}











/* Кнопка "Фільтри" (показуємо лише на мобільних/планшетах) */
.zr-filter-toggle{
  display:inline-flex; align-items:center; gap:8px; color: #ee7a3b;
  padding:10px 14px; border:1px solid #eaeaea; border-radius:12px;
  background:#fff; font-weight:700; box-shadow:0 6px 16px rgba(0,0,0,.06);
  cursor:pointer; transition:box-shadow .2s, transform .15s, border-color .2s;
  position: fixed; bottom: 80px; z-index: 9; right: 60px;
}
.zr-filter-toggle:hover{ border-color:#EE7A3B; transform:translateY(-1px); box-shadow:0 8px 20px rgba(238,122,59,.25); }
.zr-filter-toggle__icon{ width:16px; height:16px; border:2px solid #cfcfcf; border-radius:3px; box-shadow:inset 6px 0 0 0 #EE7A3B; }

/* Позиціюємо кнопку поруч із сортуванням */
.woocommerce .storefront-sorting .zr-filter-toggle{ order:-1; }
@media (min-width:1025px){ .zr-filter-toggle{ display:none; } }

/* === Drawer ============================================================ */
.zr-filter-drawer{ position:fixed; inset:0; pointer-events:none; z-index:9999; }
.zr-filter-backdrop{
  position:absolute; inset:0; background:rgba(0,0,0,.35);
  opacity:0; transition:opacity .25s ease;
}
.zr-filter-drawer__panel{
  position:absolute; top:0; left:0; height:100%;
  width:340px; max-width:calc(100% - 60px);
  background:#fff; border-radius:0 16px 16px 0; box-shadow:0 20px 40px rgba(0,0,0,.25);
  transform:translateX(-105%); transition:transform .3s ease;
  display:flex; flex-direction:column; z-index: 99;
}
.zr-filter-drawer.is-open{ pointer-events:auto; }
.zr-filter-drawer.is-open .zr-filter-backdrop{ opacity:1; }
.zr-filter-drawer.is-open .zr-filter-drawer__panel{ transform:translateX(0); }
.zr-no-scroll{ overflow:hidden; }

/* Header/Footer */
.zr-filter-drawer__header{
  position:sticky; top:0; z-index:2;
  display:flex; justify-content:space-between; align-items:center;
  padding:12px 14px; background:#fff; border-bottom:1px solid #eee; border-radius:0 16px 0 0;
}
.zr-filter-close{
  width:34px; height:34px; border-radius:10px; border:1px solid #eaeaea; background:#fff; cursor:pointer;
}
.zr-filter-drawer__body{ padding:12px 12px 80px; overflow:auto; }
.zr-filter-drawer__footer{
  position:sticky; bottom:0; background:#fff; padding:10px 12px; border-top:1px solid #eee;
  display:flex; gap:10px;
}
.zr-filter-clear{
  flex:1; text-align:center; border:1px solid #eaeaea; border-radius:12px; padding:10px 12px; color:#6b6b6b; text-decoration:none;
}
.zr-filter-apply{
  flex:1; border:0; border-radius:12px; padding:10px 12px; font-weight:700; color:#fff; background:#48494e;
  box-shadow:0 8px 18px rgba(238,122,59,.25);
}

/* Компактність */
.zr-filter-drawer .widget{ margin:0 0 14px; padding:10px; border:1px solid #f0f0f0; border-radius:12px; box-shadow:0 4px 12px rgba(0,0,0,.04); }
.zr-filter-drawer .widget .widget-title{ margin:0 0 8px; font-weight:800; font-size:16px; }

/* Використайте попередню стилізацію для пунктів фільтру (чекбокс/hover/active) */
.zr-filter-drawer .woocommerce-widget-layered-nav-list{ max-height: 165px; overflow: auto; }
.zr-filter-drawer .woocommerce-widget-layered-nav-list__item{ display:flex; align-items:center; gap:10px; padding:8px; border-radius:10px; }
.zr-filter-drawer .woocommerce-widget-layered-nav-list__item:hover{ background:#FFF3EC; }
.zr-filter-drawer .woocommerce-widget-layered-nav-list__item > a{
  display:flex; align-items:center; gap:10px; text-decoration:none; color:#2b2b2b; font-weight:600; flex:1;
}
.zr-filter-drawer .woocommerce-widget-layered-nav-list__item > a::before{
  content:""; width:16px; height:16px; border:2px solid #cfcfcf; border-radius:4px; background:#fff; transition:all .2s;
}
.zr-filter-drawer .woocommerce-widget-layered-nav-list__item:hover > a::before{ border-color:#EE7A3B; }
.zr-filter-drawer .woocommerce-widget-layered-nav-list__item.chosen > a::before,
.zr-filter-drawer .woocommerce-widget-layered-nav-list__item--chosen > a::before{ background:#EE7A3B; border-color:#EE7A3B; }
.zr-filter-drawer .woocommerce-widget-layered-nav-list .count{
  margin-left:6px; padding:2px 8px; border-radius:999px; background:#f1f1f1; color:#6b6b6b; font-weight:700;
}
.zr-filter-drawer .woocommerce-widget-layered-nav-list__item.chosen .count{ color:#EE7A3B; }








/* Стилі для звичайних сторінок */

/* Приховати sidebar */
.post-template-default.single-post #secondary {
    display: none !important;
}

/* Розтягнути primary на повну ширину */
.post-template-default.single-post #primary {
    width: 100% !important;
    max-width: 1200px;
    margin: 0 auto;
    float: none;
}

/* Стилізація таблиць */
.post-template-default.single-post .entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2em;
    background-color: #fff;
    border: 1px solid #ddd;
    font-size: 16px;
}
.post-template-default.single-post .entry-content table thead {
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: #fff; /* або інший колір фону сайту */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); /* тінь для виділення */
}
.post-template-default.single-post .entry-content table th,
.post-template-default.single-post .entry-content table td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
}
.post-template-default.single-post .entry-content table th {
    background-color: #f7f7f7;
    color: #222;
}

/* Стилізація зображень */
.post-template-default.single-post .entry-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1em auto;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(248,135,73,0.1);
}

/* Стилізація форм */
.post-template-default.single-post .entry-content input[type="text"],
.post-template-default.single-post .entry-content input[type="email"],
.post-template-default.single-post .entry-content input[type="tel"],
.post-template-default.single-post .entry-content input[type="number"],
.post-template-default.single-post .entry-content input[type="url"],
.post-template-default.single-post .entry-content textarea,
.post-template-default.single-post .entry-content select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 1em;
    font-size: 16px;
    background-color: #fafafa;
}

.post-template-default.single-post .entry-content input[type="submit"],
.post-template-default.single-post .entry-content button,
.post-template-default.single-post .entry-content .button {
    background-color: #fc6a03;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}
.post-template-default.single-post .entry-content input[type="submit"]:hover,
.post-template-default.single-post .entry-content button:hover,
.post-template-default.single-post .entry-content .button:hover {
    background-color: #e55a00;
}

/* Відступи заголовків */
.post-template-default.single-post .entry-content h1, 
.post-template-default.single-post .entry-content h2, 
.post-template-default.single-post .entry-content h3, 
.post-template-default.single-post .entry-content h4 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}








/* Повна ширина сторінки */
.page-template-template-fullwidth:not(.home) .site-content #primary {
  width: 100%;
  max-width: 100%;
  float: none;
  padding: 2rem;
  box-sizing: border-box;
  max-width: 1200px;
  margin: 0 auto;
}

/* Посилання */
.page-template-template-fullwidth:not(.home) .site-content a {
  color: #f1702a;
  text-decoration: none;
  transition: all 0.3s ease;
}
.page-template-template-fullwidth:not(.home) .site-content a:hover {
  color: #bd5d20;
  text-decoration: underline;
}

/* Таблиці */
.page-template-template-fullwidth:not(.home) .site-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  font-size: 15px;
  background: #fff;
  border: 1px solid #ffddb0;
}
.page-template-template-fullwidth:not(.home) .site-content thead th,
.page-template-template-fullwidth:not(.home) .site-content thead td {
  position: sticky;
  top: 0;
  background: #ffe4cc;
  color: #3b3b3b;
  padding: 12px;
  border: 1px solid #ffddb0;
  z-index: 2;
}
.page-template-template-fullwidth:not(.home) .site-content tbody td {
  padding: 10px;
  border: 1px solid #f1c69f;
  background: #fffaf5;
  text-align: right;
}

/* Зображення */
.page-template-template-fullwidth:not(.home) .site-content img {
  max-width: 100%;
  justify-self: center;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(248,135,73,0.1);
  margin: 1rem 0;
}

/* Форми */
.page-template-template-fullwidth:not(.home) .site-content form input[type="text"],
.page-template-template-fullwidth:not(.home) .site-content form input[type="email"],
.page-template-template-fullwidth:not(.home) .site-content form textarea,
.page-template-template-fullwidth:not(.home) .site-content form select {
  width: 100%;
  padding: 10px;
  margin-bottom: 1rem;
  border: 1px solid #ffc9a3;
  border-radius: 5px;
  background: #fffefb;
}
.page-template-template-fullwidth:not(.home) .site-content form input:focus,
.page-template-template-fullwidth:not(.home) .site-content form textarea:focus,
.page-template-template-fullwidth:not(.home) .site-content form select:focus {
  border-color: #f1702a;
  outline: none;
}

/* Кнопки */
.page-template-template-fullwidth:not(.home) .site-content button,
.page-template-template-fullwidth:not(.home) .site-content input[type="submit"],
.page-template-template-fullwidth:not(.home) .site-content .woocommerce button.button {
  background-color: #f1702a;
  color: #fff;
  padding: 10px 20px;
  border: none;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.page-template-template-fullwidth:not(.home) .site-content button:hover,
.page-template-template-fullwidth:not(.home) .site-content input[type="submit"]:hover,
.page-template-template-fullwidth:not(.home) .site-content .woocommerce button.button:hover {
  background-color: #d45917;
}

/* Заголовки */
.page-template-template-fullwidth:not(.home) .site-content h1,
.page-template-template-fullwidth:not(.home) .site-content h2,
.page-template-template-fullwidth:not(.home) .site-content h3,
.page-template-template-fullwidth:not(.home) .site-content h4 {
  color: #3b3b3b;
  font-family: 'Open Sans', sans-serif;
  margin-top: 1.5rem;
}














/* ===== Сторінка Брендів ===== */

/* Сітка */
.prm-brands-list{
  display: grid !important;
  grid-template-columns:repeat(4,minmax(250px,1fr));
  gap: 20px;
  margin-top: 20px;
}

.prm-brands-list__col{
  display: contents;
}

/* Картка */
.prm-brands-list__item{
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff !important;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(9, 30, 66, .08);;
  text-decoration: none !important;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.prm-brands-list__item:hover,
.prm-brands-list__item:focus-visible{
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(9, 30, 66, .12);
  border-color: rgba(0,0,0,.12);
  outline: none;
}

/* Прев’ю (квадратне, як на товарах) */
.prm-brands-list__image{
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;        /* квадрат */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.prm-brands-list__image img,
.prm-brands-list__image noscript img{
  width: 100%;
  height: 100%;
  object-fit: contain;         /* логотип уміщається в квадрат */
  image-rendering: -webkit-optimize-contrast;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.03));
}

/* Якщо у бренда плейсхолдер — робимо його менш нав’язливим */
.prm-brands-list__image img[src*="placeholder"]{
  opacity: .7;
}

/* Нижня плашка з назвою (як кнопка "Купити") */
.prm-brands-list__title{
  margin: 0;
  padding: 12px 14px;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 600;
  letter-spacing: .2px;
  color: #fff !important;
  background: #c29545 !important;
}

.prm-brands-list__item:hover .prm-brands-list__title{
  background: color-mix(in srgb, #F08A4B 92%, #000) !important;
}

/* Дрібні покращення адаптиву */
@media (max-width: 960px){
  .prm-brands-list{ gap: 16px; }
}
@media (max-width: 480px){
  .prm-brands-list{ grid-template-columns: repeat(2, 1fr); }
}

/* Фокус для доступності */
.prm-brands-list__item:focus-visible{
  box-shadow: 0 0 0 3px color-mix(in srgb, #F08A4B 30%, #fff), 0 12px 28px rgba(9, 30, 66, .12) !important;
}


/* Сумісність із a3 Lazy Load, щоб квадрат не «стрибав» */
img.lazy-hidden[data-src]{ min-height: 1px; }



#load-more-products {
    background-color: #f47a34;
    color: white;
    font-size: 16px;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

#load-more-products:hover {
    background-color: #d8611f;
}


.page-template-default .entry-content a {
     color: #f88749;
}
.page-template-default .entry-content strong {
     color: #c29545;
}

#storefront_header .primary-navigation {
    background: #48494e;
}
#menu-header-menu {
    max-width: 1300px;
    margin: 0 auto;
}
#menu-header-menu .menu-item a {
    font-weight: 600;
    font-size: 17px;
    padding: 1.5em 1em;
    text-transform: uppercase;
    color: #e8d7b8;
}
#menu-header-menu .menu-item a i {
    color: rgb(194, 149, 69);
    font-size: 17px;
}
#menu-header-menu .menu-item:hover a,
#menu-header-menu .menu-item:hover a i {
    color: #fff;
}
#menu-header-menu .current-menu-item a,
#menu-header-menu .current-menu-item a i {
    color: #fff;
}






/* Features Section */
.features{padding:64px 0;background:#fff}
.features .container{max-width:1300px;margin:0 auto;padding:0 16px}
.custom-features-title { text-align: center; font-size: 32px; font-weight: 600; margin-bottom: 25px; position: relative;}
.custom-features-title span { padding: 0 15px; background: #fff; position: relative; z-index: 1;}
.custom-features-title:before { content: ""; position: absolute; top: 50%; left: 0; right: 0; border-top: 2px solid #c29545; z-index: 0;}
.features__grid{display:grid;gap:24px;grid-template-columns:repeat(4,1fr);list-style:none;margin:0;padding:0}
.features__grid li{text-align:center;background:#F8F8F9;border-radius:16px;padding:24px}
.features__grid h3{margin:12px 0 8px;font-size: 20px; font-weight: 600;}
.features__grid p{color:#4b4b4b;margin:0}
.features__grid img { max-width: 100%; justify-self: center; height: auto; }
@media(max-width:991px){.features__grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:575px){.features__grid{grid-template-columns:1fr} .custom-features-title {font-size: 24px;}}
/* Features Section */



/* Hero Section */
.micron-hero{background:#ede4d9; width: 100vw;justify-self:center;display:flex;align-items:center}
.micron-hero .hero__inner{max-width:1200px;width: 100%;min-height:520px;margin:0 auto;padding:15px;background:#ede4d9 url('/wp-content/uploads/2025/10/main-hero-2.webp') center/cover no-repeat;display: flex; flex-direction: column; justify-content: center; align-items: flex-end;}
.micron-hero h1{font-size:48px;line-height:1.1;margin:0 0 16px; color: #48494e;}
.micron-hero .lead{font-size:20px;color:#48494e;margin:0 0 24px}
.btn{display:inline-block;border-radius: 6px; padding: 12px 18px; font-weight: 700; box-shadow: 0 8px 18px rgba(238, 122, 59, .25); transition: transform .15s, box-shadow .2s, background .2s; text-decoration:none !important;}
.btn--primary{ background: #48494e; color: #fff; border: none; }
.btn--ghost {border:2px solid  #48494e; color: #48494e; margin-left:12px; }
.btn--primary:hover,.btn--ghost:hover {opacity:0.7}
@media(max-width:767px){
    .micron-hero{min-height:380px; background: #ede4d9 url(/wp-content/uploads/2025/10/main-hero-2.webp) center / cover no-repeat;}
    .micron-hero .hero__inner{background: #ede4d999; min-height: auto; box-shadow: 0 8px 18px rgb(237 228 217 / 75%); justify-content: center; align-items: center; text-align: center;}
    .micron-hero h1{font-size:32px}
    .btn{padding:10px 16px}
}
/* Hero Section */

