/*
Theme Name: Mobel Furniture WooCommerce Tam Panel
Description: Mobel HTML tasarımının WordPress + WooCommerce için panelden yönetilebilir sürümü.
Version: 3.4.0
Text Domain: mobel
*/

/* Christmas decorations are intentionally disabled in this version. */
body nav.navbar-fixed { transition: none !important; }
nav.navbar-fixed { background:#232529; }
.navigation-main .open-menu .dashicons { color:#fff; font-size:28px; width:28px; height:28px; }
.navigation-main .close-menu .dashicons { font-size:26px; }
.navigation-top a { text-decoration:none; }
.owl-icons figure { text-align:center; }
.owl-icons figcaption { color:#fff; text-transform:uppercase; }
.owl-icons-wrapper { background:#4a4b4f; }
.owl-icons-wrapper .owl-buttons > div { display:block !important; opacity:1 !important; }
.header-content .owl-buttons > div { display:block !important; opacity:1 !important; }
.products .product .dashicons { vertical-align:middle; }
@media (max-width:767px){
  nav .logo img{max-width:160px!important}
  .mobel-cat-image,.mobel-cat-placeholder{width:72px;height:72px}
}

/* v3.4 - Custom category image sizing and hover behavior */
.owl-icons-wrapper .owl-icons figure img.mobel-cat-image {
  display:block !important;
  width:100px !important;
  height:100px !important;
  max-width:100px !important;
  max-height:100px !important;
  margin:0 auto 10px !important;
  padding:0 !important;
  object-fit:contain !important;
  background:transparent !important;
  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;
  -webkit-transition:-webkit-transform .5s ease !important;
  transition:transform .5s ease !important;
  -webkit-transform:scale(1);
  transform:scale(1);
  -webkit-transform-origin:center center;
  transform-origin:center center;
}
.owl-icons-wrapper .owl-icons figure:hover img.mobel-cat-image {
  -webkit-transform:scale(1.3) !important;
  transform:scale(1.3) !important;
}
.owl-icons-wrapper .owl-icons figure {
  background:transparent;
  border:0;
  box-shadow:none;
}
@media (max-width:767px){
  .owl-icons-wrapper .owl-icons figure img.mobel-cat-image {
    width:72px !important;
    height:72px !important;
    max-width:72px !important;
    max-height:72px !important;
  }
}


/* Current Nakkas layout fixes */
nav.navbar-fixed{background:#222529!important}
.owl-icons-wrapper{background:#4A4A4D!important}
body.home.blog .mobel-products-grid article.product .figure-grid .image img{display:block!important;width:100%!important;height:220px!important;object-fit:cover!important;opacity:1!important;visibility:visible!important}
nav .logo{display:flex!important;align-items:center!important;overflow:hidden!important;padding:4px 14px!important;box-sizing:border-box!important}
nav .logo img{display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:46px!important;object-fit:contain!important}
.scroll-top{bottom:80px!important;right:15px!important}
@media(max-width:767px){nav .logo img{max-width:100%!important;max-height:42px!important}body.home.blog .mobel-products-grid article.product .figure-grid .image img{height:auto!important;aspect-ratio:1/1}.scroll-top{bottom:78px!important;right:15px!important}}

/* Two-color accent palette */
html body .btn.btn-main,html body .btn-main,html body .btn-search,html body button[type="submit"],html body input[type="submit"],html body .woocommerce a.button,html body .woocommerce button.button{background:#4A4A4D!important;border-color:#4A4A4D!important}
html body .btn.btn-main:hover,html body .btn-main:hover,html body .btn-search:hover,html body button[type="submit"]:hover,html body input[type="submit"]:hover,html body .woocommerce a.button:hover,html body .woocommerce button.button:hover{background:#222529!important;border-color:#222529!important}
html body .navigation-top a,html body .navigation-top .dashicons,html body .mobel-top-icon,html body .mobel-cart-count{color:#4A4A4D!important;border-color:#4A4A4D!important}
html body .navigation-top a:hover,html body .mobel-top-icon:hover{color:#222529!important;border-color:#222529!important}
html body .product .btn.btn-add:before,html body .product .btn.btn-add::before{background:#4A4A4D!important;border-color:#4A4A4D!important}
html body .product .btn.btn-add:hover:before,html body .product .btn.btn-add:hover::before{background:#222529!important;border-color:#222529!important}
html body .stretcher-wrapper{background:#222529!important}
html body .stretcher-wrapper figure{background-color:color-mix(in srgb,#4A4A4D 55%,transparent)!important}
html body .scroll-top,html body .owl-buttons>div,html body .owl-nav button,html body .woocommerce span.onsale{background:#4A4A4D!important;border-color:#4A4A4D!important}
html body .scroll-top:hover,html body .owl-buttons>div:hover,html body .owl-nav button:hover{background:#222529!important;border-color:#222529!important}
html body .instagram-feed a,html body .instagram-feed p a{color:#4A4A4D!important}


/* Restore translucent category strip and original icon presentation. */
html body .owl-icons-wrapper.owl-icons-frontpage{background:rgba(34,37,41,.84)!important;margin-top:-125px!important;position:relative!important;z-index:5!important}
html body .owl-icons-wrapper.owl-icons-frontpage .f-icon{display:inline-block!important;color:#fff!important;font-size:65px!important;line-height:1!important;opacity:1!important;visibility:visible!important}
html body .owl-icons-wrapper.owl-icons-frontpage figure{background:transparent!important;padding:8px 0 10px!important}
html body .owl-icons-wrapper.owl-icons-frontpage figcaption{color:#fff!important;font-size:14px!important;line-height:18px!important}
html body .owl-icons-wrapper.owl-icons-frontpage .mobel-cat-image{width:65px!important;height:65px!important;max-width:65px!important;max-height:65px!important;margin:0 auto 5px!important;opacity:1!important;visibility:visible!important}

/* Popular products: image first, white title/action row underneath. */
html body.home .mobel-products-grid article.product{position:relative!important;overflow:hidden!important;background:#fff!important}
html body.home .mobel-products-grid article.product .figure-grid{display:flex!important;flex-direction:column!important;position:relative!important}
html body.home .mobel-products-grid article.product .figure-grid .image{order:1!important;position:relative!important;width:100%!important}
html body.home .mobel-products-grid article.product .figure-grid .image img{display:block!important;width:100%!important;height:260px!important;object-fit:cover!important}
html body.home .mobel-products-grid article.product .figure-grid .text{order:2!important;position:relative!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;width:100%!important;min-height:76px!important;margin:0!important;padding:16px 76px 12px 18px!important;background:#fff!important;color:#222529!important;transform:none!important;opacity:1!important;visibility:visible!important;box-sizing:border-box!important}
html body.home .mobel-products-grid article.product .figure-grid .text .title{margin:0!important;font-size:18px!important;line-height:24px!important;white-space:normal!important;overflow:visible!important}
html body.home .mobel-products-grid article.product .figure-grid .text .title a{color:#222529!important}
html body.home .mobel-products-grid article.product .figure-grid .text .price,html body.home .mobel-products-grid article.product .figure-grid .text .description{display:none!important}
html body.home .mobel-products-grid article.product>.info{position:absolute!important;z-index:8!important;top:auto!important;right:0!important;bottom:38px!important;left:auto!important;width:58px!important;height:38px!important;margin:0!important;background:#f2f2f2!important;opacity:1!important;visibility:visible!important;text-align:center!important}
html body.home .mobel-products-grid article.product>.info a{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:38px!important;color:#4A4A4D!important}
html body.home .mobel-products-grid article.product>.btn-add{position:absolute!important;z-index:8!important;top:auto!important;right:0!important;bottom:0!important;left:auto!important;width:58px!important;height:38px!important;margin:0!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#f2f2f2!important;color:#4A4A4D!important;border:0!important;clip-path:none!important;transform:none!important}
html body.home .mobel-products-grid article.product>.btn-add:before,html body.home .mobel-products-grid article.product>.btn-add::before{display:none!important}
@media(max-width:767px){html body .owl-icons-wrapper.owl-icons-frontpage{margin-top:-90px!important}html body.home .mobel-products-grid article.product .figure-grid .image img{height:auto!important;aspect-ratio:1/1!important}html body.home .mobel-products-grid article.product .figure-grid .text{min-height:68px!important;padding:12px 60px 10px 12px!important}html body.home .mobel-products-grid article.product .figure-grid .text .title{font-size:14px!important;line-height:19px!important}html body.home .mobel-products-grid article.product>.info,html body.home .mobel-products-grid article.product>.btn-add{width:48px!important}}


/* Keep product-card action buttons separated. */
html body.home .mobel-products-grid article.product>.info>span{position:static!important;display:block!important;width:100%!important;height:38px!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;background:#f2f2f2!important;border:0!important;border-radius:0!important;transform:none!important;opacity:1!important}
html body.home .mobel-products-grid article.product>.info>span>a{position:static!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:38px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;transform:none!important}
html body.home .mobel-products-grid article.product>.info .dashicons,html body.home .mobel-products-grid article.product>.btn-add .dashicons{position:static!important;display:inline-block!important;margin:0!important;transform:none!important;line-height:20px!important}
html body.home .mobel-products-grid article.product>.info{overflow:hidden!important;border-radius:0!important}
html body.home .mobel-products-grid article.product>.btn-add{overflow:hidden!important;border-radius:0!important}
@media(max-width:767px){html body.home .mobel-products-grid article.product>.info>span,html body.home .mobel-products-grid article.product>.info>span>a{height:34px!important}html body.home .mobel-products-grid article.product>.info{height:34px!important;bottom:34px!important}html body.home .mobel-products-grid article.product>.btn-add{height:34px!important}}


/* Product actions side-by-side; high-contrast header actions. */
html body.home .mobel-products-grid article.product>.info{top:auto!important;left:auto!important;right:58px!important;bottom:0!important;width:58px!important;height:76px!important;min-height:76px!important;background:#f2f2f2!important;border:0!important;border-radius:0!important;overflow:hidden!important;transform:none!important}
html body.home .mobel-products-grid article.product>.info>span,html body.home .mobel-products-grid article.product>.info>span>a{position:static!important;display:flex!important;align-items:center!important;justify-content:center!important;width:58px!important;height:76px!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;background:#f2f2f2!important;border:0!important;border-radius:0!important;transform:none!important;opacity:1!important}
html body.home .mobel-products-grid article.product>.btn-add{top:auto!important;left:auto!important;right:0!important;bottom:0!important;width:58px!important;height:76px!important;min-height:76px!important;margin:0!important;padding:0!important;background:#f2f2f2!important;border:0!important;border-radius:0!important;clip-path:none!important;transform:none!important}
html body.home .mobel-products-grid article.product .figure-grid .text{padding-right:134px!important}
html body .navigation-top a,html body .navigation-top a:focus,html body .navigation-top a:hover,html body .navigation-top .dashicons,html body .navigation-top .mobel-top-icon,html body .navigation-top .mobel-cart-count{color:#fff!important;border-color:rgba(255,255,255,.25)!important;opacity:1!important}
@media(max-width:767px){html body.home .mobel-products-grid article.product>.info{right:44px!important;width:44px!important;height:68px!important;min-height:68px!important}html body.home .mobel-products-grid article.product>.info>span,html body.home .mobel-products-grid article.product>.info>span>a,html body.home .mobel-products-grid article.product>.btn-add{width:44px!important;height:68px!important;min-height:68px!important}html body.home .mobel-products-grid article.product .figure-grid .text{padding-right:100px!important}}


/* Instagram section palette correction. */
html body.home .mobel-gallery-header p a,html body.home .mobel-gallery-header p a:hover,html body.home .mobel-gallery-header p a:focus{color:#fff!important}
html body.home .mobel-gallery-header .title:before,html body.home .mobel-gallery-header .title:after{background:#4A4A4D!important;border-color:#4A4A4D!important}


/* Header alignment and stable mobile product grid. */
html body .navigation-top ul{display:flex!important;justify-content:flex-end!important;align-items:center!important;min-height:44px!important;margin:0!important;padding:0!important}
html body .navigation-top ul>li{float:none!important;display:flex!important;align-items:center!important;justify-content:center!important;height:44px!important;margin:0!important;vertical-align:middle!important}
html body .navigation-top ul>li>a{display:flex!important;align-items:center!important;justify-content:center!important;height:44px!important;min-height:44px!important;padding-top:0!important;padding-bottom:0!important;line-height:1!important}
html body .navigation-top ul>li>a .dashicons,html body .navigation-top ul>li>a i,html body .navigation-top ul>li>a span{position:static!important;top:auto!important;bottom:auto!important;vertical-align:middle!important;line-height:1!important}
@media(max-width:767px){
 html body.home .mobel-products-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-flow:row!important;align-items:stretch!important;gap:12px 6px!important;margin-left:0!important;margin-right:0!important}
 html body.home .mobel-products-grid>[class*=col-]{display:block!important;float:none!important;width:auto!important;min-width:0!important;margin:0!important;padding:0!important}
 html body.home .mobel-products-grid article.product,html body.home .mobel-products-grid article.product .figure-grid{display:flex!important;flex-direction:column!important;height:100%!important;margin:0!important}
 html body.home .mobel-products-grid article.product .figure-grid>.image{position:relative!important;width:100%!important;height:auto!important;aspect-ratio:16/9!important;overflow:hidden!important;flex:none!important}
 html body.home .mobel-products-grid article.product .figure-grid>.image>a{display:block!important;width:100%!important;height:100%!important}
 html body.home .mobel-products-grid article.product .figure-grid>.image img{display:block!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important}
 html body.home .mobel-products-grid article.product .figure-grid>.text{flex:1 1 auto!important;min-height:96px!important;box-sizing:border-box!important}
}

@media(max-width:767px){html body.home .mobel-products-grid:before,html body.home .mobel-products-grid:after{display:none!important;content:none!important}}
