/* Майсторче — червено + жълто (от 01.12.2026; --mc-green* вече държат червените тонове) */
:root{
  --mc-green:#E30613; --mc-green-dark:#B5000F; --mc-green-deep:#8E000B; --mc-red:#E30613; --mc-red-dark:#B5000F;
  --mc-ink:#111; --mc-ink-2:#444; --mc-grey:#F4F4F4; --mc-line:#E5E5E5; --mc-yellow:#FFE600; --mc-yellow-dark:#F5D000;
  --theme-palette-color-1:var(--mc-green); --theme-palette-color-2:var(--mc-green-dark);
  --theme-button-background-initial-color:var(--mc-green); --theme-button-background-hover-color:var(--mc-green-dark);
  --theme-link-hover-color:var(--mc-green);
  --theme-font-family:'Open Sans',Arial,sans-serif;
  --mc-wrap:1240px;
}
body,button,input,select,textarea,h1,h2,h3,h4,h5,h6,.product_title,.price,.ct-menu-link{font-family:'Open Sans',Arial,sans-serif!important}
body{color:var(--mc-ink);background:#fff}
h1,h2,h3,h4{color:var(--mc-ink);font-weight:700;letter-spacing:0}

/* --- скриваме хедъра и футъра на темата --- */
#header,.ct-header,.ct-footer,footer#footer{display:none!important}

/* ================= ХЕДЪР ================= */
.mc-header{position:sticky;top:0;z-index:999;background:var(--mc-red);box-shadow:0 2px 6px rgba(0,0,0,.15)}
.admin-bar .mc-header{top:32px}
.mc-header__main{max-width:var(--mc-wrap);margin:0 auto;padding:6px 16px;display:flex;align-items:center;gap:22px;min-height:64px}
.mc-header__logo img{display:block;height:56px;width:auto}
.mc-search{flex:1;max-width:520px;margin-left:auto;display:flex;align-items:center;background:#fff;border:0;border-radius:30px;padding:3px 3px 3px 16px}
.mc-search input[type=search]{flex:1;border:0!important;background:transparent!important;height:36px;font-size:14px!important;padding:0!important;box-shadow:none!important;outline:0}
.mc-search button{width:62px;height:34px;border:0;border-radius:30px;background:var(--mc-yellow);color:var(--mc-ink);display:flex;align-items:center;justify-content:center;cursor:pointer}
.mc-search button:hover{background:var(--mc-yellow-dark)}
.mc-header__phone{display:flex;align-items:center;gap:6px;font-size:20px;font-weight:700;color:#fff!important;text-decoration:none;white-space:nowrap}
.mc-header__phone .mc-ico{color:var(--mc-yellow);display:flex}
.mc-header__cart{position:relative;color:#fff!important;display:flex;padding:4px}
.mc-cart-count{position:absolute;top:-4px;right:-6px;min-width:18px;height:18px;border-radius:9px;background:var(--mc-yellow);color:var(--mc-ink);font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;padding:0 4px}
.mc-cart-count[data-count="0"]{display:none}
.mc-burger{display:none;background:none;border:0;padding:4px;color:#fff}

.mc-nav{background:var(--mc-green-dark)}
.mc-nav__in{max-width:var(--mc-wrap);margin:0 auto;display:flex;justify-content:space-between;align-items:stretch}
.mc-nav a{flex:1 1 auto;display:flex;align-items:center;justify-content:center;text-align:center;padding:10px 8px;min-height:54px;color:#fff!important;text-decoration:none;font-weight:700;font-size:13.5px;line-height:1.15;text-transform:uppercase}
.mc-nav a:hover,.mc-nav a.is-active{background:var(--mc-green-deep)}

.mc-trustline{background:var(--mc-grey);border-bottom:1px solid var(--mc-line)}
.mc-trustline__in{max-width:var(--mc-wrap);margin:0 auto;display:flex;justify-content:center;font-size:14px;color:var(--mc-ink-2)}
.mc-trustline span{display:flex;align-items:center;gap:8px;padding:9px 26px;border-right:1px solid #ddd}
.mc-trustline span:last-child{border-right:0}
.mc-trustline svg{color:var(--mc-ink)}
.mc-trustline b{color:var(--mc-ink)}

@media(max-width:1000px){
  .mc-header__main{flex-wrap:wrap;gap:10px;padding:8px 12px}
  .mc-burger{display:flex;order:0}
  .mc-header__logo{order:1;margin-right:auto}.mc-header__logo img{height:40px}
  .mc-header__phone{order:2;font-size:0}.mc-header__phone .mc-ico{width:40px;height:40px;border-radius:50%;background:var(--mc-yellow);color:var(--mc-ink);align-items:center;justify-content:center}
  .mc-header__phone .mc-txt{display:none}
  .mc-header__cart{order:3}
  .mc-search{order:4;flex:1 1 100%;max-width:none;margin:0}
  .mc-nav{display:none}.mc-nav.is-open{display:block}
  .mc-nav__in{flex-direction:column}
  .mc-nav a{justify-content:flex-start;min-height:46px;padding:12px 18px;border-top:1px solid rgba(255,255,255,.18)}
  .mc-trustline__in{justify-content:flex-start;overflow-x:auto;white-space:nowrap;font-size:12.5px}
  .mc-trustline span{padding:7px 14px}
}

/* ================= ОБЩО СЪДЪРЖАНИЕ ================= */
.home .hero-section,.home .page-title{display:none!important}
.home [data-vertical-spacing]{padding-top:0!important}
.home .entry-content>*{margin-top:0;margin-bottom:0}
.hero-section[data-type="type-2"]{--min-height:auto!important;min-height:0!important;background:var(--mc-grey)!important}
.hero-section[data-type="type-2"] .entry-header{padding:18px 0 14px!important}
.hero-section .page-title{font-size:clamp(22px,3vw,30px)!important;text-transform:uppercase}
.ct-breadcrumbs,.woocommerce-breadcrumb{font-size:12px;text-transform:uppercase;color:#777}

/* ================= СЛАЙДЕР ================= */
.mc-slider{position:relative;width:100vw;margin-left:calc(50% - 50vw);background:#eee;overflow:hidden}
.mc-slider__track{position:relative;aspect-ratio:2000/600;max-height:440px;width:100%}
.mc-slide{position:absolute;inset:0;opacity:0;transition:opacity .7s;text-decoration:none!important;display:block}
.mc-slide.is-on{opacity:1;z-index:1}
.mc-slide img{width:100%;height:100%;object-fit:cover;object-position:right center;display:block}
.mc-slide::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.55) 0%,rgba(0,0,0,.25) 40%,rgba(0,0,0,0) 62%);z-index:1}
.mc-slide__txt{position:absolute;z-index:2;left:max(4vw,calc(50% - 600px));top:50%;transform:translateY(-50%);max-width:520px;color:#fff;display:flex;flex-direction:column;gap:8px;text-shadow:0 2px 14px rgba(0,0,0,.55)}
.mc-slide__kicker{display:inline-block;align-self:flex-start;background:var(--mc-red);color:#fff;font-weight:800;font-size:14px;letter-spacing:.08em;padding:5px 12px;border-radius:4px;text-shadow:none}
.mc-slide__txt strong{font-size:clamp(28px,4.2vw,58px);line-height:1.02;font-weight:800;text-transform:uppercase}
.mc-slide__sub{font-size:clamp(14px,1.4vw,19px);font-weight:600}
.mc-slide__btn{align-self:flex-start;margin-top:10px;background:var(--mc-yellow);color:var(--mc-ink);font-weight:800;text-transform:uppercase;font-size:16px;padding:13px 26px;border-radius:40px;box-shadow:0 6px 18px rgba(0,0,0,.25);text-shadow:none}
.mc-slide:hover .mc-slide__btn{background:var(--mc-yellow-dark)}
.mc-slider__dots{position:absolute;z-index:3;left:0;right:0;bottom:12px;display:flex;justify-content:center;gap:8px}
.mc-slider__dots button{width:11px;height:11px;border-radius:50%;border:0;background:rgba(255,255,255,.6);padding:0;cursor:pointer}
.mc-slider__dots button.is-on{background:#fff;width:28px;border-radius:6px}
@media(max-width:700px){.mc-slider__track{aspect-ratio:900/560}.mc-slide img{object-position:72% center}.mc-slide__txt{left:16px;right:16px}.mc-slide::before{background:linear-gradient(90deg,rgba(0,0,0,.65),rgba(0,0,0,.2))}.mc-slide__btn{font-size:14px;padding:10px 18px}}

/* ================= КРЪГЛИ КАТЕГОРИИ ================= */
.mc-cats{width:100vw;margin-left:calc(50% - 50vw);background:var(--mc-grey);padding:22px max(16px,calc(50% - 620px));display:grid;grid-auto-flow:column;grid-auto-columns:minmax(112px,1fr);gap:14px;overflow-x:auto;scrollbar-width:thin}
.mc-cat{display:flex;flex-direction:column;align-items:center;gap:8px;text-decoration:none!important;color:var(--mc-ink)!important;text-align:center}
.mc-cat__img{width:112px;height:112px;border-radius:50%;background:#fff;box-shadow:0 2px 10px rgba(0,0,0,.08);display:flex;align-items:center;justify-content:center;overflow:hidden;border:3px solid #fff;transition:border-color .2s,transform .2s}
.mc-cat__img img{width:100%;height:100%;object-fit:cover}
.mc-cat:hover .mc-cat__img{border-color:var(--mc-green);transform:translateY(-2px)}
.mc-cat__name{font-size:13px;font-weight:700;line-height:1.2}

/* ================= РЕДОВЕ С ПРОДУКТИ ================= */
.mc-row{max-width:var(--mc-wrap);margin:34px auto 0;padding:0 16px}
.mc-row__head{display:flex;justify-content:space-between;align-items:flex-end;border-bottom:2px solid var(--mc-line);margin-bottom:18px}
.mc-row__head h2{margin:0;padding-bottom:8px;font-size:18px;font-weight:700;text-transform:uppercase;position:relative}
.mc-row__head h2::after{content:"";position:absolute;left:0;bottom:-2px;width:70px;height:2px;background:var(--mc-green)}
.mc-row__head a{font-weight:700;font-size:14px;color:#334!important;text-decoration:none;padding-bottom:8px}
.mc-row__head a:hover{color:var(--mc-green)!important}
.mc-row ul.products{grid-template-columns:repeat(5,minmax(0,1fr))!important;--shop-columns:repeat(5,minmax(0,1fr))!important}
@media(max-width:1000px){.mc-row ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important}}

/* ================= ПРОДУКТОВИ КАРТИ ================= */
ul.products li.product{border:0;padding:0!important;background:#fff;text-align:left!important}
ul.products li.product figure,ul.products li.product .ct-media-container{margin-bottom:10px!important}
ul.products li.product img{aspect-ratio:1/1;object-fit:contain;background:#fff;border-radius:0}
ul.products li.product .woocommerce-loop-product__title{font-size:14px!important;font-weight:600!important;line-height:1.3;color:var(--mc-ink)!important;margin:0 0 4px!important;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
ul.products li.product .price{font-size:15px!important;font-weight:700!important;color:var(--mc-red)!important}
ul.products li.product .price del{color:#888!important;font-weight:400;font-size:13px}
ul.products li.product .price ins{color:var(--mc-red)!important;text-decoration:none}
ul.products .entry-meta,ul.products .meta-categories{display:none!important}
ul.products li.product .ct-woo-card-actions,ul.products li.product .button{display:none!important}
.onsale,.mc-onsale{background:var(--mc-red)!important;color:#fff!important;border-radius:50%!important;width:46px!important;height:46px!important;min-width:46px!important;min-height:46px!important;padding:0!important;display:flex!important;align-items:center;justify-content:center;font-weight:700!important;font-size:14px!important;line-height:1!important}
@media(max-width:689px){
  ul.products,.mc-row ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;--shop-columns:repeat(2,minmax(0,1fr))!important;gap:16px 12px!important}
  ul.products li.product .woocommerce-loop-product__title{font-size:13px!important}
  .mc-row__head h2{font-size:15px}
}

/* ================= ПРОДУКТОВА СТРАНИЦА ================= */
.single-product .product .summary .product_title{font-size:clamp(20px,2.2vw,26px)!important;font-weight:700!important;line-height:1.3}
.single-product .summary .price{font-size:26px!important;font-weight:700!important;color:var(--mc-red)!important}
.single-product .summary .price del{color:#777!important;font-size:20px;font-weight:400}
.single-product .summary .price ins{text-decoration:none;color:var(--mc-red)!important}
.mc-delivery{font-size:14px;margin:6px 0 14px}
.single-product form.cart{display:flex;gap:10px;align-items:stretch;flex-wrap:wrap}
.woocommerce .single_add_to_cart_button,.single_add_to_cart_button{background:var(--mc-yellow)!important;color:var(--mc-ink)!important;border-radius:3px!important;min-height:46px;flex:1;text-transform:uppercase;font-weight:700!important;font-size:15px!important}
.woocommerce .single_add_to_cart_button:hover{background:var(--mc-green-dark)!important}
.mc-badges{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:16px 0 10px;text-align:center;font-size:12.5px;line-height:1.25;color:var(--mc-ink-2)}
.mc-badges div{display:flex;flex-direction:column;align-items:center;gap:5px}
.mc-badges svg{width:30px;height:30px;color:var(--mc-green)}
.mc-badges b{color:var(--mc-ink)}
.mc-quick{margin:8px 0 6px}
.mc-quick__form{display:flex;flex-direction:column;border:2px solid var(--mc-red);border-radius:3px;overflow:hidden}
.mc-quick__form input[type=tel]{height:48px;border:0!important;border-radius:0!important;padding:0 16px!important;font-size:15px!important;background:#fff!important;text-align:center}
.mc-quick__btn{height:50px;border:0;background:var(--mc-red);color:#fff;font-weight:700;font-size:16px;text-transform:uppercase;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px}
.mc-quick__btn:hover{background:var(--mc-red-dark)}
.mc-quick__btn:disabled{opacity:.9;cursor:default}
.mc-quick__msg{font-size:14px;font-weight:600}
.mc-quick__msg:not(:empty){padding:10px 12px}
.mc-quick__msg.ok{color:var(--mc-green-dark)}.mc-quick__msg.err{color:var(--mc-red)}
.mc-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0}
.mc-callline{font-size:14px;margin:12px 0 0}.mc-callline a{color:var(--mc-green-dark);font-weight:700}
.mc-checkout-trust{background:#FFFBE0;border:1px solid #F2E08A;border-radius:4px;padding:14px 16px;margin:0 0 16px;font-size:14px}
.woocommerce-tabs .tabs li.active a,.woocommerce-tabs .tabs li a:hover{color:var(--mc-green)!important}

/* Лепкава лента на телефон */
.mc-sticky{display:none}
@media(max-width:760px){
  .mc-sticky{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:99;background:#fff;border-top:1px solid var(--mc-line);padding:8px 10px;gap:10px;align-items:center;box-shadow:0 -6px 18px rgba(0,0,0,.08)}
  .mc-sticky__price{flex:1;font-weight:700;font-size:17px;color:var(--mc-red)}.mc-sticky__price del{font-size:12px;color:#888;font-weight:400}
  .mc-sticky__btn{background:var(--mc-red);color:#fff;border:0;border-radius:3px;height:46px;padding:0 18px;font-weight:700;font-size:15px;text-transform:uppercase}
  body.single-product{padding-bottom:70px}
  body.single-product .mc-callfab{bottom:78px}
  .mc-badges{grid-template-columns:repeat(2,1fr)}
}

/* Бутони навсякъде */
.button,.wp-element-button,a.added_to_cart,.checkout-button{background:var(--mc-yellow)!important;color:var(--mc-ink)!important;border-color:var(--mc-yellow)!important;border-radius:3px!important;font-weight:700!important}
.button:hover,.wp-element-button:hover,.checkout-button:hover{background:var(--mc-green-dark)!important}
#place_order,.woocommerce #place_order{background:var(--mc-red)!important;border-color:var(--mc-red)!important;height:56px;font-size:17px!important;font-weight:700!important;width:100%;border-radius:3px!important;text-transform:uppercase}
#place_order:hover{background:var(--mc-red-dark)!important}
.woocommerce-checkout .woocommerce-privacy-policy-text{font-size:12.5px;color:#6b7280}

/* Плаващ бутон за обаждане */
.mc-callfab{position:fixed;right:18px;bottom:20px;z-index:98;display:flex;align-items:center;gap:10px;text-decoration:none!important}
.mc-callfab__label{background:#555;color:#fff;font-weight:700;font-size:12px;padding:5px 9px;border-radius:3px}
.mc-callfab__btn{width:54px;height:54px;border-radius:50%;background:var(--mc-green);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 18px rgba(227,6,19,.45);animation:mcRing 2.4s infinite}
.mc-callfab__btn svg{width:26px;height:26px}
@keyframes mcRing{0%,70%,100%{transform:rotate(0)}75%{transform:rotate(-14deg)}80%{transform:rotate(14deg)}85%{transform:rotate(-10deg)}90%{transform:rotate(8deg)}}
@media(max-width:760px){.mc-callfab__label{display:none}}

/* FAQ */
.mc-faq{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.mc-faq details{border:1px solid var(--mc-line);border-radius:3px;padding:12px 16px;background:#fff}
.mc-faq summary{font-weight:700;cursor:pointer}
.mc-faq p{margin:8px 0 0;color:var(--mc-ink-2)}
@media(max-width:800px){.mc-faq{grid-template-columns:1fr}}

/* ================= ФУТЪР ================= */
.mc-footer{background:#222;color:#bbb;margin-top:50px;border-top:5px solid var(--mc-green)}
.mc-footer__in{max-width:var(--mc-wrap);margin:0 auto;padding:40px 20px 24px;display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:30px}
.mc-footer h4{color:#fff;margin:0 0 12px;font-size:15px;text-transform:uppercase}
.mc-footer a{display:block;color:#bbb!important;text-decoration:none;margin:0 0 8px}.mc-footer a:hover{color:#fff!important}
.mc-footer__logo{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.mc-footer__logo img{width:70px;height:auto}
.mc-footer__logo span{font-family:'Arial Black','Open Sans',sans-serif;font-weight:900;font-size:28px;color:#fff}
.mc-footer__logo em{font-style:normal;color:var(--mc-green)}
.mc-footer__legal{border-top:1px solid rgba(255,255,255,.1);text-align:center;font-size:12.5px;padding:14px 20px;color:#888}
@media(max-width:800px){.mc-footer__in{grid-template-columns:1fr}}
.single-product .single_add_to_cart_button{text-transform:uppercase!important;letter-spacing:.02em}
@media(max-width:700px){.mc-cats{grid-auto-columns:88px;gap:10px;padding:16px 12px}.mc-cat__img{width:84px;height:84px}.mc-cat__name{font-size:11.5px}}

/* червено/жълто — допълнения */
.mc-footer__logo em{color:var(--mc-yellow);font-style:normal}
.mc-nav a:hover,.mc-nav a.is-active{background:var(--mc-green-deep)}
@media(max-width:1000px){.mc-header__logo img{height:44px}}

/* продуктовата галерия: цялата снимка, без изрязване и без увеличение (темата режеше 3:4) */
.single-product .woocommerce-product-gallery img,.single-product .ct-product-gallery-container img{aspect-ratio:1/1!important;object-fit:contain!important;background:#fff;height:auto!important}
.single-product .ct-product-gallery-container .ct-media-container{aspect-ratio:1/1!important}
/* емоджи-картинките в описанията (✅ и др.) — колкото текста, не огромни */
img.emoji,img.wp-smiley{display:inline!important;width:1em!important;height:1em!important;max-width:1em!important;margin:0 .07em!important;vertical-align:-.1em!important;border:0!important;box-shadow:none!important;background:none!important;padding:0!important}
/* футър: истинското лого (същото като в хедъра) */
.mc-footer__logo .mc-footer__logoimg{display:block;height:64px;width:auto;max-width:100%}
/* бутонът за обаждане — зелен (02.12) */
.mc-callfab__btn{background:#25A244!important;box-shadow:0 6px 18px rgba(37,162,68,.45)!important}
/* отстъпката: вдясно (не покрива заглавието на банера), жълт кант */
.onsale,.mc-onsale{left:auto!important;right:12px!important;top:12px!important;border:3px solid var(--mc-yellow)!important;box-shadow:0 2px 8px rgba(0,0,0,.18)!important}
/* кръгчетата с категории: без празно място в началото — центрирани, на 2 реда при нужда */
/* кръгчетата: плъзгат се, започват от левия ръб на съдържанието (без празно място) */
@media(min-width:701px){.mc-cats{display:flex!important;flex-wrap:nowrap;justify-content:flex-start;gap:18px;padding:22px 24px!important;overflow-x:auto;scroll-snap-type:x proximity}.mc-cat{flex:0 0 132px;scroll-snap-align:start}}

.mc-quick__note{font-size:14px;font-weight:600;color:#333;text-align:center;padding:2px 0}
#mc-quick{scroll-margin-top:170px}
/* описанията от доставчиците идват с огромни h1/h2 */
.woocommerce-Tabs-panel h1,.woocommerce-Tabs-panel h2{font-size:22px;line-height:1.3;margin:18px 0 10px}
.woocommerce-Tabs-panel h3,.woocommerce-Tabs-panel h4{font-size:18px;line-height:1.35;margin:14px 0 8px}
