/*
 * Custom code goes here.
 */

/* Fix: Slider slide_config width - iView JS sets incorrect initial width */
.iviewSlider .slide_config {
    width: 100% !important;
}

/* Fix: Banner rows - use flexbox for equal column heights */
.box-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

/* Fix: All banner images - maintain aspect ratio instead of squishing */
.box-banner .ApImage img {
    object-fit: cover;
}

/* Fix: Banner 2 - override inline width:auto/height:100% which causes
   circular height dependency (24px collapse). Let images set natural height. */
.box-banner_2 .ApImage a {
    display: block;
}

.box-banner_2 .ApImage img {
    width: 100% !important;
    height: auto !important;
}

/* Footer — sulygiuoti per vidurį mobiliame (≤767px) */
@media (max-width: 767px){
  .footer-container .ApColumn,
  .footer-container .footer-left,
  .footer-container .footer-right,
  .footer-container .footer-block-link,
  .footer-container .box-footer-lang,
  .footer-container .block,
  .footer-container .ApImage,
  .footer-container h3, .footer-container h4, .footer-container .title-block,
  .footer-container p, .footer-container ul, .footer-container li,
  .footer-bottom, .box-footer-bottom, .box-copyright {
    text-align: center !important;
  }
  .footer-container ul { padding-left: 0 !important; list-style: none !important; }
  .footer-container img { float: none !important; display: inline-block; }
  .footer-container .ApImage, .footer-container .ApImage > div,
  .footer-container .block_content, .footer-container .social-content {
    text-align: center !important; justify-content: center !important;
  }
  .footer-container .ApImage a { display: inline-block !important; }
  .footer-container form { margin-left: auto !important; margin-right: auto !important; }
}

/* ===== Hero baneris ===== */
@media (max-width: 767px) {
  .box-slider .iview {
    height: 520px !important;
    background-image: url('/img/lifestyle/mk_hero_spring_mob.jpg') !important;
    background-size: cover !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
  }
  .box-slider .iview .iviewSlider,
  .box-slider .iview .iview-timer,
  .box-slider .iview .iview-controlNav { display: none !important; }
}
@media (min-width: 768px) {
  .box-slider .iview {
    width: 100% !important;
    aspect-ratio: 1920 / 700 !important;
    height: auto !important;
    min-height: 0 !important;
    background-image: url('/img/lifestyle/spring_clean.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
  }
  .box-slider .iview .iviewSlider,
  .box-slider .iview .iview-timer,
  .box-slider .iview .iview-controlNav { display: none !important; }
}

/* ===== 3 kategorijų baneriai (titulinis) ===== */
.mk-three-banners { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin:18px 0 24px; padding:0 10px; }
.mk-tb { position:relative; display:block; overflow:hidden; }
.mk-tb img { width:100%; height:auto; display:block; transition:transform .7s ease; }
.mk-tb:hover img { transform:scale(1.05); }
.mk-tb::after { content:''; position:absolute; left:0; right:0; bottom:0; height:40%; background:linear-gradient(to top, rgba(45,30,22,.42), transparent); pointer-events:none; }
.mk-tb-label { position:absolute; left:0; right:0; bottom:30px; text-align:center; color:#fff; font-size:26px; letter-spacing:4px; font-weight:500; text-shadow:0 2px 10px rgba(40,25,18,.4); pointer-events:none; z-index:2; }
@media (max-width:767px){ .mk-three-banners{ grid-template-columns:1fr; gap:12px; margin:14px auto 18px; } .mk-tb-label{ font-size:30px; } }

/* ===== Mobile: paslepiam "Į KREPŠELĮ" mygtuką TIK tituliniame (body#index); kategorijose lieka ===== */
@media (max-width:767px){
  body#index .product-miniature .button-container.cart { display:none !important; }
}

/* ===== Mobile: kategorijos aprašymas sutrauktas iki 3 eilučių + "Skaityti daugiau" ===== */
@media (max-width:767px){
  #category-description.mk-clamp{
    display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical;
    overflow:hidden;
  }
  .mk-readmore{
    display:inline-block; margin:8px 0 2px; padding:0; background:none; border:none;
    color:#9a7b5f; font-size:13px; letter-spacing:1px; text-transform:uppercase;
    text-decoration:underline; cursor:pointer; font-family:inherit;
  }
}
@media (min-width:768px){ .mk-readmore{ display:none !important; } }

/* ===== Mobile kategorijos: "Į krepšelį" kompaktiškas centruotas mygtukas (ne per visą nuotrauką) ===== */
@media (max-width:767px){
  body#category .product-miniature .button-container.cart{
    left:50% !important; right:auto !important; width:auto !important;
    transform:translateX(-50%);
  }
  body#category .product-miniature .button-container.cart form{ width:auto !important; display:inline-block !important; }
  body#category .product-miniature .button-container.cart .btn-product.add-to-cart{
    width:auto !important; min-width:0 !important; max-width:none !important;
    height:40px !important; line-height:38px !important; padding:0 22px !important;
    border-radius:22px !important; font-size:12px !important; letter-spacing:1.5px !important;
    box-shadow:0 4px 14px rgba(40,25,18,.22) !important;
  }
}

/* ===== Mobile sąrašo nuotraukų karuselė: mažyčiai glaudūs taškeliai ===== */
@media (max-width:767px){
  .product-list-images-mobile .slick-dots{ line-height:0; padding:0; margin-top:8px; }
  .product-list-images-mobile .slick-dots li{ width:auto !important; height:auto !important; margin:0 2px !important; vertical-align:middle; }
  .product-list-images-mobile .slick-dots li button{ width:7px !important; height:7px !important; padding:0 !important; }
  .product-list-images-mobile .slick-dots li button:before{
    content:'' !important;
    width:7px !important; height:7px !important; line-height:7px !important;
    border-radius:50% !important; background:#2d1e16 !important;
    opacity:.22 !important; font-size:0 !important; top:0 !important; left:0 !important;
  }
  .product-list-images-mobile .slick-dots li.slick-active button:before{
    opacity:1 !important; background:#9a7b5f !important;
  }
}

/* ===== Titulinio "begantis užrašas" (marquee) ===== */
.mk-marquee{ overflow:hidden; background:#efe6d9; border-top:1px solid rgba(45,30,22,.10); border-bottom:1px solid rgba(45,30,22,.10); padding:14px 0; white-space:nowrap; line-height:1; }
.mk-marquee__track{ display:inline-block; white-space:nowrap; will-change:transform; animation:mkMarquee 180s linear infinite; }
.mk-marquee:hover .mk-marquee__track{ animation-play-state:paused; }
.mk-marquee__item{ color:#4a3526; font-size:14px; letter-spacing:5px; text-transform:uppercase; font-weight:500; }
.mk-marquee__sep{ color:#b5996f; padding:0 22px; }
@keyframes mkMarquee{ from{transform:translateX(0);} to{transform:translateX(-50%);} }
@media (max-width:767px){ .mk-marquee{ padding:11px 0; } .mk-marquee__item{ font-size:11.5px; letter-spacing:3px; } .mk-marquee__sep{ padding:0 14px; } }

/* ===== Titulinio hero elegantiškas užrašas ===== */
.box-slider{ position:relative; }
.mk-hero-caption{ position:absolute; z-index:6; top:50%; left:6%; transform:translateY(-50%); max-width:44%; text-align:left; }
.mk-hc-eyebrow{ display:block; color:#9a7b5f; font-size:13px; letter-spacing:5px; text-transform:uppercase; font-weight:500; margin:0 0 16px; }
.mk-hc-title{ display:block; color:#2d1e16; font-size:44px; line-height:1.12; font-weight:300; letter-spacing:1px; margin:0 0 28px; }
.mk-hc-btn{ display:inline-block; padding:14px 38px; background:#2d1e16; color:#f3ece3 !important; font-size:12px; letter-spacing:3px; text-transform:uppercase; text-decoration:none; transition:background .3s ease; }
.mk-hc-btn:hover{ background:#9a7b5f; }
@media (max-width:1024px){ .mk-hc-title{ font-size:34px; } .mk-hero-caption{ max-width:50%; } }
@media (max-width:767px){
  .mk-hero-caption{ left:0; right:0; top:auto; bottom:0; transform:none; max-width:none; text-align:center;
    padding:64px 22px 28px; background:linear-gradient(to top, rgba(40,25,18,.66), rgba(40,25,18,.22) 58%, transparent); }
  .mk-hc-eyebrow{ color:#e8d9c5; font-size:11px; letter-spacing:4px; margin-bottom:10px; }
  .mk-hc-title{ color:#fff; font-size:27px; margin-bottom:18px; text-shadow:0 2px 14px rgba(0,0,0,.35); }
  .mk-hc-btn{ padding:12px 32px; background:#fff; color:#2d1e16 !important; }
  .mk-hc-btn:hover{ background:#fff; }
}

/* ===== Mobile: vienodas kortelių aukštis — taškeliai uždėti ant nuotraukos (nepriduoda aukščio) ===== */
@media (max-width:767px){
  .product-list-images-mobile{ position:relative; }
  .product-list-images-mobile.slick-slider{ margin-bottom:0 !important; }
  .product-list-images-mobile .slick-dots{
    position:absolute; bottom:10px; left:50%; transform:translateX(-50%);
    width:auto; margin:0; padding:5px 10px; line-height:0;
    background:rgba(255,255,255,.55); border-radius:20px; z-index:3;
  }
}

/* ===== Mobile: paslepiam plačią "STILIUS KIEKVIENAI DIENAI" banerį (netinka mobile + dubliuoja marquee) ===== */
@media (max-width:767px){
  .box-testi{ display:none !important; }
}

/* ===== Footer mobile accordion (tik aukščio sutraukimas, dizainas nekeistas) ===== */
@media (max-width:767px){
  #footer .title_block.mk-acc{ cursor:pointer; position:relative; padding:13px 0; margin:0;
    border-bottom:1px solid #e8e8e8; user-select:none; }
  #footer .title_block.mk-acc::after{
    content:'+'; position:absolute; right:4px; top:50%; transform:translateY(-50%);
    font-size:20px; font-weight:300; color:#999; transition:transform .3s ease;
  }
  #footer .title_block.mk-acc.open::after{ transform:translateY(-50%) rotate(45deg); }
  #footer .mk-acc-body{ display:none; padding:8px 0; }
}

/* ===== Footer: kompaktiskesnis aukstis ===== */
@media (max-width:767px){
  #footer .footer-center{ padding-top:16px !important; padding-bottom:6px !important; }
  #footer .footer-center .inner, #footer .footer-center .wrapper{ padding-top:0 !important; padding-bottom:0 !important; }
  #footer .ApColumn, #footer .block{ margin-bottom:2px !important; padding-top:0 !important; padding-bottom:0 !important; }
  #footer .title_block.mk-acc{ padding:9px 0 !important; }
  #footer p{ margin-bottom:4px !important; }
  #footer .footer-bottom{ padding:0 !important; margin:0 !important; }
  #footer .footer-bottom .inner, #footer .footer-bottom .wrapper, #footer .footer-bottom .container{ padding-top:8px !important; padding-bottom:8px !important; min-height:0 !important; }
  #footer .footer-bottom .copyright, #footer .copyright{ padding:0 !important; margin:0 !important; }
}
@media (min-width:768px){
  #footer .footer-center{ padding-top:30px !important; padding-bottom:10px !important; }
  #footer .footer-bottom .inner{ padding-top:10px !important; padding-bottom:10px !important; }
}

/* footer-bottom vidinis suspaudimas */
@media (max-width:767px){
  #footer .box-footer-bottom.ApRow{ padding-top:4px !important; padding-bottom:4px !important; }
  #footer .footer-bottom .inner, #footer .footer-bottom .wrapper, #footer .footer-bottom .container{ padding-top:3px !important; padding-bottom:3px !important; }
}
@media (min-width:768px){
  #footer .box-footer-bottom.ApRow{ padding-top:10px !important; padding-bottom:10px !important; }
}

/* ===== Formos: privalomi laukai poromis + neprivalomi isskleidziami ===== */
.mk-row2{ display:flex; gap:10px; }
.mk-row2 > .form-group{ flex:1; min-width:0; }
.mk-row2 .form-text, .mk-row2 .help-block, .mk-row2 .form-control-comment{ display:none; }
details.mk-opt{ margin:4px 0 16px; border:1px solid #e6e6e6; border-radius:8px; background:#fafafa; }
details.mk-opt summary{ cursor:pointer; padding:11px 14px; font-size:13px; color:#666;
  user-select:none; list-style:none; display:flex; justify-content:space-between; align-items:center; }
details.mk-opt summary::-webkit-details-marker{ display:none; }
details.mk-opt summary::after{ content:'+'; font-size:18px; line-height:1; color:#999; }
details.mk-opt[open] summary::after{ content:'\2212'; }
details.mk-opt .mk-opt-body{ padding:6px 14px 4px; }


/* === Makadamia blogo straipsnio tipografija (paantraštės buvo gigantiškos) === */
.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4 {
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  color: #4a3526;
  line-height: 1.35;
}
.blog-content h2 { font-size: 26px; margin: 32px 0 14px; }
.blog-content h3 { font-size: 21px; margin: 26px 0 12px; }
.blog-content h4 { font-size: 18px; margin: 20px 0 10px; }
.blog-content p { line-height: 1.75; margin-bottom: 15px; }
.blog-content img { max-width: 100%; height: auto; border-radius: 6px; margin: 10px 0; }
@media (max-width: 767px) {
  .blog-content h2 { font-size: 22px; }
  .blog-content h3 { font-size: 19px; }
}


/* === Makadamia sukantis blogo ženkliukas === */
.mk-blog-badge-wrap { display:flex; justify-content:center; padding:0; margin:4px 0 12px; }
.mk-blog-badge { position:relative; display:inline-flex; width:88px; height:88px; align-items:center; justify-content:center; text-decoration:none; }
.mk-blog-badge::before { content:''; position:absolute; width:68px; height:68px; border-radius:50%; border:1px solid rgba(181,153,111,.4); }
.mk-blog-badge .mk-bb-svg { width:88px; height:88px; animation:mkBbSpin 16s linear infinite; transform-origin:50% 50%; }
.mk-blog-badge .mk-bb-text { font-family:'Jost',sans-serif; font-size:9.3px; letter-spacing:1.3px; fill:#4a3526; font-weight:500; }
.mk-blog-badge .mk-bb-arrow { position:absolute; font-size:24px; line-height:1; color:#b5996f; transition:transform .3s ease; }
.mk-blog-badge:hover .mk-bb-arrow { transform:translate(3px,-3px); }
.mk-blog-badge:hover .mk-bb-svg { animation-duration:7s; }
@keyframes mkBbSpin { from{transform:rotate(0deg);} to{transform:rotate(360deg);} }
@media (max-width:767px){ .mk-blog-badge,.mk-blog-badge .mk-bb-svg{width:92px;height:92px;} .mk-blog-badge::before{width:70px;height:70px;} }

/* Adresą desktop'e biški į dešinę (ženkliukas lieka centre) */
@media (min-width:768px){ .mk-footer-addr { padding-left:34px; } }


/* === Makadamia spindintis "nuo 2014" === */
.mk-est-2014 {
  display:inline-block;
  font-family:'Jost',sans-serif;
  font-weight:500;
  font-size:14px;
  letter-spacing:1.5px;
  text-transform:uppercase;
  background:linear-gradient(100deg,#8a7350 0%,#a98c5f 30%,#f4e8cf 48%,#fff7e8 52%,#a98c5f 70%,#8a7350 100%);
  background-size:240% auto;
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent; color:transparent;
  animation:mkShimmer 5s linear infinite;
}
@keyframes mkShimmer { 0%{background-position:140% center;} 100%{background-position:-140% center;} }
@media (max-width:767px){ .mk-est-2014 { font-size:13px; letter-spacing:1px; } }

/* box-footer-bottom-center-fix: spindintis 'nuo 2014' tikrai per vidurį (visas plotis) */
.box-footer-bottom { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; }
.box-footer-bottom > [class*="col-"] { flex:0 0 100%; max-width:100%; text-align:center; }
.box-footer-bottom .copyright { text-align:center; width:100%; margin:0 auto; }
.box-footer-bottom .box-footer-lang { display:flex; justify-content:center; margin-top:6px; }
.mk-est-2014 { margin:0 auto; }





/* === Makadamia: naujienlaiškio WOW efektas (LAYOUT-SAFE: tik box-shadow + text-clip) === */
/* Mygtukas — pulsuojantis auksinis švytėjimas (box-shadow nekeičia vietos) */
.block_newsletter button[name="submitNewsletter"] {
  animation:mkNewsGlow 2.4s ease-in-out infinite;
  transition:box-shadow .3s ease;
}
@keyframes mkNewsGlow {
  0%,100% { box-shadow:0 0 4px 0 rgba(181,153,111,.25); }
  50%     { box-shadow:0 0 18px 3px rgba(181,153,111,.75); }
}
.block_newsletter button[name="submitNewsletter"]:hover {
  box-shadow:0 0 22px 4px rgba(181,153,111,.9) !important;
  animation-play-state:paused;
}
/* Antraštė — auksinis spindesys (kaip 'nuo 2014') */
.block_newsletter .title-block#block-newsletter-label,
#block-newsletter-label {
  background:linear-gradient(100deg,#4a3526 0%,#8a7350 38%,#e3c896 50%,#8a7350 62%,#4a3526 100%);
  background-size:240% auto;
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent; color:transparent;
  animation:mkShimmer 5s linear infinite;
}


/* === Makadamia: bankų logo juosta "Saugūs mokėjimai" === */
.mk-banks { display:flex; flex-wrap:wrap; align-items:center; gap:10px 16px; margin-bottom:10px; max-width:340px; }
.mk-banks .mk-bank-wrap { display:inline-flex; align-items:center; justify-content:center; height:30px; }
.mk-banks .mk-bank { height:24px; width:auto; max-width:88px; object-fit:contain; transition:transform .2s ease, filter .2s ease; }
.mk-banks .mk-bank-wrap:hover .mk-bank { transform:scale(1.08); }
@media (max-width:767px){ .mk-banks { justify-content:center; max-width:100%; gap:10px 14px; } .mk-banks .mk-bank { height:21px; } }


/* === mk-index-limited-fix: titulinio "LIMITED EDITION" mobile — viena nuotrauka (Slick neinicializuojasi) + centruota info === */
@media (max-width:767px){
  body#index .product-list-images-mobile:not(.slick-slider){ display:block !important; }
  body#index .product-list-images-mobile:not(.slick-slider) > div:not(:first-child){ display:none !important; }
  body#index .product-list-images-mobile:not(.slick-slider) > div:first-child{ display:block !important; width:100% !important; }
  body#index .product-list-images-mobile:not(.slick-slider) img{ width:100% !important; height:auto !important; }
  body#index .product-miniature .product-title,
  body#index .product-miniature .product-title a,
  body#index .product-miniature .product-price-and-shipping,
  body#index .product-miniature .price{ text-align:center !important; }
  body#index .product-miniature .product-description,
  body#index .product-miniature .product-list-info{ text-align:center !important; }
}


/* === mkbotguard honeypot — paslėpta nuo žmonių (bot'ai užpildo => blokuojami) === */
input[name="mk_website"], .mk-hp { position:absolute !important; left:-9999px !important; top:-9999px !important; width:1px !important; height:1px !important; opacity:0 !important; pointer-events:none !important; z-index:-1 !important; }
.form-group:has(> input[name="mk_website"]), .form-group:has(input[name="mk_website"]) { position:absolute !important; left:-9999px !important; height:0 !important; overflow:hidden !important; margin:0 !important; padding:0 !important; }


/* === Makadamia logotipo efektas: lėtai mirksi + auksinė juosta perbėga (be pelės) === */
.h-logo a, .col-logo a { position:relative; display:inline-block; overflow:hidden; }
.h-logo img, .col-logo img {
  animation: mkLogoPulse 3.4s ease-in-out infinite;
  transition: transform .4s cubic-bezier(.2,.8,.3,1);
  transform-origin:center center;
}
@keyframes mkLogoPulse {
  0%,100% { filter: drop-shadow(0 0 0 rgba(181,153,111,0)); opacity:1; }
  50%     { filter: drop-shadow(0 0 6px rgba(181,153,111,.65)); opacity:.82; }
}
/* auksinė juosta */
.h-logo a::after, .col-logo a::after {
  content:''; position:absolute; top:0; left:-160%; width:55%; height:100%;
  background: linear-gradient(115deg, transparent 0%, rgba(244,232,207,.15) 38%, rgba(255,247,228,.9) 50%, rgba(244,232,207,.15) 62%, transparent 100%);
  transform: skewX(-18deg); pointer-events:none;
  animation: mkLogoBand 5s ease-in-out infinite;
}
@keyframes mkLogoBand { 0%{left:-160%;} 90%{left:170%;} 100%{left:170%;} }
/* užvedus — dar padidėja */
.h-logo a:hover img, .col-logo a:hover img { transform: scale(1.06); }


/* === titulinio-prekiu-centravimas: LIMITED EDITION + apatiniai prekių blokai per vidurį === */
body#index ul.product_list.row,
body#index .product_list.grid.row,
body#index .products.row,
body#index .ApProductList .row,
body#index .ApProductCarousel .owl-row,
body#index .ApProductCarousel .timeline-wrapper {
  justify-content: center !important;
}
body#index .ApProductCarousel .owl-stage { margin-left:auto !important; margin-right:auto !important; }
body#index .ApProductCarousel .owl-row { text-align:center; }
@media (max-width:767px){
  body#index ul.product_list.row,
  body#index .product_list.grid.row { justify-content:center !important; }
}


/* === force-flex-center: priverstinis prekių blokų centravimas (kortelės buvo float'inamos) === */
body#index ul.product_list.row,
body#index .product_list.grid.row,
body#index .ApProductList ul.product_list {
  display:flex !important;
  flex-wrap:wrap !important;
  justify-content:center !important;
  align-items:flex-start !important;
}
body#index ul.product_list.row > li,
body#index .product_list.grid.row > li,
body#index .ApProductList ul.product_list > li {
  float:none !important;
}


/* === titulinio-info-centras: prekių info po nuotrauka per vidurį (visi ekranai) === */
body#index .product-miniature .product-title,
body#index .product-miniature .product-title a,
body#index .product-miniature .product-price-and-shipping,
body#index .product-miniature .price,
body#index .product-miniature .product-flags,
body#index .product-miniature .category-default,
body#index .product-miniature .category-default a,
body#index .product-miniature .product-description,
body#index .product-miniature .product-list-meta,
body#index .product-miniature .category-name,
body#index .product-miniature .manufacturer-name,
body#index .product-miniature .addToCartFormWrapper,
body#index .product-miniature .variantsProductWrapper,
body#index .product-miniature .variants-product { text-align:center !important; }
body#index .product-miniature .variants-product select,
body#index .product-miniature .variants-product .bootstrap-select,
body#index .product-miniature .variantsProductWrapper select,
body#index .product-miniature .addToCartForm { margin-left:auto !important; margin-right:auto !important; display:inline-block; float:none !important; }
body#index .product-miniature .addToCartFormWrapper { display:block; }


/* === info-centras-stiprus: priverstinai centruoti prekės info (flex shrink-wrap fix) === */
body#index .product-miniature .category-default,
body#index .product-miniature .category-default a,
body#index .product-miniature .product-title,
body#index .product-miniature .product-title a,
body#index .product-miniature .product-price-and-shipping,
body#index .product-miniature .product-flags,
body#index .product-miniature .addToCartFormWrapper,
body#index .product-miniature .variantsProductWrapper,
body#index .product-miniature .variants-product {
  width: 100% !important;
  max-width: 100% !important;
  text-align: center !important;
  align-self: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  float: none !important;
}
/* dydžio dropdown (JS-renderintas) per vidurį */
body#index .product-miniature .variants-product { display:flex !important; justify-content:center !important; }
body#index .product-miniature .variants-product > *,
body#index .product-miniature .variants-product select,
body#index .product-miniature .variants-product .bootstrap-select,
body#index .product-miniature .variants-product .btn-group { margin-left:auto !important; margin-right:auto !important; float:none !important; }


/* === p-info-pilnas-plotis: info wrapper pilno pločio kortelėje (buvo shrink-wrap kairėje) === */
body#index .product-miniature .p-top { display:flex !important; justify-content:center !important; }
body#index .product-miniature .p-info {
  flex: 1 1 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  text-align: center !important;
}


/* === Makadamia "Sek mus Facebook" raginimas === */
.mk-fb-follow-wrap { display:flex; justify-content:center; padding:16px 0 6px; }
.mk-fb-follow {
  display:inline-flex; align-items:center; gap:13px;
  text-decoration:none; padding:9px 9px 9px 12px;
  border:1px solid rgba(181,153,111,.4); border-radius:50px;
  background:linear-gradient(180deg,#ffffff,#faf6ee);
  transition: box-shadow .35s ease, transform .25s ease, border-color .35s ease;
}
.mk-fb-follow:hover { box-shadow:0 8px 24px rgba(24,119,242,.22); transform:translateY(-2px); border-color:rgba(24,119,242,.45); }
.mk-fb-icon { display:inline-flex; width:40px; height:40px; border-radius:50%; align-items:center; justify-content:center; background:#1877F2; color:#fff; flex:0 0 40px; transition:transform .3s ease; }
.mk-fb-follow:hover .mk-fb-icon { transform:scale(1.06); }
.mk-fb-txt { display:flex; flex-direction:column; line-height:1.2; }
.mk-fb-txt strong { font-family:'Jost',sans-serif; font-weight:500; font-size:14px; color:#4a3526; letter-spacing:.3px; }
.mk-fb-txt small { font-size:11px; color:#9a8a72; margin-top:1px; }
.mk-fb-btn { font-family:'Jost',sans-serif; font-weight:500; font-size:12px; text-transform:uppercase; letter-spacing:.6px; color:#fff; background:#1877F2; padding:8px 18px; border-radius:50px; transition:background .3s ease; white-space:nowrap; }
.mk-fb-follow:hover .mk-fb-btn { background:#0c5fd1; }
@media (max-width:767px){ .mk-fb-txt small{ display:none; } .mk-fb-follow{ gap:10px; padding:8px 8px 8px 10px; } .mk-fb-icon{width:36px;height:36px;flex-basis:36px;} }


/* === FB raginimas: desktop kairėj kolonoj / mobile centre === */
.mk-fb-follow-wrap.mk-fb-mobile { display:none; }
.mk-fb-follow-wrap.mk-fb-desktop { justify-content:center; padding:16px 0 4px; }
@media (max-width:767px){
  .mk-fb-follow-wrap.mk-fb-desktop { display:none; }
  .mk-fb-follow-wrap.mk-fb-mobile { display:flex; justify-content:center; padding:10px 0 20px; }
}


/* === FB mygtukas 20% mazesnis === */
.mk-fb-follow { gap:10px !important; padding:7px 7px 7px 10px !important; }
.mk-fb-icon { width:32px !important; height:32px !important; flex:0 0 32px !important; }
.mk-fb-icon svg { width:18px !important; height:18px !important; }
.mk-fb-txt strong { font-size:11px !important; }
.mk-fb-txt small { font-size:9px !important; }
.mk-fb-btn { font-size:10px !important; padding:6px 14px !important; }
@media (max-width:767px){ .mk-fb-icon { width:29px !important; height:29px !important; flex:0 0 29px !important; } }


/* === mobile-footerio-krastai: šoniniai tarpai apatiniam footeriui (tekstai liesdavosi prie kraštų) === */
@media (max-width:767px){
  .box-footer-bottom { padding-left:18px !important; padding-right:18px !important; box-sizing:border-box !important; }
  .box-footer-bottom > [class*="col-"] { padding-left:0 !important; padding-right:0 !important; }
  .footer-bottom .inner { padding-left:14px !important; padding-right:14px !important; box-sizing:border-box !important; }
  .box-footer-center { padding-left:14px !important; padding-right:14px !important; box-sizing:border-box !important; }
}


/* === Makadamia Instagram "Sekite mus" raginimas === */
.box-insta .sub-title-widget { text-align:center; font-family:'Jost',sans-serif; letter-spacing:1px; }
.mk-ig-follow-wrap { display:flex; justify-content:center; padding:6px 0 4px; }
.mk-ig-follow {
  display:inline-flex; align-items:center; gap:13px; text-decoration:none;
  padding:9px 9px 9px 12px; border-radius:50px;
  border:1px solid rgba(181,153,111,.4); background:linear-gradient(180deg,#ffffff,#faf6ee);
  transition:box-shadow .35s ease, transform .25s ease, border-color .35s ease;
}
.mk-ig-follow:hover { box-shadow:0 8px 24px rgba(214,41,118,.20); transform:translateY(-2px); border-color:rgba(214,41,118,.4); }
.mk-ig-icon { display:inline-flex; width:40px; height:40px; border-radius:50%; align-items:center; justify-content:center; color:#fff; flex:0 0 40px;
  background:linear-gradient(45deg,#feda75 0%,#fa7e1e 25%,#d62976 50%,#962fbf 75%,#4f5bd5 100%); transition:transform .3s ease; }
.mk-ig-follow:hover .mk-ig-icon { transform:scale(1.06); }
.mk-ig-txt { display:flex; flex-direction:column; line-height:1.2; }
.mk-ig-txt strong { font-family:'Jost',sans-serif; font-weight:500; font-size:14px; color:#4a3526; letter-spacing:.3px; }
.mk-ig-txt small { font-size:11px; color:#9a8a72; margin-top:1px; }
.mk-ig-btn { font-family:'Jost',sans-serif; font-weight:500; font-size:12px; text-transform:uppercase; letter-spacing:.6px; color:#fff;
  background:linear-gradient(45deg,#fa7e1e,#d62976,#962fbf); padding:8px 18px; border-radius:50px; white-space:nowrap; transition:filter .3s ease; }
.mk-ig-follow:hover .mk-ig-btn { filter:brightness(1.08); }
@media (max-width:767px){ .mk-ig-txt small{ display:none; } .mk-ig-follow{ gap:10px; padding:8px 8px 8px 10px; } .mk-ig-icon{width:36px;height:36px;flex-basis:36px;} }


/* === Makadamia elegantiškos box-support ikonos === */
.box-support .mk-svc-icowrap { display:inline-flex; align-items:center; justify-content:center; }
.box-support .mk-svc-ico {
  width:46px; height:46px;
  fill:none; stroke:#4a3526; stroke-width:1.3; stroke-linecap:round; stroke-linejoin:round;
  transition: stroke .35s ease, transform .35s cubic-bezier(.2,.8,.3,1);
}
.box-support [class*="ApColumn"]:hover .mk-svc-ico,
.box-support [class*="col-"]:hover .mk-svc-ico { stroke:#b5996f; transform:translateY(-3px); }
@media (max-width:767px){ .box-support .mk-svc-ico { width:40px; height:40px; } }


/* === uzsakymo-mygtukai-zali: krepšelio/checkout užsakymo mygtukai ŽALI (ne raudoni) === */
body#cart .btn-primary,
body#cart .cart-dropdow-checkout, a.cart-dropdow-checkout,
body#checkout .continue.btn-primary,
body#checkout button.btn-primary[type="submit"],
body#checkout .btn-primary[type="submit"],
#payment-confirmation .btn-primary, #payment-confirmation button[type="submit"],
.order-confirmation .btn-primary {
  background-color:#2e9e4f !important;
  border-color:#2e9e4f !important;
  color:#fff !important;
}
body#cart .btn-primary:hover, body#cart .btn-primary:focus, body#cart .btn-primary:active,
body#cart .cart-dropdow-checkout:hover, a.cart-dropdow-checkout:hover,
body#checkout .continue.btn-primary:hover, body#checkout .continue.btn-primary:focus, body#checkout .continue.btn-primary:active,
body#checkout button.btn-primary[type="submit"]:hover, body#checkout button.btn-primary[type="submit"]:focus, body#checkout button.btn-primary[type="submit"]:active,
#payment-confirmation .btn-primary:hover, #payment-confirmation button[type="submit"]:hover {
  background-color:#23823d !important;
  border-color:#23823d !important;
  color:#fff !important;
}


/* === uzsakymo-nuorodos-zali: "Pereiti prie apmokėjimo" + užsakymo nuorodos žali === */
a.btn[href*="uzsakymas"],
body#cart a.btn[href*="uzsakymas"],
a.btn[href*="order"]:not([href*="history"]):not([href*="istorij"]) {
  background-color:#2e9e4f !important;
  border-color:#2e9e4f !important;
  color:#fff !important;
}
a.btn[href*="uzsakymas"]:hover, a.btn[href*="uzsakymas"]:focus, a.btn[href*="uzsakymas"]:active {
  background-color:#23823d !important;
  border-color:#23823d !important;
  color:#fff !important;
}
